Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-15-2008, 05:03 PM   #1
jondough
Registered User
 
Join Date: Aug 2008
Location: seattle, wa
Posts: 5
Default [AS2] Combobox has values at home, only one on the road

Greetings AS2 forum! I've spent many hours pouring through your pearls of wisdom and this site is clearly the best!

My project loads values from a text file into a combo box. This works nicely when local, but only shows the first value when uploaded to a server. Please help!

Here's the code for loading the values:

ActionScript Code:
var tempArr:Array; var tempArr2:Array; var lv = new LoadVars(); lv.onData = function(src:String){     if(src){         tempArr = src.split("\x0d\x0a");     }     for (var i = 0; i<tempArr.length; ++i) {         tempArr2 = tempArr[i].split(", ");         mycomboboxinstance.addItem(tempArr2[0], tempArr2[1]);     }    } lv.load("myvalues.txt");
jondough 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
I need 1 combobox the change the values of another tolputt-craig Components 0 05-02-2008 12:00 PM
Calculating values of comboBox webhound Components 4 11-02-2007 04:44 PM
ComboBox Trouble: Invisible Values abbyworld Components 0 05-16-2007 03:38 AM
ComboBox Cell Rendering, Problems loading values into it mwiley43 Components 2 10-30-2006 06:46 PM
Combobox values and a button. ianpatrick Components 5 07-14-2005 03:45 AM


All times are GMT. The time now is 09:13 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.