Skip navigation
RandRakuda
Currently Being Moderated

Full screen command stops working when a swf file is played on another frame.

Aug 16, 2012 1:16 PM

Tags: #as3 #flash_cs5.5

I have a .exe file that has about 90 frames. All of the frames work fine with the "full screen command" BUT when I click a button to go to a frame that calls a swf file to a specific position on the stage and a specific size to the swf-the Full screen goes to the regular stage size. AND when I exit that frame it doesn't go back to the larger Full Screen Command.

Flash CS 5.5 AS3 WIN 7 64 bit.

 

I have other frames that play a swf file(movie) at a certain size and position and they work fine. But this one swf file doesn't. I created all the other files except this swf file. I got from someone about 7 years ago-if that makes a difference.

 

Any ideas?

 
Replies
  • Currently Being Moderated
    Aug 17, 2012 6:52 AM   in reply to RandRakuda

    So you've set your main document up as:

     

    import flash.display.StageDisplayState;

    import flash.display.StageScaleMode;

    import flash.display.StageAlign;

     

    stage.scaleMode = StageScaleMode.NO_SCALE;

    stage.align = StageAlign.TOP_LEFT;

    stage.displayState = StageDisplayState.FULL_SCREEN;

     

    My first assumption would be, because you said it's been 7 years, that person is using ActionScript 2.0. So you're loading an AS2.0 doc into an AS3.0 doc which will have some limited functionality.

     

    Try replacing the 7 year old SWF you're loading with a dummy quickly made AS3.0 placeholder and see if your issue goes away. Chances are it will.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 23, 2012 7:44 AM   in reply to RandRakuda

    Glad you got it working and good luck!

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points