So i’ve been trying to put the lightbox in my flash as2 site which worked untill i put the buttons triggering the js inside of a movieclip.
I know for a fact that the buttons works outside of the movieclip - on the main stage, they just stop working properly inside of a movie clip…hope you guys can help me out.This is the script inside of the button:
[LEFT][COLOR=#993300]on[/COLOR] COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR] [COLOR=#993300]getURL[/COLOR][COLOR=#000000]([/COLOR][COLOR=#0000FF]“javascript:show(0, '”[/COLOR]+allpics+[COLOR=#0000FF]"’)"[/COLOR][COLOR=#000000])[/COLOR]; [COLOR=#000000]}[/COLOR]
[/LEFT]
Thanks in advance
ps. i tried to put _root on the code but it doesnt help
also wanted to specify that the button triggers the script somehow (the screen goes grey) but the frame with the image gallery doesnt load…while outside the movie clip everything works as it should.