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

7 Neighs about “ActionScript 3 LoadMovie Snippet”



Burn Neighed:

I prefer to use bulkloader for such a tasks :)

Jose Antonio Marquez Russo Neighed:

Finally a new post after forever!!! How’s the new location treating you? Do you have a twitter account?

Dale Neighed:

@Burn,

Yeah, I’ve never bothered with bulkloader, just roll my own asset loading classes.

Dale Neighed:

@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.

ActionScript 3 LoadMovie Snippet — Some Random Dude Neighed:

[...] ActionScript 3 LoadMovie Snippet [...]

ActionScriptJobs.com Neighed:

[...] Go get it! [...]

Leave a neigh?