|
-
 Originally Posted by Menzoic
Wouldn't using javascript to open a popup start the swf all over again? Does the fullscreen in fp 9 continue the playing of the swf or does it restart? Is the fullscreen in fp9 blocked by popup blockers? I'm still using Flash 8
As far as I know open a popup using javascript would start the swf all over again.
FP9 fullscreen continues to play the swf. It does not restart. What's also very nice is that you can define the rectangle that is going to be blown up to full screen.
-
-
theSWEEN
This is awesome!!! Nice1 Bret!
-
Senior Member
What´s the AS code?, because I use :
Code:
btn1.onPress = function() {
Stage.displayState = "fullScreen"
}
and it doesn´t work.
-
KoolMoves Moderator
You also have to modify the HTML tags to allowfullscreen
<script type="text/javascript">AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,65,0','loop','true','bgcol or','#000000','width','720','height','480','src',' fstest','allowFullScreen','true','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','fstest');
</script><noscript><object classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000" id=fstest width=720 height=480 codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,65,0">
<param name="allowFullScreen" value="true" />
<param name="movie" value="fstest.swf" />
<param name="quality" value="high" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="bgcolor" value="#000000" />
<embed src="fstest.swf" allowFullScreen="true" width=720 height=480 bgcolor="#000000" quality="high" loop="true"
type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer" />
</object></noscript>
-
Senior Member
Ah! Only I was lacking a phrase in the code HTML. Thanks.
-
theSWEEN
Hmmmmm... I have this in the actions of the frame...
btn1.onPress = function() {
Stage.displayState = "fullScreen"
}
I have this in the body of my masterpage...
<script type="text/javascript">AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,65,0','loop','true','bgcol or','#000000','width','1050','height','552','src', ' underconstructionbg','allowFullScreen','true','qua lity','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','underconstructionbg');
</script><noscript><object classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000" id="underconstructionbg" width="1050" height="552" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,65,0">
<param name="allowFullScreen" value="true" />
<param name="movie" value="underconstructionbg.swf" />
<param name="quality" value="high" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="bgcolor" value="#000000" />
<embed src="underconstructionbg.swf" allowfullscreen="true" width="1050" height="552" bgcolor="#000000" quality="high" loop="true"
type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer" />
</object></noscript>
Any ideas why it won't work?
Cheers
Steve
Last edited by thesween; 05-19-2008 at 04:41 PM.
-
theSWEEN
Of course durrrrrrrr.. I see the problem.. obviously I am using a masterpage.master in .NET. Not a flash query really, but anyone have any idea how to allow the fullsreen in .net?
I use this to embed .swf
<script type="text/javascript" src="/javascript/swfobject.js"></script>
<span id="flashcontentx"></span>
<script type="text/javascript">
var sox = new SWFObject("/underconstruction.swf", "mymovie", "1236", "552", "8");
sox.write("flashcontentx");
</script>
-
theSWEEN
Anyone have any suggestions on how the button would work? I have a button and the the code..
btn1.onPress = function() {
Stage.displayState = "fullScreen"
}
This works fine but I want to displaystage = "normal" but not sure how to make it recognise when its in full screen? Or how to modify the button? Hope that makes sense.
-
KoolMoves Moderator
Check the value of Stage.displayState
btn.onPress=function(){
if (Stage.displayState=="fullscreen"){
Stage.displayState="fullscreen";
}else{
Stage.displayState="normal";
}
}
-
theSWEEN
Woohoo! Thanks again mate!
-
Bret, do you know why your email form doesn't work properly when in fullscreen mode?
http://www.michianaworldwide.com/ez/moons/moons.html
-
Escape button
It says "Press ESP to return to normal disply"
did you mean "ESC"?
-
@Phil1615, keyboard support in fullscreen mode is limited by the flash player for security reasons.
@Menzoic, the fullscreen message is displayed by the flash player. I suppose it has to do with the language version of the installed flash player on your computer.
-
@w.bryant Everything on my computer is english lol
I just checked back and now it says ESC and it highlights Yellow instead of white. Maybe my eyes are playing tricks on me lol
-
You're eyes aren't playing tricks. I went back when I saw I had ESP instead of ESC. Anyway, I prettied up the button a little too. Now I will have to go back and eliminate the fullscreen mode if the contact form doesn't work.
Try, try, again . . .
-
phew, good I'm not going crazy.
-
Contact form
Why doesn't the contact form work? Is it restricted from sending data to php and javascript?
-
Input fields are not supported in fullscreen mode.
This is not a KoolMoves restriction but a flash player restriction.
-
It seems as though the actions are a little slower in fullscreen than with the regular brower.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|