A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Create movieclip on pressing spacebar (.fla inside)

Threaded View

  1. #1
    Senior Member
    Join Date
    Jul 2003
    Posts
    119

    Create movieclip on pressing spacebar (.fla inside)

    Here's my situation: I have a flash with a guy that can move left and right (Movieclip name: hero)
    In the library i have a movieclip of a fireball shooting upwards (fireball)

    This is the effect im trying to accomplish in essence: Whenever you push spacebar a movieclip is created (fireball) in the same position Another movieclip is currently in (hero). The ways i've managed it the fireball keeps following the hero left and right after it's created. But the idea is that once the Movie clip is created it'll be completely independant of the hero.

    Oh, and im looking for a possibility of this only being possible every 2 or 3ish seconds (as not to be able to spam fireballs)

    I've included the current .fla that i have with all the stuff in it. If anyone could help me out it would be very appriciated! Using Flash8

    Thanks!
    Attached Files Attached Files

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