I am tring to get some text become a link in a Flex3 app, but getting an
error I know the data is getting pulled in, in this case I hard coded the
xml with http://www.espn.com for testing so it is not the link.



<mx:Repeater id="imageRepeater" dataProvider="{imageData.lastResult.panel}">

<mx:Panel id="MainPanel" xmlns:mx="http://www.adobe.com/2006/mxml"; layout="
absolute" title="{imageRepeater.currentItem.title}" width="450" height="253"
themeColor="#C4BA88" borderColor="#C4BA88" headerColors="#C4BA88"
roundedBottomCorners="true"

backgroundImage="@Embed(source='images/backgroungLeftLogo.jpg')"
cornerRadius="15">

<mx:TextArea id="panelSub" x="109" y="24" width="316" height="33" alpha="0"
fontFamily="Gunplay" htmlText="{imageRepeater.currentItem.sub}" fontSize="22
"/>

<mx:TextArea id="panelBody" x="109" y="56" width="316" height="136" alpha="0"
fontFamily="Gunplay" htmlText="{imageRepeater.currentItem.body}" fontSize="
16" textAlign="center" themeColor="#C4BA88"/>

<mx:Text text="{imageRepeater.currentItem.linkText}" click="navigateToURL(*
new* URLRequest({imageRepeater.currentItem.link}), *'blank'*);" x="109" y="
200" fontFamily="Gunplay" fontSize="14"/>    <!--  the errors are on this
line -->

</mx:Panel>

</mx:Repeater>



the above code will not compile:

 1084 : Syntax error: expection colon before dot.

 1084 : Syntax error: expection identifier before rightbrace.





thanks for the help,

 D

Reply via email to