pete
December 10, 2003, 5:28pm
1
hi guys
i dont know if you already heard of this problem but if i want to set the function
e.g.
mymovie.onLoad = function(){trace(“LOADED”)}
nothing works
i dont know why
cause in flash mx everthing worked correctly
what could be the problem
i have already updated my version to 7.0.1
system
December 10, 2003, 5:50pm
2
onLoad doesnt really work that way. What do you want to do?
system
December 10, 2003, 7:26pm
3
i have created a movie clip with
createemptymoviclip(…);
then i want to create a textfield in the movie clip when it loads for i need onLOAD
system
December 10, 2003, 7:32pm
4
when what loads? The empty movieclip? Empty movieclips dont load. They’re immediately created. If you want to add a textfield in the empty movieclip, just do so directly following the createemptymoviclip command
system
December 10, 2003, 7:40pm
5
ohhh
thank you
actually i am not a newbee but you know i never used it before
thank you again
i thought it was a bug
system
December 10, 2003, 7:44pm
6
onLoad is an odd entity, especially just coming into Flash. It’s not as intuitive as one might think it should be in most situations
system
December 10, 2003, 7:47pm
7
okay
i have just did what you said
and it works perfectly