[Flashcoders] Flash wish: Omit comments on publish

2007-01-25 Thread Mick G

I've always wondered why there is no option to omit comments when publishing
a SWF. We all try comment our code as much as possible and at times it can
double (or more) the number of lines of code in an application.

This would especially make sense when using other people's classes or
extensions (which are normally highly commented for everyone to understand).

Am I wrong in thinking that comments are included in a SWF when it's
published?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash wish: Omit comments on publish

2007-01-25 Thread ben gomez farrell
Darn!  I usually catch my stupidity before I send out the email.  
Pretend I never said anything.

ben

Mick G wrote:
I've always wondered why there is no option to omit comments when 
publishing
a SWF. We all try comment our code as much as possible and at times it 
can

double (or more) the number of lines of code in an application.

This would especially make sense when using other people's classes or
extensions (which are normally highly commented for everyone to 
understand).


Am I wrong in thinking that comments are included in a SWF when it's
published?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash wish: Omit comments on publish

2007-01-25 Thread Hans Wichman

Hi,
I don't think the comments are included in the swf.

greetz
JC


On 1/25/07, ben gomez farrell [EMAIL PROTECTED] wrote:


U.I could be wrong, but doesn't omit trace actions in the
publish settings do this?
ben

Mick G wrote:
 I've always wondered why there is no option to omit comments when
 publishing
 a SWF. We all try comment our code as much as possible and at times it
 can
 double (or more) the number of lines of code in an application.

 This would especially make sense when using other people's classes or
 extensions (which are normally highly commented for everyone to
 understand).

 Am I wrong in thinking that comments are included in a SWF when it's
 published?
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash wish: Omit comments on publish

2007-01-25 Thread Martin Wood-Mitrovski

comments arent compiled. dont worry about it. :)

Mick G wrote:

Am I wrong in thinking that comments are included in a SWF when it's
published?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash wish: Omit comments on publish

2007-01-25 Thread Mick G

When you decompile a SWF, you can see the comments right?


On 1/25/07, Hans Wichman [EMAIL PROTECTED] wrote:


Hi,
I don't think the comments are included in the swf.

greetz
JC


On 1/25/07, ben gomez farrell [EMAIL PROTECTED] wrote:

 U.I could be wrong, but doesn't omit trace actions in the
 publish settings do this?
 ben

 Mick G wrote:
  I've always wondered why there is no option to omit comments when
  publishing
  a SWF. We all try comment our code as much as possible and at times it
  can
  double (or more) the number of lines of code in an application.
 
  This would especially make sense when using other people's classes or
  extensions (which are normally highly commented for everyone to
  understand).
 
  Am I wrong in thinking that comments are included in a SWF when it's
  published?
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash wish: Omit comments on publish

2007-01-25 Thread Mick G

OK - thanks for clarification, I must be going a little mad :)



On 1/25/07, Martin Wood-Mitrovski [EMAIL PROTECTED] wrote:


comments arent compiled. dont worry about it. :)

Mick G wrote:
 Am I wrong in thinking that comments are included in a SWF when it's
 published?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash wish: Omit comments on publish

2007-01-25 Thread Geoffrey Williams
 Am I wrong in thinking that comments are included in a SWF when it's
published?

Yes. Comments are not published in the SWF.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mick G
Sent: Thursday, January 25, 2007 2:15 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Flash wish: Omit comments on publish

I've always wondered why there is no option to omit comments when publishing
a SWF. We all try comment our code as much as possible and at times it can
double (or more) the number of lines of code in an application.

This would especially make sense when using other people's classes or
extensions (which are normally highly commented for everyone to understand).

Am I wrong in thinking that comments are included in a SWF when it's
published?




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash wish: Omit comments on publish

2007-01-25 Thread Steven Sacks | BLITZ
Comments are not compiled.  If you decompile a swf with commented code,
you will not see the comments.  If you have tons of comments in your
code, you may need to improve your coding practices and naming
conventions.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash wish: Omit comments on publish

2007-01-25 Thread Jim Cheng

Mick G wrote:
I've always wondered why there is no option to omit comments when 
publishing

a SWF. We all try comment our code as much as possible and at times it can
double (or more) the number of lines of code in an application.

This would especially make sense when using other people's classes or
extensions (which are normally highly commented for everyone to 
understand).


Am I wrong in thinking that comments are included in a SWF when it's
published?


Comments are not included in the output SWF bytecode.  You easily verify 
that this is indeed the case for yourself with a SWF decompiler or by 
examining the SWF file format specification (available free from Adobe 
with registration and agreement to the license terms).


Trace statements, on the other hand, are included by default, but can be 
omitted in your publish preferences.


Jim
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com