Topic: Load swf instead of jpg but not play it until viewed

Hello, I am loading a .swf in my galleries which has some timeline animation that I only want to play when it is being viewed.

As SimpleViewer preloads everything the animation has already played through before I view it.

I suppose I want the viewer.swf to trigger a play() event on the loaded .swf once the file is in focus.

not sure where to start, any ideas greatly appreciated.

cheers
Joe

Re: Load swf instead of jpg but not play it until viewed

I'll post my own reply then. In image.as, function showImage() I added the line...

     mClip_mc.loader.gotoAndStop(1);

and in function onFadeWaitDone()

     mClip_mc.loader.play();

pretty easy really, sorry to have posted it

cheer
Joe