Using: Adobe Flash CS6 Exporting: Flash player 11.2 OS: OSX/Windows
Heya guys. I've been having this huge issue for a while now. I'm working on an educational game. This main SWF loads several other SWFs. Since it's a bilingual game, each activity has two versions, the spanish and the english one.
Now to the main concern. Let's say I have this activity called 'hangman'. I have the 'hangman.swf' which is the spanish version and the 'hangmanE.swf' which is the english one. They're virtually the same except for the actual assets used. Both are loaded by a master SWF. So in their libraries I have a sound which has a class called 'AudioInstruction', which is the activity's instruction. The actual file is different since I need one for each language, but the class given is the same.
File map:
- Master.swf
- Hangman.swf
- HangmanE.swf
The problem comes when I open the spanish version and then I switch to the english one or vise versa. Since the english one was opened second, it actually ignores it's internal 'AudioInstruction' file and just plays the spanish one. As if having an asset with the same class name makes the second SWF ignore its own assets. Has anyone encountered this problem?
It can happen with any type of asset MovieClip, Sound or Graphic. I thought it was because of in frame coding, but I made them class based and they still have this issue. This isn't exclusive to any OS, it happens in both Windows and Mac OSX.