Adobe Dreamweaver Forums



Last 10 THreads :         Need assistance converting some AS2 code to AS3 (Last Post : NedWebs - Replies : 3 - Views : 4 )           »          pdf file stored as BLOB data type on Oracle (Last Post : BALAJI_JAY - Replies : 4 - Views : 8 )           »          Help with CFIMAGE (Last Post : VaQueenB - Replies : 0 - Views : 1 )           »          Display timer (Last Post : trycold - Replies : 0 - Views : 1 )           »          Publishing 16000 frames (Last Post : mgiff - Replies : 4 - Views : 5 )           »          Calling Query in Custom Tag (Last Post : -==cfSearching==- - Replies : 7 - Views : 8 )           »          moving files over to the right side (Last Post : eliot1785 - Replies : 0 - Views : 1 )           »          Purple border around my link!! (Last Post : Wodehouse - Replies : 1 - Views : 2 )           »          Changing platforms (Last Post : Janbod - Replies : 0 - Views : 1 )           »          Suddenly can't see files on remote server (Last Post : Alan - Replies : 8 - Views : 9 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags: , , , ,



Reply
  #1 (permalink)  
Old 07-24-2008, 02:56 PM
Patel.S
 
Posts: n/a
Diggs:
Default Default selection of link bar control

Hi All,

I have a problem in my application.
I have a link bar control in my app for navigation. And i want to make it
selected without clicking an indiviual item.
I dispetched a item click event of link bar manually, it works properly and it
navigates also. But at the same time i have to change the color property of an
item, that not working. I have to click on item for that.

I hope any one can have solution for the same.

Thanks in advance.

- Sonali




Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-24-2008, 07:18 PM
D_Saito
 
Posts: n/a
Diggs:
Default Re: Default selection of link bar control

Did U tried to use the property selectedIndex of link bar?

e.g.
mylinkbar.selectedIndex = 0;
Reply With Quote
  #3 (permalink)  
Old 07-24-2008, 09:56 PM
ntsiii
 
Posts: n/a
Diggs:
Default Re: Default selection of link bar control

You may need to set a style for the "enabled" color, or is it the disabled
color. The "selected" item uses this style.

See the Flex Style explorer if you have not yet.

http://examples.adobe.com/flex2/cons...eExplorer.html

Tracy

Reply With Quote


  #4 (permalink)  
Old 07-25-2008, 07:14 AM
Patel.S
 
Posts: n/a
Diggs:
Default Re: Default selection of link bar control

yes. I have tried selectedIndex property. but its doesnt work.
When i set selected index that link gets disabled. i.e. not working after that.
I have to refresh my app.
Reply With Quote
  #5 (permalink)  
Old 07-25-2008, 07:14 AM
Patel.S
 
Posts: n/a
Diggs:
Default Re: Default selection of link bar control

I have tried this option also. In css, i had defined the disabled-color as #FFFFFF. but after that link is not working. It got disabled. Even i changed the link.
Reply With Quote
  #6 (permalink)  
Old 07-25-2008, 07:42 PM
ntsiii
 
Posts: n/a
Diggs:
Default Re: Default selection of link bar control

Yes, a selected link IS disabled and clicking on it again should not do anything, since you are already there.

Perhaps you sould explain further what you want.

Tracy
Reply With Quote


Reply


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

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



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 09:47 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk