all groups > flash actionscript > march 2005 >
You're in the

flash actionscript

group:

actionscript in loaded movies


actionscript in loaded movies mister dog
3/25/2005 10:44:49 PM
flash actionscript: Is it possible to have actionscript run from within a secondary loaded movie,
and if so how do you go about it?

I'm using LoadMovie to call an animation within a flash site and all the
elements of the animation appear but none of the actionscript within it occurs.

Thanks,
Paul.
Re: actionscript in loaded movies kglad
3/26/2005 12:28:47 AM
yes, all actionscript attached to any frame that's played in any movie will
execute. when a problem like your's is encountered it's usually due to an
incorrect reference to the _root timeline that is correct when the swf is
played without loading it into another swf and is incorrect when that swf is
loaded into another swf.

there is no general fix without knowing the specifics of your swf that's
loaded. in general, you can correct the problem by using relative paths in
that swf and eliminating absolute paths.
Re: actionscript in loaded movies mister dog
3/26/2005 1:02:26 AM
Thanks very very very very much,

You've probably helped to avert my own suicide.

we've got it sorted now, everything was described as _root.something, now we know better.

Re: actionscript in loaded movies mister dog
3/26/2005 1:02:34 AM
Thanks very very very very much,

You've probably helped to avert my own suicide.

we've got it sorted now, everything was described as _root.something, now we know better.

Re: actionscript in loaded movies kglad
3/26/2005 2:49:26 AM
AddThis Social Bookmark Button