February 2010
M T W T F S S
« Jan   Mar »
1234567
891011121314
15161718192021
22232425262728

Full screen preview your flash file

Please create your flash file in flash IDE(for example draw flash site).
Then add button with instance name ‘my_btn’(after clicking to this button your flash work will be on full screen).
Then add code :

my_btn.addEventListener(MouseEvent.CLICK, fullScreen);

function fullScreen(event:MouseEvent):void
{
stage.displayState=StageDisplayState.FULL_SCREEN;
}

Then open Preview Settings and make like this:

Source:

full_screen

How show xml content like html page using flash and php?

I recommend you read first next tutorials:
Setting up a testing server
What to do if user don’t have a flash player?

So create flash file. There create dynamic text with instance name: my_text. And add next code:

var xml:XML;
var req:URLRequest = new URLRequest(”content.xml”);var loader:URLLoader = new URLLoader();

function dataLoaded(event:Event):void
{
xml = new XML(loader.data);
my_text.text = xml.supercontent;
}

loader.addEventListener(Event.COMPLETE, dataLoaded);
loader.load(req);

Then create xml file with [...]

What to do if user don't have a flash player?

You need use swfobject. Download there 2 files like on preview picture:

Then create your flash file and compile it, so you get .swf file.
Please open downloaded swfobject_generator.air and made some things like on pic:

After generated code create mysite.php file and paste existing code to this file.

Put downloaded swfobject.js file to the same folder with [...]