Trying to change the BackGround color on xml gallery?

Hey Hey!!

I am try to adapted a new action in the photo Gallery Using XML and Flash. I am trying add a color function? You can see what I am trying todo
here I want the color to change when you goto the next image?? I hope this make sense. I just don’t know where to add it? to the xml or the fla?

Thanks :thumb:

Hey Playa!
You would add the code to your FLA. In the code, find the place where I refer to the buttons (btn_next and btn_prev I think), and you can add your code there. Make sure you aren’t breaking up any existing pieces of code and you should be set :slight_smile:

Cheers!
Kirupa :ub:

in that, the colour doesn’t change when you goto the next image… only when you click on the colour buttons :stuck_out_tongue:

Thanks kirupa!!!

That was the first thing that I tried:)… It works just for two buttons… I want to add a color for each pic… It is like i need to add a array or some actions to the xml file?? Man i don’t know??

cyberathlete Yeah I am trying to make that function work with the nex and prev btns.

Thanks you guys!!!

Hey Guys!!

I got it figured out… Thankgod for Scotty!!!:slight_smile:

http://www.dyaddesigns.com/CherylSite/

Just adding a new node in the flash and the .xml file :thumb: