ActiveDen

Lightbox - explore images / flv / YouTube Videos / swf [CUSTOMIZEABLE]

Flash LightBox for ActionScript 3.0 available! Click here Flash LightBox 3.0 YouTube Support

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:
  1. Add component to stage and give it a instancename.

  2. Add this peace of code to the root:
    import mx.events.EventDispatcher;
    EventDispatcher.initialize(this.lightbox);

  3. 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!

  4. Upload get_t.php in same directory as lightbox.


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


Follow funkyjones at ActiveDen

by
by
by
by
by