lightwindow and javascript from flash?
i am trying out the "lightwindow" script for my website. here is what i am doing.
i have lightwindow called from flash to open an external html which holds another swf with the JW flv player.
the only problem is i have no clue how to call light window from flash. i am not good at coding javascript from scratch and don't know where to begin.
can someone get some framework for me to go by?
i need to have several buttons on a flash page that all call a different file for the lightwindow.
thanks,
mike
This is driving me nutzzzzz
This has driven me mad ...
It works in FF fine .... I.E. of course sucks ...
I have over 20 ++ hours invested in trying to make this solution work ...and researching ...and trying everything. No luck.
If someone has an answer .... I WILL GLADLY RETURN THE FAVOR ....withing reason.
I can't spend anymore time on this.............
Below is my AS2 code that is on my MC ....and yes I have notice differences between MC and buttons. But I have changed so many thing while trying this that I don't even remember where I am. I know these are on mc's
I swear when I was testing at some point ....that this worked in I.E. 7
I am on XP ...and FF
Code:
on (press)
{
_root.GlobalSound.setVolume(0);
}
on (release)
{
getURL("javascript: myLightWindow.activateWindow({href: 'videoplayer_deco/videoPlayer.swf?xml_file=settings.xml',params: 'class=lightwindow,lightwindow_type=external,lightwindow_iframe_embed=true,lightwindow_width=480,lightwindow_height=400'});")
}
If you have an answer ...I will be soooooooooooo gracious.
BTW - view source of htm, I am not using any swfobject or I.E. if statements .... I usually do use the I.E. if statement ...but when I was having so many problems I changed everything.
Perhaps by the time you view this I may change the htm back.
ANY HELP GREATLY APPRECIATE!!