A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: button problem

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Location
    Orange County, CA
    Posts
    10

    button problem

    I have a button that is not working- the action scripting has no errors - i have done the check- its supposed to "on release" go to a scene named "work" but it doesnt it does nothing - all other states of this particular button work (roll over, down etc .. so i am assuming my that the hit area is ok . Whatam i doing wrong> why wont the button go to the scene like i am scripting it to do?
    thanks

    on (release) {
    gotoAndStop("work", 1);

    }

    help thanks

  2. #2
    Member
    Join Date
    Jul 2004
    Location
    toronto
    Posts
    65
    try this instead

    on (release) {
    gotoAndStop("Scene=work", 1);

    }

  3. #3
    Senior Member green_eye's Avatar
    Join Date
    Apr 2004
    Location
    Sarasota, Florida
    Posts
    1,496
    Do you have a framelLabel at the frame you want the playhead to goto
    Put this code on btn-- not inside the btn
    Code:
    on (release) {
    this.gotoAndStop("work");
    };
    Is the btn on the _root or inside a movie clip? If it still doesnt work post your fla.
    Last edited by green_eye; 07-18-2004 at 06:39 PM.

  4. #4
    Junior Member
    Join Date
    Jul 2004
    Location
    Orange County, CA
    Posts
    10
    It works it works!!!!thanks for the help - it was the frame label that made the difference! Wow now i can move forward - much thanks_

  5. #5
    Junior Member
    Join Date
    Jul 2004
    Location
    Orange County, CA
    Posts
    10
    so without seeing my button would you imagine the reason why my original action script didnt work is because i had a movie inside of my button? is that a correct ?

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