[osflash] A.M.E.S. + Nested functions
Justin Abene
jabene at gmail.com
Sun Sep 28 15:08:40 PDT 2008
Nested functions are allowed, I use them all the time. It works
within flash & flex. The problem might be with the compiler you are
using. Try the function in flex/flash and see if it pops up an error.
Justin Abene
jabene at gmail.com
On Sep 28, 2008, at 4:49 PM, Javier Gimenez wrote:
> Hi there ...
>
> I'm taking my first steps into the world of open source flash
> development.
> I'm currently using A.M.E.S. workflow and i have a doubt ...
>
> Nested function are allowed ?
>
> Im trying to do something like this
>
> class myClass {
>
> public function myClass() {
> }
>
> public function someMethod() {
>
> nestedFunction();
>
> function nestedFunction() {
> something ...
> }
>
> }
> }
>
> but always get an error message (mismatched input 'nestedFunction'
> expecting LPAREN )
>
> What am I doing wrong ?
> Is it possible ?
>
> I'm using EasyEclipse for PHP 1.2.2.2 + ASDT 0.0.9
>
> Thank you very much
>
> Cheers
>
> Javier Giménez
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20080928/4d73db5d/attachment.html
More information about the osflash
mailing list