Re: [Flashcoders] 1086 syntax error expecting semicolon before leftbrace

2014-09-13 Thread Paul A.
I managed to isolate a small part of the project and copied it to a new 
project - just to experiment.


Running as AS2 lost the problematic error completely.

Running again as AS3 saw it restored. Despite the compiler saying that 
it ignores actionscript attached to symbols, that seems to be the 
problem. Removing an on (release) handler in the AS2 code sees the error 
go away when building as an AS3 project.


Paul


On 12/09/2014 15:00, Paul A. wrote:

On 12/09/2014 14:30, Mike Duguid wrote:
Saving as .xfl might allow you to search (and possibly replace) 
through the
associated xml files more efficiently than working through a complex 
.fla

Good suggestion.

I've currently managed to extract all of the actionscript using the 
MovieExplorer, but gosh it's a needle in a haystack!


Thanks,

Paul


On 12 September 2014 12:10, Paul A. p...@ipauland.com wrote:


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


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



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



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


[Flashcoders] 1086 syntax error expecting semicolon before leftbrace

2014-09-12 Thread Paul A.

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


Re: [Flashcoders] 1086 syntax error expecting semicolon before leftbrace

2014-09-12 Thread Mike Duguid
Saving as .xfl might allow you to search (and possibly replace) through the
associated xml files more efficiently than working through a complex .fla

On 12 September 2014 12:10, Paul A. p...@ipauland.com wrote:

 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

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


Re: [Flashcoders] 1086 syntax error expecting semicolon before leftbrace

2014-09-12 Thread Paul A.

On 12/09/2014 14:30, Mike Duguid wrote:

Saving as .xfl might allow you to search (and possibly replace) through the
associated xml files more efficiently than working through a complex .fla

Good suggestion.

I've currently managed to extract all of the actionscript using the 
MovieExplorer, but gosh it's a needle in a haystack!


Thanks,

Paul


On 12 September 2014 12:10, Paul A. p...@ipauland.com wrote:


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


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



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