Question
Problems with swapDepths() function
I am designing a flash program that takes a series of images
and descpriptions from an xml file and then adds a movie
clip for each node to the stage based off of one template. The series of clips scrolls from left to right with the movement of the mouse and when hovered over, the images enlarge by 300%. All of that works just fine. What I'm having problems with is that when the movie clips enlarge they are always partially covered by the next movie clip. I've tried everything to swap the depths but nothing works. PLEASE HELP!
The movie clip 'picHolder_mc' w/ linkage 'template' is attached to holder_mc on the stage (this is generated by the number of xml nodes). picHolder_mc contains a movie clip of a button (which basically holds the area for the hover), a dynamic text field, a movie clip (imageHolder_mc) that the jpg is attached to and the background image to fill in the template.
So the tree would be someting like this:
(pic_btn, imageHolder_mc, and pic_txt)
> picTemplate (movie clip that groups the button, txt box, and imageHolder_mc)
> picHolder_mc ('template')
>holder_mc
>stage
clip for each node to the stage based off of one template. The series of clips scrolls from left to right with the movement of the mouse and when hovered over, the images enlarge by 300%. All of that works just fine. What I'm having problems with is that when the movie clips enlarge they are always partially covered by the next movie clip. I've tried everything to swap the depths but nothing works. PLEASE HELP!
The movie clip 'picHolder_mc' w/ linkage 'template' is attached to holder_mc on the stage (this is generated by the number of xml nodes). picHolder_mc contains a movie clip of a button (which basically holds the area for the hover), a dynamic text field, a movie clip (imageHolder_mc) that the jpg is attached to and the background image to fill in the template.
So the tree would be someting like this:
(pic_btn, imageHolder_mc, and pic_txt)
> picTemplate (movie clip that groups the button, txt box, and imageHolder_mc)
> picHolder_mc ('template')
>holder_mc
>stage