button in movie clip

  • pnguine
  • Born
  • Born
  • pnguine
  • Posts: 2

Post 3+ Months Ago

Hi all

I'm new to Flash and I'm sure this is a really simple thing but I have tried for days to get it working and just can't figure out what I'm doing wrong.

There is the main timeline and a movie clip that fades in a button. On the button instance I have:
Code: [ Select ]

{
    _root.gotoAndPlay(1);
}
  1. {
  2.     _root.gotoAndPlay(1);
  3. }


It is supposed to stop a simple tween effect (moving ball) but it does nothing.

Any help would be greatly appreciated.

BTW - Is there any way to attach, or otherwise deliver, a fla file here if anyone need further info?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • voycieh
  • Novice
  • Novice
  • User avatar
  • Posts: 24
  • Loc: Poland, Warsaw

Post 3+ Months Ago

You should put a handler to this button:

for example:

on (press) {

_root.gotoAndPlay(1);

}

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 14 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
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.