dcsimg
A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: variables from xml

  1. #1
    Junior Member
    Join Date
    Oct 2002
    Posts
    23

    variables from xml

    Hi there,

    I have inserted below mentioned XML code somewhere in my html page

    [CODE
    <feed>
    <var a="8">
    </var>
    <var b="8">
    </var>
    <var c="8">
    </var>
    <var d="8">
    </var>
    <var e="8">
    </var>
    <var f="8">
    </var>
    </feed>
    [/CODE]

    In the same page i have one swf. My problem is I want to pick the variable values from xml code to my flash movie where i have declared variables (a,b,c,d,e,f). What is the exact code to do so.

    Secondly, how can i retreive the same thing with external xml file. because i have given some condition in my swf that if a = this then to go that mc, if b = this then go to another mc vice versa. In this case i have strict on xml because xml file will be generate dynamically and i have to pick the variable values from that xml file.

    If anyone can help me that would be very greatful.

    Reagrds,

    Nitin
    Last edited by ntn_alone; 10-29-2004 at 12:57 AM.

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