![]() |
I’m really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler code for your MovieClips that are out on the stage. The workflow couldn’t be any easier. You simply select the MovieClip on the stage and then check off the events that you want to generate in the panel. You can then copy the entire code block to the clipboard for easy insertion into the Actions panel.
Follow the steps below to try it out:
Let me know if you find any bugs with it. You can also leave a comment here if you think you have an idea how to make it better. Thanks, |
New Event Generator Extension for Flash CS3!
Commentary
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]
-
[... I'm really excited to announce my first extension for Flash CS3 called Event Generator. This simple extension will save you lots of time when it comes to writing event handler ...]









Seems very nice!
Might be handy for the lazy people like me
Good initiative with flash extensions. Good luck in the future!
wow – I don’t think I could download that fast enough – thanks Lee!
Nicely done! Definitely great for people learning AS3. Thanks.
Awesome Lee! Thanks a lot.
one thing that is missing is a checkbox for generation of “import” lines;
another is some sort of naming templates (but that’s less necessary and more to code).
Very nice! I will be using this extension to help teach AS3 to designers. One humble suggestion: add event property trace statements by default or optionally (checkbox) to generated code blocks such as:
function myMovieClip_CLICK(e:MouseEvent):void
{
trace(e.type);
trace(e.target);
// etc.
}
Awesome tool Lee! I think this will be very useful especially when helping my coworkers convert to AS3.
One thing I just thought of was, what if you could turn on an option for the keyDown listener that would generate a switch statement with some of the basic keys in it, like the arrow keys, spacebar, return, and such.
I like to use the KeyboardEvent to do stuff sometimes, but I don’t use it quite enough to remember the keyCodes or special names for the keys.
Just a thought.
MouseOut?
or is RollOut the same thing? On a related note I would love some clarification between RollOver/RollOut and MouseOver/MouseOut
This is one of my main reasons for avoiding taking the AS3 plunge… to lazy to write all those event handlers… Thanks Lee!!
I agree with the option to spit out to the output panel. I’d just suggest a button alongside “Copy to Clipboard” that would “Dump to Output” or something.
And what about those of us who like to put their opening curly braces on the end of the line that start the function, rather than on the next line? Throw us a frickin’ bone, here!
One last thing…so when did you start using a Mac?
Hi,
I think “TR” is right about the “trace” system. The import and a naming template miss too. But your template is perfect and awesome.
But Can you make a tutorial to explain how to program is own Component and explain how to add our own functionnality, please.
Thank you and great job for your idea.
Xeonarno
Nice. That is a seriously cool extension! Blogged: http://www.deepdesigners.com/blog/125/new-event-generator/ Great tool Lee!
This might save me some time since I type so damn slow! I’m going to give it a try, thanks!
Bugger, we’ve been building a little panel with somewhat the same functionality.
What a timesaver!
Thanks
nice:p this is going to be a real timesaver!!
like Xeonarno said, it could be a nice tutorial
Can you help me? HOw cam i install it?
You’re the BEST Lee! Thank you for this-
This is mint! Really good extension Lee.
Really cool, i’ll save time with this extension i’m sure. Thanks.
Hi Lee, i have a video tutorial section in my site (not yet published), all tutorials are in spanish, Can i make a video tutorial in spanish for your event generator extension? Can i put it a link in my site? Thanks!!
Saludos from Cancún México.
It would also be nice if you could chose to set code in as2 or as3. I’m sure there are some people like me that still code in version 2 and that would help a lot. Don’t you think?
@Timk: for mouseOver/Out vs rollOver/Out see:
http://www.kirupa.com/forum/showthread.php?p=1948052
How you got time to do all! Do you sleep sometimes
This gonne be totally a timesaver… Thank you Lee.
Awesome !
I am testing it …
Thanks Lee
interesting new stuff from you.. will you be diggin’ more into extensions in the future?
I mean, if any, you must the man to know how to Flash even better :O)
Anyway we can get the eventHandlers for the Loader class in version two? That could really help save some time!
cool !
is there a way to make the panel only appears when working with AS3 ??
Hi Lee,
Nice extension,I have a suggestion for a gotoAndLearn() tutorial. Why not make a tutorial that teach people how to make this extension.
coooooooooooooooooooool
Mr. Lee ,
this extention is alot of help it is Good
Very good that extension.
Congratulations for that Blog…
Brazil – Fortaleza-CE
Fantastic.
Such a timesaver.
Stuff like this is what the flash code editor has been missing.
I agree with Adrian. I’ve been wanting to get into JSFL(?) stuff for a while now. A gotoAndLearn() tutorial would be a great way to get started.
very useful
Thanks!!
Wow, This is going to be SOO useful!
Thanks alot!
~Rain
THANK YOU SOOO MUCH…..SUCH A STUPID MOVE TO REMOVE THE onRelease, onPress, etc functions of flash.
Can you make it recognize nested clips?
ie, if i have myClip inside holder clip it would write
holderClip.myClip.addEventListener…
Can I get the code lee? Its an awesome package
As mentioned in the original post we’ve been working on something very similar.
Our project was really aimed at designers or the sort of people who create banners. When they select a clip, they are then able to select from a combobox all the support events. Once an event is selected they can add code in the panel for that event.
Behind the scenes we store all this data in the FLA and give optional ways for it to be used.
1. Centralize all code (writes all the code onto frame 1)
2. Add code to clips (adds the code written to each specific clip)
3. Hide code and Publish (this hides all the code from users making it only accessable from out panel. You then have to compile using the panel, at which point it will write the code to the timeline, compile, and then remove the code).
It’s still a work in progress, but thought I’d get the idea out there, maybe there things that others would like to see it to, or maybe it sounds like a crap idea and we won’t bother completing it
.
can someone help me with the installation on a mac? It wants some destination to install this into but can’t seem to find where to save it. Any help with this would be great,
Sorry ignore that got it working, being a retard forgot about application support folders
Really nice.
Thanks for share with all.
Sweet!
Do you know where can I get some more info on building extensions and panels for Flash CS 3.
Thanks,
Andrei
Mr. Lee: I install the Event Generator on Flash CS3 on MAC, and it just doesn’t appear in the “other panels” section. Is there a problem with the instalation device? can you help me please??!!
Thanks!
How do I install it?
———
DoH!
OK – I’m not a programer and I am pretty adept at creating Flash content, but…where do I “install” this file?
bhull3
good, i like it….
For those of you that run Flash CS3 on mac in other native language than English, you must have troubles when installing Lee’s extensions. In order to have them in your ‘Other Panels’, you need to copy the files located in /User/Library/Application Support/Adobe/Flash CS3/en/Configuration/Extensions and /WindowSWF in the folder /User/Library/Application Support/Adobe/Flash CS3/fr/Configuration/.
Beautiful! I love it
Makes you wonder why they can’t build something like that into the app? So much more useful than code assist.
You should add an additional check box there for changing the cursor to a hand pointer.
Otherwise…This is great!
I’ve been thinking of some other utilities I could make using your tutorial as a basis.
Next question.
I’ve noticed that when you click on the bar at the top of the collapsed panels that they default to a defined height so you can actually see the content inside the panel.
Is there a way to do this for custom panels? When you click on the bar it doesn’t open and shut unless you actually drag. I know it’s somewhat “picky” but it would be nice to be able to make them function the way the Flash panels do.
Cool!You have saved me so much time.
Thanks for the Event Generator panel.
how do you install it?
I noticed that you provided the fla to the movie setup panel and how to make that an extension package to send around. Can you provide the fla to this event generator?
Think I found a bug. If you select a clip, then copy the code, then paste the code & copy the another clip & try to paste again, the previous code & the new code are added. (Which means I get duplicate entries in my AS)
Also, selecting multiple clips, disabling mouse children, & enabling button mode, would really speed things along.
Thanks for this great extension!
Thanks a lot.
This is one of the best extensions I’ve ever downloaded for Flash. It definitely saves so much time it’s ridiculous. Now with the praise out of the way I would like to offer 2 small suggestions. 1) make it possible to put your own name for the automatic function generator and function name. Instead of…
myBtn_mc.add**.(MouseEvent.BLAH, myBtn_mc_Blah)
function myBtn_mc_Blah .*
it will be…
myBtn_mc.add**(MouseEvent.BLAH, myFuncName)
function myFuncName .*
2) have a checkbox that makes the function generator optional. If I have 10 MC’s and they are all going to use the same function (myFuncName) I would like to not have to keep going back and erasing the function automatically generated and changing the function name.
Maybe I’m just being extra lazy but I feel like these 2 things would seriously make your generator just that much better.
Hi
Im trying to install the mxp file. Nothing but code in a notebook shows.
I’we tryed to search for the extention on my computer but i have not any of these files.
How do i install it? im a pc user
How about CS4???
I install it with ExtManager, but dont see any new in Other Panels menu…
Can u make a video tutorial showing : how to create flash component/extensions. Please please please ..
Having trouble loading this extention. I’m on a shared server, Mac, running Flash CS3. I’ve placed it /User/Library/Application Support/Adobe/Flash CS3/en/Configuration/Extensions but it doesn’t load. Any suggestions?
Time saver!!! thanks a lot for this great extension!!!
Lee, this is a very useful extension, thanks for posting it.
A suggestion: it would be useful if there was a checkbox in the panel to generate a weak-reference listener. For example:
.addEventListener(MouseEvent.CLICK, false, 0, true);
There seem to be a lot of people asking how to install this, but no answers. Is is compatible with CS3? I have saved the file and opened up Flash. What do I need to do to get it to appear in the Other Panels menu?
You are the greatest!
good afternoon,
I.m having trouble installing the mxp file in flash cs3 professional.
would someone please explain how to instal it, I´m a new user.
Thanks
good afternoon,
I’m having troubles installing the event generator,
would someone explain how it is installed, I’m a new user, I’m still learning how to use flash.
I´m using flash cs3 Professional.
hi. please is there a version of the event handler available for Flash CS4? I tried installing the one for CS3 but the extension manager keeps giving me this error:
This extension requires the following product:
Flash CS3 or higher
The extension will not be installed!
Why is this so since i have CS4 which is definitely higher than CS3? Help will be appreciated.
been using this for a while and forgot to say A BIG THANK YOU to Lee. Cheers dude, love the tutes on gotoandlearn as well!
Nice..very helpful.thanks and Regards
i have CS4 and i don’t see the event generator at the other panels menu
wow….I like it…thank your sharing….
For those who have problems installing the extension in CS4:
“You have to call the Extension Manager CS4 from inside Flash. Go to Help / Manage Extensions menu. You will see that all the components are not enabled there. Now, just enabled them and they will show.”
http://www.afcomponents.com/forum/viewtopic.php?t=4121