Humm, correction on my previous post. Listening to an image component
should be possible.
This:
http://livedocs.adobe.com/flex/3/langref/mx/controls/Image.html#eventSummary
confirms that mx.controls. Image components dispatch a
creationComplete event.
Livedocs
Check out this presentation:
http://www.ananth.info/files/54923-48191/FlexEventDataManagement10April2007.ppt
slide 10
* Every object in the display list can trace its class inheritance to
DisplayObject class
* The DisplayObject class inherits from EventDispatcher
* EventDispatcher is the base
Hi guys,
Thanks for the replies.
The code below actually works. In my AS version, I did import all the
classes including mx.events.FlexEvent, etc.
For events, I use complete on Image as opposed to other events is
that I am interested in when the SWFLoader (parent class of Image)
completes
I figured it out. It has to do with how Repeater initializes it's
inner components. I guess Flex doesn't know the actual type of the
innercomponent until repeatEnd gets fired.
Please see the code below. Here init() is the callback for my
component's creationComplete event:
private function
--- In flexcoders@yahoogroups.com, gwangdesign [EMAIL PROTECTED]
wrote:
I am loading 50-ish something images using an Image control wrapped
in
a repeater wrapped in a VBox component. I want to do some stuff
once I
know the full dimensions of the VBox, which is when all the images
have been
5 matches
Mail list logo