PDA

View Full Version : Newbie Loader Component Question


breault
03-05-2007, 05:28 PM
Hi everyone, I have a question that I'm sure 99% of this forums population can answer for me.

I am developing a personal website using a flash slide presentation layout; so i have my main slide with menus etc. and then 4 more slides below the parent slide that have things such as news, bio, etc.

on my parent slide i have a picture frame with the Loader Component underneath it on a separate layer. I want to have it so that every time a different slide is viewed (eg. someone clicks on home, bio, gallery) a different picture is put into the Loader.

I've tried putting action script into the first frame of the children slides like this:

this._parent.imageLoader.contentPath("mainPics/myPic1.jpg");
this._parent.imageLoader.load();

but it seems once the picture is set, there is no changing it.

maybe there is a better way, any suggestions would be appreciated greatly.

thanks.

mike.:eek: