HELP! (Dynamic image loading problem)

:scream: :scream: :scream: This is driving me insane.
I have preformed like 10 searches in the Tuts and in the forums, and none of the accumulated info is helping me.
I am working on a menu bar for this non-profit and they want to be able to update the images in it with relative ease. So, I create a two layer button with a simple mouse over effect, and set behind the mouse over effect layer (inside the button) an empty MC. To which I attach some simple action script (I’m not very proficient at this yet) which, if what I have been able to glean, is accurate should work.

I have attached a sample file.

Thank You,
S.P.III

i don’t think you can load anything(loadMovie()) into a button, your making this thing complicated rather than easy i’ll edit your file. and give you a diffrent solution :slight_smile:

here you go, if there’s anything else i should know, post it, i’ll check back in the afternoon.

…I took a look at your code and if what I am seeing is what I am reading, than you created a response to a button click, which loads the image. I’ve been able to get that to function, prior to this.
What I need is a way to load the external image(s), directly in to the a MC from the get go (the images need to be seen from the start), this is why I was attempting to use an “onLoad” Comand.

Thank you for your help.

S.P. III

ok if you noticed i used a movieclip to function as a button, instead of a button-symbol. go inside the movieclip, click on the first frame you see and plug in the code i had on the on(press){ command, ofcourse without the on(Press){ and “}”, just take the inbetween.

I took your suggestion and ran with it; placing the MC on a layer in below the “buttons layer” then making an “invisible” Button over the top of said MC.

I think that I can make this work for me, by copying the MC, giving it an individual instance name and adjusting the A.S. for it.

Again Thank You,
:skull:S.P. III:skull:

As it turns out what I needed to do is generate a new MC give this a unique instance name; and within frame one of this new MC I implant the Adjusted AS.

_root.instanceName.unloadMovie();
_root.instanceName.loadMovie(“fileName.jpg”);

Then everything seemed to work.

:skull:-S.P. III:skull: