Forum Moderators: open

Message Too Old, No Replies

How to call an image in swf file

         

techno2006

5:12 am on Dec 14, 2006 (gmt 0)

10+ Year Member



while surfing i found that many people call heavy images in swf file, & that's get easily loaded, Is there any scripting or that can be done in flash8.

mattcg

8:05 am on Dec 15, 2006 (gmt 0)

10+ Year Member



I don't think loading an image through an embedded swf affects the speed at which that image is loaded. Loading an image through swf probably only appears to be faster (like a progressive jpg) because you can show a preloader or something to keep the user occupied.

Anyway, if you've got any actionscript experience, you can use loadMovie to load a jpg or png file. If you're new to actionscript, here's an easy tutorial that shows you how to load a jpg using loadMovie with a preloader: [webwasp.co.uk...]