A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Threads

  1. #1
    I've been working in a small bricks game and I'd like to add some features to it.

    For moving the ball I have used the new set Interval (that's fine)

    for moving the paddle I have used paddle.onEnterFrame = function() (that's fine)

    Whe I try to Press one button or movieClip that should change the ball and the paddle color, it looks like me that it can't be done because there are onEnterFrame actions happening.

    I'd like to know if it is possible to have this working in the same way I can have using other languages like java or c# for example.

    Thanks in advance.

  2. #2

    Threads

    After many simulations I could realise that I can use many setIntervals and that's the solution for my problem.

    If someone have another approach and would like to share, it will be aprreciated.

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