thank you guys :)

On Mon, May 5, 2008 at 11:39 AM, Wagner Amaral <[EMAIL PROTECTED]>
wrote:

> Well, that is AS3 indeed (have the book beside me)
>
> The topic is about "closures", and that sort of constructor only works
> inside
> a method in an existing class, or in a frame in a timeline (it says so in
> the
> book in the same page, the full code is omitted for the sake of brevity,
> so
> just finish reading before trying the code ;)
>
>
> On Monday 05 May 2008 11:54:47 McVirusS wrote:
> > Hi,
> >
> > Are you sure you are not reading Essential Actionscript 1.0? ;)
> >
> > Because the code you link to is AS 1.0 and not AS 3.0. You can test the
> > code by changing the Actionscript version to 2.0 or 1.0 in the Publish
> > Settings dialog.
> >
> > Regards,
> > Meinaart
> >
> > ----- Original Message -----
> > From: "ACE Flash" <[EMAIL PROTECTED]>
> > To: <[email protected]>
> > Sent: Monday, May 05, 2008 4:22 PM
> > Subject: [Flashcoders] Using Function to Create Objects
> >
> > > Hi there, I am reading ActionScript 3 Essential,  there is an example
> > > code shows on page 290. When I tried to run the code, I got an error
> msg
> > > => " 1048: Method cannot be used as a constructor."
> > >
> > >
> > > http://www.privatepaste.com/dagJFB6kD5
> > >
> > > Any Suggestions?
> > >
> > > Thanks
> > > _______________________________________________
> > > Flashcoders mailing list
> > > [email protected]
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > _______________________________________________
> > Flashcoders mailing list
> > [email protected]
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to