A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Button problems

  1. #1
    FK Jedi Pimp
    Join Date
    Jan 2001
    Posts
    405
    Hey,

    My MC script is interupting with my goto action.

    I have this action on my button:

    Code:
    on (release) {
    	gotoAndStop ("Scene 1", 2);
    }
    on (press) {
    	reel2.x = -505.1;
    	reel2.scoot = true;
    }
    The MC playes it's animation, but it doens't goto scene 1 frame 2.

    Why is this?

    L8

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    if you don't specify what goes to and stop, Flash assumes, by default, that you are talking about the current timeline, i.e your movie clip.In your case you need to say _root.gotoAndStop("yourlabel");
    gparis

  3. #3
    FK Jedi Pimp
    Join Date
    Jan 2001
    Posts
    405
    Hey,

    It still doesn't work.

    e-mail me @ epikdragon@shaw.ca and i will send you the .fla to look at. Ok?

    L8
    [Edited by da beat man on 11-12-2001 at 11:41 PM]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center