all groups > flash actionscript > november 2004 >
You're in the

flash actionscript

group:

load movie dose't work


Re: load movie dose't work (_seb_)
11/27/2004 4:03:31 PM
flash actionscript:
take out the quotes"":

on(release) {
gotoAndStop(3);
}

3 is not the name of your frame, it is the frame number, so it should
not be within quotes.

[quoted text, click to view]
Re: load movie dose't work (_seb_)
11/27/2004 4:39:34 PM
ok the movie you load has its own time line, right?
So Flash needs to know which timeline needs to go to frame 3.

If you write:

on(release) {
gotoAndStop(3);
}

Flash will try to go to frame three of the timeline in which this code is.
If you want to target another timeline, you ahve to write something like:

on (release) {
_root.mcInstanceName.gotoAndStop(3);
}

"mcInstanceName" is the instance name of the movieClip you want to target.

_root. is the main timeline.

Id the movieClip you want to target is inside another movieClip, which
is inside another one, then you should have:

on (release) {
_root..mc1.mc2.mcInstanceName.gotoAndStop(3);
}

and so on...

ok?




[quoted text, click to view]
load movie dose't work audun1234
11/27/2004 8:53:40 PM
I have a little problem about load movie. I have write the script:
on(release) {
gotoAndStop("3");
}

Butt it does not work. Were can i have done something wrong.

I have the ( stop() ) script in frame 1,2,3.
Can someone help meeeee.
I am sorry for my bad english..

Re: load movie dose't work audun1234
11/27/2004 9:19:36 PM
But if I name the frame to frame3 and write this:
on(release) {
gotoAndStop("frame3");
}
And it still doesn't work what can I do or what can I write to get it work.
Can someone write a script were they goes form frame 1 to frame 2.
I'm still sorry for my bad English

Re: load movie dose't work kglad
11/27/2004 9:43:51 PM
on(release){
_root.nextFrame();
Re: load movie dose't work audun1234
11/27/2004 9:49:20 PM
Thank you so much. I have tried to fix this for so many days now and finely yeeeeessssssss. I'm so happy.
Re: load movie dose't work kglad
11/28/2004 2:08:29 AM
on(release){
_root.gotoAndStop(5);
}

if frame 5 has a label (like frame_5), you can use:

on(release){
_root.gotoAndStop("frame_5");
Re: load movie dose't work audun1234
11/28/2004 8:50:35 AM
Thank you all so mush's it works.
This is a great forum so if I have more problems i will let you now.
Thank you and i looking forward to solve my next problem.
BY.
I'm still sorry for my bad English?..

Re: load movie dose't work audun1234
12/13/2004 4:24:04 PM
Okay I get one more problem. How can I get to another scene ( same project then)

I tried:
on(release){
_root.gotoAndPlay("sene2,frame2");
}

But it doesn't work. Idea.
Tanks for any help
Re: load movie dose't work kglad
12/14/2004 2:23:10 AM
you're welcome.

scene information doesn't exist outside the authoring environment. so, to
reference the 2nd frame in scene 2 you need to label that frame (say,
"scene2_frame2") and use that frame in your navigation statement:

on(release){
_root.gotoAndPlay("scene2_frame2");
}


Re: load movie dose't work audun1234
12/14/2004 6:16:51 PM
Re: load movie dose't work kglad
12/15/2004 3:54:15 AM
you don't have a frame labelled correctly or you have a typo. make sure your frame label contains no quotes and then copy and past that label between the quotes in the _root.gotoAndPlay() statement.
Re: load movie dose't work audun1234
12/15/2004 2:16:32 PM
Maybe it?s just me ho is stupid but it dossent work.
Maybe some of you can have a lock at it at the address
http://www.wainfilm.com/wainhost.zip
Thank you so much if you take a lock at it.
Re: load movie dose't work kglad
12/15/2004 6:51:48 PM
AddThis Social Bookmark Button