Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: R: FLASH: New Browser Window
From: Jacopo Deyla
Date: Tue, 18 Jan 2000 13:13:46 GMT

For the 1st Q:
You can use FSCommand and an html with a javascrip functiom whom you pass as
arguments window size and position you also can pass the image you want if
you build html for that page

a javascript could be

function opwin(imm, w,h){
features="toolbars=NO,width="+w+",height="+h+",resizable=no";
window1=window.open("","...",features);
if(window1.document.images[0]==null){
window1.document.write("<head><title>... </title></head><body><table
width='100%' border='0' cellpadding='0' cellspacing='0'><tr><td
height='10'>&nbsp;</td><td height='10'>&nbsp;</td><td
height='10'>&nbsp;</td></tr><tr><td width='10'>&nbsp;</td><td width='90%'
align='center' valign='middle'><div align='center'><img src='PATH");
window1.document.write(imm);
window1.document.write("' ></div></td><td width='10'>&nbsp;</td></tr><tr><td
height='10'>&nbsp;</td><td height='10'>&nbsp;</td><td
height='10'>&nbsp;</td></tr></table></body>");}
else{
window1.document.images[0].src="PATH"+imm;}
window1.document.close;
window1.focus();
}

this is an html with a table that centres th image;
PATH is the relative path to the image
and you can put whatever you want in title or other parts

so you can call this function within flash passig the 3 args

For the 2nd Q:
You can open a new window selecting "_blank" from the GET URL command..


...but be careful it does not always work...



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: New Browser Window, Paul Kilgour

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]