This content has been marked as final. Show 5 replies
if you use the correct path/file names to your images there should be no problem using loadMovie(). what problem are you having?
nope, that doesn't look right. first, theres' no loadFrame event so that handler will never execute. second, that url address won't work but i'm assuming you just created a url off the top of your head. otherwise, that needs some work.
anyway, if image.jpg is in the same directory with your swf and you want to load your image as soon as the frame plays that contains your loadMovie() statement use:
Oops! I meant "enterFrame". Perhaps I was using loadFrame earlier, and that was causeing part of the problem. Forgive me, im just a mere humble student! =D Eaither way, it works now, so thank you very much!!
using enterFrame is even worse. loadFrame won't do anything so there's no harm and no benefit.
the onEnterFrame() method is a loop. i know it sounds like it should execute once when the play head enters a frame but that's not what it does. it repeatedly executes fps times per second where fps is your _level0 frame rate.
so, that bit of code will put a hit on a user's cpu with no benefit because the loading can never really get much beyond starting when it's re-started.
like i said in my above message, if you want to execute that loadMovie() statement when the playhead enters the frame that contains your loadMovie() statement, just use the code i gave above, attached to the frame.