Welcome to Funny Games

Play top FREE games daily
Register Now

Creating levels for your games

Discussion in 'Flash & ActionScript' started by BigFishy, Mar 16, 2010.

  1. BigFishy

    BigFishy User title

    3
    0
    1
    does anyone know how to add levels into your flsh games? i use flash mx, (i dont know about other flashes) and it already has a keyframe on frame space one (obviosly). i made the first levekl of the game the title page (as part of my design), and created a keyframe on frame space 2, and added a button on frame 1 which transports you to frame 2. but when i played it it just kept flashing between the two frames. i tried adding a simple actionscript to the frame number 2 which was:
    onClipEvent (load) {
    if Play-button (press = false) then (nextFrame(2) = false)

    but it didnt work. btw, Play-button is the instance name of the button.
    can anyone help, or just tell me from scratch how to create levels?
    thanks
     

Share This Page