Hi all
bit of a newbie, so probably quite easy if you know how:eek:
would anyone beable to help with sorting out an XML file, what I have is a tooltip that loads in via XML and exported from flash. the XML loads in 2 text fields,  field and field2.
what I am trying to do is add a button also to the tooltip so that you can click and go to a url.
would anyone beable to help with this.
this is what I have in my XML file;
 
<?xml version="1.0" encoding="utf-8"?>
<data>
 <image name="image 1" path="img/img1.jpg" 
 title="Food Fight" 
 text="Information here!" />
</data>
this loads in 2 text fields.
this is what I have in my AS;
      var tooltip:ToolTip = new ToolTip();
   //tooltip.buttonMode = false;  
                tooltip.field.text = titles;//loads tooltip 1
                tooltip.field2.text = texts;//loads tool tip 2
                holder.addChild(tooltip);
I thought I could do something like this but I seem to be getting errors
XML
 
<?xml version="1.0" encoding="utf-8"?>
<data>
 <image name="image 1" path="img/img1.jpg" 
 title="Food Fight" 
 text="Information here!" 
  button="click to view/>
</data>
and in my AS
 var tooltip:ToolTip = new ToolTip();
    //tooltip.buttonMode = false;  
                tooltip.field.text = titles;//loads tooltip 1
                tooltip.field2.text = texts;//loads tool tip 2
                tooltip.field3.text = buttons;//loads tool tip 3
                holder.addChild(tooltip);
but just not working, what am I doing wrong:yikes:
many thanks for any help!