A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: [mx04]Script to fire when clip is hit firing prior to collision

Threaded View

  1. #1
    Senior Member pup100's Avatar
    Join Date
    Oct 2004
    Location
    Close
    Posts
    575

    [mx04]Script to fire when clip is hit firing prior to collision

    This is really freaking me out.

    I have got a simple game where you add sections of track to the stage & then get the ball to move along it.

    At this very early stage there are only 3 types of track – “straight right”, “straight left” & “up.”

    It all works great except if you lay the track in this sequence:

    First track - “straight right” another “straight right” then 2 “up” followed by 2 “straight left” then 1 “up” – for some reason on the last “up” section the code that is supposed to change the direction of the ball fires much to early before the ball has even hit the clip?

    Any ideas please

    A link to a working version of the movie is HERE

    Fla also attached
    Last edited by pup100; 09-22-2008 at 12:08 AM.
    You will know everything when you know you never will.

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