FlashN00b1e
04-22-2007, 06:14 PM
Hi,
I really am my handle. I've been working out of the 'Flash 8 in 24 hours' book and I've gotten to the 'loading movies or images' section. I've re-done the example excercise a few times and I can't seem to get a movie (or image) to load when the button's clicked.
http://www.cheapbastid.com/flash/main.swf
I've placed all the files in the same directory and the code is as follows:
In the button
on(click){
_root.theLoader_mcl.loadClip("pic.jpg","theClip_mc");
}
In the document
theLoader_mcl = new MovieClipLoader();
I verified that I named the box correctly as theClip_mc
Can anyone see what I'm goofing?
I really am my handle. I've been working out of the 'Flash 8 in 24 hours' book and I've gotten to the 'loading movies or images' section. I've re-done the example excercise a few times and I can't seem to get a movie (or image) to load when the button's clicked.
http://www.cheapbastid.com/flash/main.swf
I've placed all the files in the same directory and the code is as follows:
In the button
on(click){
_root.theLoader_mcl.loadClip("pic.jpg","theClip_mc");
}
In the document
theLoader_mcl = new MovieClipLoader();
I verified that I named the box correctly as theClip_mc
Can anyone see what I'm goofing?