|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
how 2 load xml file in flash mx,5
want to know how to deal with xml while i'm loading it into flash and how to get the variables and work with it to pass it to movieclip or just to use it in any thing
thnx all of u |
|
#2
|
|||
|
|||
|
You can try this way:
(it's important to put the first 2 lines for a good coding of xml) -------------------------- System.useCodePage = true; XML.prototype.ignoreWhite = true; values = []; myXML = new XML(); myXML.onLoad = function() { // here your xml page have been loaded into flash movie // and you can access the xml object (this) information: // depending of xml loaded you will do what you want... values = this.firstChild.childNodes; // etc... } myXML.load('xmlPage.xml'); -------------------------- |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > how 2 load xml file in flash mx,5 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|