AIR - Major Bug (?) with MovieClip class
Hello all,
We are a team of developers working on ActionScript 3.0 project using Adobe AIR SDK and Adobe Flex SDK. During the development we discovered what seems to be a major problem with getting MovieClip instances to play correctly. More specifically, the problem has to do with the gotoAndStop method. If, using the gotoAndStop method, you perform a for loop over all MovieClip frames (from the 1st frame to the last one) and go back to the 1st frame again, then, after adding MovieClip to the Stage, the 1st frame won't be set, contrary to what's expected. Instead, the MovieClip selects the last frame, which messes things up. Are there any solutions to the described problem, other than switching to the right frame after the object has been added to Stage?
This seems like a 'no way out' situation - any help would be much appreciated.
A note: MovieClip itself is being imported from the 'swc' file.