LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-06-2005, 04:13 PM
Scottae's Avatar
Scottae Scottae is offline
God Moderator
 
Join Date: Oct 2003
Location: United States
Posts: 6,532
Rep Power: 16
Scottae is on a distinguished road
Question 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:

http://www.flashextensions.com/categ...ideo/index.php

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 Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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




All times are GMT. The time now is 04:58 PM.