Using flash with XML and PHP

You can use XML and PHP within Flash. By creating an XML object within flash you can work with the XML data in an XML file easily. Using PHP from within flash is also straightforward. The getURL function can be used to send any variable value from within the flash file to a PHP file. For example the following code,


_______________________________________________

getURL("fromFlash.php", "_blank", "POST");

can be used to send variables from Flash to a PHP file fromFlash.php. The variable sent according to the code above use the POST method. You can use the $_POST('variable_name') to get the data from the flash file and assign that value to some other variable within the PHP file. It is so easy to do it.

To load XML data in flash you can create an XML object and use that object's Load method to load the XML file you need. You can create a function that could navigate through the XML document and assign that function to the onLoad event of the XML object.




_______________________________________________

FREE Subscription

Subscribe to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.

Name:
Email:

Note : We never rent, trade, or sell my email lists to
anyone. We assure that your privacy is respected
and protected.

_______________________________________







 

 

FREE Subscription

Stay Current With the Latest Technology Developments Realted to XML. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.

 

 

Add to My Yahoo!

Visit XML Training Material Guide Homepage

 

 

Copyright - © 2004 - 2017 - All Rights Reserved.