Welcome, Guest
Want to take part in these discussions? Sign in if you have an account, or apply for one below
-
- CommentAuthorhanzi
- CommentTimeSep 26th 2008
Hi
I'm making a preloader in AS3, normal bar that scales both ways as it loads. What I want to know is how can I make particles fly out
from both ends of the preloader while it scales?
Thanx for any help in advance -
- CommentAuthorRichard
- CommentTimeSep 26th 2008 edited
Hi Hanzi
Either
1. Use two emitters and a custom activity that adjusts each emitter's location so that it is always at the end of the bar. (Look at the code in the FollowMouse activity for clues).
Or
2. Use a custom initializer that places each particle at a randomly chosen one of the ends of the bar. (Look at the code in the PositionAbsolute initializer for clues).
Everything else should be possible with standard classes that are in the Flint library.
1 to 2 of 2
