Posted by
Flashnutz |
Aug 7th, 2009
One technique of loading external images is using the Loader class.
It's similar to the URLLoader class but the Loader class loads and displays loaded images and SWF content. The Loader class is a part of the DisplayObject class; it is capable of displaying content as well as loading it.
To load external images using the Loader class, you need to create an object of the Loader class.
var imgLoader:Loader =...
Posted by
Flashnutz |
Aug 7th, 2009
I'm sure most of us use swfObject, which in my opinion is the best option when it comes to embedding flash.
Lately I've been having a lot of fun with mootools and needed a way to embed flash dynamically. Basically I wanted my flash file to be embedded after a mootools click event was triggered.
So without further ado..
window.addEvent('domready', function() {
//get the div I want to...