easy question - gotoAndPlay within a onLoadComplete
by nickfromgreece » Wed, 06 Jul 2005 05:52:52 GMT
hey people,
just a quick one for all you FLASH experts out there...
I am using MovieClipLoader to load an SWF file (avli55_main_mc.swf) into
a movie clip instance (theClip_mc). Once the loaded movie has finished
loading,
I would like to go to a specific frame on my main movie. I tried the
following code
with no luck - any ideas?
my_mcl = new MovieClipLoader();
myListener = new Object();
myListener.onLoadComplete = function(target_mc) {
_root.gotoAndPlay("main_active");
};
my_mcl.addListener(myListener);
my_mcl.loadClip("avli55_main_mc.swf", "theClip_mc");
Similar Threads:
1.2 easy (easy for you, that is) questions Flash MX pro
We have Flash MX Pro in the office. I'm trying to do a SIMPLE site. I have 2 questions.
1. What's the easiest way to click on text and have it take you to another frame on the timeline?
2. What's the easiest way to click on text and have it open a new browser window?
Thanks in advance!
2.Easy easy flash question
Could somebody tell me what the name of this flash object is:
-On some websites they have a flash header that, when scrolling horizontally
across it, will move across a picture
inside the same box...just move the picture down.....does anyone know what im
talking about? i cant think of a website
to describe it offhand, but if someone could tell me the name of this
function, i would greatly appreciate it. Thanks!
3.GotoandPlay within a _mc
I have a timeline with a stop action on frame 3.
Frame three has a movie clip symbol.
upon completion of this movie clip there is a "click to proceed" button
On release it should go to frame 4 of the main timeline.
i am mental jell-o today, i've done this many times but for the life of me I
have not been able to remember how all morning. I feel like an idiot. (pretty
typical feeling though)
Also can i enable buttons on my maintime line from a button within a movieclip?
4.gotoAndPlay(); Question
Hi:
This is my first time for posting to this forum -- I hope that my
question is appropriate.
I have created a moving logo (a flash movie) that repeats using:
gotoAndPlay();
action script at the last frame -- that's no big deal, works great.
However, what I want is for the logo to repeat to a specific frame in
one run and then to a different frame in the next run. In other words,
in the first viewing I want it run from frames 1 through 255 and in the
second run from frames 60 to 255 and then repeat the process again.
I tried using the action script of:
gotoAndPlay(60);
gotoAndPlay(1);
But all that does is to repeat the entire movie again and again -- it
never observes the first gotoAndPlay(60).
I also tried using:
for (i=1;2;i++)
{
gotoAndPlay(60);
}
gotoAndPlay(1);
but that didn't work.
Any ideas?
Many thanks for any help.
tedd
5.gotoAndPlay question Please Help.
I am working on a website and I have a horizontal links bar on the top and then
each page comes down in its own box. My problem is that if I am on say Page 2
and want to go to Page 3 I want Page 2 to go up in the same way it came down
and then Page 3 comes down. So it looks like it is all one box that rolls up
and down with different information according to which page you are on. So how
can I gotoAndPlay a set of frames which will roll up Page 2 and then after that
gotoAndPlay the set of frames that roll down Page 3. The real problem is that
since there are several different pages I cant just add code to the end of the
Page 2 frames to go to Page 3 frames. Maybe there is a completely different way
to go about it which if there is I would love to know. Thank you for reading my
very long question.
6. Quick Question about gotoAndPlay in AS2
7. gotoAndPlay question
8. gotoAndPlay(); question