AS3/Flash/Flex, goodToKnow

Kommentare deaktiviert

Upload snapshot image from flash to server

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 [...]

Flex 4 sample themes don't work

AS3/Flash/Flex

Kommentare deaktiviert

Flex 4 sample themes don’t work

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 [...]

Flex Bug: swapChildren() doesn't work on UIComponents

AS3/Flash/Flex

Kommentare deaktiviert

Flex Bug: swapChildren() doesn’t work on UIComponents

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 [...]

Flex Bug: smoothBitmapContent doesn’t work for reloaded images

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: [...]

AS3 Code Libraries

Hier mal eine super Liste mit OpenSource AS3 Code Libraries
http://www.adrianparr.com/?p=83

AS3 Stolpersteine

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 [...]

iPod oder iPhone an 2 oder mehr Rechnern synchronisieren

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

Nützliche Unix-Commands

goodToKnow

Kommentare deaktiviert

Nützliche Unix-Commands

Kleine Übersicht über paar Unix-Befehle die man immer mal gebrauchen kann, die ich aber immer wieder vergesse.

Get Flashtracer to work in Vista

goodToKnow

Kommentare deaktiviert

Get Flashtracer to work in Vista

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.

Transition and tween explorer

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.