Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Showing Errors

Status
Not open for further replies.

ToddWW

Programmer
Mar 25, 2001
1,073
US
I'm using Flash 8 and Actionscript 2 and I am fairly new to this programming. What I did notice, on my system, is the lack of errors. For example, if I try to apply a method to an object that doesn't exist, I don't get an error. It just ignores the line of code. But I do get syntax errors if the code is written incorrectly.

For example.
Code:
_root.mcBigMovieClip.mcSmallMovieClip.attachMovie("someSymbol","someNewName",numIndex);
If mcBigMovieClip doesn't exist, shouldn't that display an error ?

ToddWW
 
That's one of the places where Flash is less powerful than, say, Director - Director will spits error if an object does not exist but Flash silently fails. You just need to learn debug yourself with "trace()" and debugger etc.

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top