Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2009
    Location
    Invercargill, New Zealand
    Posts
    1

    Default Help please with character animations flash 8

    Hey, im having trouble with animating my character. using AS2.

    so far ive succeeded with walking left/right with animation, but i cant find a way to get an attacking animation to work on a keypress (spacebar). ive tried using variables and if statements, but they didnt work.

    ive got my fla and as files attached. has ne1 got any ideas on making this work?


    Character.zip

  2. # ADS
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many
     
  3. #2

    Default

    hey there,
    plz help me

    m presently working on flash8. i have created a game almost complete. but the main problem m facing is as follows....

    actually in my game i have stage1 in frame 15 and stage2 in frame 30,the game over screen is in frame 35.
    i have setup a counter for life of the player.

    what i need to do is when life=0 then frame 35 should be played.

    i have used following code for that...

    onClipEvent(load){

    life=3;
    .....other variables....
    }

    onClipEvent(enterFrame){
    if(_root.enemy.hitTest(this)){
    life--;
    if(life==0){
    gotoAndPlay(35);
    }
    }

    ....other code of game
    }

    but its not working...
    how to go to frame 35
    all the above code is in " ball "(the player) movie clip
    plz help

  4. #3

    Default

    Thank you so much for this clarifications

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Sponsors
Create Speaking Characters for your website and Flash movies. 15 Day Free Trial