A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: HELP please

  1. #1
    Member
    Join Date
    Aug 2005
    Location
    Canada, Ontario.
    Posts
    42

    HELP please

    I have a game where you use the arrow keys to move some warrior dude.
    I have a MC where there is a warrior facing up and then in the next frame him walking up.
    How do i make it so that when you press the up button it goes to the walking
    frame in the MC?

  2. #2
    Some dude, says hi Ultra Pulse's Avatar
    Join Date
    Jun 2005
    Posts
    262
    onclipevent(keydown){
    if (key.isDown(key.UP)){
    gotoandplay ("name of frame where he starts walking")
    }
    I'm not sure whether this will work, but it's worth a try.
    NAME YOUR FRAMES

  3. #3
    Member
    Join Date
    Aug 2005
    Location
    Canada, Ontario.
    Posts
    42

    Ah!

    I dont know how to name them!

  4. #4
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    You can name them in at least 3 places - Views > List of Frames, Movie Overview and possibly in the Timeline by clicking at the top on a frame.

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