A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: [RESOLVED] several question

  1. #1
    Member
    Join Date
    Feb 2012
    Location
    Nanggroe Aceh Darusalam
    Posts
    84

    resolved [RESOLVED] several question

    1. i want to create a virtual piano, so what extension is better for the app ?

    2. how to make the app become full screen ?

    3. how to create button that close the app ? in case the app is in full screen mode

    thanks in advance

  2. #2
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    Fullscreen:

    Actionscript Code:
    fscommand("fullscreen", true);

    Close Fullscreen:

    Actionscript Code:
    fscommand("fullscreen", true);

    Close SWF:

    Actionscript Code:
    fscommand("quit");

    This will not work from inside Flash, so you have to open the SWF file locally, and I am not sure if fscommand is supported for all Flash Player Versions
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  3. #3
    Member
    Join Date
    Feb 2012
    Location
    Nanggroe Aceh Darusalam
    Posts
    84
    Quote Originally Posted by Nig 13 View Post
    Fullscreen:

    Actionscript Code:
    fscommand("fullscreen", true);

    Close Fullscreen:

    Actionscript Code:
    fscommand("fullscreen", true);

    Close SWF:

    Actionscript Code:
    fscommand("quit");

    This will not work from inside Flash, so you have to open the SWF file locally, and I am not sure if fscommand is supported for all Flash Player Versions
    for fullscreen, where i should put the act script ?

    in layer ?

  4. #4
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    Wherever you want. On your Frame if you want it to switch to fullscreen instantly, on a button wrapped in an event listener to fire at will
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  5. #5
    Member
    Join Date
    Feb 2012
    Location
    Nanggroe Aceh Darusalam
    Posts
    84
    Quote Originally Posted by Nig 13 View Post
    Fullscreen:

    Actionscript Code:
    fscommand("fullscreen", true);

    Close Fullscreen:

    Actionscript Code:
    fscommand("fullscreen", true);

    Close SWF:

    Actionscript Code:
    fscommand("quit");

    This will not work from inside Flash, so you have to open the SWF file locally, and I am not sure if fscommand is supported for all Flash Player Versions
    i think it cant be used on flash 8 sir

  6. #6
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    dude, I use Flash 8 myself and it works perfectly. HERE IS AN EXAMPLE I MADE (yellow is for Fullscreen, and Red is to undo the fullscreen)

    and like I already said, this won't work from INSIDE Flash, you will need to manually open the .SWF file from your location folder!
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  7. #7
    Member
    Join Date
    Feb 2012
    Location
    Nanggroe Aceh Darusalam
    Posts
    84
    Quote Originally Posted by Nig 13 View Post
    dude, I use Flash 8 myself and it works perfectly. HERE IS AN EXAMPLE I MADE (yellow is for Fullscreen, and Red is to undo the fullscreen)

    and like I already said, this won't work from INSIDE Flash, you will need to manually open the .SWF file from your location folder!
    owh..

    i see, i forgot that one

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