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


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