OK, now this may seem like a simple process but it’s not if you don’t have the code. I’m not a programmer there tough guy…don’t claim to be one, don’t want to ever be one…in fact, the less I program the happier I am.
The days of making apps without calling propeller heads who are typically socially hard to deal with, are over my friends (anyone remember Director?).
Yeah, I said it. Now, don’t get me wrong, I love programmers…let me say that again, I love me some GOOD RELIABLE programmers. Rare you say? Well, yes actually.
But I hate depending on people, and also don’t like paying someone if I don’t have to. Importing an FLV into Flash and saying “loop” shouldn’t be that hard, right? I literally banged my head against the wall trying to figure it out but I’m here to tell all of you fine people how to do, to save the walls of the world, and the heads.
1. OK, first thing’s first Tiger. Compress your video into FLV format.
2. Import it into your library, use “progressive”
3. Place it on your stage and name the instance “vid”
4. On the same frame, or on your “Actions” frame, add this code:
var vidList : Object = new Object();
vidList.complete = function() {
vid.play();
}
vid.addEventListener (“complete”,vidList);
stop();
5. Save and publish. Then commence the high-five tradition with the office.
_____
I use this technique for looping backgrounds, to online Flash banners. I hope it finds you well…..before insanity hits.
Good luck and may the force be with you young grasshopper!
–MN
Tags: Flash, VideoLeave a Reply
You must be logged in to post a comment.
Recent Comments