Search:

Type: Posts; User: Mickster; Keyword(s):

Search: Search took 0.00 seconds.

  1. I got it working. The main movie was basically...

    I got it working. The main movie was basically trying to access things that hadn't yet loaded, so it kept throwing 2068 errors (related to streaming music) and 1009. Apparently, a lot of people are...
  2. I believe so. I'm adding an event listener...

    I believe so.

    I'm adding an event listener like this:


    addEventListener(Event.ENTER_FRAME, run);

    Then later, I've got this:
  3. "Invalid Sound" madness with an external preloader

    I've just made a preloader, which is a separate file that loads the main movie. When I try to compile the preloader, I get:

    ArgumentError: Error #2068: Invalid sound.

    All the code for the...
  4. Replies
    8
    Views
    1,558

    I just noticed a glitch. If you mouse click, say,...

    I just noticed a glitch. If you mouse click, say, 1 time, the timer will correctly increment by 15 seconds - but then it will stop when it gets to 15 instead of going all the way down to zero. Click...
  5. Replies
    8
    Views
    1,558

    Shaedo, I replaced my timer with yours, got the...

    Shaedo, I replaced my timer with yours, got the pickup working, and got all my existing timer-related features playing nicely with the new setup. Works great - many thanks!
  6. Replies
    8
    Views
    1,558

    That's what I need to do, Shaedo! I'll plug it...

    That's what I need to do, Shaedo! I'll plug it into my game tonight and see how it goes.
  7. Replies
    8
    Views
    1,558

    Thanks, Sophie. The compiler chokes on that...

    Thanks, Sophie.

    The compiler chokes on that first line - throws error 1046:

    Type was not found or was not a compile-time constant: currentCount.

    I assume you're trying to set the...
  8. Replies
    8
    Views
    1,558

    Resetting a countdown timer to a new value

    I made a ten minute timer that starts at 600 and counts down to zero. It displays the current count in a textfield called "textfield_time". Here's what it looks like:



    var timer:Timer = new...
  9. Replies
    3
    Views
    451

    I'll give that a try. Thanks.

    I'll give that a try. Thanks.
  10. Replies
    3
    Views
    451

    Alright, here's what I decided to do. I'm simply...

    Alright, here's what I decided to do. I'm simply moving the enemies on and off screen when the levels change - by changing their x position. It's working good so far. I'm also setting their...
  11. Replies
    3
    Views
    451

    Bringing new elements onto the stage

    I'm making a game where you move your avatar around the screen, grab pickups, and avoid enemies. The avatar and enemies are movie clips containing animations. When you collide with an enemy, his...
  12. Replies
    1
    Views
    941

    Here's what I have now. It's working, though I'm...

    Here's what I have now. It's working, though I'm not entirely sure why:



    var collidingEdible_a:Boolean = false;

    if (avatar_mc.hitTestPoint(edible_a.x, edible_a.y, false)==true) {
    ...
  13. Replies
    1
    Views
    941

    Making a sound play once then stop

    I'm new at this stuff so bear with me. When my avatar bug makes contact with another type of bug, he eats it. Both bugs are movie clips; when the avatar gets into the collision detect zone of the...
  14. Replies
    4
    Views
    1,143

    "Long story short though, since you're just...

    "Long story short though, since you're just getting into Flash, I don't know that I'd get caught up yet with complete optimization yet"

    Sounds like a good idea...the idea of creating external...
  15. Replies
    4
    Views
    1,143

    That code works great, Creatify. Now, forgive the...

    That code works great, Creatify. Now, forgive the noob question, but how would I go about removing/reactivating the ENTER_FRAME? And why would it be ugly to have isColliding = false; to continue to...
  16. Replies
    4
    Views
    1,143

    Issue with hitTestPoint and gotoAndPlay

    Here's the situation: Your character - an ameoba-like thing (called "avatar" in the code) - has to avoid a crab-like thing (called "pincher" in the code). If they make contact, the pincher goes into...
Results 1 to 16 of 22

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012