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 understanding
:[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 books from time to time. I was just mentioning
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)
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
English, but that
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 way OT,
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 another common
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 of now? It
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
___
!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
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
Now means at the present time. Then means at any other time other
than now
' flashcoders@chattyfig.figleaf.com
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, along a time
continuum
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.
___
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.
___
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
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. ;)
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:
quote
Keep it coding
There are plenty of other places to talk about general Flash topics,
and even more places to
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!
Please limit contributions to this list to code. There's
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.
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
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
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 always undefined
A bad practice most likely, but not technically wrong. I
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.
Jason Merrill
Bank of America
Learning Organization Effectiveness - Technology Solutions
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
--
jon
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.
hah, wicked
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
: [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/mailman
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
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
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 many languages. Personally, I prefer the visual [] and {} to
the
wordy new Array() and new Object(). It's
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 symbol
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
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
mailing list flashcoders@chattyfig.figleaf.com
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 prefer
Haha, ain't it the truth
- Original Message -
From: Merrill, Jason [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, October 10, 2006 12:03 PM
Subject: RE: [Flashcoders] Moving to AS2, array always undefined
Y'all are nerds.
Jason
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
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 still use
myArray:Array = [];
and
myObject:Object = {};
BLITZ | Steven Sacks - 310-551-0200 x209
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
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 ()
{
this.aryItems = new Array();
}
public function test (str:String):Void
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,world);
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:
x209
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Jon Bennett
Sent: Tuesday, October 10, 2006 12:44 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Moving to AS2, array always undefined
Or you can do it in the class
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 need is dependent on the implementation
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.
:)
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:
] 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 understanding that AS first looks to the local scope for the
existence of a variable
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
://muzakdeezign.com/flashcoders/?q=OOP%20best%20practices
Muzak
- Original Message -
From: Jon Bennett [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, October 11, 2006 1:53 AM
Subject: Re: [Flashcoders] Moving to AS2, array always undefined
A bad
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:
48 matches
Mail list logo