RE: [flexcoders] Preloading Images
Hi Ketan, No, I am not sure. But you can do the achieve the same in two ways: 1) Embed all images in the swf using Embed metatag 2) On initialization, start a setInterval(..) which loads list of images in background But why would you want to do that? If you want to make sure that required images are loaded before user starts using application, then embedding images is the best soln IMO, but this would lead to larger filesize. -abdul -Original Message- From: Ketan Bengali [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 2:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Preloading Images Might sound like a stupid question but would like to know if there is any way to preload images in Flex like the way we do in HTML. -- Regards, Ketan Bengali Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Preloading Images
On 4/13/05, Ketan Bengali [EMAIL PROTECTED] wrote: Might sound like a stupid question but would like to know if there is any way to preload images in Flex like the way we do in HTML. Yes, and you would do it exactly like you do in HTML/JavaScript. i.e. use hidden image objects and toggle the visibility on mouseover. -- [EMAIL PROTECTED] http://manish.revise.org/ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Preloading Images
OK. Thanks. Will try it. Regards, Ketan Bengali Manish Jethani wrote: On 4/13/05, Ketan Bengali [EMAIL PROTECTED] wrote: Might sound like a stupid question but would like to know if there is any way to preload images in Flex like the way we do in HTML. Yes, and you would do it exactly like you do in HTML/JavaScript. i.e. use hidden image objects and toggle the visibility on mouseover. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/