i will have to write this for 241 objects in the array to refer to 241 labels
before i go ahead and do this is there a better, simplier way to cade this?
thankyou
Code:
function videop()
{
_level0.ZoomifyViewerInstance.gLabelTier_mc.labels_mc.label1_mc.onPress
{
_root.filmcontainer.video.play(gLabelMovieArray[0]);
}
_level0.ZoomifyViewerInstance.gLabelTier_mc.labels_mc.label2_mc.onPress
{
_root.filmcontainer.video.play(gLabelMovieArray[1]);
}
_level0.ZoomifyViewerInstance.gLabelTier_mc.labels_mc.label3_mc.onPress
{
_root.filmcontainer.video.play(gLabelMovieArray[3]);
}
}
weird for some reason the code tags have placed a space between labels_mc.label1_mc, there should be no space