View Full Version : same scene different layer button press animation
cablecharlz
02-10-2002, 07:57 AM
what would the code be
if i wanted to when i pressed a button
played the animation from a different layer...which is in the same scene
zoomfreddy
02-10-2002, 08:13 AM
you can't tell one layer or another to play alone, because all the layers share the same timeline, to do what you want you need use different movies(loaded in different levels) or some movieclips, in this way you can tell each one to play when you want, something like:
_level6.gotoAndPlay(1);
or
yourmovieclip.gotoAndPlay(1);
cablecharlz
02-11-2002, 08:17 AM
thx
but if i do this...
is it possible...to have transparent flash movies?
say i had a ...100*100 flash movie
and the background is constantly moving
then..inside...can i load a different movie inside that 100*100 flash movie.....can i make it so that the top movie is transparent and plays over the bottom movie ...
anything blank will be transparent when loaded onto other levels.
ie. if u just had text on _level2, u would still see _level1 and _level0 through it.
give it a go
BLEEDA
Billy T
02-11-2002, 11:11 AM
see attached
cablecharlz
02-12-2002, 11:33 PM
thx for that!
loadMovie ("loadintotarget.swf", "_root.loadtarget");
what does this code mean?
what does it mean to loadintotarget?
zoomfreddy
02-13-2002, 12:03 AM
loadintotarget.swf is the movie that you are loading...
_root.loadtarget is where you are loading the movie....
cablecharlz
02-13-2002, 06:11 AM
is there a tutorial for this?
how do i know the spacing is right
with just script
_root.loadtarget is a blank mc which your external swf will load into.
when u place this blank clip on the stage you will just see a dot.
this dot will be the position of top left hand corner of the swf file you are loading into the blank clip.
try it. it didn't make any sense to me until i played with it.
BLEEDA
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.