thats for the reply..
my JS is zero to none.. =(
I have things working 'sorta' working.. but cold use some javascript suggestions/syntax help?
Im using LightWindow..because it 'does' support the media I am calling (finally)
http://www.p51labs.com/lightwindow/index.html#howtouse
with some code samples ^
import my scripts:
<script type="text/javascript" src="javascript/prototype.js"></script>
<script type="text/javascript" src="javascript/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="javascript/lightwindow.js"></script>
<link rel="stylesheet" href="css/lightwindow.css" type="text/css" media="screen" />
they gave this as an example of how to call form javaScript:
Code:
myLightWindow.activateWindow({
href: 'http://stickmanlabs.com/images/kevin_vegas.jpg',
title: 'Waiting for the show to start in Las Vegas',
author: 'Jazzmatt',
caption: 'Mmmmmm Margaritas! And yes, this is me...',
left: 300
});"
I changed it a bit to be a function I could call form Flash in my html head
Code:
function makeLW() {
myLightWindow.activateWindow({
href:'http://cdn.video-files.com/services/player/bcpid678787071001?bctid=679204101001',
title: 'TEST TITLE',
author: 'AUTHORE NAME',
caption: 'TEST CAPTION',
});"
};
(not even sure I have syntax correct?)
and eventually I'd like to pass all params through the function in the end.. but for now hard coding will suffice!
the HTML link works fine...
<a href="http://cdn.video-files.com/services/player/bcpid678787071001?bctid=679204101001" class="lightwindow" params="lightwindow_width=480,lightwindow_height=2 75" title="Some Movie" caption="Caption test..123">Link Test </a>
but I cant seem to bridge the Flash > JS call gap.. so any help is appreciated!
I tried getURL()'s and ExternalInterface calls.
getURL("javascript:makeLW();","_self");
ExternalInterface.call("makeLW");
any ideas?
thanks for the help!!!!!!!!!!!!