This example should help you: http://www.drisgill.com/index.cfm/2006/10/19/Flex-Fancy-Gallery
hth Farid ----- Original Message ---- From: "Merrill, Jason" <[EMAIL PROTECTED]> To: Flashcoders mailing list <[email protected]> Sent: Wednesday, January 17, 2007 1:27:47 PM Subject: [Flashcoders] OT: Flex & instances Excuse the OT, but the Flexcoders list keeps failing me - meaning, I subscribe, it works for a few days, then I get automatically unsubscribed - other times, I post a question, and it doesn't appear for hours and hours, and even then nobody responds sometimes. With the high traffic on the list, it seems a lot of questions get lost. Is there another Flex list I can try instead? If this is too OT, feel free to respond offlist. How do I access the sprite/movieClip instance (not sure which it is, since this is in the image class) of an image loaded into image tag and then pass that to an actionscript method? Basically, I have a repeater that loads dynamic images (based on XML data) into an <mx:Image> tag. That works fine. I also have a Reflection class (currently porting it from AS 2.0 to 3.0) which applys a reflection effect to a movie clip's bitmap data, which also works fine in plain old Flash. However in Flex, I know how to import the class, but not how to tie the rendering of the different dynamic images in my MXML with the Reflection class. I read the help docs on mx.controls.image, and it seems like the image might be loaded into a sprite instance, but how to I send that sprite instance to my actionscript method right after the image loads? Any ideas? Also, in general, how to do you access sprites or movie clips on the stage created with MXML from Actionscript? Thanks. Jason Merrill Bank of America Learning & Organizational Effectiveness _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

