Re: [Flashcoders] AIR

2013-05-19 Thread Hans Wichman
Hi John, 

content created today will still run in the future, independent of where air 
itself is going. I wouldnt worry too much bout it, but that might be just me :)

best 
h

Sent from my iPad

On 19 mei 2013, at 14:39, John McCormack  wrote:

> Hi there.
> 
> I would like to produce some educational material using AIR but am feeling 
> very insecure about its future.
> 
> Could you possibly let me know how active you are in producing content 
> deliverable through AIR.
> 
> Thanks
> 
> John
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] AIR

2013-05-19 Thread John McCormack

Hi there.

I would like to produce some educational material using AIR but am 
feeling very insecure about its future.


Could you possibly let me know how active you are in producing content 
deliverable through AIR.


Thanks

John

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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.  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
>> 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 language via the
> forum.
>
> This is a gentler introduction:
>
> http://shop.oreilly.com/**product/0636920010401.do
>
> Also
>
> http://www.adobe.com/devnet/**actionscript/learning.html
>
> Good luck
>
> __**_
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.**com 
> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 language via the 
forum.


This is a gentler introduction:

http://shop.oreilly.com/product/0636920010401.do

Also

http://www.adobe.com/devnet/actionscript/learning.html

Good luck

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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.
> 

Need and need, it is good practice. So good that some compilers will
raise a warning if you fail to do it.

The point of void here is twofold, to let the compiler check that the
return statement doesn't try to return anything and to let the compiler
check that the caller isn't expecting a return value. Other types have
similar checks.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 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.

//i return a number
function bla():Number {
return 10;
}

//i return nothing
function bla():void {
//im not giving you anything!
//
//implicit return
}

//i return nothing as well
function bla():void {
//explicit return
if (myConditionNotMet) return;

//some other stuff here
//...
//implicit return
}

If you go the corporal punishment route, there is some good info here: 
http://owhips.com/


;)

Best
H



On 19-5-2013 9:34, Karl DeSaulniers wrote:

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 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
Hoffman Estates, IL 60169




On May 18, 2013, at 10:15 PM, Karl DeSaulniers wrote:


My first question.

What is the purpose of "void" versus "Void"? When do you use "void" and "Void" and when 
is it not needed or wise to use "void" on a function? I may have asked this a few years ago, but can not find any of 
the emails, so if its a duplicate I apologize.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 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
> Hoffman Estates, IL 60169
> 
> 
> 
> 
> On May 18, 2013, at 10:15 PM, Karl DeSaulniers wrote:
> 
>> My first question.
>> 
>> What is the purpose of "void" versus "Void"? When do you use "void" and 
>> "Void" and when is it not needed or wise to use "void" on a function? I may 
>> have asked this a few years ago, but can not find any of the emails, so if 
>> its a duplicate I apologize.
> 
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders