Dr Ken FP
08-06-2005, 06:29 PM
I have a movieclip that is going to be used in a state machine class for a game show. The clip is a series of frames, each with a "stop();" in it. Each frame plays an imbedded movie clip symbol with a cutesie movie (something nice if the player is right, something rude if the player is wrong). At the end of the "reward" movies, it jumps to another frame, labeled "right", that sets a couple of text attributes (green text for the score) and stops.
Each of the individual symbols have sounds in them, and the symbols play perfectly.
HOWEVER, when I jump from one of the "reward" frames to the "right" frame, three sounds play unbidden. I have checked the timeline - the inspector does not specify any sounds to sync with ANY of the frames. The sounds are always the same. I did not write any code to ask for these sounds. I have put debug breakpoints at the statement that jumps to the second frame, and a "stopAllSounds;" at the start of the second frame's script - but the sounds are still triggered in between, and are NOT stopped by the "stopAllSounds;" item!
I also note that my Actionscript editor is acting rather hinky. The window does not always update when I click to create or clear breakpoints, or even when I do some cutting and pasting. I am running Flash MX 2004 Professional, version 7.2, build 4.0.0.032, on an iBook G4 running 10.4.2. Could it be that my installation is corrupted and needs to be reinstalled?
I hesitate to upload a 3.4MB copy of the .swf file. Any advice on where I could look for (and eradicate) these mystery triggers would be appreciated.
---Ken (I have enough trouble debugging VISIBLE code) Franklin
Each of the individual symbols have sounds in them, and the symbols play perfectly.
HOWEVER, when I jump from one of the "reward" frames to the "right" frame, three sounds play unbidden. I have checked the timeline - the inspector does not specify any sounds to sync with ANY of the frames. The sounds are always the same. I did not write any code to ask for these sounds. I have put debug breakpoints at the statement that jumps to the second frame, and a "stopAllSounds;" at the start of the second frame's script - but the sounds are still triggered in between, and are NOT stopped by the "stopAllSounds;" item!
I also note that my Actionscript editor is acting rather hinky. The window does not always update when I click to create or clear breakpoints, or even when I do some cutting and pasting. I am running Flash MX 2004 Professional, version 7.2, build 4.0.0.032, on an iBook G4 running 10.4.2. Could it be that my installation is corrupted and needs to be reinstalled?
I hesitate to upload a 3.4MB copy of the .swf file. Any advice on where I could look for (and eradicate) these mystery triggers would be appreciated.
---Ken (I have enough trouble debugging VISIBLE code) Franklin