Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Bungie.net



Bungie.net

I am not too sure how they got the flash to appear above the HTML site..

Pretty cool for a hybrid idea...

Just not too sure how it was done.



FlashKit > Flash Help > Flash MX
Posted on: 11-16-2004, 01:49 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Bungie Ball Help
Hello everyone a few days ago i started a game called Bungie Ball but i currently have a problem. The idea of the game is to change rings from orange to green. The way you do this is by moving the ball over a ring and letting go. This may sound easy but you have to do it in a set number of turns.
Ive got to lvl 6 and introduced rings that change from purple to green when hit if there purple, and change back to purple if you hit again. Ive got it to work but not the way i want it too. Because ive used the hitTest methord even when the ball is still touching the ring it just cycles throw the 2 frames ive got. All i want it to do is change to green if its purple then stop until the balls stopped moving to have the change to change back to green again.
What i was thinking is to unload or bypass the bit of action script that makes it go green once its hit the ring and then reload it the bit of action script if you know what i mean but i have no idea how to do it.
This is the code for it

xTween.onMotionChanged = function() {
if (ballMc.hitTest(ring10)) {
if (ring10._currentframe == 1) {
ring10.gotoAndStop(2);
} else {
ring10.gotoAndStop(1);
}
}
}

Copyright © 2005-08 www.BigResource.com, All rights reserved