List Info

Thread: Newbie from Newbieland ;)




Newbie from Newbieland ;)
user name
2006-12-08 16:02:14
Thank you Laurent and be welcome!
You're right, it seems documentation must be updated.

francis

----- Original Message ----- 
From: "laurent untereiner" <luntereinerfree.fr>
To: <Pixlibosflash.org>
Sent: Monday, November 27, 2006 6:12 PM
Subject: Re: [Pixlib] Newbie from Newbieland ;)


> Hi all
>
> I'm learning Pixlib.
>
> I'm trying all the the commands step by step to learn.
>
> On the step "Command" I found a error in the
exemple:
>
> http://www.get-url.net/pixlib/com_bourre_commands_
Command.html
>
> **Error** 
>
/Volumes/luntereiner/WEB/lu/documents/tutPixLib/DisplayDateC
ommand.as: 
> Line 9: The
> implementation of the interface method doesn't match
its definition.
>     public function execute ():Void {
>
> Total ActionScript Errors: 1 Reported Errors: 1
>
> And I found also the solution, here is the exemple
rewriting :
>
> // the news in the lines are : import
com.bourre.events.IEvent;
> // and function execute ( e: IEvent )  >>
e:IEvent
>
> import com.bourre.commands.*;
> import com.bourre.events.IEvent;
> class DisplayDateCommand implements Command {
> private var _tViewHelper:TextField;
> public function DisplayDateCommand
(tViewHelper:TextField) {
> _tViewHelper = tViewHelper;
> }
> public function execute ( e: IEvent ):Void {
> _tViewHelper.text = String (new Date ());
> }
> }
>
>
> --
> Laurent Untereiner
>
>> skype : laurentuntereiner
>> aim   : luntereiner
>> icq   : 294429730
>> msn   : laurentuntereiner.com
>
>> http://www.untereiner.com <
>
> mes photos sur fotolia: http://www.fo
tolia.fr/p/116/partner/116
>
> _______________________________________________
> Pixlib mailing list
> Pixlibosflash.org
> http://osflash.org/mailman/listinfo/pixlib_osflash.org
> 



_______________________________________________
Pixlib mailing list
Pixlibosflash.org
http://osflash.org/mailman/listinfo/pixlib_osflash.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )