Well, I’m working on my portfolio site, and Im working on the links right now. I have a link “home” heres the script for it.
on (rollOver) {
gotoAndPlay(“homeover”)
}
on (rollOut) {
gotoAndPlay(“homeout”)
}
I have also made a movie clip on a different layer, that I want to play when you click on the “home” button. the movie clip is called home_page
I thought the correct code would be this
on (rollOver) {
gotoAndPlay(“homeover”)
}
on (rollOut) {
gotoAndPlay(“homeout”)
}
on (press) {
_root.home_page.gotoAndPlay(1);
}
It says no script errors, but it fails to work. Can anyone help me? I hope to have my site up by this weekend.
Thanks in advancedd.
system
September 26, 2004, 2:21pm
3
ahhhhh come on. everyone said this was “the place” to post if you need flash help. i’m really in a huurry to finish this site.
system
September 26, 2004, 2:34pm
4
did you put home_page as the instance name of the movie clip
system
September 27, 2004, 3:30am
5
not sure what you mean? the movie clip is named home_page, and if you mean the frame label? I tried that and it didn’t work.
system
September 27, 2004, 2:24pm
6
I think he is refering to “instance name” which you can find under “properties”. Without an instance name you won’t be able to reference to your button in actionscript.
system
September 27, 2004, 9:09pm
8
Well in that case, yes it does.
system
September 27, 2004, 9:50pm
9
Is that file being uploaded into another one?
If it is… remove _root. from your script.
Also, if you can, post your file.
system
September 27, 2004, 11:27pm
10
ehh, I’m kinda nervous about posting my .fla, but o well. I need the help (had an incident a while back, where I posted a .fla in a forum and a kid started telling people it was his…etc)
Let me upload it to my server.
system
September 27, 2004, 11:29pm
11
http://www.jadamdoyle.com/siteforforums.fla
ok, there it is. The movie that comes in at the beginning with news…etc I want that always to play when you click on “home”
system
September 28, 2004, 6:43pm
15
Looks like it’s saved for MX2004.
system
September 28, 2004, 7:35pm
16
Whoops, you were right.
Here it is for mx
http://www.jadamdoyle.com/siteforums.fla
system
September 28, 2004, 9:07pm
17
Okay, you want: When the Home Button/Movie Clip is clicked, you want the Movie Clip on “home-page” (layer) to play? Is this correct?
system
September 28, 2004, 9:15pm
18
Okay, I made the changes, however I can’t post it here (too big) can I email it to you?
And I could see why you wouldn’t want to post a file, especially one this big and with this much stuff on it. Next time you might want to email it to someone instead.
system
September 28, 2004, 10:49pm
19
wizard:
Okay, I made the changes, however I can’t post it here (too big) can I email it to you?
And I could see why you wouldn’t want to post a file, especially one this big and with this much stuff on it. Next time you might want to email it to someone instead.
awesome, thanks dude. umm yeah that’s why i didn’t want to…do you have AIM, MSN, ,or YIM>?
system
September 29, 2004, 1:22am
20
nuchyld7:
awesome, thanks dude. umm yeah that’s why i didn’t want to…do you have AIM, MSN, ,or YIM>?
need to get back to work, please come back