On the face of it this is a simple thing to solve, but it's driving me nuts.

I am trying to update an AS2 project for a client to AS3. The code naturally contains code all over the place, attached to buttons and on the timeline.

The problem for me is that there is a LOT of code disributed over loads of frames, inside movieclips and on the timeline.

I'm using Flash CS6. For the most part the compiler is helpful, but on this occasion finding the source of the problem is very hard, and by source I mean the actual source code where the error is, not just a solution.

Generally the error is along the lines of

*frame 1, line 1 **1086 syntax error expecting semicolon before leftbrace*

..repeated  LOADS of times.

If the problem really was on frame 1, line 1 of the main timeline, it would be great, but it's not. SOmetimes as I experiment with removing frames, etc, the frame number changes.

By temporarily removing frames from the main timeline, and making layers into guides, I can narrow the generation of the errors to specific symbols. Unfortunately it's slow to do this and there's loads of nested sympols and a lot of animation frames.

It's a nightmare.

Any ideas for finding where these are originating from without searching painfully through the source?

I should say that other errors are correctly identified and their location shown. No issues with those and now I only have these 1086 errors left.

I have taken the AS2 fla, copied all of the frames and layers into an AS3 project and the errors are there.

Paul
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to