ActionScript 3 LoadMovie Snippet
Over on kirupa, one of the users was complaining about the lack of LoadMovie in AS3.
While not being something that has ever concerned me in the slightest, I thought I’d whip up a quick AS3 version of the same general idea.
Its pretty simple. A singleton class, with a simple “loadMovie” method that accepts the string URL of the asset to load, the container to load it into, and an optional Boolean flag for deciding if the containers existing children (if it has any) are removed with each new load.
I doubt this will have much use, but who knows.
Source Files
Here is the relevant source file; LoadMovie (716)
By downloading, you agree to the terms of use, outlined here: http://www.blog.noponies.com/terms-and-conditions
Dependencies
Zero

July 9th, 2009 at 9:45 am
I prefer to use bulkloader for such a tasks
July 9th, 2009 at 5:34 pm
Finally a new post after forever!!! How’s the new location treating you? Do you have a twitter account?
July 9th, 2009 at 9:14 pm
@Burn,
Yeah, I’ve never bothered with bulkloader, just roll my own asset loading classes.
July 9th, 2009 at 9:17 pm
@Jose;
Ha, yeah. Not much time for mucking around with actionscript these days. Its OK, don’t have a great deal of time to spare, but there is plenty to do. Sure you, noponies is my username.
July 12th, 2009 at 2:40 am
[...] ActionScript 3 LoadMovie Snippet [...]
August 6th, 2009 at 3:43 am
[...] Go get it! [...]
August 9th, 2009 at 3:04 pm
[...] Go get it! [...]