|
-
2D/3D Artist & Programmer
Weird bug, commented code affecting mc
Not sure if something similar has been posted before, or if someone else has encountered this. So I have a movieClip with an animation. At frame x, I have code:
if(bla == true)
{
this.weapon.gotoAndStop("boom");
//commented code
//more commented code
}
Now when I play that animation, it plays that frame twice! When I take out the commented code, it plays normally, only once. Has this happened to anyone else? I use MX. I've found many weird bugs like this lately but this one just stood out.
-
ow yeah, happens to me too
Hope nobody knows I am still on Flash 5 
______________________________________
All artists are prepared to suffer for their work
but why are so few prepared to learn to draw?(Banksy)
-
2D/3D Artist & Programmer
This has also happened to me using "trace" in certain frames. It's like Flash gets confused or something.
-
Amiga freak
So THAT'S what it was... Happened to me too yesterday.
-
Script kiddie
I've had this before, and I've had many problems with Commando 3 where I get inexplicable bugs caused by unrelated pieces of code - I changed part of the code for ambulance healings and the onEnterFrame disappeared whenever Light Infantry fired at you. And when I added a new Command, about 8 Ion Beams would appear whenever a Light Infantry fired... Most of my inexplicable bugs end up being something to do with Light Infantry, but the fixes have nothing to do with them.
-
Senior Member
Sometimes, I find some weird things will happen if you first make your clip a button or a graphic and then change it to movieclip on the stage. You need to also make it the correct behaviour in the library and drag it out onto the stage again to correct it.
-
Yea, "converting" symbols (like from a graphic to a MC) rarely works for me. I usually have to cut the contents out and paste them into a new symbol.
-
Senior Member
Yes, this happens to me heeps. I have found that it only happens every so oftern, a couple of times i have saved the FLA with the *mysteriouse bug* and then come back the next day and it works fine.
Im guessing its just one of those things
PS, While i used MX i didnt encounter any such things but i have while useing F8
92.7 Fresh FM for all your South Aussies - Doof Doof music FTW people!
-
Heli Attack!
If you run the debugger, Flash creates some temporary files, these for some terrible reason get imported when exporting!!! Make sure you delete everything but the .fla/.swf and then give it a shot.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|