solitairell
asked on
Flash animation in an Explorer window (NO MENU BAR, NO SCROLLING, NO BORDER)
Hey body!!!
Need some help!!!
Starting from a Flash animation and trying to call (by clicing on a button in the main flash animation...that we know how!!!) an HTML page (generated by Flash). We don't want any menu bar or scrolling bar for this HTML page! Only the window with the blue line on the top with the close, minimize and maximize buttons... Moreover... not resizable and also no spacing between the border of the window and the flash animation!!!
Here is the code generated by Flash for the HTML page :
<HTML>
<HEAD>
<TITLE>Movie1</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<OBJECT classid="clsid:D27CDB6E-AE 6D-11cf-96 B8-4445535 40000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
ID=Movie1 WIDTH=550 HEIGHT=400>
<PARAM NAME=movie VALUE="Movie1.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="Movie1.swf" quality=high bgcolor=#FFFFFF WIDTH=550 HEIGHT=400 TYPE="application/x-shockw ave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
</BODY>
</HTML>
Thank you.
Need some help!!!
Starting from a Flash animation and trying to call (by clicing on a button in the main flash animation...that we know how!!!) an HTML page (generated by Flash). We don't want any menu bar or scrolling bar for this HTML page! Only the window with the blue line on the top with the close, minimize and maximize buttons... Moreover... not resizable and also no spacing between the border of the window and the flash animation!!!
Here is the code generated by Flash for the HTML page :
<HTML>
<HEAD>
<TITLE>Movie1</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<OBJECT classid="clsid:D27CDB6E-AE
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
ID=Movie1 WIDTH=550 HEIGHT=400>
<PARAM NAME=movie VALUE="Movie1.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="Movie1.swf" quality=high bgcolor=#FFFFFF WIDTH=550 HEIGHT=400 TYPE="application/x-shockw
</OBJECT>
</BODY>
</HTML>
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Your link can open a window to whatever size you want with the attributes you require:
<a href="javascript:window.op en('flashp age.html', 'flashwind ow','heigh t=500,widt h=450,scro llbars=0,m enubar=0,t oolbar=0,l ocation=0, resizable= 0,status=0 ,fullscree n=0')">Ope n Flash window</a>
And to get rid of borders and the like then you set these in the body tag of your flash page:
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
<a href="javascript:window.op
And to get rid of borders and the like then you set these in the body tag of your flash page:
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
Oops...I missread...I thought you wanted everything to be gone from the window....
Well...when you only want the blue window bar...just leave all attributes out exept for width and height of the window you open...all attributes default to 0 anyway....
Cheers,
Max.
Well...when you only want the blue window bar...just leave all attributes out exept for width and height of the window you open...all attributes default to 0 anyway....
Cheers,
Max.
This question has been abandoned. Would the experts please indicate how
this should be closed out. Is there a comment which should be accepted?
Should the points be split? Should it be reduced to zero points and PAQed?
should it be deleted? In the absence of direction, the default will be
for me to delete.
TIA for helping to clean up the old questions.
teacher_mod
Community Support Moderator
Experts-Exchange
teacher_mod@experts-exchan ge.com
this should be closed out. Is there a comment which should be accepted?
Should the points be split? Should it be reduced to zero points and PAQed?
should it be deleted? In the absence of direction, the default will be
for me to delete.
TIA for helping to clean up the old questions.
teacher_mod
Community Support Moderator
Experts-Exchange
teacher_mod@experts-exchan
Not really sure who was more correct with what solitairell wanted. A point split?
Whatever you all decide sounds fine to me...
Max.
Max.
It is time to clean this abandoned question up.
I am putting it on a clean up list for CS.
<recommendation>
Split nimaig/DreamMaster/dij8
</recommendation>
If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.
Cd&
I am putting it on a clean up list for CS.
<recommendation>
Split nimaig/DreamMaster/dij8
</recommendation>
If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.
Cd&
Fine with me... :)
Max.
Max.
ASKER
The complete answer is:
<HTML>
<HEAD>
<TITLE>essensdesign.com</T ITLE>
</HEAD>
<BODY bgcolor="#333333" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">
<SCRIPT LANGUAGE=JavaScript>
<!--
function CodeFlash_DoFSCommand(comm and, args) {
if (command == "6sens"){
window.open("6sens.html"," 6sens","de pendent=1, directorie s=0,locati on=0,menub ar=0,resiz able=0,scr ollbars=0, toolbar=0" );
}
}
//Code pour IE
if (navigator.appName && navigator.appName.indexOf( "Microsoft ") != -1 && navigator.userAgent.indexO f("Windows ") != -1 && navigator.userAgent.indexO f("Windows 3.1") == -1) {
document.write('<script language=VBScript\> \n');
document.write('on error resume next \n');
document.write('Sub CodeFlash_FSCommand(ByVal command, ByVal args)\n');
document.write(' call CodeFlash_DoFSCommand(comm and, args)\n');
document.write('end sub\n');
document.write('</script\> \n');
}
//-->
</SCRIPT>
<!-- URL's used in the movie-->
<A HREF=mailto:info@essensdes ign.com></ A> <!-- text used in the movie-->
<!--TANK YOU --><OBJECT classid="clsid:D27CDB6E-AE 6D-11cf-96 B8-4445535 40000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
ID="CodeFlash" WIDTH=100% HEIGHT=100%>
<PARAM NAME=movie VALUE="intro.swf">
<PARAM NAME=loop VALUE=false>
<PARAM NAME=quality VALUE=medium>
<PARAM NAME=devicefont VALUE=true> <PARAM NAME=bgcolor VALUE=#333333>
<EMBED src="intro.swf" NAME="CodeFlash" loop=false SWLIVECONNECT=true quality=medium devicefont=true bgcolor=#333333 WIDTH=100% HEIGHT=100% TYPE="application/x-shockw ave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
</BODY>
</HTML>
Tank you
<recommendation>
Split point to DreamMaster/dij8
<HTML>
<HEAD>
<TITLE>essensdesign.com</T
</HEAD>
<BODY bgcolor="#333333" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">
<SCRIPT LANGUAGE=JavaScript>
<!--
function CodeFlash_DoFSCommand(comm
if (command == "6sens"){
window.open("6sens.html","
}
}
//Code pour IE
if (navigator.appName && navigator.appName.indexOf(
document.write('<script language=VBScript\> \n');
document.write('on error resume next \n');
document.write('Sub CodeFlash_FSCommand(ByVal command, ByVal args)\n');
document.write(' call CodeFlash_DoFSCommand(comm
document.write('end sub\n');
document.write('</script\>
}
//-->
</SCRIPT>
<!-- URL's used in the movie-->
<A HREF=mailto:info@essensdes
<!--TANK YOU --><OBJECT classid="clsid:D27CDB6E-AE
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
ID="CodeFlash" WIDTH=100% HEIGHT=100%>
<PARAM NAME=movie VALUE="intro.swf">
<PARAM NAME=loop VALUE=false>
<PARAM NAME=quality VALUE=medium>
<PARAM NAME=devicefont VALUE=true> <PARAM NAME=bgcolor VALUE=#333333>
<EMBED src="intro.swf" NAME="CodeFlash" loop=false SWLIVECONNECT=true quality=medium devicefont=true bgcolor=#333333 WIDTH=100% HEIGHT=100% TYPE="application/x-shockw
</OBJECT>
</BODY>
</HTML>
Tank you
<recommendation>
Split point to DreamMaster/dij8
Unless Teacher Mod steps in the way to split points is to go to Community Support (https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt) and say you want to split points. State the question (either url (https://www.experts-exchange.com/jsp/qShow.jsp?ta=html&qid=20134288) or topic area (HTML) and id (20134288)) and how you want to split the points. As in to whom and how many for each of them. CS will do what they need to and give you instructions on what you need to do.
Glad to have been of some help.
Glad to have been of some help.
No need this is already on a cleanup list that Kodiakbear is working on.
Cd&
Cd&
DreamMaster & dij8 check for your points
Okiedokie kodiakbear.... :)
Max.
Max.
Link to the flash page using this:
<a href="#" onclick="window.open('flas
In the onload event of the flash page...
<body onload="window.resizeTo(55
All menuitems, borders etc...will be gone and the page will have the same size as your flash page...
Please be sure however that you provide the user with a link to close the window though as they are not really happy with pages they cannot close...
For Netscape this is not possible...
Max.