A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Point and Click help!!

  1. #1
    lifes answer to misery
    Join Date
    Nov 2010
    Posts
    13

    Point and Click help!!

    Hi, i am making a point and click adventure game, and have come across a few strange problems that i cant quite get my head around, im coding my game in the main timeline, as at the end of each scene there is a gotoAndStop function to take to the next frame, firstly is there any way i can make it so that once the game goes to the second frame, ALL of the code in the first frame is null? if any1 responds to this question ill post the 2nd question i need to ask lol

    thanks in advance

  2. #2
    Senior Member Robb@exo's Avatar
    Join Date
    Jun 2003
    Location
    Canada
    Posts
    1,540
    What version of AS are you using?
    Wile E. Coyote - "Clear as mud?"

  3. #3
    lifes answer to misery
    Join Date
    Nov 2010
    Posts
    13
    actionscript 3.0

  4. #4
    Senior Member Robb@exo's Avatar
    Join Date
    Jun 2003
    Location
    Canada
    Posts
    1,540
    Try something like
    PHP Code:
    gotoAndStop("2""Scene Name"); 
    The first parameter takes a frame label or number. The second parameter is optional but can take a string that's associated with a scene.
    HTH.
    Wile E. Coyote - "Clear as mud?"

  5. #5
    lifes answer to misery
    Join Date
    Nov 2010
    Posts
    13
    i know how to make it go to the next frame, but i want it to completely ignore any code thats been put into the first 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