dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: button

  1. #1
    Senior Member
    Join Date
    May 2002
    Posts
    122

    button

    for the button when pressed it will link to another scene and I remember correctly the script was

    on (release) {
    gotoAndPlay ("Scene 4", 1);
    }

    but it didn't work .. is it my button ??

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    It depends where the button is in the movie. If it is on the main timeline then that should work, if it is in a movie clip you wll need to add a frame label to frame 1 of scene 4 (i'll use the frame label scene4start) and then on the button use

    on (release) {
    _root.gotoAndPlay("scene4start");
    }

  3. #3
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    And as if by magic the post re-appears

  4. #4
    Senior Member
    Join Date
    May 2002
    Posts
    122
    It doesn't seem to work ... even when I try to use a simple shape as a button n it also won't work ... u remember I ask u before about the dragging the candle to the cake .. it's also in tat scene ... will it conflict each other ??

  5. #5
    Senior Member
    Join Date
    May 2002
    Posts
    122
    sorry .. sorry .. I use the simple shape button n it works .. just tat I use test scene so it didn't work .. after I select test movie then it work .. now I will try the movie button ... thanks !!

  6. #6
    Senior Member
    Join Date
    May 2002
    Posts
    122
    The candle movie is giving me problems now .. u remmeber u teach me about the cake n candle movie, the drag and drop thing. If I click on the button, it goes to the next scene but the candles tat I drag onto the cake still remains there .. I try

    on (release) {
    unloadMovie ("candle");
    }

    but it doesn't work ...

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