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 03-19-2003, 03:06 PM   #1
Flashgrl
Registered User
 
Join Date: Mar 2003
Posts: 1
Unhappy Can't add to ListBox

I am trying to add an object to a list box but it doesn't seem to be adding. I get the correct output when doing a trace on the listbox or a trace on the object information I am trying to add. (so the listbox exists and the object exists).

ie. doing a trace(code.listbox); outputs theCode'sPath.listbox

but trying to access properties of the listbox outputs 'undefined'. (eg. code.listbox.getLength() or getEnabled() gives undefined)

I am just doing a code.listbox.addItem(blah.getInfo() + "string", blah); to add the item

the function that contains this addItem is used earlier in the program and works fine so i'm not sure why it's working now.

Any suggestions would be appreciated, I've been staring at this for a LOOOONG time...

Thanks!
Flashgrl is offline   Reply With Quote
Old 03-19-2003, 06:28 PM   #2
tg
done
 
Join Date: Jun 2001
Location: portland, or
Posts: 8,106
Default welcome to as.org

if you can zip you project (or a sample file that demonstrates you problem) and post it, folks here will take a look at it... maybe someone can help.

or post the code in the thread... sometimes all you need is an extra set of eyes to straighten things out.
__________________
tg
---
what the hell was i thinking?
tg 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 06:31 PM.

///
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.