Login | Register

April 13th 2004 | Jens C Brynildsen

0 comments

 

Debugging sensation?

If your Flash movie calls a function that does not exist, you'll never know. That is both the grace and the pain of actionscripting, but what if you just made a small typo? Gregg Wygonik has found a solution!

Why can't Flash tell if something went wrong rather than just failing silently? Flash is very forgiving when it comes to coding Actionscript. AS2 has (strong) typing that will help you spot errors, but with AS1 you're left with what the debugger and trace-output can tell you.

Here's the news: now you can spot those annoying errors. Undefined functions and variables are now visible, thanks to the findings of Gregg Wygonik. To spot these things, you'll need to modify your setup a bit, but this could really be worth the time!

Update: Gregg is now working on a small app that will display the contents of the debug file Live while playing back a file. The tool is to be called AFTERTHOUGHT - Another Flash Tool, Explicitly Related To Hidden Or Undocumented "Genuinely Helpful Things"!

[ed: I'm just picking bugs from a big project using Greggs technique. This is just brilliant!]
Read the solution at Greggs blog

 

Get new stories first

Click to follow us on Twitter!

 

Comments

No comments for this page.

Submit a comment

Only registered members can comment. Click here to login or here to register