PDA

View Full Version : Projector to sit in middle of black screen...


ninjastyle
04-08-2008, 03:45 AM
Hey Guys

If anyone can point me in the right direction I will be very grateful ;-)

I am using flash 9.0 with Action Script 2.0. The file that I have created will be launched as a standalone file from the clients desktop. I have no problems saving it as an .exe file and running it on a PC.

I would like the exported file to sit in the middle of the screen at 100%. Instead of the user being able to see their desktop in the background I would like it to sit on a black background. So, depending on what size screen someone has, my movie will always be 100% on a full screen black background.

I have looked at the fsCommands available, but none seem to do what I am after.

Do I need to launch the file through a third party application?

Any help would be appreciated.

Thanks in advance ;)

inhan
04-08-2008, 08:06 AM
Select black as the movie background color (from properties panel in CS3 or Modify>Document in any Flash version) and...

Stage.scaleMode = "noScale";
Stage.displayState = "fullScreen";

ninjastyle
04-09-2008, 07:06 AM
Brilliant.

Thanks Ali, this has been doing my head in for days. Appreciate your help ;-)

inhan
04-09-2008, 04:54 PM
You're welcome :)