uncleflo

profile picture

Some cool dude. Higher order of decision making. Absolute.

Registered since September 28th, 2017

Has a total of 4246 bookmarks.

Showing top Tags within 1 bookmarks

howto   information   development   guide   reference   administration   design   website   software   solution   service   product   online   business   uk   tool   company   linux   code   server   system   application   web   list   video   marine   create   data   experience   description   tutorial   explanation   technology   build   blog   article   learn   world   project   boat   download   windows   security   lookup   free   performance   javascript   technical   network   control   beautiful   support   london   tools   course   file   research   purchase   library   programming   image   youtube   example   php   construction   html   opensource   quality   install   community   computer   profile   feature   power   browser   music   platform   mobile   work   user   process   database   share   manage   hardware   professional   buy   industry   internet   dance   advice   installation   developer   3d   search   material   camera   access   customer   travel   test   standard   review   documentation   css   money   engineering   webdesign   engine   develop   device   photography   digital   api   speed   source   program   management   phone   discussion   question   event   client   story   simple   water   marketing   app   content   yacht   setup   package   fast   idea   interface   account   communication   cheap   compare   script   study   market   easy   live   google   resource   operation   startup   monitor   training  


Tag selected: rollout.

Clear all

Showing 1 results.

Looking up rollout tag. Showing 1 results. Clear

The right way to do RollOver Event in AS3 | MOUSE_OVER and MOUSE_OUT in ActionScript 3 | zedia flash blog

http://www.zedia.net/2008/the-right-way-to-do-rollover-event-in-as3/

Saved by uncleflo on April 11th, 2011.

Because this post is now receiving a lot of traffic and it is one that I wrote so long ago, I felt obliged to update it a little. First off I would like to say that I would stick with method number 1 because it is just way easier to understand the code and method number 2 doesn’t save much (it just makes things more complicated, keep it simple). Secondly, I did some edits to the code itself; I removed the bad habits I used to have. I switched the MOUSE_OVER for ROLL_OVER because 99% of the time that is what you will need. I also change “e:MouseEvent” to “event:MouseEvent” as it is easier to read and it is the best practice that Adobe is pushing. Finally, I added “false, 0, true” at the end of my listener functions to set weakReference to true. In short, this is a fail safe if you forget to remove your listeners when you don’t need your button anymore. The button won’t be held into memory by the listeners. I just thought you should know.

flash as3 actionscript blog code tutorial resources design rollover rollout solution


No further bookmarks found.