Flash LightBox for ActionScript 3.0 available! Click here

NOTE : YouTube feature is temporarely out of order. Appearently YouTube has disabled any cross-domain to load their site content.
UPDATE 15th of August 2009: Autoplay videos on load and resize images according to screen resolution
See working example here
Flash Lightbox fully customizable.
Explore jpg / png / gif / swf / flv / YouTube Videos How to use in Flash:
- Add component to stage and give it a instancename.
- Add this peace of code to the root:
import mx.events.EventDispatcher;
EventDispatcher.initialize(this.lightbox);
- Modify the parameters in panel.
For instructions on how to modify parameters dynamically:
orgw:Number (Set the original stage width)
orgh:Number (Set the original stage height)
autoplay:Boolean (If it should autoplay videos) NEW!
screensize:Boolean (If it should resize images according to screen resolution) NEW!
- Upload get_t.php in same directory as lightbox.
- Redy to use!
Call the public function like this:
lightbox.init(“pic1.jpg
pic3.jpg!http://www.youtube.com/watch?v=_OBlgSz8sSM”, 2);
Seperate the filenames with a ’!’
the second value is set which file should be loaded at start. If it’s unset default value is 1.


152 Purchases
87 Comments