call shadowbox in a fla

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

call shadowbox in a fla

louloule
hello ,i search and research a solution to call shadowbox in a fla.

but i don t  find the solution.if someone have an exemple with a fla
Reply | Threaded
Open this post in threaded view
|

Re: call shadowbox in a fla

Diederik
yeah, i am also looking for this!
so please, if anybody has an answer to this.. it would be greatly appreciated!
Reply | Threaded
Open this post in threaded view
|

Re: call shadowbox in a fla

louloule
yes ,the solution is :

take the picture flow in this page
http://www.yaelle.com/?p=69

after paste a swf in the html page test with a bouton like that:

import flash.external.*;

function build_lightbox():Void{ ExternalInterface.call("myflashShadowboxInjector.reset");
ExternalInterface.call("myflashShadowboxInjector.appendElement", "http://www.google.fr/", "legende", "0", "shadowbox[maGalerie]");
ExternalInterface.call("myflashShadowboxInjector.updateImageList");
}

esp.onPress = function() {
build_lightbox();
ExternalInterface.call("myflashShadowboxInjector.start","http://www.google.fr/","shadowbox[maGalerie]","0");
       
}


and ur enjoy  :):):)


thx a lot philippe for the solution
Reply | Threaded
Open this post in threaded view
|

Re: call shadowbox in a fla

soulship
Great solution, thanks for posting your snippet.
Reply | Threaded
Open this post in threaded view
|

Re: call shadowbox in a fla

louloule
look that

test.fla
Reply | Threaded
Open this post in threaded view
|

Re: call shadowbox in a fla

markmark16
Hi louloule,

Thanks for the code. But somehow i can't get to work.
Do you have a sample html page of were the test.swf is working.

many thanks
mark
Reply | Threaded
Open this post in threaded view
|

Re: call shadowbox in a fla

louloule
test.rar

looks that .....works on line only

:):):):)
Reply | Threaded
Open this post in threaded view
|

Re: call shadowbox in a fla

markmark16
OK tx,

That's working. Do you think it is possible to have the image or movie loaded from a xml file and the size of the movie's. Just like the photoflow only except the 3d effect so just a plain image/movie.

mark
Reply | Threaded
Open this post in threaded view
|

Re: call shadowbox in a fla

louloule
i dont know i am not a developper.