Hi, I'm using this code below to call a lightbox script from a flash file which works fine: getURL("javascript:Mediabox.open(\'http://www.mysite.com/reel08.flv\', \'Kaleidoscope\', \'mediabox[600 450]\');void(0)"); Code (markup): But... I would like to use the variable below from the flash file to replace the hard coded URL: http://www.mysite.com/reel08.flv this._parent.abreLink Code (markup): "abreLink" contains a URL taken from an XML file but I don't know the syntax to use the variable with the javascript in the getURL part. the original code was this: getURL(this._parent.abreLink); Code (markup): Would really appreciate any help. Thanks
Just do this: getURL("javascript:Mediabox.open(\" + this._parent.abreLink + "\", \"Kaleidoscope\", \"mediabox[600 450]\");void(0)"); Code (markup): -Scott