Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: R: R: FLASH: New Browser Window |
| From: | | | | |||| | | | | | |
| Date: | Tue, 18 Jan 2000 19:44:30 GMT |
is this for flash3? i have flash 4 (macintosh) and it can support variables.
(1)exactly what do i put in the fs command sections in flash
(2)and in the html to make a new window pop up with certain size and no
toolbar?
this is the html flash produces.....
do i put your code where it says "place your code here"?
<HTML>
<HEAD>
<TITLE>themovie</TITLE>
</HEAD>
<BODY bgcolor="#333333">
<SCRIPT LANGUAGE=JavaScript>
<!--
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
function themovie_DoFSCommand(command, args) {
var themovieObj = InternetExplorer ? themovie : document.themovie;
//
// Place your code here...
//
}
// Hook for Internet Explorer
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 &&
navigator.userAgent.indexOf("Windows") != -1 &&
navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('<SCRIPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('Sub themovie_FSCommand(ByVal command, ByVal args)\n');
document.write(' call themovie_DoFSCommand(command, args)\n');
document.write('end sub\n');
document.write('</SCRIPT\> \n');
}
//-->
</SCRIPT>
<!-- URL's used in the movie-->
<A HREF=FSCommand:nue></A> <!-- text used in the movie-->
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,
0,0"
ID=themovie WIDTH=550 HEIGHT=300>
<PARAM NAME=movie VALUE="themovie.swf"> <PARAM NAME=quality VALUE=best>
<PARAM NAME=bgcolor VALUE=#333333> <EMBED src="themovie.swf" quality=best
bgcolor=#333333 WIDTH=550 HEIGHT=300 swLiveConnect=true
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash"></EMBED>
</OBJECT>
</BODY>
</HTML>
----------
>From: "Jacopo Deyla" <jdeyla
>To: <flasher
>Subject: R: R: FLASH: New Browser Window
>Date: Tue, Jan 18, 2000, 2:51 PM
>
> I dunnow if there is this method is qite simple, the only things you have to
> know is
> image path and size
>
> the html could be easier, most of the things in ther are for making a table,
> but you can delete all tds an trs in window1.document.write.
> just:
>
>
>> 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("<body><div align='center'><img src='PATH");
>> window1.document.write(imm);
>> window1.document.write("' ></div></body>");}
>> else{
>> window1.document.images[0].src="PATH"+imm;}
>> window1.document.close;
>> window1.focus();
>
> Flash 3 doesn't support variables so you have to specify width, height and
> image path everytime
>
> but it should work
>
> I have no other ideas
>
>
>
> 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 help
>
>
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 help
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

