Re: [flexcoders] link button from a rss

2010-08-11 Thread Gustavo Duenas
hi Guys don't get confused...This was solved I have that click on the mx:Vbox part... awkward right? Now it is working. gus On Aug 10, 2010, at 4:51 PM, Gustavo Duenas wrote: my whole code for the component. http://www.adobe.com/2006/mxml"; width="497" height="194" horizontalScrollPolicy="

Re: [flexcoders] link button from a rss

2010-08-10 Thread Oleg Sivokon
Hey, np, sleep more, work less -> profit! ;)

Re: [flexcoders] link button from a rss

2010-08-10 Thread Gustavo Duenas
solved it works as it was since the beginning, I've written and odd replication of the navigateToURL at the beginning of the don't know how I did such a dumb thing, now it is working, thank you guys. Gustavo On Aug 10, 2010, at 5:00 PM, Gustavo Duenas wrote: here is the code, sorry it look

Re: [flexcoders] link button from a rss

2010-08-10 Thread Gustavo Duenas
here is the code, sorry it looks like I didn't send it the first time Gus http://www.adobe.com/2006/mxml"; width="497" height="194" horizontalScrollPolicy="off" click="navigateToURL(new URLRequest('{data.link}'))"> id="titulo" fontWeight="bold" color="#4B1D04"/> textAlign="left" enabled=

Re: [flexcoders] link button from a rss

2010-08-10 Thread Gustavo Duenas
Well if you have checked on the code I've sent you, it doesn't work, There is other way to pass the entire url from data.link to the navigateToURL? gustavo 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

Re: [flexcoders] link button from a rss

2010-08-10 Thread Gustavo Duenas
my whole code for the component. http://www.adobe.com/2006/mxml"; width="497" height="194" horizontalScrollPolicy="off" click="navigateToURL(new URLRequest('{data.link}'))"> id="titulo" fontWeight="bold" color="#4B1D04"/> textAlign="left" enabled="true" fontSize="14" fontFamily="Arial" col

Re: [flexcoders] link button from a rss

2010-08-10 Thread Oleg Sivokon
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?

Re: [flexcoders] link button from a rss

2010-08-10 Thread Gustavo Duenas
e inside a click event handler that should do it. C From: Gustavo Duenas To: flexcoders@yahoogroups.com Sent: Tue, August 10, 2010 9:58:16 PM Subject: Re: [flexcoders] link button from a rss nope, I tried your way and it doesn't work, any other ideas, It seems like the data is not passing

Re: [flexcoders] link button from a rss

2010-08-10 Thread claudiu ursica
Put the code inside a click event handler that should do it. C From: Gustavo Duenas To: flexcoders@yahoogroups.com Sent: Tue, August 10, 2010 9:58:16 PM Subject: Re: [flexcoders] link button from a rss nope, I tried your way and it doesn't work

Re: [flexcoders] link button from a rss

2010-08-10 Thread Gustavo Duenas
nope, I tried your way and it doesn't work, any other ideas, It seems like the data is not passing to the new urlrequest Gus On Aug 10, 2010, at 2:21 PM, Oleg Sivokon wrote: Remove the single quotes and put the brackets around the entire expression. You cannot bind to function arguments,

Re: [flexcoders] link button from a rss

2010-08-10 Thread Oleg Sivokon
Remove the single quotes and put the brackets around the entire expression. You cannot bind to function arguments, not in that way for sure. Better yet, don't use binding: navigateToURL(new URLRequest(data.link)); Something like this.

[flexcoders] link button from a rss

2010-08-10 Thread Gustavo Duenas
Hi I have an item renderer who has its data from a rss, here is the structure, but in someway I can't make the link button to work this way, here is the code. http://www.adobe.com/2006/mxml"; width="497" height="194" horizontalScrollPolicy="off"> id="titulo" fontWeight="bold"/> textAlign=