A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: &apos

  1. #1
    Junior Member
    Join Date
    Jul 2000



    I'm trying to set XML attributes in flash. Setting attributes works fine until i'm trying to insert qoutes in it. For example I set an Attribute like


    no prob. But when I'm trying to set an Attribute like

    myAttrib="this is a 'strange' behaviour"

    the value shows &apos instead of ' chars.
    But when accessing the attribute directly through the xml.firstchild.attributes.myAttrib it shows the ' chars correctly.
    Any solutions to this?

  2. #2
    Senior Member
    Join Date
    Feb 2001
    Provo, Utah
    I'm still not sure I understand the problem...

    ...try to put spaces after your '& apos;'s... so that the browser doesn't render them as "'"s...
    Richard Lyman
    rich at 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