Re: [Flashcoders] AS 2.0 variable declaration

2006-10-11 Thread julien castelain
hi jason, this should'nt return any errors... var foo:MovieClip = createEmptyMovieClip(foo,1) for the other variable foo.myVar = fooVar or var myVar:String = fooVar; On 10/11/06, Jason Ross [EMAIL PROTECTED] wrote: Hi, In migrating some AS 1.0 code to AS 2.0, I have run into a small

RE: [Flashcoders] AS 2.0 variable declaration

2006-10-11 Thread Jason Ross
Ahh, ok. This makes sense. Thank you! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan Karlsson Sent: 11 October 2006 10:44 To: Flashcoders mailing list Subject: SV: [Flashcoders] AS 2.0 variable declaration The var keyword can only be used when

RE: [Flashcoders] AS 2.0 variable declaration

2006-10-11 Thread Jason Ross
To: Flashcoders mailing list Subject: Re: [Flashcoders] AS 2.0 variable declaration hi jason, this should'nt return any errors... var foo:MovieClip = createEmptyMovieClip(foo,1) for the other variable foo.myVar = fooVar or var myVar:String = fooVar; On 10/11/06, Jason Ross [EMAIL PROTECTED] wrote

Re: [Flashcoders] AS 2.0 variable declaration

2006-10-11 Thread Martin Weiser
is a variable declared within the foo MC. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of julien castelain Sent: 11 October 2006 10:44 To: Flashcoders mailing list Subject: Re: [Flashcoders] AS 2.0 variable declaration hi jason, this should'nt return any errors

RE: [Flashcoders] AS 2.0 variable declaration

2006-10-11 Thread Jason Ross
Thanks :) works a treat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Weiser Sent: 11 October 2006 14:55 To: Flashcoders mailing list Subject: Re: [Flashcoders] AS 2.0 variable declaration var foo:MovieClip = createEmptyMovieClip(foo,1) var