-
Hi,
Does somebody now how to open a JPG in an new Browser window, the command given by Flash?
I don't know if this is possible. I wan't to give the visiter two options.
1. View an external image in a mask in Flash...(this is no problem)
2 View the same (complete size) image in a new broswer window.
Thanks for any help.
Yvan.
-
You need to use JavaScript in the html:
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
Then call the JavaScript with the getURL function of actionscript:
on(release){
getURL ("javascript:MM_openBrWindow('thepage.html','','wi dth=700,height=393,resizable=no,scrollbars=no,menu bar=no')");
}
-
its simple
hi dudes,
Its very simple....all that you need is to display a image in a seperat browser...
geturl("XXX.jpg",_blank);
Will that not do......its simple isn't
gnana
-
That'll work but, no offence, but that's quite a lazy way and untidy way of doing it. You have no control over the size of the new window.
-
Tnx both for replying guys...I prefer the method of Gnana, because I have lots of images to display and I haven't much courage to make a separate html page for each image...
Buth with Gnana's method, I have another problem...Is it possible in Flash not to display the title bar of the newly opened window?
Tnx for help,
Yvan.
-
yeah u can
hi dude,
all that you got to do is write a function in the same html page in javascript and call the function with the image name as the parameter...it will open a window with all your needs.....see collinmoock.org for tutorial...its given there.
gnana