A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [RESOLVED] simple code needed for button

  1. #1
    Junior Member
    Join Date
    Jul 2006
    Posts
    28

    [RESOLVED] simple code needed for button

    ok, i am an idiot i forgot the simplist of things, i have a button in a MC that i want it to go to the main timeline for a frame label "home" whats the code i put in the:

    on(release) {
    gotoAndPlay(**this bit??**);
    }

    cheers guys, i know it so once you tell me ill be kicking myself.

    cheers

  2. #2
    Senior Member vladdddd's Avatar
    Join Date
    Aug 2004
    Location
    in space
    Posts
    352
    on(release){_root.gotoAndPlay("home");}

    your welcome! if this is what u re talkin about

  3. #3
    Junior Member
    Join Date
    Jul 2006
    Posts
    28
    yes! thanks alot. time to kill myself *ow* lol

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