Hello,
I'm modifying a Flash website that parses content from an xml file. The Flash site is built using Actionscript 2 and it was built by a developer that is not around to assist.
Part of the Flash site includes a pair of images and associated text. Both the images and the text need to link to external web pages, and they need to open in a new window. I am able to get the text link to open in a new window, but not the image links. I could certainly use your help as I've been working on this for quite some time with no luck.
Here's the xml code I have:
<image imageUrl="_yelpLogo.png" link="yelpPudding.html" target="_blank"/>
<![CDATA[<font size="14" color="#2e2e2e"><u><a href="yelpPudding.html" target="_blank">Check out our profile on Yelp!</a></u></font>]]>
The target="_blank" portion of the imageURL link doesn't do anything. It just opens in the same window. Clearly this is not correct. However, the target="_blank" portion of the image link works fine since it is in the CDATA brackets. I did attempt to rewrite the image link in html format <a href="index.html" target="_blank"><img src="image.jpg" width="" height=""/></a>. That did not work as it is not supported by the parsing code apparently.
Can anyone help or point me in the right direction?
Thank you.
I'm modifying a Flash website that parses content from an xml file. The Flash site is built using Actionscript 2 and it was built by a developer that is not around to assist.
Part of the Flash site includes a pair of images and associated text. Both the images and the text need to link to external web pages, and they need to open in a new window. I am able to get the text link to open in a new window, but not the image links. I could certainly use your help as I've been working on this for quite some time with no luck.
Here's the xml code I have:
<image imageUrl="_yelpLogo.png" link="yelpPudding.html" target="_blank"/>
<![CDATA[<font size="14" color="#2e2e2e"><u><a href="yelpPudding.html" target="_blank">Check out our profile on Yelp!</a></u></font>]]>
The target="_blank" portion of the imageURL link doesn't do anything. It just opens in the same window. Clearly this is not correct. However, the target="_blank" portion of the image link works fine since it is in the CDATA brackets. I did attempt to rewrite the image link in html format <a href="index.html" target="_blank"><img src="image.jpg" width="" height=""/></a>. That did not work as it is not supported by the parsing code apparently.
Can anyone help or point me in the right direction?
Thank you.