Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-31-2005, 03:22 PM   #1
vick_dini
Registered User
 
Join Date: Aug 2005
Posts: 10
Default how to use a button to select a label in a list component

Hi!

i'm trying to program a button with AS 2.0 so that when i click it, it will select a label in a list component. if someone can help me i would appreciate it a lot.
vick_dini is offline   Reply With Quote
Old 08-31-2005, 03:24 PM   #2
vick_dini
Registered User
 
Join Date: Aug 2005
Posts: 10
Default How to program a button to select a label in a list component once its clicked

Hi!

i'm trying to program a button with AS 2.0 so that when i click it, it will select a label in a list component. if someone can help me i would appreciate it a lot.
vick_dini is offline   Reply With Quote
Old 09-07-2005, 02:35 AM   #3
webreake
Senior Member
 
Join Date: Oct 2003
Location: mexico
Posts: 214
Send a message via MSN to webreake Send a message via Skype™ to webreake
Default

hi
i didnt test this ::
ActionScript Code:
on(click){ _root.yourList.selectedIndex=2 }

place this code in your button instance
webreake is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:40 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.