[flexcoders] Re: dynamic variable naming in as3

2008-02-12 Thread Deniz Davutoglu
Thanks Guys, it helped. I can load movies. But now I have different problem, When I load some swf into loader how I am suppouse to control it like gotoAndPlay, Start/Stop or so. This methods doesn't work. --- In flexcoders@yahoogroups.com, yigit [EMAIL PROTECTED] wrote: slm deniz ;) you can

[flexcoders] Re: Dynamic Variable Naming

2008-01-26 Thread jmfillman
Variables can't start with a number, so I need the variable to include the variable gridRows. For example, I need that variable to be like this: var R15ColumnNumber:Number = (gridRows / 5); where the 15 in the variable name comes from the variable gridRows in the for loop. JF --- In

Re: [flexcoders] Re: Dynamic Variable Naming

2008-01-26 Thread Sherif Abdou
26, 2008 1:15:55 PM Subject: [flexcoders] Re: Dynamic Variable Naming Variables can't start with a number, so I need the variable to include the variable gridRows. For example, I need that variable to be like this: var R15ColumnNumber: Number = (gridRows / 5); where the 15 in the variable name

Re: [flexcoders] Re: Dynamic Variable Naming

2008-01-26 Thread Johannes Nel
Message From: jmfillman [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, January 26, 2008 1:15:55 PM Subject: [flexcoders] Re: Dynamic Variable Naming Variables can't start with a number, so I need the variable to include the variable gridRows. For example, I need

[flexcoders] Re: Dynamic Variable Naming

2008-01-26 Thread jer_ela
I think the following will do what what your want var R:Object = {}; for (var gridRows:int=15; gridRows 2895;gridRows += 20){ var R[gridRows] = (gridRows / 5); } you can't dynamically generate var names, but you can dynamically generate object keys. since gridRows is a number it can be the