Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-07-2003, 03:46 PM
Junior Member
 
Join Date: Oct 2003
Posts: 15
Default Get an Array from swfkit to Flash

Hello,

I use swfkit to get the list of files from a folder. swfkit returns an array with the files' pathnames.

How can I get this array into Flash to use it ? I tried the following code the setVariable method but it didn't work.

Piotr. :P
Reply With Quote
  #2 (permalink)  
Old 11-08-2003, 11:30 AM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default Re:Get an Array from swfkit to Flash

All you have to do is to join the array like you do in flash with a seperator(",")

variable = yourarray.join(",")
So you will become a long variable which you could pass to flash with the setvariable command.
In flash you split the variable to an array.
yourarray = Variable.split(",")
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:41 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.