i searched the forum, and couldn't find an applicable answer.
i am creating empty clips in my movie that are loading individual images from an external source.
when a particular button is pressed, i would like a mc with a nested text box to display text relative to the image.
the original images are loaded into holders example h3, h2, h1 in the root of the movie
i cannot seem to get a depth value from these using the getDepth method, and furthermore, cannot seem to place my textbox mc above the depths of the images
this code in frame 1
for(i=_root.index; i>-1; i--){
_root.createEmptyMovieClip("h"+i,i);
_root["h"+i]._x=341;}
should place the depths at 3, 2, 1 and 0 respectively....
when i use this code
_root.myTextBox.swapDepths(5);
trace(_root.myTextBox.getDepth);
my swapDepths appears not to work, and my trace returns "undefined"
any suggestions would be awesome...
cheers
paul
i am creating empty clips in my movie that are loading individual images from an external source.
when a particular button is pressed, i would like a mc with a nested text box to display text relative to the image.
the original images are loaded into holders example h3, h2, h1 in the root of the movie
i cannot seem to get a depth value from these using the getDepth method, and furthermore, cannot seem to place my textbox mc above the depths of the images
this code in frame 1
for(i=_root.index; i>-1; i--){
_root.createEmptyMovieClip("h"+i,i);
_root["h"+i]._x=341;}
should place the depths at 3, 2, 1 and 0 respectively....
when i use this code
_root.myTextBox.swapDepths(5);
trace(_root.myTextBox.getDepth);
my swapDepths appears not to work, and my trace returns "undefined"
any suggestions would be awesome...
cheers
paul