View Full Version : Loader not loading

05-01-2006, 01:42 AM
Okay, I've used the Loader component many times but tonight I'm stuck and I can't figure out why. Basically what I'm setting up is when you click a button a movie clip pops up with a loader in it and a specific image appearing in the loader. Here's some sample code where "ImageView" is the linkage identifier of a Movie Clip with a Loader inside it named "ImageLoader".

my_btn.onRelease = function(){
_root.ImageView.ImageLoader.contentPath = SomeImagePath;

The movie clip is attached fine, and the Loader will even display an image if contentPath is set in the parameters at authoring time, but when it's set dynamically at runtime I get nothing, and I've traced my image paths so I know they're good. I'm sure it must be something real simple I'm overlooking so I appreciate any advice.