Re: [Flashcoders] AS3 finally..

2013-05-27 Thread Paul A.
...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 27 mei 2013 1:22 To: Flash Coders List Subject: Re: [Flashcoders] AS3 finally.. Thanks Ktu. That actually makes sense. I was not looking for a reason necessarily to use a private class, but more so, saw this example and had

Re: [Flashcoders] AS3 finally..

2013-05-27 Thread tom rhodes
-bounces@**chattyfig.figleaf.comflashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 27 mei 2013 1:22 To: Flash Coders List Subject: Re: [Flashcoders] AS3 finally.. Thanks Ktu. That actually makes sense. I was not looking for a reason necessarily to use a private

RE: [Flashcoders] AS3 finally..

2013-05-27 Thread Cor
[mailto:flashcoders-bounces@**chattyfig.figleaf.comflashcoders-bounc e...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 27 mei 2013 1:22 To: Flash Coders List Subject: Re: [Flashcoders] AS3 finally.. Thanks Ktu. That actually makes sense. I was not looking for a reason

Re: [Flashcoders] AS3 finally..

2013-05-27 Thread Paul A.
On 27/05/2013 11:37, tom rhodes wrote: i generally use them for something teeny tiny that is only needed in the scope of the main class and doesn't feel right in it's own file as it's never used anywhere but the main class. Why wouldn't you just incorporate that functionality as part of the

RE: [Flashcoders] AS3 finally..

2013-05-27 Thread Cor
...@chattyfig.figleaf.com] On Behalf Of Paul A. Sent: maandag 27 mei 2013 12:50 To: Flash Coders List Subject: Re: [Flashcoders] AS3 finally.. On 27/05/2013 11:37, tom rhodes wrote: i generally use them for something teeny tiny that is only needed in the scope of the main class and doesn't feel right in it's own

Re: [Flashcoders] AS3 finally..

2013-05-27 Thread Paul A.
I have written a lot of AS3 code with classes and before that was mostly a Java developer and I have yet to have written an AS3 project that has used private classes for anything at all but singleton enforcement. I'm trying to get a handle on whether I've been missing out or people are using

RE: [Flashcoders] AS3 finally..

2013-05-27 Thread Rick Hassen
From: p...@ipauland.com To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AS3 finally.. I have written a lot of AS3 code with classes and before that was mostly a Java developer and I have yet to have written an AS3 project that has used private classes for anything at all

Re: [Flashcoders] AS3 finally..

2013-05-27 Thread Paul A.
. Sadly, I'm not a subscriber, so I'll have to pass. I might sign up for a trial sometime and check out what he has to say. Date: Mon, 27 May 2013 12:05:44 +0100 From: p...@ipauland.com To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AS3 finally.. I have written a lot of AS3

Re: [Flashcoders] AS3 finally..

2013-05-26 Thread Karl DeSaulniers
Ok, I am understanding things a little better I believe. Quick question to solidify some knowledge. In reference to my question about a private class, is the class CustomClient at the bottom an example of a private class? It was mentioned that even if you don't have the word private there and

Re: [Flashcoders] AS3 finally..

2013-05-26 Thread ktu
yes. this is an example of a private class. but as someone earlier mentioned, you shouldn't ever _need_ to use them. and it would be more appropriate not to use them in production code. using the internal namespace gives you some restriction, and you could even use your own namespace for

Re: [Flashcoders] AS3 finally..

2013-05-26 Thread Karl DeSaulniers
Thanks Ktu. That actually makes sense. I was not looking for a reason necessarily to use a private class, but more so, saw this example and had the though this must be a private class and wanted to verify for my own understanding. Which you have provided. I see and understand what you mean by

RE: [Flashcoders] AS3 finally..

2013-05-26 Thread Cor
- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 27 mei 2013 1:22 To: Flash Coders List Subject: Re: [Flashcoders] AS3 finally.. Thanks Ktu. That actually makes sense. I was not looking for a reason

RE: [Flashcoders] AS3 finally..

2013-05-21 Thread Cor
Karl, One: why doesn't ActionScript 3 allow private classes? A: They are useless because they couldn't be used, I guess. You can use a Class within a public class which then would be private to that class it self. Two: why is writing public class a best practice if private class does not exist?

Re: [Flashcoders] AS3 finally..

2013-05-21 Thread Paul A.
On 21/05/2013 05:04, Karl DeSaulniers wrote: Thank you Ktu. That is what I was looking for. I'd say the problem with asking questions like this is that you're getting answers to questions you shouldn't be asking at this stage of your AS3 experience. While you may get a technical answer, you

Re: [Flashcoders] AS3 finally..

2013-05-21 Thread Matt S.
You can get Moock's book for $26 on Powells: http://www.powells.com/biblio/1-9780596526948-6 Its been out for a while now though, so I would hit your local used bookstore, I'm willing to bet there's a few copies out there, you can probably score it for $10 or something. Not that Moock doesn't

Re: [Flashcoders] AS3 finally..

2013-05-21 Thread mike g
$8.49 here: http://www.ebay.com/ctg/Essential-ActionScript-3-0-Colin-Moock-2007-Paperback-/59066703 On Tue, May 21, 2013 at 9:02 PM, Matt S. mattsp...@gmail.com wrote: You can get Moock's book for $26 on Powells: http://www.powells.com/biblio/1-9780596526948-6 Its been out for a while now

Re: [Flashcoders] AS3 finally..

2013-05-21 Thread Karl DeSaulniers
Oh well hot dog I can afford that! :) Thanks all. Karl Sent from losPhone On May 21, 2013, at 11:44 AM, mike g mike.ogr...@gmail.com wrote: $8.49 here: http://www.ebay.com/ctg/Essential-ActionScript-3-0-Colin-Moock-2007-Paperback-/59066703 On Tue, May 21, 2013 at 9:02 PM, Matt S.

RE: [Flashcoders] AS3 finally..

2013-05-21 Thread Marco Terrinoni
...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: 21 May 2013 18:50 To: Flash Coders List Subject: Re: [Flashcoders] AS3 finally.. Oh well hot dog I can afford that! :) Thanks all. Karl Sent from losPhone On May 21, 2013, at 11:44 AM, mike g mike.ogr

Re: [Flashcoders] AS3 finally..

2013-05-21 Thread Karl DeSaulniers
18:50 To: Flash Coders List Subject: Re: [Flashcoders] AS3 finally.. Oh well hot dog I can afford that! :) Thanks all. Karl Sent from losPhone On May 21, 2013, at 11:44 AM, mike g mike.ogr...@gmail.com wrote: $8.49 here: http://www.ebay.com/ctg/Essential-ActionScript-3-0-Colin

Re: [Flashcoders] AS3 finally..

2013-05-21 Thread Kevin Newman
Why? The answer has to do with Adobe's adherence to the ECMAScript working standard that they were basing AS3 on. At the time (before the ECMAScript 4 process fell apart), the body determined that private constructors were not needed, so adobe built this restriction into AS3. Private

Re: [Flashcoders] AS3 finally..

2013-05-21 Thread Karl DeSaulniers
This is very interesting to me. I don't know how that all works in a real-case scenario yet, but I will. ;) When I get into design patterns I think I may revisit this post. Thanks Kevin. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On May 21, 2013, at 5:51 PM, Kevin Newman

Re: [Flashcoders] AS3 finally..

2013-05-21 Thread Karl DeSaulniers
: www.mularam.com -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: 21 May 2013 18:50 To: Flash Coders List Subject: Re: [Flashcoders] AS3 finally.. Oh well hot dog I can

Re: [Flashcoders] AS3 finally..

2013-05-21 Thread Cédric Muller
For some more insights (though ... not much .. .and hey baby, is that Java over there ?) you can check this thread (they are speaking about private and protected classes, but the reading is interesting) http://www.coderanch.com/t/410134/java/java/private-protected-class hth, Cedric Why? The

Re: [Flashcoders] AS3 finally..

2013-05-20 Thread Karl DeSaulniers
Quick two part question. One: why doesn't ActionScript 3 allow private classes? Two: why is writing public class a best practice if private class does not exist? I could not find an explination in the books I am studying so I thought I'd ask here. TIA. Best, Karl DeSaulniers Design Drumm

RE: [Flashcoders] AS3 finally..

2013-05-20 Thread Rick Hassen
an api. Hope that helps. I don't know where you are getting your information, but you may want to consider getting a good AS3 book. Rick Subject: Re: [Flashcoders] AS3 finally.. From: k...@designdrumm.com Date: Mon, 20 May 2013 20:58:41 -0500 To: flashcoders@chattyfig.figleaf.com Quick

Re: [Flashcoders] AS3 finally..

2013-05-20 Thread John R. Sweeney Jr.
Or subscribe to http://www.lynda.com Excellent training tutorials on tons of software. Very in-depth, but you do pay for it. If you know AS2, check out www.gotoandlearn.com. Many free tutorials on specific tasks, but you'll see them working and their AS3 code, so you can start making the

Re: [Flashcoders] AS3 finally..

2013-05-20 Thread Karl DeSaulniers
Thank you John. Yes, I have already watched some really good tuts on gotoandlearn and plan to watch more when I start working on my project. My book is from lynda.com too. Going to invest in Moocks book as suggested earlier as well. Just need to gen some funds. :) Karl DeSaulniers Design

Re: [Flashcoders] AS3 finally..

2013-05-20 Thread Ktu
you can have public class, internal class (limited to package), and you can make pseudo private classes by declaring a class in the same file as another class, but outside the package. the main reason you write 'public class' is because the _default_ is internal. if you simply say class MyClass

Re: [Flashcoders] AS3 finally..

2013-05-20 Thread John R. Sweeney Jr.
Yeah, we all have the bad problem of paying the rent and eating. :) I know just what you mean. Good luck and like someone said before, we can't teach you AS3, but when you have specific problems or questions, feel free to ask the group. We've all needed help at one time or another and this

Re: [Flashcoders] AS3 finally..

2013-05-20 Thread Karl DeSaulniers
Thank you Ktu. That is what I was looking for. Much thanks, Best, Karl DeSaulniers Design Drumm http://designdrumm.com On May 20, 2013, at 10:58 PM, Ktu wrote: you can have public class, internal class (limited to package), and you can make pseudo private classes by declaring a class in

Re: [Flashcoders] AS3 finally..

2013-05-19 Thread Karl DeSaulniers
In place of void? so like... function someFunc():Number { //return a number } function someFunc():String { //return a string } Karl DeSaulniers Design Drumm http://designdrumm.com On May 19, 2013, at 12:26 AM, John R. Sweeney Jr. wrote: Void was AS2 and wasn't really

Re: [Flashcoders] AS3 finally..

2013-05-19 Thread Hans Wichman
Karl, no harm intended, but do yourself and us a favor and get something like Essential Actionscript 3 from Moock, it will save you lots and lots of unnecessary self inflicted punishment :). That said, AS3 is much more about (strong) typing than AS2 was. In that line of thinking, you need to

Re: [Flashcoders] AS3 finally..

2013-05-19 Thread Henrik Andersson
Hans Wichman skriver: That said, AS3 is much more about (strong) typing than AS2 was. In that line of thinking, you need to specify exactly what types of parameters go into a method/function and what it returns, even if that what is nothing. The type of Nothing is this respect is void.

Re: [Flashcoders] AS3 finally..

2013-05-19 Thread Paul A.
On 19/05/2013 09:18, Hans Wichman wrote: Karl, no harm intended, but do yourself and us a favor and get something like Essential Actionscript 3 from Moock, it will save you lots and lots of unnecessary self inflicted punishment :). Excellent advice. Don't try and get to grips with the

Re: [Flashcoders] AS3 finally..

2013-05-19 Thread mike g
Just wondering, has Colin Moock put forward any thoughts re. Flash/Actionscript's future direction? On Sun, May 19, 2013 at 6:02 PM, Paul A. p...@ipauland.com wrote: On 19/05/2013 09:18, Hans Wichman wrote: Karl, no harm intended, but do yourself and us a favor and get something like

[Flashcoders] AS3 finally..

2013-05-18 Thread Karl DeSaulniers
Hello fellow Flashers, Been a while. Ok, its time. I am now going to learn AS3 for real.. lol I know I know... please no comments from the peanut gallery. I am also making my first AS3 lesson an iPhone app. Whoo hoo! (Im a glutton for punishment I guess) So, I will have some more questions

Re: [Flashcoders] AS3 finally..

2013-05-18 Thread John R. Sweeney Jr.
Void was AS2 and wasn't really necessary. void is AS3 and since it uses strong typing, very necessary. void will not return anything. If you want back values (numeric) use Number (text) use String, etc. John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc