A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: I just don't get it !!!!

  1. #1
    Member
    Join Date
    Feb 2002
    Posts
    61
    You know how annoying it is when the simplest thing that you've done 100 times before won't work? Well this is my problem.

    Movie clip with a simple animation. It's a bird with wings up in first frame and down in the second. on 2nd frame the action is "go to and play fr 1."

    3rd frame is a simple animation which shows the bird being blown to bits. there is a "stop" action on the last frame of the animation.

    The body of the bird is a button with an action that says when the button is pressed go to and play frame 3.

    Therefore you should be able to place the whole movie clip onto the main time line. The bird should flap happily away until it is clicked on and blown apart.

    But nothing happens, it doesn't even flap its wings.

    WHY????

  2. #2
    Senior Member
    Join Date
    Feb 2001
    Posts
    1,835
    Hi,

    I would say that it plays the first frame. Goes to the second and looks at the actions (stage not yet updated), executes the 'gotoAndPlay' which jumps back to the first frame. So it never shows the second frame.

    Just add a new third frame (moving explosion part to frame 4), not a keyframe, just a normal frame, and put your 'gotoAndPlay' action on that new frame.

    (let's just hope the RSPCA doesn't get to hear about it )

    - n.

  3. #3
    always for rent
    Join Date
    Oct 2000
    Location
    Seattle
    Posts
    307
    post the fla and let us look at it.

    jeremy

  4. #4
    Member
    Join Date
    Feb 2002
    Posts
    61
    Cheers eminem,

    I'll give that a go.

  5. #5
    hmmm, don't think enemem is right...
    i think you did put the bird on the stage and not its animation.... otherwise do like sinfiniti said

  6. #6
    Senior Member
    Join Date
    Feb 2001
    Posts
    1,835
    he he. the heat is on!
    let's have your bets

    - n.

  7. #7
    Member
    Join Date
    Feb 2002
    Posts
    61
    OK guys,

    I will settle this. Unfortunately i am not at home at the moment to try it out. When i'm back from work we shall see who the true master is.

    I'm not sure what Oeldroop meant.....I definately put the animated bird MC on to th stage.
    [Edited by claphamr on 04-11-2002 at 09:12 AM]

  8. #8
    Originally posted by enemem
    he he. the heat is on!
    let's have your bets

    - n.
    i bet 17 of my stinky 96 posts!

  9. #9
    Senior Member
    Join Date
    Feb 2001
    Posts
    1,835
    hmmm. if I could somehow get all of your posts, that would put me over 900. I'll see what I can do

    <claphamr> there might be a bloodbath here y the time you come back maybe use some of the blood effects for your bird...

    anyway, let's see what happens..

    - n.

  10. #10
    Member
    Join Date
    Feb 2002
    Posts
    61
    And the winner is......

    enemem!!

    Don't know if your reasoning was right, but it works.

    just to prove it

    http://www.richardclapham.pwp.blueyo....uk/target.swf


    Cheers for all the help

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