Variable Variables may be a different concept for the need and result I came up with, but Variable Variables is what lead to my re-discovery of the powerfully dynamic set(); function in actionscript.
Discovery
I have been working on a small Flash CS3 project that imports and displays information stored in XML.
Like many, who wouldn’t want their actionscript to be:
- simple
- clean
- dynamic
- scalable
… all to the synchronous XML data and design requirements that might change down the road?
Everything was going fine until I hit a little roadblock in my XML parsing loop.
How do I get flash to create variably-named variables?
I found out my solution after some intensive research, here’s how …