February 2012
M T W T F S S
« Jun    
 12345
6789101112
13141516171819
20212223242526
272829  

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 [...]

Deep linking for Flash Site

Deep linking, on the World Wide Web, is making a hyperlink that points to a specific page or image on another website, instead of that website’s main or home page. Such links are called deep links.
Please read about deep linking on Wikipedia.

For example you created site yoursite.com with next menu: HOME | ABOUT [...]

Setting up a testing server

This instruction will be helpful for user who use Windows OS.
Please open your browser(if you don’t have it yet you can download Firefox or Chrome or some other browser) and enter this address http://www.wampserver.com/en/.

Please find there ‘Download the latest release of Wampserver 2′ link and click to it.

Click to Download

Double click to downloaded file and [...]