
Welcome Guest
|
|
|
#1
|
|||
|
|||
|
I have a scene which contains different movie clips.
One movie clip is the link buttons, and another movie clip is my website body/content. I have created a button on the menu link and I want it to start plying a specific frame of my website bdoy movie clip. My script is: (website is the name of my body movie clip) on(release){ website.GotoAndPlay(85); } Doesn't do it..What Am i missing? Thx |
|
#2
|
||||
|
||||
|
I think that the problem is the following:
You have two movie clips - one containing the link buttons - and the other one containing the actual website. When you press a link and say: website.GotoAndPlay(85); - the movieclip containing the links will look for a local movieclip, called website (that does not exist!) - and tell it to go to frame 85. Your website movieclip is situated on the root, and not inside the link movieclip - therefor, use the following code: Actionscript:
on(release){
_root.website.gotoAndPlay(85);
} Actionscript:
on(release){
/:website.gotoAndPlay(85);
}NOTE: gotoAndPlay with lowercase g!!! |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Newbie AS question / method / technique | timsawtelle | Newbies |
2 | 09-07-2006 08:50 PM |
| Hi, Kind of a Newbie question about windows in flash! | NBKNAS | Flash MX |
2 | 08-22-2005 03:17 PM |
| Newbie question about scale | PaLoBo | Newbies |
2 | 05-21-2005 08:56 AM |
| Newbie to Forums - PreLoad Pages & Intro Question | jyang | Newbies |
0 | 05-31-2004 02:44 PM |
| Newbie Question | Ground^Shark | Newbies |
6 | 04-05-2003 03:23 AM |




