A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Setting Variables with XML

  1. #1
    Junior Member
    Join Date
    Jun 2001
    Posts
    4

    Setting Variables with XML

    Is there a way that you can set the value of a variable, for instance 'more=x', where the x is defined by content brought in from an XML file?
    <matt>

  2. #2
    Senior Member
    Join Date
    Feb 2001
    Location
    Provo, Utah
    Posts
    1,112
    PHP Code:
    myVariable=new XML("<top someName='someValue'></top>").firstChild.attributes['someName'];
    trace(myVariable); 
    Richard Lyman
    rich at lithinos.com
    www.lithinos.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center