RE: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript

2008-07-28 Thread Zoltan Csibi
Hi Joe,

In my case I was generating a swc too (using it from AIR) and deleting the
swc file manually fixed this issue (however anytime the swc file is there
flash comes up again with this error message)


Zoli
www.fluorinefx.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe Cutting
Sent: Wednesday, July 23, 2008 6:12 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] You cannot debug this SWF because it does not contain
any Actionscript

I've suddenly started having a very serious problem with a large project I'm
working on in Flash CS3 (Flash 9- AS3)

When I go to test movie the project compiles ok but ignores all the
Actionscript in the file When I try debug it comes up with You cannot debug
this SWF because it does not contain Actionscript

I've tried:
- saving and compacting
- Deleting the ASO files
- Copying everything to a new fla
- Unchecking the Reduce file size and increase performance box

The only thing I've found is that if I copy only a few library items to a
new file that file doesn't have the problem - but it doesn't seem
particularly consistent. If I add items until the problem occurs it doesn't
always go away when I remove them.

I'm also getting occasional 5003: Unknown error generating byte code
cropping up

I've noticed that several other people have been having this problem:
http://www.actionscript.org/forums/showthread.php3?t=161118

As I said the project is large, but not enormous - the fla is about 3.5MB
and the swf ends up around 270k.
Are there any known limits to Actionscript code, classes or packages that I
should be aware off.

Any suggestions would be great because I'm tearing my hair out. The only
thing I've seen that I haven't tried is switching to Flex which really isn't
ideal at this stage in the project.

Cheers

Joe





Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.5.4/1566 - Release Date: 7/22/2008
6:00 AM

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


Re: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript

2008-07-24 Thread allandt bik-elliott (thefieldcomic.com)
if you put any code on the timeline and then make that layer a guide, it can
also happen

not that it's ever happened to me erm... was a mate of mine, yeh that's
it



On Thu, Jul 24, 2008 at 4:09 AM, Steven Sacks [EMAIL PROTECTED]
wrote:

 Helmut Granda wrote:
  The question now is, how do files in the library can become so corrupted?
  This would help to avoid it I hope.

 Because Flash, like a lot of software, ain't perfect.

 There's no reliable way to make an image get corrupted.  Sometimes, the
 corruption is simple, like it says Image Cannot Be Displayed in the
 library preview, and it won't show up on stage.  Sometimes, it gets much
 worse.

 The solution is (often) fairly simple.  You have to save the image out
 again with a different name, because if you try to copy the same image and
 rename it, Flash will still get corrupted.

 Sometimes, it won't like it right away.  Sometimes, it won't like it until
 you Save and Compact.  Sometimes, it will work fine until you do a random
 amount of work in the file at which point it will stop working.  Sometimes,
 it will still show up in the library preview and the stage but it will cause
 the Flash file to have problems when compiling or opening on other
 computers.

 In other words, Flash ain't perfect (CS3 is the best example of that, while
 Flash 8 is the closest it's ever been - in one version they went from best
 to worst).

 There's no solution and don't expect a fix because this issue has been
 around since at least Flash 5 and they've never fixed it.  I don't even
 think they know what it is or why it happens, and it happens so
 infrequently, they simply don't talk about it.  The effort to figure it out
 might not make sense economically.

 ___
 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] You cannot debug this SWF because it does not contain any Actionscript

2008-07-24 Thread Joe Cutting


What you've got here is the case of a corrupted library item.  It happens
sometimes and there's only one thing you can do about it.

What we had to (and you have to) do is go through your library symbols one by
one, deleting each one until you find the sucker, and then replacing 
it if need

be.

Thank you for this. It's good to know that I'm not the only one who's 
had this. I also gives me
some way of looking for the problem. Currently my library has 297 
items and removing them isn't straightforward because they're 
referenced in the code so it creates knock on errors. So it may all 
take some time.


Presumably this type of thing will get better with flash CS4 as 
.fla files will become an open XML based format and we'll be able 
to write out our own validators/checkers.


Cheers

Joe




Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript

2008-07-24 Thread Helmut Granda
If I was in your case (and as you commented the debugger is the one that
prompts you for the error) I would delete the library items in chucks of say
50 or even 100, then debug, if he debugger doesn't say that it cant compile
the movie because you dont have AS in it, then you move to the next set. and
so forth.
That will allow you to find your asset quite faster rather than going one by
one and finding out that your problem is in asset #294..


On Thu, Jul 24, 2008 at 11:51 AM, Joe Cutting [EMAIL PROTECTED] wrote:

 
 What you've got here is the case of a corrupted library item.  It happens
 sometimes and there's only one thing you can do about it.

 What we had to (and you have to) do is go through your library symbols one
 by
 one, deleting each one until you find the sucker, and then replacing it if
 need
 be.
 
 Thank you for this. It's good to know that I'm not the only one who's had
 this. I also gives me
 some way of looking for the problem. Currently my library has 297 items and
 removing them isn't straightforward because they're referenced in the code
 so it creates knock on errors. So it may all take some time.

 Presumably this type of thing will get better with flash CS4 as .fla
 files will become an open XML based format and we'll be able to write out
 our own validators/checkers.

 Cheers

 Joe




 Joe Cutting
 Computer exhibits and installations
 www.joecutting.com
 35 Hospital Fields Road, York, YO10 4DZ
 01904 624681
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




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


Re: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript

2008-07-24 Thread Steven Sacks

Yeah, what you should do is the 50 percent recursive deletion.

Delete half the items and test.  Then delete half of the half that has the bad 
library item in it and test.  Repeat until you hone in on it.

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


[Flashcoders] You cannot debug this SWF because it does not contain any Actionscript

2008-07-23 Thread Joe Cutting
I've suddenly started having a very serious problem with a large 
project I'm working on in Flash CS3 (Flash 9- AS3)


When I go to test movie the project compiles ok but ignores all the 
Actionscript in the file
When I try debug it comes up with You cannot debug this SWF because 
it does not contain Actionscript


I've tried:
- saving and compacting
- Deleting the ASO files
- Copying everything to a new fla
- Unchecking the Reduce file size and increase performance box

The only thing I've found is that if I copy only a few library items 
to a new file that file doesn't have the problem - but it
doesn't seem particularly consistent. If I add items until the 
problem occurs it doesn't always go away when I remove them.


I'm also getting occasional 5003: Unknown error generating byte 
code cropping up


I've noticed that several other people have been having this problem:
http://www.actionscript.org/forums/showthread.php3?t=161118

As I said the project is large, but not enormous - the fla is about 
3.5MB and the swf ends up around 270k.
Are there any known limits to Actionscript code, classes or packages 
that I should be aware off.


Any suggestions would be great because I'm tearing my hair out. The 
only thing I've seen that I haven't tried is switching to Flex

which really isn't ideal at this stage in the project.

Cheers

Joe





Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript

2008-07-23 Thread Steven Sacks

Welcome to the seedy underbelly of Flash development.

What you've got here is the case of a corrupted library item.  It happens 
sometimes and there's only one thing you can do about it.


Not too long ago, my team inherited a Flash 8 file with a corrupted library item 
that was so terribly corrupted, the Flash 8 file would only open in Flash CS3 on 
an old G4 Mac running OSX Jaguar.  Yes, it was that specific (We assumed that 
the original file was probably built on that system spec).  It would not open in 
Windows Flash 8 or CS3, it would not open on any Mac Flash 8 or CS3 running a 
version of OSX higher than Jaguar.


What we had to (and you have to) do is go through your library symbols one by 
one, deleting each one until you find the sucker, and then replacing it if need 
be.  Thankfully, you can open your file directly.  We had to open the file in 
Flash CS3 (which is bloated and slow) on that slow old Mac with 256MB RAM, 
delete a symbol, save as a new Flash file, copy said file to the network drive, 
and try to open it from another computer, rinse repeat, until we found the 
graphic that was causing it.  It took us a few hours.


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


RE: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript

2008-07-23 Thread Patrick Matte | BLITZ
I've had that problem also when one item was missing from the library. This can 
happen when you use a class from an fla into another fla and that class is 
referencing a library item in the other fla but you forgot to copy that item in 
your new fla's library.


BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks
Sent: Wednesday, July 23, 2008 11:32 AM
To: Flash Coders List
Subject: Re: [Flashcoders] You cannot debug this SWF because it does not 
contain any Actionscript

Welcome to the seedy underbelly of Flash development.

What you've got here is the case of a corrupted library item.  It happens
sometimes and there's only one thing you can do about it.

Not too long ago, my team inherited a Flash 8 file with a corrupted library item
that was so terribly corrupted, the Flash 8 file would only open in Flash CS3 on
an old G4 Mac running OSX Jaguar.  Yes, it was that specific (We assumed that
the original file was probably built on that system spec).  It would not open in
Windows Flash 8 or CS3, it would not open on any Mac Flash 8 or CS3 running a
version of OSX higher than Jaguar.

What we had to (and you have to) do is go through your library symbols one by
one, deleting each one until you find the sucker, and then replacing it if need
be.  Thankfully, you can open your file directly.  We had to open the file in
Flash CS3 (which is bloated and slow) on that slow old Mac with 256MB RAM,
delete a symbol, save as a new Flash file, copy said file to the network drive,
and try to open it from another computer, rinse repeat, until we found the
graphic that was causing it.  It took us a few hours.

Good luck!
___
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] You cannot debug this SWF because it does not contain any Actionscript

2008-07-23 Thread Helmut Granda
The question now is, how do files in the library can become so corrupted?
This would help to avoid it I hope.

On Wed, Jul 23, 2008 at 1:31 PM, Steven Sacks [EMAIL PROTECTED]
wrote:

 Welcome to the seedy underbelly of Flash development.

 What you've got here is the case of a corrupted library item.  It happens
 sometimes and there's only one thing you can do about it.

 Not too long ago, my team inherited a Flash 8 file with a corrupted library
 item that was so terribly corrupted, the Flash 8 file would only open in
 Flash CS3 on an old G4 Mac running OSX Jaguar.  Yes, it was that specific
 (We assumed that the original file was probably built on that system spec).
  It would not open in Windows Flash 8 or CS3, it would not open on any Mac
 Flash 8 or CS3 running a version of OSX higher than Jaguar.

 What we had to (and you have to) do is go through your library symbols one
 by one, deleting each one until you find the sucker, and then replacing it
 if need be.  Thankfully, you can open your file directly.  We had to open
 the file in Flash CS3 (which is bloated and slow) on that slow old Mac with
 256MB RAM, delete a symbol, save as a new Flash file, copy said file to the
 network drive, and try to open it from another computer, rinse repeat, until
 we found the graphic that was causing it.  It took us a few hours.

 Good luck!

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




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


Re: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript

2008-07-23 Thread Steven Sacks

Helmut Granda wrote:
 The question now is, how do files in the library can become so corrupted?
 This would help to avoid it I hope.

Because Flash, like a lot of software, ain't perfect.

There's no reliable way to make an image get corrupted.  Sometimes, the 
corruption is simple, like it says Image Cannot Be Displayed in the library 
preview, and it won't show up on stage.  Sometimes, it gets much worse.


The solution is (often) fairly simple.  You have to save the image out again 
with a different name, because if you try to copy the same image and rename it, 
Flash will still get corrupted.


Sometimes, it won't like it right away.  Sometimes, it won't like it until you 
Save and Compact.  Sometimes, it will work fine until you do a random amount of 
work in the file at which point it will stop working.  Sometimes, it will still 
show up in the library preview and the stage but it will cause the Flash file to 
have problems when compiling or opening on other computers.


In other words, Flash ain't perfect (CS3 is the best example of that, while 
Flash 8 is the closest it's ever been - in one version they went from best to 
worst).


There's no solution and don't expect a fix because this issue has been around 
since at least Flash 5 and they've never fixed it.  I don't even think they know 
what it is or why it happens, and it happens so infrequently, they simply don't 
talk about it.  The effort to figure it out might not make sense economically.

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