A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: A little help please

  1. #1
    Junior Member
    Join Date
    Mar 2007
    Posts
    2

    A little help please

    Hello, I'm new here.

    I just started using Flash (8) about a week ago, I'm making a steady hand game now. What is the AS code I should use for Play and finish.

    (Like "Play," as in start the level. Not start the game.)

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    you'll have to give us a lot more info, otherwise it's crystal ball time

  3. #3
    Junior Member
    Join Date
    Mar 2007
    Posts
    2
    I just want "Play," to start the level and finish, to... well, nevermind, I already know how to do finish.

  4. #4
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    give the first frame of the level a frame label - startlevel1

    on your button -
    on(release){
    _root.gotoAndPlay("startlevel1");
    }

    hth ??

  5. #5
    Senior Member
    Join Date
    Apr 2006
    Posts
    1,059
    in the onrelease you can put whatever you want that starts your game...

    an initialize function or something ...

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