Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / April 2005



Tip: Looking for answers? Try searching our database.

load php

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ulitasch - 26 Apr 2005 18:08 GMT
ok . i have managed to get data from a xml-file. this file is generated by a
php file. So on every load I have to get this php file to generated the newest
xml-document. How can i load the PHP-file into my flash-site?
ClauÐio - Flash Developer - www.websigns.com.ar - - 28 Apr 2005 15:09 GMT
your php generates the xml?, well, all u need is cal it with
laodVariables, the php file will run and update your xml.

ClauÐio
LuigiL - 29 Apr 2005 12:48 GMT
You call the php-file from the loadhandler defined in a function that loads the
XML-data.
function initXML();
data_xml:XML=new XML();
data_xml.ignoreWhite=true; //if your XML-file contains white space
data_xml.onLoad=function(success:Boolean){
  if(success){
    // code to execute
  } else {
    trace("Error parisng the XML-file");
  }
};
data_xml.load("http://www.yourwebsite.com/yourphpfile.php");
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.