RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-13 Thread Mike Keesey
rs mailing list > Subject: Re: [Flashcoders] Moving to AS2, array always undefined > > No, it isn't wrong which was entire the point of my earlier response. I > gave essentially the same example as you. In fact, you've included it > quoted at the bottom of your response which I left in

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread JOR
y and come up with 2 names for the same thing, when one will suffice just fine? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JOR Sent: Tuesday, October 10, 2006 5:52 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Moving to AS2, array alway

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Steven Sacks | BLITZ
fin. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://w

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Merrill, Jason
And please STOP quoting the [EMAIL PROTECTED] language in your replies? My annual is coming up and I think I might be @#$!%! now. Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions ___ Flashcoders@chattyf

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Reuben Stanton
Can you boys take it off list please? On 13/10/2006, at 10:54 AM, Steven Sacks | BLITZ wrote: get fucked jerk. What happened to that whole unsubscribing thing you mentioned? How did you even receive this message if you unsubscribed? And if it indeed was not an honest statement and inst

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Steven Sacks | BLITZ
> get fucked jerk. What happened to that whole unsubscribing thing you mentioned? How did you even receive this message if you unsubscribed? And if it indeed was not an honest statement and instead a sarcastic comment, why are you surprised by a sarcastic comment in return? I did get f**ked. B

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Dave Watts
TED] On Behalf > Of Jim Kremens > Sent: Thursday, October 12, 2006 7:00 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Moving to AS2, array always undefined > > Steven, > > There is a better place for your really strong opinions... your blog! > > Ple

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Jim Kremens
Steven, There is a better place for your really strong opinions... your blog! Please limit contributions to this list to code. There's a reason for the list etiquette guidelines: Keep it coding There are plenty of other places to talk about general Flash topics, and even more places to talk a

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Corey Knafelz
get fucked jerk. On 10/12/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote: > This aftenoon I subscribed to this list once again. And now I remember why > I unsubscribed from the list so many months ago. Goodbye again. You'll be missed. Again. ;) __

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Steven Sacks | BLITZ
> This aftenoon I subscribed to this list once again. And now I remember why > I unsubscribed from the list so many months ago. Goodbye again. You'll be missed. Again. ;) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or sea

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Corey Knafelz
This aftenoon I subscribed to this list once again. And now I remember why I unsubscribed from the list so many months ago. Goodbye again. On 10/12/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote: The plaintiff rests. ___ Flashcoders@chattyfig

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Steven Sacks | BLITZ
So you're saying Now refers to this SINGLE point in time, and Then refers to ANY point other than Now. Definite vs indefinite. If you put it in code the opposite of now is !now or not now, and when is not now? Then. The plaintiff rests. ___ Flashco

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Muzak
oders mailing list'" Sent: Friday, October 13, 2006 12:10 AM Subject: RE: [Flashcoders] Moving to AS2, array always undefined > > Opposite denotes more of a polar difference (hot/cold, black/white, up/down) > > "then" can refer to any point, for example 1 second ago

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Weaver Hickerson
> [mailto:[EMAIL PROTECTED] Behalf Of Steven > Sacks | BLITZ > Sent: Thursday, October 12, 2006 5:38 PM > To: Flashcoders mailing list > Subject: RE: [Flashcoders] Moving to AS2, array always undefined > > > > "then" is not the opposite of "now" >

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Merrill, Jason
>>!now LOL Troy - excellent way to get us back on topic. Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archi

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Troy Rollins
On Oct 12, 2006, at 5:38 PM, Steven Sacks | BLITZ wrote: If you disagree, what do you think is the opposite of "now"? It certainly isn't "after" because "after" is the opposite of "before". !now -- Troy RPSystems, Ltd. http://www.rpsystems.net _

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Steven Sacks | BLITZ
> "then" is not the opposite of "now" "Now" means at the present time. "Then" means at any other time other than now. They are opposite. The phrase "now and then" has no bearing on the denotation of the words. "Then" is the antonym of "now". If you disagree, what do you think is the opposite o

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Paul Venton
Says who? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike Sent: 12 October 2006 21:20 To: Flashcoders mailing list Subject: Re: [Flashcoders] Moving to AS2, array always undefined "There's more than one way to skin a cat" is

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Glen Pike
"There's more than one way to skin a cat" is another common expression, but it does not mean we all go around doing it :) Dave Watts wrote: The question was to provide the French word for the opposite of "now". The correct answer is "then" but the text book said it was "after". This is

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Dave Watts
> The question was to provide the French word for the opposite > of "now". The correct answer is "then" but the text book said > it was "after". This is way OT, but "then" is not the opposite of "now" in English or French any more than "after" is. The expression "now and then" is common in Engli

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Steven Sacks | BLITZ
> A bad practice most likely, but not technically wrong. I do see it in > text books from time to time. When I was in 10th grade, I had a French teacher who marked a question on a test wrong because the test came from the teacher's version of the text book and her book had a different (wrong) a

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Ash Warren
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JOR Sent: Tuesday, October 10, 2006 5:52 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Moving to AS2, array always undefined A bad practice most likely, but not technically wrong. I do see it in text bo

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread JOR
Muzak wrote: http://www.adobe.com/devnet/flash/articles/as_bestpractices.html Cool find. Thanks for the link James ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Muzak
://muzakdeezign.com/flashcoders/?q=OOP%20best%20practices Muzak - Original Message - From: "Jon Bennett" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, October 11, 2006 1:53 AM Subject: Re: [Flashcoders] Moving to AS2, array always undefined >> A b

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Jon Bennett
A bad practice most likely, but not technically wrong. I do see it in text books from time to time. I was just mentioning it as a case where "this" *would* be needed as opposed to speaking in absolutes. In practice, you're right and I try not to name any parameters the same as a field name to a

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread JOR
age- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of JOR Sent: Tuesday, October 10, 2006 1:19 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Moving to AS2, array always undefined Actually, the "need" is dependent on the implementation. It was my under

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Steven Sacks | BLITZ
> Assembly/machine languages are iconic, programming languages are > supposed to be verbose. ;-) Your mom is verbose! ;) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailma

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread ryanm
Plenty of research has been done on the subject of icons versus words but suffice to say we don't write 100 dollars and 0 cents, we write $100.00. When you write music you don't write QUARTER NOTE C. You just draw a quarter note symbol on the C line. That's how I look at writing code. :) As

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Steven Sacks | BLITZ
? -Steven > -Original Message- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of JOR > Sent: Tuesday, October 10, 2006 1:19 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Moving to AS2, array always undefined > > Actually, the "n

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread JOR
public function test(str:String):Void { myArray.push(str); trace(myArray); } } BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Jon Bennett Sent: Tuesday, Oc

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Steven Sacks | BLITZ
> talking about square brackets, dunno how relevant this would be Bracket access is a separate discussion, yes. :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/lis

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Prakaz
Hi, talking about square brackets, dunno how relevant this would be in the post but you could also use it to make function calls: function foo(param1:String,param2:String):void{ trace(param1+" "+param2); } this function can be called by using: foo("hello","world!"); or *this["foo"]("hello"

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Steven Sacks | BLITZ
; To: Flashcoders mailing list > Subject: Re: [Flashcoders] Moving to AS2, array always undefined > > > Or you can do it in the class' constructor: > > > > class ArrayTest { > >public var aryItems:Array; > >public function ArrayTest () > >

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Jon Bennett
Or you can do it in the class' constructor: class ArrayTest { public var aryItems:Array; public function ArrayTest () { this.aryItems = new Array(); } public function test (str:String):Void { this.aryItems.push (str); trace (this.aryItems); } } I like this me

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Merrill, Jason
ks | BLITZ >>Sent: Tuesday, October 10, 2006 3:24 PM >>To: Flashcoders mailing list >>Subject: RE: [Flashcoders] Moving to AS2, array always undefined >> >>Sorry for the confusion. I wasn't referring to the typecasting just the >>instantiation. You should

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Steven Sacks | BLITZ
Sorry for the confusion. I wasn't referring to the typecasting just the instantiation. You should still use myArray:Array = []; and myObject:Object = {}; BLITZ | Steven Sacks - 310-551-0200 x209 ___ Flashcoders@chattyfig.figleaf.com To change your

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Victor Gaudioso
Haha, ain't it the truth - Original Message - From: "Merrill, Jason" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Tuesday, October 10, 2006 12:03 PM Subject: RE: [Flashcoders] Moving to AS2, array always undefined Y'all are nerd

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Victor Gaudioso
OTECTED]> To: "Flashcoders mailing list" Sent: Tuesday, October 10, 2006 11:56 AM Subject: RE: [Flashcoders] Moving to AS2, array always undefined It's neither AS2 or AS1 centric. Substituting [] for new Array() or {} for new Object() is universal across many languages. Personally, I pre

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Ian Thomas
On 10/10/06, Hans Wichman <[EMAIL PROTECTED]> wrote: Hi, and one other note, don't do: class ArrayTest { public var items_arr:Array = []; } becoz that will be the same as : class ArrayTest { public static var items_arr:Array = []; } initialize the array in your constructor inste

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread JOR
In AS2 typecasting helps uncover bugs at compile time, so its a good idea to use them. Typecasting also enables class insight through popup menus when you type a period after your variable name. In AS3 typecasting is a much cooler as it directly affects the amount of memory allocated for the

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Ian Thomas
On 10/10/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote: Plenty of research has been done on the subject of icons versus words but suffice to say we don't write 100 dollars and 0 cents, we write $100.00. When you write music you don't write QUARTER NOTE C. You just draw a quarter note symbo

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Merrill, Jason
Tuesday, October 10, 2006 2:56 PM >>To: Flashcoders mailing list >>Subject: RE: [Flashcoders] Moving to AS2, array always undefined >> >>It's neither AS2 or AS1 centric. >> >>Substituting [] for new Array() or {} for new Object() is universal >>across man

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Hans Wichman
Hi, and one other note, don't do: class ArrayTest { public var items_arr:Array = []; } becoz that will be the same as : class ArrayTest { public static var items_arr:Array = []; } initialize the array in your constructor instead. greetz JC ps flash bug On 10/10/06, Jon Bennett

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Steven Sacks | BLITZ
It's neither AS2 or AS1 centric. Substituting [] for new Array() or {} for new Object() is universal across many languages. Personally, I prefer the visual [] and {} to the wordy new Array() and new Object(). It's quicker to write, and it's easier to read. [] {} Plenty of research has been

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Doug Coning
: [Flashcoders] Moving to AS2, array always undefined I prefer myArray = []; and myObject = {}; But that's just me. :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/ma

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Steven Sacks | BLITZ
I prefer myArray = []; and myObject = {}; But that's just me. :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf S

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Naicu Octavian
Its teh same when you create an Object; :) On 10/10/06, Jon Bennett <[EMAIL PROTECTED]> wrote: > You have to initialize (create) the array. Same as in AS 1.0. > > myArray = new Array(); > > This: > > >> public var items_arr:Array; > > Doesn't create the array, it only typecasts the variable.

Re: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Jon Bennett
You have to initialize (create) the array. Same as in AS 1.0. myArray = new Array(); This: >> public var items_arr:Array; Doesn't create the array, it only typecasts the variable. hah, wicked - thought it'd be s basic error but didn't think it would be _that_ basic ;) thanks! jon -- jo

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Merrill, Jason
ology Solutions >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Jon Bennett >>Sent: Tuesday, October 10, 2006 1:06 PM >>To: flashcoders@chattyfig.figleaf.com >>Subject: [Flashcoders] Moving to AS2, array alway

[Flashcoders] Moving to AS2, array always undefined

2006-10-10 Thread Jon Bennett
Hi, got a AS NooB Q. I'm working on a project and have decided to finally jump ship to AS2, but I've run into a (probably obvious) problem which has me a bit stumped. I've written a class, in which I have an array, but the array always traces 'undefined' and I can't work out why. right, so exa