AS3 Script: Play a movie clip object at random intervals
I'm not a frequent user of Flash, but I was assigned a project involving a day-to-night transitioning scene. I've pretty much done it all using regular keyframing and tweens, but I'd like to add a scripted movie clip to the scene at the night period.
Basically, what I'd like to do is distribute a bunch of small 5-frame movie clips of a twinkling star over my scene, and have a script play each one at a random period between 5 and 20 seconds (and continue this behaviour indefinitely). The end result should look like a dark night sky with the occasional twinkling star here and there.
I'd greatly appreciate if a user on this forum could write said script for me, or guide me to writing my own (my own programming skills are extremely subpar however).
Click Here to Expand Forum to Full Width
Poll by Flashkit.com