flashdevelops templates are an awesome way to speed up coding, especially as
you can update them (i add headings for constants, properties, constructor,
methods, handlers and accessors / mutators into mine so that i can easily
find everything within a class

a

On 26 March 2010 15:40, Cor <c...@chello.nl> wrote:

> Thanks Jason,
> I am still investigating/trying to learn the MVC pattern and I noticed the
> same handling as far as the model aspect.
> So if you can elaborate on that too, it is highly appreciated.
>
> Kind regards,
>
> Cor
>
> -----Original Message-----
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
> Jason
> Sent: vrijdag 26 maart 2010 16:10
> To: Flash Coders List
> Subject: RE: [Flashcoders] Events can be tedious, general thoughts on best
> practice?
>
> I missed the beginning of this thread somehow, but FWIW, FlashDevelop
> has an Add > New Event menu option in the project pane when you right
> click on a package folder which makes creating custom events a snap.
> All you really have to do is enter the static event constants you want
> the event to have and you're done. When you select this option, it
> auto-generates a file with this in it:
>
> package events
> {
>        import flash.events.Event;
>
>        /**
>         * ...
>         * @author Jason Merrill
>         */
>        public class NewEvent extends Event
>        {
>
>                public function NewEvent(type:String,
> bubbles:Boolean=false, cancelable:Boolean=false)
>                {
>                        super(type, bubbles, cancelable);
>
>                }
>
>                public override function clone():Event
>                {
>                        return new NewEvent(type, bubbles, cancelable);
>                }
>
>                public override function toString():String
>                {
>                        return formatToString("NewEvent", "type",
> "bubbles", "cancelable", "eventPhase");
>                }
>
>        }
>
> }
>
>
> Jason Merrill
>
> Bank of  America  Global Learning
> Learning & Performance Solutions
>
> Join the Bank of America Flash Platform Community  and visit our
> Instructional Technology Design Blog
> (note: these are for Bank of America employees only)
>
>
>
>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> Geen virus gevonden in het binnenkomende-bericht.
> Gecontroleerd door AVG - www.avg.com
> Versie: 9.0.791 / Virusdatabase: 271.1.1/2770 - datum van uitgifte:
> 03/25/10
> 21:50:00
>
> _______________________________________________
> 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

Reply via email to