Old 01-03-2009, 06:22 PM   #1 (permalink)
Junior Member
 
Join Date: Jan 2009
Posts: 2
Default Hyperlink on result_txt

Trying to show a hyperlink on result_txt field (a download link), on item click. Is it possible? How should I go about it?

Thanks.
sid555 is offline   Reply With Quote
Old 01-05-2009, 08:07 PM   #2 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,981
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Try to create a button, name it for example "link_mc". Add the following code:

In the xml:
Code:
<item title="New mayor to tone down glitz" url="www.url.com" />
In the AS:
Code:
PList_mc.onItemSelect= function(n:XMLNode){ 
	link_mc.crtURL = n.attributes.url;
 }

link_mc.onRelease = function(){
     getURL(this.crtURL, "_self");
}
Adrian is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:45 AM.