here is the code, sorry it looks like I didn't send it the first time
Gus
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="497"
height="194" horizontalScrollPolicy="off" click="navigateToURL(new
URLRequest('{data.link}'))">
<mx:Label text="{data.title}" width="452" height="35" fontSize="14"
id="titulo" fontWeight="bold" color="#4B1D04"/>
<mx:Text text="{data.description}" width="399" height="105"
textAlign="left" enabled="true" fontSize="14" fontFamily="Arial"
color="#020F12"/>
<mx:LinkButton label="more" enabled="true" themeColor="#FF2A00"
color="#000607">
<mx:click>
<![CDATA[
navigateToURL(new URLRequest(data.link));
]]>
</mx:click>
</mx:LinkButton>
</mx:VBox>
On Aug 10, 2010, at 4:20 PM, Oleg Sivokon wrote:
Claudiu:
That's exactly what my code does...
Gustavo:
Read what the error says. You are trying to coerce String to
URLRequest. Of course you cannot do it. The code from the first
example should work. If it didn't, what was the problem?