onLoad for MovieClips.....why doesn't it work?
There have been a lot of people asking why the onLoad method doesn't work the way most people think it should. I know this can be quite confusing, so I've decided to post a sticky on the subject. One very good link I always point people to is this one on kirupa's site:
AS1 OOP: Custom Classes with MovieClips
It gives a very good indepth explaination as to why onLoad for MovieClips doesn't work the way people believe it should. I also recently ran into this video which is also very good:
It talks about an undocumented method in Flash called the onConstruct method. Supposedly it's been around for a while and is also in Flash 8. This method allows you to know when a movie clip is instantiated whether it be via an attachMovie call, or basically just placed on the timeline. Pretty neato.
Our greatest glory is not in never falling but in rising everytime we fall. - Confucius
Blog | Shared Items
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Help! loadMovie and onLoad wont work||samuels27921||Actionscript 2.0||1||02-07-2008 02:14 PM|
|FLASH Presentation Work (Yes an work order)||coughlanc||Work/Job Opportunities||0||04-13-2006 04:06 PM|
|Graphic Designer looking for full time or freelance work||~Shannon~||Work/Job Opportunities||2||08-01-2004 04:28 AM|
|onLoad event doens't work on Mozilla & co.||dsk3037||Newbies||0||03-28-2004 01:18 AM|
|the diffrence between task and work||Gargoyle||Members Cafe||7||09-19-2002 11:50 PM|