Simple problem has got me stumped

  • adom33
  • Born
  • Born
  • No Avatar
  • Joined: May 02, 2007
  • Posts: 4
  • Status: Offline

Post February 18th, 2008, 11:19 pm

I have a basic problem that I just cant figure out. Any help much appreciated..

I have my main movie (home) with a loadmovie (info) into an empty movie clip in that. Inside "info" I have another movie clip and inside that movie clip I have all my buttons. I want my buttons to navigate "info". I tried

on (release) {
tellTarget ("_root") {
gotoAndPlay(1);
}
}

on my buttons but this takes me back to "home".

Any help?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 18th, 2008, 11:19 pm

  • roarmeow
  • Professor
  • Professor
  • User avatar
  • Joined: Oct 12, 2004
  • Posts: 861
  • Loc: BKNY
  • Status: Offline

Post February 20th, 2008, 11:29 am

that's because "tellTarget("_root")" is referencing the _root (home) movie.
if you have a button in info that you want to go to the beginning of "info", it should just be:

on(release){
gotoAndPlay(1);}

or else, it could be like this (this would work no matter where the button is)... now, this is assuming that info is right inside of the main (root) movie and that info has an instance name "info":

on(release){
_root.info.gotoAndPlay(1);}

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 27 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.