ok, so i’ve been trying to use dynamic event handlers for everything lately ever since i discovered them. but i’ve run into a problem. when i’m loading jpgs into a movie clip it erases the handlers that i put on them example:
then when i load in the jpg into that clip it stops tracing. i can’t even try and put the handler back on to the clip. Now i would be fine with this and try to find a different way if it weren’t for the fact that if you don’t use a dynamic handler and put it onto a created clip it will work. which makes me think there is a way its just probably some tricky syntax or something. i’ve been working on it for a while so i’m sure enough that its not a typo.
what i’m trying to do is check when it gets done loading into the clip so i can have it appear or whatever. onData…
any help would be much appreciated,
thanks
Tell me if this is about the effect you wanted… You can also make it where you can tets if the jpg has fully loaded or not yet… And then when it is fully loaded do all the tracenames… But that should return what you want… Should.
I fixed some uppercase problems too you might have had
That won’t work either (well it shouldn’t), Playamarz, because loading inside a clip will erase anything in that clip, including event handlers, and you can’t assign even handlers before the jpg is fully loaded.
The trick is to preload the jpg, wait for it to be fully loaded, and then assign the handler.
That look a little better…? I’d suggest doing it this way… And having the actual blank mvoieclips made through the use of the FLash MX drawing interface… It’ll be cleaner that way… Juts make a movieclip names pan_b then make a movieclip inside of tht movieclip names loadArea.
ok sure that all makes sense, but i don’t really want it to trace the name on the enter frame i just want it to trace once that loadArea gets loaded. i don’t want a whole bunch of enterframes running at the same time.