PDA

View Full Version : Level 2 Swf Keeps Looping -won't Stop


iagrl
04-25-2002, 07:33 PM
help!

my trouble is this -

we are using max swift 3d to output these great 3d pie graph animations as swf files. i have loaded the animation onto level 2. i can't make it stop looping. this is the action for the keyframe.

stop ();
loadMovieNum ("pieopen.swf", 2);
_level2.gotoAndStop(1);


how do i reference it and make it stop????? help. i am on a tight deadline. i've been searching and i can't seem find what i'm looking for. i know it is probably something simple. anyone????

thanks.

Ricod
04-25-2002, 08:00 PM
The swf should at lleast have finished loading the frame before u can adress it. So, make sure its loaded. Search for "swonk" if you don't know how.

iagrl
04-25-2002, 08:08 PM
i don't understand. and what is swonk? i couldn't find anything.


is it possible to communicate to a swf from the main timeline if it is already outputted and you don't have control? max swift 3d doesn't seem to have an option when you output that allows you to specify whether or not you want the swf file to play once and stop or keep looping. i just need to find a way to communicate with it and tell it to stop. i think i must be referencing it incorrectly.

help ??

Ricod
04-25-2002, 08:20 PM
_level2.gotoAndStop(1); would do it, but only if frame 1 is already loaded. (Swonking is what we call setting a variable to check wether or not sumthings done loading). For now, just set the gotoAndStop 1 frame later than the loadswf.