A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: come on guys it will take u 5 secs to answer this!

  1. #1
    Senior Member
    Join Date
    Aug 2000
    Location
    UK/Kent
    Posts
    129
    hi guys

    right this will sound stupid, as i have made 100's of buttons before, but this bugger aint working here goes.....

    right i have a menu system basically i have a mainmenu MC,
    then inside that i have my menu MC, and inside that i have
    the actual button instances, right i want my button when clicked to goto and play frame 50 in my main time line

    i use this code


    on (release) {
    gotoAndPlay ("Scene 1", 50);


    but the button doesnt work


    is this somehting to do with my buttons bieng inside two movie clips.
    if it helps i am using flash 5

    help!!!!!!!!!!!!!!!!!

  2. #2
    ok lemme back up a little, your button is within 2 movie clips, well just tell the target to use absolute path pointing to _root.


    hope it helps


    Ramses
    VisualSin Studios

  3. #3
    Senior Member
    Join Date
    Aug 2000
    Location
    UK/Kent
    Posts
    129
    i already tried using _root, never worked though m8, i should of said, man this is pissing me off,

    Help!!!!!!!!

  4. #4
    FK Slacker
    Join Date
    Jun 2000
    Location
    vancouver
    Posts
    3,208
    on(release){
    _root.gotoAndPlay(50);
    }

    Should work regardless how many clips deep the button is...

    K.

  5. #5
    Senior Member
    Join Date
    Aug 2000
    Location
    UK/Kent
    Posts
    129
    hey thanks foa the help guys, i pasted your code deadbeat it worked fine, its must of been some breackets ****ing it up or somehting, as when i used the got action it kept putting them in brackets

    cheers guys

  6. #6
    Junior Member
    Join Date
    Mar 2001
    Posts
    6

    test

    test

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