A Flash Developer Resource Site

Page 2 of 3 FirstFirst 123 LastLast
Results 21 to 40 of 48

Thread: Fullscreen Flash from Browser

  1. #21
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    Quote 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.

  2. #22
    Member
    Join Date
    Aug 2007
    Posts
    58
    cool, thx

  3. #23
    theSWEEN thesween's Avatar
    Join Date
    Nov 2005
    Location
    Hertfordshire, England
    Posts
    305
    This is awesome!!! Nice1 Bret!

  4. #24
    Senior Member byweb's Avatar
    Join Date
    Apr 2007
    Location
    Andalucia (spain)
    Posts
    267
    What´s the AS code?, because I use :
    Code:
    btn1.onPress = function() {
    Stage.displayState = "fullScreen"
    }
    and it doesn´t work.

  5. #25
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    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="clsid27CDB6E-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>

  6. #26
    Senior Member byweb's Avatar
    Join Date
    Apr 2007
    Location
    Andalucia (spain)
    Posts
    267
    Ah! Only I was lacking a phrase in the code HTML. Thanks.

  7. #27
    theSWEEN thesween's Avatar
    Join Date
    Nov 2005
    Location
    Hertfordshire, England
    Posts
    305
    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="clsid27CDB6E-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.

  8. #28
    theSWEEN thesween's Avatar
    Join Date
    Nov 2005
    Location
    Hertfordshire, England
    Posts
    305
    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>

  9. #29
    theSWEEN thesween's Avatar
    Join Date
    Nov 2005
    Location
    Hertfordshire, England
    Posts
    305
    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.

  10. #30
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Check the value of Stage.displayState

    btn.onPress=function(){
    if (Stage.displayState=="fullscreen"){
    Stage.displayState="fullscreen";
    }else{
    Stage.displayState="normal";
    }
    }

  11. #31
    theSWEEN thesween's Avatar
    Join Date
    Nov 2005
    Location
    Hertfordshire, England
    Posts
    305
    Woohoo! Thanks again mate!

  12. #32
    Member
    Join Date
    Jul 2005
    Location
    Indiana, USA
    Posts
    79
    Bret, do you know why your email form doesn't work properly when in fullscreen mode?

    http://www.michianaworldwide.com/ez/moons/moons.html
    The KoolMoves KoolExchange is one KoolPuppy.

    E-Z Websites

  13. #33
    Member
    Join Date
    Aug 2007
    Posts
    58

    Escape button

    It says "Press ESP to return to normal disply"

    did you mean "ESC"?

  14. #34
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    @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.

  15. #35
    Member
    Join Date
    Aug 2007
    Posts
    58
    @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

  16. #36
    Member
    Join Date
    Jul 2005
    Location
    Indiana, USA
    Posts
    79
    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 . . .
    The KoolMoves KoolExchange is one KoolPuppy.

    E-Z Websites

  17. #37
    Member
    Join Date
    Aug 2007
    Posts
    58
    phew, good I'm not going crazy.

  18. #38
    Member
    Join Date
    Aug 2007
    Posts
    58

    Contact form

    Why doesn't the contact form work? Is it restricted from sending data to php and javascript?

  19. #39
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    Input fields are not supported in fullscreen mode.
    This is not a KoolMoves restriction but a flash player restriction.

  20. #40
    Member
    Join Date
    Jul 2005
    Location
    Indiana, USA
    Posts
    79
    It seems as though the actions are a little slower in fullscreen than with the regular brower.
    The KoolMoves KoolExchange is one KoolPuppy.

    E-Z Websites

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center