Welcome, Guest
Sign in
Create account
Home
Home Page
Components
Buy & Sell
Freelance
Marketplace
Tutorials
Flash Tutorials
Games
Free Online Games
Community
Message Board
Home
Help
Search
Login
Register
Subscribe to
Our Feed
Follow Us
On Google +
Follow Us
On Twitter
Become a fan
On Facebook
Flash-DB
»
The Library
»
old Versions of Flash
»
Flash 5 ActionScript
»
array from a txt file (or XML)
« previous
next »
Print
Pages: [
1
]
Author
Topic: array from a txt file (or XML) (Read 2523 times)
Heitor
Server what's that
Posts: 28
Ive heard about Flash once...
array from a txt file (or XML)
«
on:
09/27/04, 05:50 »
I posted before this and Im posting again since still do not know how to load an array from a txt file... who knows?
Logged
Jorge Solis
Global Moderator
Systems Administrator
Posts: 14616
Re:array from a txt file (or XML)
«
Reply #1 on:
09/27/04, 10:59 »
You can't pass an AS array, you need to pass name/value pairs
elem0=1&elem1=2&elem3 ...... &cant=5
Then inside Flash
for(i=0; i<cant; i++) myElements
=eval("elem"+i)
Jorge
Logged
Twitter
http://twitter.com/solisarg
Heitor
Server what's that
Posts: 28
Ive heard about Flash once...
Re:array from a txt file (or XML)
«
Reply #2 on:
09/27/04, 11:52 »
thnks!!! works fine
Logged
Print
Pages: [
1
]
« previous
next »
Flash-DB
»
The Library
»
old Versions of Flash
»
Flash 5 ActionScript
»
array from a txt file (or XML)