Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-05-2009, 07:59 AM   #11
wvxvw
Holosuit User
 
wvxvw's Avatar
 
Join Date: Oct 2006
Location: Tel Aviv
Posts: 4,301
Send a message via ICQ to wvxvw
Default

This is how Array.toString() works it joins the results with commas. You can alter it like this:
Code:
<mx:String id="foo"></mx:String>
<mx:Label text="The delimited string is:{foo} The result is: {arr.join(foo)}" id="myLabel"/>
__________________
The .NET open source editor for Flash and web developers
*This would be my contribution to the project*
couchsurfing if you need it
wvxvw is offline   Reply With Quote
Old 02-05-2009, 08:30 AM   #12
fx.barrett
Paintball Freak
 
fx.barrett's Avatar
 
Join Date: Jul 2008
Location: Romania, TM
Posts: 467
Send a message via MSN to fx.barrett Send a message via Skype™ to fx.barrett
Default

Or you can manually build the desired string by adding items from the array together ( just like in the example I posted; maybe you'll run over a situation when you don't want to display the elements of the entire array at once ).
__________________
FLASHFORUM.RO - You must speak Romanian in order to join.
BLOG.WISEBISOFT.COM - Share and Experiment.
fx.barrett 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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mulitiple file names as a string in one XML attribute, then spliting into an array bkelson ActionScript 2.0 0 06-29-2007 08:42 PM
Calling EXE file and sending a string to it guy_logical Projectors and CDs 2 05-30-2005 10:02 AM
help with save to php padone Server-Side Scripting 6 05-21-2005 11:29 PM
test for string split into an array = done? Jessica lucidiastudios ActionScript 1.0 (and below) 10 05-07-2003 09:31 PM
a text file and a string 45degrees ActionScript 1.0 (and below) 11 10-18-2001 08:16 AM


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