PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197
Flash8 Video Full Screen
A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Video Full Screen

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    4

    Video Full Screen

    Im working on a project in flash 8. It's a Cd rom presentation. I'm calling Multiple videos using XML for each video respectively. I want to know if there is any possibility to make my videos go full screen with a full screen button below it?
    Help would be Appreciated.

    Thnx

  2. #2
    Member
    Join Date
    Sep 2010
    Posts
    73

    function toggleFullScreen(){
    //if normal size, go to fullscreen, else go to normal size
    if(Stage["displayState"]=="normal"){
    //SWF FILE
    Stage["displayState"]="fullScreen";
    //EXE FILE
    fscommand("fullscreen", true);
    }else{
    //SWF FILE
    Stage["displayState"]="normal";
    //EXE FILE
    fscommand("fullscreen", false);
    }
    }
    is the file swf file or are you making a exe
    Last edited by Mancent; 11-28-2010 at 03:12 AM.
    WiiStream A Social Movie Network Version 0.1.1 Demo Testers Aproved http://wiistream.net/WiiStream.exe

  3. #3
    Member
    Join Date
    Sep 2009
    Posts
    57

    Talking

    Quote Originally Posted by Mancent View Post
    function toggleFullScreen(){
    //if normal size, go to fullscreen, else go to normal size
    if(Stage["displayState"]=="normal"){
    //SWF FILE
    Stage["displayState"]="fullScreen";
    //EXE FILE
    fscommand("fullscreen", true);
    }else{
    //SWF FILE
    Stage["displayState"]="normal";
    //EXE FILE
    fscommand("fullscreen", false);
    }
    }

    is the file swf file or are you making a exe
    Actionscript Code:
    function toggleFullScreen()
    {
        //if normal size, go to fullscreen, else go to normal size
        if (Stage["displayState"] == "normal")
        {
            //SWF FILE
            Stage["displayState"] = "fullScreen";
            //EXE FILE
            fscommand("fullscreen", true);
        }
        else
        {
            //SWF FILE
            Stage["displayState"] = "normal";
            //EXE FILE
            fscommand("fullscreen", false);
        }
    }

  4. #4
    Registered User
    Join Date
    Nov 2010
    Posts
    4
    Quote Originally Posted by danddleo View Post
    Actionscript Code:
    function toggleFullScreen()
    {
        //if normal size, go to fullscreen, else go to normal size
        if (Stage["displayState"] == "normal")
        {
            //SWF FILE
            Stage["displayState"] = "fullScreen";
            //EXE FILE
            fscommand("fullscreen", true);
        }
        else
        {
            //SWF FILE
            Stage["displayState"] = "normal";
            //EXE FILE
            fscommand("fullscreen", false);
        }
    }

  5. #5
    Registered User
    Join Date
    Nov 2010
    Posts
    4

    Thnx But still problms

    Hi danddleo!

    Thnx for your Valuable time & effort. The Finale File is an exe file.
    Also i made a button on my file & copied the sciprt it showed me some handler
    problm? Should i send u the file ?

    Thnx for all ur Support

  6. #6
    Registered User
    Join Date
    Nov 2010
    Posts
    4
    hi,

    above togglefullscreen code only works with the stage fullscreen, and not with the video..
    i m using flash 8 player ..
    and my presentation already plays in fullscreen onload (fscommand)..
    So hw do i make my video go fullscreen..its a different player on a different frame in the same fla..
    (videos externally called by xml)..

    Is this even possible in AS2 with flash player 8 ..or do i need to publish with flash 9 or greater..?

    Any help wud be appreciated

    Thanks

  7. #7
    Member
    Join Date
    Sep 2010
    Posts
    73
    you will need to find the instance name o the video holder.
    I do not know what the instance name is for you but here would be a example how you would do this.

    Actionscript Code:
    function toggleFullScreen()
    {  
     //if normal size, go to fullscreen, else go to normal size  
     if (instantname._width ==500)   <<<--------------THATS FUNNY
     {      
    //SWF FILE       Stage["displayState"] = "fullScreen";
    //EXE FILE        fscommand("fullscreen", true);  
    //INSTANCENAME OR MOVIE CLIP SIZE CONTROL  
    instantname._width =1000;
    instantname._height =1000;
    instantname._x =0;
    instantname._y =0;
     
     }    
    else  
     {      
    //SWF FILE        Stage["displayState"] = "normal";        
    //EXE FILE        fscommand("fullscreen", false);
    //INSTANCENAME OR MOVIE CLIP SIZE CONTROL  
    instantname._width =500;
    instantname._height =500;
    instantname._x =0;
    instantname._y =0;


     }
    }
    Last edited by Mancent; 11-28-2010 at 03:10 AM.
    WiiStream A Social Movie Network Version 0.1.1 Demo Testers Aproved http://wiistream.net/WiiStream.exe

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