Flash getURL call not funtioning - see AS code

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Flash getURL call not funtioning - see AS code

teebin
this works:

loadImage.onRelease = function() {
getURL("javascript:Shadowbox.open({title:'this is an image',type:'img',width:'498',height:'720',content:'image.jpg'});");
}

this doesn't work:

loadHtml.onRelease = function() {
getURL("javascript:Shadowbox.open({title:'this is html',type:'html',width:'500',height:'500',content:'html.html'});");
}

the html is a white page with text on but the shadowbox comes up black and if you highlight the black screen all that it contains is the html file name.

example
http://www.acanthvs.com/www/sbtest/indextest.html

Any idea why such similar code would not funtion for a simple html page?