View Full Version : How to make a movie clip automatically play
60watts
04-20-2006, 05:24 PM
I was wondering if anyone can help me out. I want to make a movie clip automatically start to play, with out using a button. Is it possible to write an action script on a layer, that once the timeline reaches that frame, and reads the action script, it will triger the movie clip to play?
Thanks for your time.
James
60watts.org
davidterranova
04-20-2006, 05:30 PM
if the clip is a movieClip (as opposed to a graphic) it should play automatically by default. If it isn't playing, then there's probably a stop() on it's first frame.
If the clip is a graphic (so not a 'clip' at all ;) ), make sure it's not set to "play single frame"
oldnewbie
04-20-2006, 05:30 PM
my_mc.play();
60watts
04-20-2006, 05:35 PM
hey david, and oldnew, thanks for helping out. its a movie clip, that is purposly stopped. if u goto pigmentcreative.com, in the services section, then artist portfolio, click the first thumbnail far left, man on a dead horse, once thats clicked, its brings u to that artists portfolio. the numbers in the scroll link to movie clips of each piece. all i want to do is make the first once automaticly start so you not starting at a blank page. i think oldnew, might have nailed it, ill check.
again, thanks for your guys efforsts.
james
http://www.60watts.org
davidterranova
04-20-2006, 05:36 PM
yup, oldnew has nailed it alright ;)
60watts
04-20-2006, 05:41 PM
i think he did nail it. one problem, i need to get past the stop on that movie clip.
my_mc.play(samp1);
how would i get this to gotoAndPlay a frame lable called fade in that resides inside the samp1 movie?
my_mc.play(samp1);
gotoAndPlay('fadein');
}
would that work?????
again guys thats for your help
davidterranova
04-20-2006, 05:44 PM
woah hang on...
samp1.gotoAndPlay("fadein")
60watts
04-20-2006, 05:50 PM
hey, you nailed it. thanks so much for your guys help. i really appreciate it.
thank you thank you
oldnewbie
04-20-2006, 06:52 PM
Grrrrrrreat! ;)
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.