Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-17-2005, 11:14 PM   #1
mordocai's Avatar
Join Date: Jul 2004
Location: Florida
Posts: 254
Send a message via Yahoo to mordocai
Post List box component add data?

Ok, in the movie, i have a listbox component, and input 2 textfiels, and a button.

Instance names
Listbox component - myList
Add button - add
Input1 - display
Input2 - varible

Here is what it needs to do, the listbox component is blank, whatever is in Intup1 (display) should be a lable and Input2 (varible) should be the data attached to the lable.
For example if "input1 = System of a down" "input2 = sys.mp3" The text System of a down with the data sys.mp3 should appear in the list component if the add button is pressed.
Can anyone please help me?
Was i specific enough?

< [email protected] >
mordocai is offline   Reply With Quote
Old 03-18-2005, 02:06 AM   #2
To AS2.0 or not to AS2.0
Join Date: Mar 2005
Location: New York
Posts: 209
Send a message via AIM to reyco1 Send a message via MSN to reyco1 Send a message via Yahoo to reyco1

It is possible. But I have a question for you. everytime you close and then open the movie, the list box would reset and be empty again. Dou you need for the listbox to be populated with the same labels inputed during the last session? For that you would need to hook it up with a SharedObject();

lemme know, i'll give you a hand.
reyco1 is offline   Reply With Quote

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 05:56 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.