A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [HELP!] Movie clip wont play in Stage

  1. #1
    Junior Member
    Join Date
    Oct 2008
    Posts
    12

    [HELP!] Movie clip wont play in Stage

    I attached my .fla file (CS3/AS3), but I cant get the pikadie movie clip to play on the Frame "gameover" (Frame 3).. no idea what the problem is I tried everything I can think of..

    http://rapidshare.com/files/17162677...kadie.fla.html

    (The game is dumb, its just an easy grade for school)

  2. #2
    Member
    Join Date
    Dec 2004
    Posts
    68
    Code:
    function GameOver(event:Event) {
    	if (blnGameOver) { 
    	gotoAndStop("gameover");
    		stage.removeEventListener(Event.ENTER_FRAME,movepika);
    		stage.removeEventListener(KeyboardEvent.KEY_DOWN,keyDownFunction);
    		stage.removeEventListener(KeyboardEvent.KEY_UP,keyUpFunction);
    		stage.removeEventListener(Event.ENTER_FRAME,moveshuriken);
    		stage.removeEventListener(Event.ENTER_FRAME,checkCollision);
    		stage.removeEventListener(Event.ENTER_FRAME,GameOver);
    
    	}
    }
    I changed gotoAndPlay("gameover"); to gotoAndStop("gameover");
    and removed the GameOver EventListener. I would also remove the this.goToAndPlay(1); from the first frame of the MC.

  3. #3
    Junior Member
    Join Date
    Oct 2008
    Posts
    12
    seems tow ork now, thanks!

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