Today i wanted to upload a captured image from a movieclip in a flash movie to a rails server. there are some task to complete to to this.
1. Flash Upload
I found a really nice und usefull class this morning. you can capture a bitmap image from a movieclip or from webcam and send it t [...]
Today i was playing with the different themes shipped with the FlexSDK. The original spark theme is so ugly. The good thing is – there are some more themes for us, like Arcade, Cobalt, Graphite and Zen. Also there are some CSS-Styled Spark-Themes like spark_cobalt and spark_desert.
For using another theme you have to add a [...]
today i found another weird bug. i wanted to change the order of 2 elemente of a mx.containers.Canvas with swapChildren() but i got the following error:
[Fault] exception, information=ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
bzw.
[Fault] exception, information=ArgumentError: Error #2025: Das angegebene DisplayObject muss ein untergeordnetes Element des Aufrufers sein.
the error [...]
SmoothBitmapContent works only for first loaded image. After changing the source of an image smoothing becomes false.
The Solution: attach a loading complete listener and change the smooth property of the loaded image by yourself.
<mx :Script>
< ![CDATA[
/**
* Flex Bug: after reloading the image smoothing is false. smoothBitmapContent works only for first loaded image.
* Solution: [...]
Hier mal eine super Liste mit OpenSource AS3 Code Libraries
http://www.adrianparr.com/?p=83
Frame rate
Loaded movies also, in most cases, inherit the parent movie’s frame rate. For example, a SWF file whose frame rate is 12 fps, when loaded into a movie whose frame rate is 24 fps, will play back at 24 fps. The only exception is if the movie being loaded contains a sound on the [...]
Da es mit OS 3.0 im Moment noch nicht möglich ist, zum syncen und Musik aufzuspielen an mehreren Rechnern MediaMonkey oder Winamp zu nutzen, hier eine reine iTunes Lösung für das Problem.
http://www.andrewgrant.org/2008/03/30/how-to-sync-an-iphone-with-two-or-more-computers.html
Kleine Übersicht über paar Unix-Befehle die man immer mal gebrauchen kann, die ich aber immer wieder vergesse.
Leider habe ich immer wieder Probleme den FlashTracer zum laufen zu kriegen.
Zuerst immer sicherstellen, daß man den Flash-Debug-Player installiert hat. Dann den Anweisungen weiter unten folgen.
Eine gute Übersicht über die Adobe/Macromedia Transition- und Tween-Class gibt es hier.
Man kann schön rumspielen und sich den AS code dann direkt kopieren, schönes Ding.