Old 02-11-2009, 08:08 PM   #1 (permalink)
Junior Member
 
Join Date: Feb 2009
Posts: 1
Default Making parent button clickable?

Hi,
I did purchased the component and it is working perfect, however I'm looking to have a drop down list with the parent button click-able as well and of course will take to a URL. I tried (launchUrlAtFirstInit="1"), but it looks like the script goes into an endless loop of reloading the site on the browser.
Any ideas on how to realize it?

I appreciate it.
dagreenstar is offline   Reply With Quote
Old 02-11-2009, 09:18 PM   #2 (permalink)
OXYLUS Staff
 
Razvan's Avatar
 
Join Date: May 2008
Posts: 1,266
Send a message via Skype™ to Razvan
Default

Hello, in order to do that you must go to button.as
find this:

Code:
private function onPress()
	{
		if (subMenuActive == 0)
		{
			getURL(node.attributes.url, node.attributes.target);
		}
	}
and replace it with:

Code:
private function onPress()
	{
		
			getURL(node.attributes.url, node.attributes.target);
		
	}
Razvan 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 07:25 AM.