A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Flash Projector loses focus and other problems

  1. #1
    Member
    Join Date
    Apr 2004
    Posts
    31

    Flash Projector loses focus and other problems

    This is driving me crazy!

    Problem 1.
    I've created a presentation in Flash and published as a projector exe. When I open a PDF from the presentation the fullscreen projector reverts to windowed mode and that's it.

    Problem 2.
    I am also trying to launch an exe from the projector using:
    Code:
    on (release) {
    	fscommand("exec", "folder/application.exe");
    }
    The file is in fscommand > folder > application.exe. It will not run when clicked. Am I writing the AS wrong?

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

    not sure what's causing that!

    Problem 2:

    why are you creating a folder named fscommand, and not referring it in the path?
    I am back, guys ... and finally 18 :P

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

  3. #3
    Registered User
    Join Date
    Oct 2011
    Posts
    1
    Hi,
    try this..
    PHP Code:
    fscommand("fullscreen""true");

    fscommand("trapallkeys""True"); // since there's more than one true fscommand, need to change the case

    fscommand("allowscale""TRue"); 
    web design chennai

  4. #4
    Lifetime Friend of Site Staff Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,766
    #1. You can't stay in fullscreen mode in a projector if you launch an application. It's not a bug, it's a security feature. It's so the user can see what you're doing and not trying to hide something.

    #2. You can't use paths in the EXEC command, the only thing you're allowed to have in there is a filename. That's it. The EXE you want to launch has to be in the fscommand folder.

    If you need to do those things then your only solution is a third party SWF2EXE application. They cost a few bucks but most of them will do what you want.

    SWF Studio http://www.northcode.com (my product)
    Zinc http://www.multidmedia.com
    mProjector http://www.screentime.com
    SWFKit http://www.swfkit.com
    When your swf2exe tool just HAS to work
    there's only one choice... SWF Studio

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