Re: [Flashcoders] @#$% New iPhone Developer Agreement Bans the Use of Adobe’s Flash-to-iPhone Compiler

2010-04-13 Thread John McCormack
The programs on my CDs were written in C++. They make fast, powerful, 
use of graphics but took a very long time to write.


The code in AS3 and C++ isn't that dissimilar. Learning the language 
isn't the problem.


Bringing assets to the screen is difficult in C++. AS3 enables me to do 
that much more easily.


I am always going to use C++ and use Visual Studio's powerful debugger 
for my most powerful hungry programs, but Adobe's AS3 is a great way to 
work.


John

Jon Bradley wrote:
Learn C, C++ or Objective-C. They are not that hard, you have much 
more control



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


Re: [Flashcoders] @#$% New iPhone Developer Agreemen t Bans the Use of Adobe’s Flash-to-iPhone Compiler

2010-04-13 Thread Carl Welch
After all this discussion, I've decided to suck it up and give these a read:

http://developer.apple.com/iphone/library/referencelibrary/GettingStarted/Learning_Objective-C_A_Primer/index.html#//apple_ref/doc/uid/TP40007594

http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html#//apple_ref/doc/uid/TP30001163

If you can't beat 'em, join 'em. Plus it may turn out to be pretty
fun/exciting. Except the part where you get rejected from the AppStore ;)

bottoms up!

Carl.

On Tue, Apr 13, 2010 at 1:22 AM, John McCormack j...@easypeasy.co.ukwrote:

 The programs on my CDs were written in C++. They make fast, powerful, use
 of graphics but took a very long time to write.

 The code in AS3 and C++ isn't that dissimilar. Learning the language isn't
 the problem.

 Bringing assets to the screen is difficult in C++. AS3 enables me to do
 that much more easily.

 I am always going to use C++ and use Visual Studio's powerful debugger for
 my most powerful hungry programs, but Adobe's AS3 is a great way to work.

 John


 Jon Bradley wrote:

 Learn C, C++ or Objective-C. They are not that hard, you have much more
 control



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




-- 
Carl Welch
http://www.carlwelch.com
805.403.4819
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] @#$% New iPhone Developer Agr eement Bans the Use of Adobe’s Flash-to-iPhon e Compiler

2010-04-13 Thread Karl DeSaulniers

Heh, yeah maybe we can invent a AS-C from learning it. lol

Karl


On Apr 13, 2010, at 3:44 AM, Carl Welch wrote:

After all this discussion, I've decided to suck it up and give these  
a read:


http://developer.apple.com/iphone/library/referencelibrary/ 
GettingStarted/Learning_Objective-C_A_Primer/index.html#//apple_ref/ 
doc/uid/TP40007594


http://developer.apple.com/iphone/library/documentation/Cocoa/ 
Conceptual/ObjectiveC/Introduction/introObjectiveC.html#//apple_ref/ 
doc/uid/TP30001163


If you can't beat 'em, join 'em. Plus it may turn out to be pretty
fun/exciting. Except the part where you get rejected from the  
AppStore ;)


bottoms up!

Carl.

On Tue, Apr 13, 2010 at 1:22 AM, John McCormack  
j...@easypeasy.co.ukwrote:


The programs on my CDs were written in C++. They make fast,  
powerful, use

of graphics but took a very long time to write.

The code in AS3 and C++ isn't that dissimilar. Learning the  
language isn't

the problem.

Bringing assets to the screen is difficult in C++. AS3 enables me  
to do

that much more easily.

I am always going to use C++ and use Visual Studio's powerful  
debugger for
my most powerful hungry programs, but Adobe's AS3 is a great way to  
work.


John


Jon Bradley wrote:

Learn C, C++ or Objective-C. They are not that hard, you have much  
more

control




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





--
Carl Welch
http://www.carlwelch.com
805.403.4819
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Re: [Flashcoders] @#$% New iPhone Developer Agreement Bans the Use of Adobe’s Flash-to-iPhone Compiler

2010-04-13 Thread Glen Pike

don't you mean iiAsc?

Like Ascii but with endianness...

Karl DeSaulniers wrote:

Heh, yeah maybe we can invent a AS-C from learning it. lol

Karl


On Apr 13, 2010, at 3:44 AM, Carl Welch wrote:

After all this discussion, I've decided to suck it up and give these a 
read:


http://developer.apple.com/iphone/library/referencelibrary/GettingStarted/Learning_Objective-C_A_Primer/index.html#//apple_ref/doc/uid/TP40007594 



http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html#//apple_ref/doc/uid/TP30001163 



If you can't beat 'em, join 'em. Plus it may turn out to be pretty
fun/exciting. Except the part where you get rejected from the AppStore ;)

bottoms up!

Carl.

On Tue, Apr 13, 2010 at 1:22 AM, John McCormack 
j...@easypeasy.co.ukwrote:


The programs on my CDs were written in C++. They make fast, powerful, 
use

of graphics but took a very long time to write.

The code in AS3 and C++ isn't that dissimilar. Learning the language 
isn't

the problem.

Bringing assets to the screen is difficult in C++. AS3 enables me to do
that much more easily.

I am always going to use C++ and use Visual Studio's powerful 
debugger for
my most powerful hungry programs, but Adobe's AS3 is a great way to 
work.


John


Jon Bradley wrote:


Learn C, C++ or Objective-C. They are not that hard, you have much more
control




___
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] @#$% New iPhone Developer Agr eement Bans the Use of Adobe’s Flash-to-iPhon e Compiler

2010-04-13 Thread Cedric Muller
After all this discussion, I've decided to suck it up and give  
these a read:


http://developer.apple.com/iphone/library/referencelibrary/ 
GettingStarted/Learning_Objective-C_A_Primer/index.html#//apple_ref/ 
doc/uid/TP40007594


http://developer.apple.com/iphone/library/documentation/Cocoa/ 
Conceptual/ObjectiveC/Introduction/introObjectiveC.html#//apple_ref/ 
doc/uid/TP30001163


If you can't beat 'em, join 'em. Plus it may turn out to be pretty
fun/exciting. Except the part where you get rejected from the  
AppStore ;)


bottoms up!




@implementation MyClass
- (id)initWithString:(NSString *)aName {
if (self = [super init]) {
name = [aName copy];
}
return self;
}

+ (MyClass *)createMyClassWithString: (NSString *)aName {
return [[[self alloc] initWithString:aName] autorelease];
}
@end


Wooohooo, now I see how much more control we could have by choosing  
Objective-C instead of AS, so so so much more control in the way  
things are written down. Can we ask for a premium in terms of  
pricing ? because the code is cleaner you know ... apple wise.


I have a serious example where one client needed an application: he  
did contact an approved iPhone application developper: the guy made a  
whole crap out of the project, making it unusable. That was laughable  
given he was some post thesis engineer and given the price he'd asked  
for developping this app. Then we contacted some 'smart' AS3  
developper, who made it to the iPhone in a clean and functionnal way.  
Amazing story isn't it ? My conclusion: I will never ever ask some  
iPhone engineer to develop something again except for lists, buttons  
and panes rotating :) Too expensive all in all, and there's a chance  
that quality will get low (if you want to do anything more than  
displaying lists and buttons + scrolling panes).


Hey, that's cool but still not rad. We should all learn assembler /  
machine based languages, and stop doing cosmetics with either C/C++/ 
ObjC etc ... these are all interpreters. And Assembler is not that hard.


The iOS forcing people to learn Objective C is  some dictatorial  
concept. I am glad some are going down this route, I am glad for them.


Cedric (Flashcoder huh?)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] fullScreenSourceRect scale factor

2010-04-13 Thread Ashim D'Silva
I'm using the fullScreenSourceRect parameter of the stage to make a
just the video from my app go full screen. Is there a way I can then
get the factor everything has been scaled so I can compensate the
controls so they remain the required pixel size?

Right now, they get scaled large and blurred, and I'd like to avoid this.

Cheers,

Ashim

The Random Lines
www.therandomlines.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] @#$% New iPhone Developer Agreement Bans the Use of Adobe¹s Flash-to-iPhone Compiler

2010-04-13 Thread John R. Sweeney Jr
;)

God does this bring back memories. (And NOT all good)Š :)


on 4/12/10 11:20 AM, kinda...@gmail.com at kinda...@gmail.com wrote:

 01010100 01101000 0111 01110100 0010 01101001 01110011 0010
 01110100 01101000 01100101 0010 01101001 01100100 01100101 0111
 00101110 00101110 00101110


John R. Sweeney Jr.
Interactive Multimedia Developer


OnDemand Interactive Inc
945 Washington Blvd.
Hoffman Estates, IL 60169
Office/Fax: 847.310.5959
Cellular: 847.651.4469
www.ondemandinteractive.com



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


[Flashcoders] List component transparentBackground?

2010-04-13 Thread Carl Welch
Is it possible to make the List Component's background color transparent.

I googled and found this but it doesn't appear to work:

list.setStyle(backgroundDisabledColor, false);
list.setStyle(borderStyle , none);

is there something else I need to do? or is it even possible.

thx.
-- 
Carl Welch
http://www.carlwelch.com
805.403.4819
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] ASDoc third party libraries

2010-04-13 Thread Merrill, Jason
Sorry, I didn't follow that at all.  AFAIK, ASDoc looks for any imports
in your classes and tries to compile those imported classes as well.


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Monday, April 12, 2010 11:24 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Maybe build a function that controls the class hierarchy
and in the classes you control, set a specific variable
that gets read with this function and makes sure that if the variable  
is not present,
to exclude that classes information in any calls from third party  
classes that don't have that variable in it.

Karl


On Apr 12, 2010, at 10:14 PM, Ktu wrote:

I'm assuming you've already googled it, and that your google foo is  
strong
because I did not search.

If there doesn't seem to be a way to do it there is the annoying way:
copy just the files you want ASDoc'ed into a different directory...

I've done it before for its simplicity, but not a great long term  
solution

Ktu

On Thu, Apr 8, 2010 at 10:30 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

 Those of you who use ASDoc I'm sure have come across this before.  
 If you
 use FlashDevelop and ASDoc - then even better as that is my setup.

 How do you handle running ASDoc on a Flash or Flex project where  
 you are
 also using other third party libraries?  If you run ASDoc on a project
 that uses a third party library like Greensock's TweenLite or
 Papervision3D, as I am, you can get all kinds of compiler errors  
 because
 it tries to include those in the documentation as well (since they are
 imported into your classes), and those are not necessarily set up for
 ASDoc.  I know in FlashDevelop, the Actionscript Documentation  
 Generator
 has a field for classes to exclude - but it would be impossible to  
 list
 out all those third party classes - is there a way to exclude an  
 entire
 package?

 Thanks,

 Jason Merrill

 Bank of  America  Global Learning
 Learning  Performance Solutions

 Join the Bank of America Flash Platform Community
 http://sharepoint.bankofamerica.com/sites/tlc/flash/ 
 default.aspx   and
 visit our Instructional Technology Design Blog
 http://sharepoint.bankofamerica.com/sites/SDTeam/itdblog/ 
 default.aspx
 (note: these are for Bank of America employees only)






 ___
 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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
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] ASDoc third party libraries

2010-04-13 Thread Merrill, Jason
I believe that won't work because 1) I already do that, and 2) ASDoc
tries to include any classes that import third party classes.  So you
would have to comment out all the third party related aspects of your
classes before compiling to ASDoc - more pain that it would be worth.
Thanks for the idea though!


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ktu
Sent: Monday, April 12, 2010 11:14 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

I'm assuming you've already googled it, and that your google foo is
strong
because I did not search.

If there doesn't seem to be a way to do it there is the annoying way:
copy just the files you want ASDoc'ed into a different directory...

I've done it before for its simplicity, but not a great long term
solution

Ktu.
On Thu, Apr 8, 2010 at 10:30 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

 Those of you who use ASDoc I'm sure have come across this before. If
you
 use FlashDevelop and ASDoc - then even better as that is my setup.

 How do you handle running ASDoc on a Flash or Flex project where you
are
 also using other third party libraries?  If you run ASDoc on a project
 that uses a third party library like Greensock's TweenLite or
 Papervision3D, as I am, you can get all kinds of compiler errors
because
 it tries to include those in the documentation as well (since they are
 imported into your classes), and those are not necessarily set up for
 ASDoc.  I know in FlashDevelop, the Actionscript Documentation
Generator
 has a field for classes to exclude - but it would be impossible to
list
 out all those third party classes - is there a way to exclude an
entire
 package?

 Thanks,

 Jason Merrill

 Bank of  America  Global Learning
 Learning  Performance Solutions

 Join the Bank of America Flash Platform Community
 http://sharepoint.bankofamerica.com/sites/tlc/flash/default.aspx
and
 visit our Instructional Technology Design Blog

http://sharepoint.bankofamerica.com/sites/SDTeam/itdblog/default.aspx
 (note: these are for Bank of America employees only)






 ___
 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


Re: [Flashcoders] ASDoc third party libraries

2010-04-13 Thread co...@moock.org
if your library is a .swc file, you should be able to just include it in 
the -library-path without it being documented, like this:


-source-path ${build.working_root}/src
-library-path+=${build.working_root}/libs

in the case of source-based libraries, you could compile a .swc and link 
to that in your code instead, then use the library-path for your docs. 
(you also could ask the library developer to offer a .swc...seems like a 
good thing to do.)


lower-level -doc-sources entries might do the trick too. e.g.,

-doc-sources /src/com/yourpackageA/ /src/com/yourpackageB/

instead of:

-doc-sources /src/

another option might be to explicitly list all your own classes in the 
doc-classes, then set -exclude-dependencies to true.


i don't believe there's a way to exclude a package from docs.

sadly, asdoc is pretty primitive. i have a laundry list of feature 
requests that i'll post here when i've entered bugs so people can help 
vote them up.


colin

Merrill, Jason wrote:

Those of you who use ASDoc I'm sure have come across this before. If you
use FlashDevelop and ASDoc - then even better as that is my setup.

How do you handle running ASDoc on a Flash or Flex project where you are
also using other third party libraries?  If you run ASDoc on a project
that uses a third party library like Greensock's TweenLite or
Papervision3D, as I am, you can get all kinds of compiler errors because
it tries to include those in the documentation as well (since they are
imported into your classes), and those are not necessarily set up for
ASDoc.  I know in FlashDevelop, the Actionscript Documentation Generator
has a field for classes to exclude - but it would be impossible to list
out all those third party classes - is there a way to exclude an entire
package?

Thanks,

Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions


Join the Bank of America Flash Platform Community
http://sharepoint.bankofamerica.com/sites/tlc/flash/default.aspx   and
visit our Instructional Technology Design Blog
http://sharepoint.bankofamerica.com/sites/SDTeam/itdblog/default.aspx 
(note: these are for Bank of America employees only)







___
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] Re:drawrect: get the linestyle drawing inside

2010-04-13 Thread Latcho



Hi Ktu,
Thanks for your supportive emails.
I'm not a newbie but I thought I might have missed something on the API 
that wasn't apparent in the as3 docs.

It sucks to have it confirmed it isn't supported :)
The thing is I want to stay as close to the original api as possible 
preferably without wrappers (we're not only talking about rects but also 
curved shapes are possible you see...). Though I'd be happy to see what 
you're take on it looks like :)

Thanks,
Latcho


On 13-04-10 16:59, Ktu wrote:
From my experience, there is no API support for it. It sucks I know. 
I deal with this problem all the time.


For transparency, the beginFill(color:uint, alpha:Number); you can 
specify alpha. With the system I have shown you, the stroke would be 
transparent over top of the original color, so a red square with a 
semi transparent blue border would produce purple as your border.


If you want the stroke to be unaffected by the inside square it 
wouldn't be that hard to write a class to handle that. In fact, I use 
this so often I think I will do that.


I should be able to finish by Thursday at the latest and I'll share 
when I'm done. If you are eager for it, the idea would be to have 
build an object, that you would specify dimensions for, and fill color 
and alpha, and also the border fill and alpha, then when it draws the 
rectangle, it incorporates the stroke width into consideration so that 
there are no graphics behind it.


Ktu

On Tue, Apr 13, 2010 at 7:50 AM, spank man spamtha...@gmail.com 
mailto:spamtha...@gmail.com wrote:


nice and simple sollution,
but not so fine if you want the inner to be semi-transparent
Other ideas ? So no API support on this ?


On Tue, Apr 13, 2010 at 4:11 AM, Ktu
ktu_fl...@cataclysmicrewind.com
mailto:ktu_fl...@cataclysmicrewind.com wrote:

When I want inside borders I do this:


var spr:Sprite = new Sprite();
addChild(spr);
var g:Graphics = spr.graphics;
g.beginFill(0xFF45A3);

g.drawRect(0, 0, 100, 100);
g.endFill();
drawInsideStroke(g, 0, 0, 100, 100, 1, 0x32010B);

function drawInsideStroke(graphics:Graphics, x:int, y:int,
width:int, height:int, thickness:int = 1, color:uint = 0x00) {
graphics.endFill(); // for good measure, but maybe not?
graphics.beginFill(color);
graphics.drawRect(x, y, width, height);
graphics.drawRect( x + thickness, y + thickness, width -
(thickness * 2), height - (thickness * 2) );
graphics.endFill();

}
trace(spr.width,spr.height);  // - 110 110
trace(spr.getBounds(this)) // - (x=-5, y=-5, w=110, h=110)


On Mon, Apr 12, 2010 at 7:14 PM, Latcho spamtha...@gmail.com
mailto:spamtha...@gmail.com wrote:

Hello,
Something i still can't solve is that when drawing for
example a rect in a Shape graphics object with a fat
lineStyle, the line drawn is always half it's thicknes in
the inner part of the rect and half outside; This always
gives me headaches  when aligning, measuring,  skinning or
bitmapping stuff since half the line is in the negative x
/ y coordinate space of the shape..
I know that I can use the getBounds method to get me the
accurate  negative x and y offset of the (line) graphics,
but what I really want is to have the line beign drawn
totally within the rect. Is that possible by the default
graphics api ? Then please expand on my example.

Thanks.
Latcho.


var spr:Sprite = new Sprite();
addChild(spr);
var g:Graphics = spr.graphics;
g.lineStyle(10,0xff);
g.beginFill(0xff);
g.drawRect(0,0,100,100);
g.endFill();
trace(spr.width,spr.height);  // - 110 110
trace(spr.getBounds(this)) // - (x=-5, y=-5, w=110, h=110)

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
mailto: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] NetStream onMetaData does not get called

2010-04-13 Thread kennethkawam...@gmail.com
Hi Flash Coders,

I have this issue: NetStream onMetaData does not get triggered. Using
Red5. onPlayStatus does get called correctly without fail though.

Basically I need to know the duration of the video.

Has anyone ever experienced the same or have any ideas what is going on...?
-- 
Kenneth Kawamoto
http://www.materiaprima.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] ASDoc third party libraries

2010-04-13 Thread Merrill, Jason
Thanks Colin, 

My library is not a .swc  - it's a work-in-progress and other coders
contribute to it, though I suppose I could try and compile as .swc and
try that.  The third party classes are things like Papervision and
TweenLite - they aren't going to offer me up a .swc most likely :)  I
don't think they exist for those.  The problem would remain for the main
library .swc though with the third party libraries being imported into
some of those classes thought, right?

another option might be to explicitly list all your own classes in the

doc-classes, then set -exclude-dependencies to true.

I have tried various forms of adding -exclude-dependencies in
FlashDevelop's Actionscript Documentation Generator, but keep getting
this error:

Error: exclude-dependencies can not be used with doc-sources.

And honestly, I'm not even sure how to use that flag correctly (if
that's even the right flag at all).  I tried adding a class name right
after it but it couldn't find the class.  Searching online for an hour
has done no good.  The documentation really stinks for ASDoc and so does
the help system you can call with a -help flag.  But listing out all 50
or so classes - yeech!  :) 

I'll try some of your examples out and report back - thanks so much for
your reply.

Anyone know of any documentation generators that play better with AS
libraries (and ideally, though not necessarily, work with FlashDevelop)?
I've had the AS3 adapter for ZenDocs and NaturalDocs suggested to me
from someone on Flexcoders but haven't had time to try those out yet.



Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of
co...@moock.org
Sent: Tuesday, April 13, 2010 11:29 AM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

if your library is a .swc file, you should be able to just include it in

the -library-path without it being documented, like this:

-source-path ${build.working_root}/src
-library-path+=${build.working_root}/libs

in the case of source-based libraries, you could compile a .swc and link

to that in your code instead, then use the library-path for your docs. 
(you also could ask the library developer to offer a .swc...seems like a

good thing to do.)

lower-level -doc-sources entries might do the trick too. e.g.,

-doc-sources /src/com/yourpackageA/ /src/com/yourpackageB/

instead of:

-doc-sources /src/

another option might be to explicitly list all your own classes in the 
doc-classes, then set -exclude-dependencies to true.

i don't believe there's a way to exclude a package from docs.

sadly, asdoc is pretty primitive. i have a laundry list of feature 
requests that i'll post here when i've entered bugs so people can help 
vote them up.

colin

Merrill, Jason wrote:
 Those of you who use ASDoc I'm sure have come across this before. If
you
 use FlashDevelop and ASDoc - then even better as that is my setup.
 
 How do you handle running ASDoc on a Flash or Flex project where you
are
 also using other third party libraries?  If you run ASDoc on a project
 that uses a third party library like Greensock's TweenLite or
 Papervision3D, as I am, you can get all kinds of compiler errors
because
 it tries to include those in the documentation as well (since they are
 imported into your classes), and those are not necessarily set up for
 ASDoc.  I know in FlashDevelop, the Actionscript Documentation
Generator
 has a field for classes to exclude - but it would be impossible to
list
 out all those third party classes - is there a way to exclude an
entire
 package?
 
 Thanks,
 
 Jason Merrill 
 
 Bank of  America  Global Learning 
 Learning  Performance Solutions
 
 Join the Bank of America Flash Platform Community
 http://sharepoint.bankofamerica.com/sites/tlc/flash/default.aspx
and
 visit our Instructional Technology Design Blog

http://sharepoint.bankofamerica.com/sites/SDTeam/itdblog/default.aspx 
 (note: these are for Bank of America employees only)
 
 
 
 
 
 
 ___
 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


Re: [Flashcoders] List component transparentBackground?

2010-04-13 Thread kennethkawam...@gmail.com
If you are using Flash IDE, at least you can do this manually. To see
the effect go to Library  Component Assets  ListSkins  List_Skin
and CellRendererSkins  CellRenderer upSkin then change the background
fill alpha to 0.
-- 
Kenneth Kawamoto
http://www.materiaprima.co.uk/

On 13 April 2010 16:21, Carl Welch carlwelchdes...@gmail.com wrote:
 Is it possible to make the List Component's background color transparent.

 I googled and found this but it doesn't appear to work:

 list.setStyle(backgroundDisabledColor, false);
 list.setStyle(borderStyle , none);

 is there something else I need to do? or is it even possible.

 thx.
 --
 Carl Welch
 http://www.carlwelch.com
 805.403.4819
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re:drawrect: get the linestyle drawing inside

2010-04-13 Thread Ktu
atm the best thing I can come up with is an object that can recreate the
draw methods, assuming that you want a stroke on it. If I am just going to
stick with drawRect, drawRoundRect, and drawRoundRectComplex I can do that.
Looking into 'drawing' an inner stroke when using lineTo curveTo etc and
other draw commands will take a bit more work and time.

I kind of feel like it might end up being InnerStroke extends Shape, and
creating public methods that are 'override's of the graphics drawing api.
Just thoughts out loud.

Ktu

On Tue, Apr 13, 2010 at 12:09 PM, Latcho spamtha...@gmail.com wrote:



 Hi Ktu,
 Thanks for your supportive emails.
 I'm not a newbie but I thought I might have missed something on the API
 that wasn't apparent in the as3 docs.

 It sucks to have it confirmed it isn't supported :)
 The thing is I want to stay as close to the original api as possible
 preferably without wrappers (we're not only talking about rects but also
 curved shapes are possible you see...). Though I'd be happy to see what
 you're take on it looks like :)

 Thanks,
 Latcho


 On 13-04-10 16:59, Ktu wrote:

 From my experience, there is no API support for it. It sucks I know. I
 deal with this problem all the time.

 For transparency, the beginFill(color:uint, alpha:Number); you can specify
 alpha. With the system I have shown you, the stroke would be transparent
 over top of the original color, so a red square with a semi transparent blue
 border would produce purple as your border.

 If you want the stroke to be unaffected by the inside square it wouldn't
 be that hard to write a class to handle that. In fact, I use this so often I
 think I will do that.

 I should be able to finish by Thursday at the latest and I'll share when
 I'm done. If you are eager for it, the idea would be to have build an
 object, that you would specify dimensions for, and fill color and alpha, and
 also the border fill and alpha, then when it draws the rectangle, it
 incorporates the stroke width into consideration so that there are no
 graphics behind it.

 Ktu

 On Tue, Apr 13, 2010 at 7:50 AM, spank man spamtha...@gmail.com mailto:
 spamtha...@gmail.com wrote:

nice and simple sollution,
but not so fine if you want the inner to be semi-transparent
Other ideas ? So no API support on this ?


On Tue, Apr 13, 2010 at 4:11 AM, Ktu
ktu_fl...@cataclysmicrewind.com
mailto:ktu_fl...@cataclysmicrewind.com wrote:

When I want inside borders I do this:


var spr:Sprite = new Sprite();
addChild(spr);
var g:Graphics = spr.graphics;
g.beginFill(0xFF45A3);

g.drawRect(0, 0, 100, 100);
g.endFill();
drawInsideStroke(g, 0, 0, 100, 100, 1, 0x32010B);

function drawInsideStroke(graphics:Graphics, x:int, y:int,
width:int, height:int, thickness:int = 1, color:uint = 0x00) {
graphics.endFill(); // for good measure, but maybe not?
graphics.beginFill(color);
graphics.drawRect(x, y, width, height);
graphics.drawRect( x + thickness, y + thickness, width -
(thickness * 2), height - (thickness * 2) );
graphics.endFill();

}
trace(spr.width,spr.height);  // - 110 110
trace(spr.getBounds(this)) // - (x=-5, y=-5, w=110, h=110)


On Mon, Apr 12, 2010 at 7:14 PM, Latcho spamtha...@gmail.com
mailto:spamtha...@gmail.com wrote:

Hello,
Something i still can't solve is that when drawing for
example a rect in a Shape graphics object with a fat
lineStyle, the line drawn is always half it's thicknes in
the inner part of the rect and half outside; This always
gives me headaches  when aligning, measuring,  skinning or
bitmapping stuff since half the line is in the negative x
/ y coordinate space of the shape..
I know that I can use the getBounds method to get me the
accurate  negative x and y offset of the (line) graphics,
but what I really want is to have the line beign drawn
totally within the rect. Is that possible by the default
graphics api ? Then please expand on my example.

Thanks.
Latcho.


var spr:Sprite = new Sprite();
addChild(spr);
var g:Graphics = spr.graphics;
g.lineStyle(10,0xff);
g.beginFill(0xff);
g.drawRect(0,0,100,100);
g.endFill();
trace(spr.width,spr.height);  // - 110 110
trace(spr.getBounds(this)) // - (x=-5, y=-5, w=110, h=110)

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
mailto:Flashcoders@chattyfig.figleaf.com

http://chattyfig.figleaf.com/mailman/listinfo/flashcoders






 ___

Re: [Flashcoders] Re:drawrect: get the linestyle drawing inside

2010-04-13 Thread Latcho

Thanks for thinking out loud :)
Can do that too if I need it. But if you ever write something generic 
I'd love to use / see it because I don't have the time for this now.
Personally I wouldn't extend directly on shape but create some static 
methods like
GraphicsInnerStroke.drawRect(myDispObj.graphics, linestyleObject, method 
arguments );


Cheers,
Latcho

atm the best thing I can come up with is an object that can recreate the 
draw methods, assuming that you want a stroke on it. If I am just going 
to stick with drawRect, drawRoundRect, and drawRoundRectComplex I can do 
that. Looking into 'drawing' an inner stroke when using lineTo curveTo 
etc and other draw commands will take a bit more work and time.


I kind of feel like it might end up being InnerStroke extends Shape, and 
creating public methods that are 'override's of the graphics drawing 
api. Just thoughts out loud.


Ktu

On Tue, Apr 13, 2010 at 12:09 PM, Latcho spamtha...@gmail.com 
mailto:spamtha...@gmail.com wrote:




   Hi Ktu,
   Thanks for your supportive emails.
   I'm not a newbie but I thought I might have missed something on the
   API that wasn't apparent in the as3 docs.

   It sucks to have it confirmed it isn't supported :)
   The thing is I want to stay as close to the original api as possible
   preferably without wrappers (we're not only talking about rects but
   also curved shapes are possible you see...). Though I'd be happy to
   see what you're take on it looks like :)

   Thanks,
   Latcho


   On 13-04-10 16:59, Ktu wrote:

From my experience, there is no API support for it. It sucks I
   know. I deal with this problem all the time.

   For transparency, the beginFill(color:uint, alpha:Number); you
   can specify alpha. With the system I have shown you, the stroke
   would be transparent over top of the original color, so a red
   square with a semi transparent blue border would produce purple
   as your border.

   If you want the stroke to be unaffected by the inside square it
   wouldn't be that hard to write a class to handle that. In fact,
   I use this so often I think I will do that.

   I should be able to finish by Thursday at the latest and I'll
   share when I'm done. If you are eager for it, the idea would be
   to have build an object, that you would specify dimensions for,
   and fill color and alpha, and also the border fill and alpha,
   then when it draws the rectangle, it incorporates the stroke
   width into consideration so that there are no graphics behind it.

   Ktu

   On Tue, Apr 13, 2010 at 7:50 AM, spank man spamtha...@gmail.com
   mailto:spamtha...@gmail.com mailto:spamtha...@gmail.com
   mailto:spamtha...@gmail.com wrote:

   nice and simple sollution,
   but not so fine if you want the inner to be semi-transparent
   Other ideas ? So no API support on this ?


   On Tue, Apr 13, 2010 at 4:11 AM, Ktu
   ktu_fl...@cataclysmicrewind.com
   mailto:ktu_fl...@cataclysmicrewind.com
   mailto:ktu_fl...@cataclysmicrewind.com
   mailto:ktu_fl...@cataclysmicrewind.com wrote:

   When I want inside borders I do this:


   var spr:Sprite = new Sprite();
   addChild(spr);
   var g:Graphics = spr.graphics;
   g.beginFill(0xFF45A3);

   g.drawRect(0, 0, 100, 100);
   g.endFill();
   drawInsideStroke(g, 0, 0, 100, 100, 1, 0x32010B);

   function drawInsideStroke(graphics:Graphics, x:int, y:int,
   width:int, height:int, thickness:int = 1, color:uint =
   0x00) {
   graphics.endFill(); // for good measure, but maybe not?
   graphics.beginFill(color);
   graphics.drawRect(x, y, width, height);
   graphics.drawRect( x + thickness, y + thickness, width -
   (thickness * 2), height - (thickness * 2) );
   graphics.endFill();

   }
   trace(spr.width,spr.height);  // - 110 110
   trace(spr.getBounds(this)) // - (x=-5, y=-5, w=110, h=110)


   On Mon, Apr 12, 2010 at 7:14 PM, Latcho
   spamtha...@gmail.com mailto:spamtha...@gmail.com
   mailto:spamtha...@gmail.com mailto:spamtha...@gmail.com wrote:

   Hello,
   Something i still can't solve is that when drawing for
   example a rect in a Shape graphics object with a fat
   lineStyle, the line drawn is always half it's
   thicknes in
   the inner part of the rect and half outside; This always
   gives me headaches  when aligning, measuring,
 skinning or
   bitmapping stuff since half the line is in the
   negative x
   / y coordinate space of the shape..
   I know that I can use the getBounds 

Re: [Flashcoders] Re:drawrect: get the linestyle drawing inside

2010-04-13 Thread Ktu
I think the static method would work if I were just doing rectangles, but
with lineTo, curveTo I think it needs to be an object.

A new thought that occurred to me: Have an object that will have a fill
sprite and a stroke sprite, separate from each other. Then if you call
lineStyle() with the inner:Boolean = true anytime you call a drawing command
it would draw a stroke in the stroke Sprite but offset all the values so the
stroke is inside. If you specify overlap:Boolean = false; then the object
would compensate so that the stroke does not overlap the fill.

It may work, but it would only really work if lineStyle pixelHinting = true,
and better still, if I forced all values to be int. There's no reason for it
not to be anyway.

Does that make sense?

Ktu

On Tue, Apr 13, 2010 at 2:40 PM, Latcho spamtha...@gmail.com wrote:

 Thanks for thinking out loud :)
 Can do that too if I need it. But if you ever write something generic I'd
 love to use / see it because I don't have the time for this now.
 Personally I wouldn't extend directly on shape but create some static
 methods like
 GraphicsInnerStroke.drawRect(myDispObj.graphics, linestyleObject, method
 arguments );

 Cheers,
 Latcho


 atm the best thing I can come up with is an object that can recreate the
 draw methods, assuming that you want a stroke on it. If I am just going to
 stick with drawRect, drawRoundRect, and drawRoundRectComplex I can do that.
 Looking into 'drawing' an inner stroke when using lineTo curveTo etc and
 other draw commands will take a bit more work and time.

 I kind of feel like it might end up being InnerStroke extends Shape, and
 creating public methods that are 'override's of the graphics drawing api.
 Just thoughts out loud.

 Ktu

 On Tue, Apr 13, 2010 at 12:09 PM, Latcho spamtha...@gmail.com mailto:
 spamtha...@gmail.com wrote:



   Hi Ktu,
   Thanks for your supportive emails.
   I'm not a newbie but I thought I might have missed something on the
   API that wasn't apparent in the as3 docs.

   It sucks to have it confirmed it isn't supported :)
   The thing is I want to stay as close to the original api as possible
   preferably without wrappers (we're not only talking about rects but
   also curved shapes are possible you see...). Though I'd be happy to
   see what you're take on it looks like :)

   Thanks,
   Latcho


   On 13-04-10 16:59, Ktu wrote:

From my experience, there is no API support for it. It sucks I
   know. I deal with this problem all the time.

   For transparency, the beginFill(color:uint, alpha:Number); you
   can specify alpha. With the system I have shown you, the stroke
   would be transparent over top of the original color, so a red
   square with a semi transparent blue border would produce purple
   as your border.

   If you want the stroke to be unaffected by the inside square it
   wouldn't be that hard to write a class to handle that. In fact,
   I use this so often I think I will do that.

   I should be able to finish by Thursday at the latest and I'll
   share when I'm done. If you are eager for it, the idea would be
   to have build an object, that you would specify dimensions for,
   and fill color and alpha, and also the border fill and alpha,
   then when it draws the rectangle, it incorporates the stroke
   width into consideration so that there are no graphics behind it.

   Ktu

   On Tue, Apr 13, 2010 at 7:50 AM, spank man spamtha...@gmail.com
   mailto:spamtha...@gmail.com mailto:spamtha...@gmail.com

   mailto:spamtha...@gmail.com wrote:

   nice and simple sollution,
   but not so fine if you want the inner to be semi-transparent
   Other ideas ? So no API support on this ?


   On Tue, Apr 13, 2010 at 4:11 AM, Ktu
   ktu_fl...@cataclysmicrewind.com
   mailto:ktu_fl...@cataclysmicrewind.com
   mailto:ktu_fl...@cataclysmicrewind.com
   mailto:ktu_fl...@cataclysmicrewind.com wrote:

   When I want inside borders I do this:


   var spr:Sprite = new Sprite();
   addChild(spr);
   var g:Graphics = spr.graphics;
   g.beginFill(0xFF45A3);

   g.drawRect(0, 0, 100, 100);
   g.endFill();
   drawInsideStroke(g, 0, 0, 100, 100, 1, 0x32010B);

   function drawInsideStroke(graphics:Graphics, x:int, y:int,
   width:int, height:int, thickness:int = 1, color:uint =
   0x00) {
   graphics.endFill(); // for good measure, but maybe not?
   graphics.beginFill(color);
   graphics.drawRect(x, y, width, height);
   graphics.drawRect( x + thickness, y + thickness, width -
   (thickness * 2), height - (thickness * 2) );
   graphics.endFill();

   }
   trace(spr.width,spr.height);  // - 110 110
   

Re: [Flashcoders] Full screen with AIR 1.5

2010-04-13 Thread John R. Sweeney Jr
Hi Karina,

I really sorry to bother you, but nothing I'm trying is working. Would you
by any chance have an example or a link I could look at to figure this one
out? I've been all over the Adobe site and nothing is working. I keep
getting the window around the app, not full screen.

I really would appreciate any help you could offer, because the deadline is
getting very close and the whole kiosk is ready except for the full screen
display. 

Thank you for anything you can do,
John



on 4/7/10 5:43 AM, Karina Steffens at kar...@neo-archaic.net wrote:

 I don't know about AIR, but this AS3 code works for exes, standalone swfs,
 and html-embedded:
 
 stage.displayState = StageDisplayState.FULL_SCREEN
 
 Btw, have you checked if stage is not a null? As3 requires that the object
 that calls the stage is a child of the stage. If you're calling it from
 anything that's not a movieclip/sprite that's already part of the stage's
 display list, it will fail.
 Workarounds: place your code in the Main class or movie clips placed on the
 stage in the IDE. Alternatively, use ADDDED_TO_STAGE listener on movie clips
 or get the reference from a stage child.
 
 Cheers,
 Karina


John R. Sweeney Jr.
Interactive Multimedia Developer


OnDemand Interactive Inc
945 Washington Blvd.
Hoffman Estates, IL 60169
Office/Fax: 847.310.5959
Cellular: 847.651.4469
www.ondemandinteractive.com


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


Re: [Flashcoders] ASDoc third party libraries

2010-04-13 Thread Karl DeSaulniers

Sorry, after I read my post I didn't follow it either. :P
Basically, I was thinking you could put a private function in your  
classes that tells if it is being included.
Within that function it checks the calling class to see if a private  
var is present (IE: the classes you control WILL have this var  
because you put it there.)

If the var is not present, exclude the class.

Probably not what you need at this point after reading your further  
posts, but wanted to explain myself.



Karl


On Apr 13, 2010, at 10:21 AM, Merrill, Jason wrote:

Sorry, I didn't follow that at all.  AFAIK, ASDoc looks for any imports
in your classes and tries to compile those imported classes as well.


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Monday, April 12, 2010 11:24 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Maybe build a function that controls the class hierarchy
and in the classes you control, set a specific variable
that gets read with this function and makes sure that if the variable
is not present,
to exclude that classes information in any calls from third party
classes that don't have that variable in it.

Karl


On Apr 12, 2010, at 10:14 PM, Ktu wrote:

I'm assuming you've already googled it, and that your google foo is
strong
because I did not search.

If there doesn't seem to be a way to do it there is the annoying way:
copy just the files you want ASDoc'ed into a different directory...

I've done it before for its simplicity, but not a great long term
solution

Ktu

On Thu, Apr 8, 2010 at 10:30 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:


Those of you who use ASDoc I'm sure have come across this before.
If you
use FlashDevelop and ASDoc - then even better as that is my setup.

How do you handle running ASDoc on a Flash or Flex project where
you are
also using other third party libraries?  If you run ASDoc on a project
that uses a third party library like Greensock's TweenLite or
Papervision3D, as I am, you can get all kinds of compiler errors
because
it tries to include those in the documentation as well (since they are
imported into your classes), and those are not necessarily set up for
ASDoc.  I know in FlashDevelop, the Actionscript Documentation
Generator
has a field for classes to exclude - but it would be impossible to
list
out all those third party classes - is there a way to exclude an
entire
package?

Thanks,

Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community
http://sharepoint.bankofamerica.com/sites/tlc/flash/
default.aspx   and
visit our Instructional Technology Design Blog
http://sharepoint.bankofamerica.com/sites/SDTeam/itdblog/
default.aspx
(note: these are for Bank of America employees only)






___
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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


RE: [Flashcoders] ASDoc third party libraries

2010-04-13 Thread Merrill, Jason
 If the var is not present, exclude the class.

How is that done with ASDoc?  I don't follow.  Have you used ASDoc? I
believe it looks at your import statements  - or at minimum, your
typecasting - you can't control what it looks for via Actionscript
logic. Is that what you're suggesting?  Or are you talking about some
ASDoc compiler directives?


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Tuesday, April 13, 2010 4:42 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Sorry, after I read my post I didn't follow it either. :P
Basically, I was thinking you could put a private function in your  
classes that tells if it is being included.
Within that function it checks the calling class to see if a private  
var is present (IE: the classes you control WILL have this var  
because you put it there.)
If the var is not present, exclude the class.

Probably not what you need at this point after reading your further  
posts, but wanted to explain myself.


Karl


On Apr 13, 2010, at 10:21 AM, Merrill, Jason wrote:

Sorry, I didn't follow that at all.  AFAIK, ASDoc looks for any imports
in your classes and tries to compile those imported classes as well.


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Monday, April 12, 2010 11:24 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Maybe build a function that controls the class hierarchy
and in the classes you control, set a specific variable
that gets read with this function and makes sure that if the variable
is not present,
to exclude that classes information in any calls from third party
classes that don't have that variable in it.

Karl


On Apr 12, 2010, at 10:14 PM, Ktu wrote:

I'm assuming you've already googled it, and that your google foo is
strong
because I did not search.

If there doesn't seem to be a way to do it there is the annoying way:
copy just the files you want ASDoc'ed into a different directory...

I've done it before for its simplicity, but not a great long term
solution

Ktu

On Thu, Apr 8, 2010 at 10:30 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

 Those of you who use ASDoc I'm sure have come across this before.
 If you
 use FlashDevelop and ASDoc - then even better as that is my setup.

 How do you handle running ASDoc on a Flash or Flex project where
 you are
 also using other third party libraries?  If you run ASDoc on a project
 that uses a third party library like Greensock's TweenLite or
 Papervision3D, as I am, you can get all kinds of compiler errors
 because
 it tries to include those in the documentation as well (since they are
 imported into your classes), and those are not necessarily set up for
 ASDoc.  I know in FlashDevelop, the Actionscript Documentation
 Generator
 has a field for classes to exclude - but it would be impossible to
 list
 out all those third party classes - is there a way to exclude an
 entire
 package?

 Thanks,

 Jason Merrill

 Bank of  America  Global Learning
 Learning  Performance Solutions

 Join the Bank of America Flash Platform Community
 http://sharepoint.bankofamerica.com/sites/tlc/flash/
 default.aspx   and
 visit our Instructional Technology Design Blog
 http://sharepoint.bankofamerica.com/sites/SDTeam/itdblog/
 default.aspx
 (note: these are for Bank of America employees only)






 ___
 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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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

Re: [Flashcoders] ASDoc third party libraries

2010-04-13 Thread Karl DeSaulniers
Well, I must admit it is a theory more so. Probably a better solution  
than that.


Is it possible that in your file that calls ASDoc, where it goes to  
actually call the ASDoc class,
having conditional statements add the includes to the other classes  
only if the ASDoc is finished loading?

Sort of putting the ASDoc in a pseudo cue?

That aside, I found this information on Excluding in ASDoc.



Excluding an inherited element
By default, the ASDoc tool copies information and a link for all  
ActionScript elements inherited by a subclass from a superclass. In  
some cases, a subclass may not support an inherited element. You can  
use the [Exclude] metadata tag to cause ASDoc to omit the inherited  
element from the list of inherited elements.


The [Exclude] metadata tag has the following syntax:

[Exclude(name=elementName, kind=property|method|event|style|effect)]

For example, to exclude documentation on the click event in the  
MyButton subclass of the Button class, insert the following [Exclude]  
metadata tag in the MyButton.as file:


[Exclude(name=click, kind=event)]



I found this at http://livedocs.adobe.com/flex/3/html/help.html? 
content=asdoc_3.html


HTH,

Karl

On Apr 13, 2010, at 3:45 PM, Merrill, Jason wrote:


If the var is not present, exclude the class.


How is that done with ASDoc?  I don't follow.  Have you used ASDoc? I
believe it looks at your import statements  - or at minimum, your
typecasting - you can't control what it looks for via Actionscript
logic. Is that what you're suggesting?  Or are you talking about some
ASDoc compiler directives?


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Tuesday, April 13, 2010 4:42 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Sorry, after I read my post I didn't follow it either. :P
Basically, I was thinking you could put a private function in your
classes that tells if it is being included.
Within that function it checks the calling class to see if a private
var is present (IE: the classes you control WILL have this var
because you put it there.)
If the var is not present, exclude the class.

Probably not what you need at this point after reading your further
posts, but wanted to explain myself.


Karl


On Apr 13, 2010, at 10:21 AM, Merrill, Jason wrote:

Sorry, I didn't follow that at all.  AFAIK, ASDoc looks for any imports
in your classes and tries to compile those imported classes as well.


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Monday, April 12, 2010 11:24 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Maybe build a function that controls the class hierarchy
and in the classes you control, set a specific variable
that gets read with this function and makes sure that if the variable
is not present,
to exclude that classes information in any calls from third party
classes that don't have that variable in it.

Karl


On Apr 12, 2010, at 10:14 PM, Ktu wrote:

I'm assuming you've already googled it, and that your google foo is
strong
because I did not search.

If there doesn't seem to be a way to do it there is the annoying way:
copy just the files you want ASDoc'ed into a different directory...

I've done it before for its simplicity, but not a great long term
solution

Ktu

On Thu, Apr 8, 2010 at 10:30 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:


Those of you who use ASDoc I'm sure have come across this before.
If you
use FlashDevelop and ASDoc - then even better as that is my setup.

How do you handle running ASDoc on a Flash or Flex project where
you are
also using other third party libraries?  If you run ASDoc on a project
that uses a third party library like Greensock's TweenLite or
Papervision3D, as I am, you can get all kinds of compiler errors
because
it tries to include those in the documentation as well (since they are
imported into your classes), and those are not necessarily set up for
ASDoc.  I know in FlashDevelop, the Actionscript Documentation
Generator
has a field for classes to exclude - but it would be impossible to
list
out all those third party classes - is there a way to exclude an
entire
package?

Thanks,

Jason Merrill

Bank of  

RE: [Flashcoders] ASDoc third party libraries

2010-04-13 Thread Merrill, Jason
My file that calls ASDoc class??  Can you explain?  ASDoc is a
documentation compiler that comes with the Flex SDK.  Not a class. 

Again, have you used ASDoc or are you just guessing?  I DO appreciate
the help, but I am thinking you know less about ASDoc than I do - no
offense. :) 


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Tuesday, April 13, 2010 5:05 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Well, I must admit it is a theory more so. Probably a better solution  
than that.

Is it possible that in your file that calls ASDoc, where it goes to  
actually call the ASDoc class,
having conditional statements add the includes to the other classes  
only if the ASDoc is finished loading?
Sort of putting the ASDoc in a pseudo cue?

That aside, I found this information on Excluding in ASDoc.



Excluding an inherited element
By default, the ASDoc tool copies information and a link for all  
ActionScript elements inherited by a subclass from a superclass. In  
some cases, a subclass may not support an inherited element. You can  
use the [Exclude] metadata tag to cause ASDoc to omit the inherited  
element from the list of inherited elements.

The [Exclude] metadata tag has the following syntax:

[Exclude(name=elementName, kind=property|method|event|style|effect)]

For example, to exclude documentation on the click event in the  
MyButton subclass of the Button class, insert the following [Exclude]  
metadata tag in the MyButton.as file:

[Exclude(name=click, kind=event)]



I found this at http://livedocs.adobe.com/flex/3/html/help.html? 
content=asdoc_3.html

HTH,

Karl

On Apr 13, 2010, at 3:45 PM, Merrill, Jason wrote:

 If the var is not present, exclude the class.

How is that done with ASDoc?  I don't follow.  Have you used ASDoc? I
believe it looks at your import statements  - or at minimum, your
typecasting - you can't control what it looks for via Actionscript
logic. Is that what you're suggesting?  Or are you talking about some
ASDoc compiler directives?


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Tuesday, April 13, 2010 4:42 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Sorry, after I read my post I didn't follow it either. :P
Basically, I was thinking you could put a private function in your
classes that tells if it is being included.
Within that function it checks the calling class to see if a private
var is present (IE: the classes you control WILL have this var
because you put it there.)
If the var is not present, exclude the class.

Probably not what you need at this point after reading your further
posts, but wanted to explain myself.


Karl


On Apr 13, 2010, at 10:21 AM, Merrill, Jason wrote:

Sorry, I didn't follow that at all.  AFAIK, ASDoc looks for any imports
in your classes and tries to compile those imported classes as well.


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Monday, April 12, 2010 11:24 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Maybe build a function that controls the class hierarchy
and in the classes you control, set a specific variable
that gets read with this function and makes sure that if the variable
is not present,
to exclude that classes information in any calls from third party
classes that don't have that variable in it.

Karl


On Apr 12, 2010, at 10:14 PM, Ktu wrote:

I'm assuming you've already googled it, and that your google foo is
strong
because I did not search.

If there doesn't seem to be a way to do it there is the annoying way:
copy just the files you want ASDoc'ed into a different directory...

I've done it before for its simplicity, but not a great long term
solution

Ktu

On Thu, Apr 8, 2010 at 10:30 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

 Those of you who use 

Re: [Flashcoders] ASDoc third party libraries

2010-04-13 Thread Karl DeSaulniers

With this line.

[Exclude(name=elementName, kind=property|method|event|style|effect)]

Can you set say to ?

[Exclude(NAME_OF_YOUR_CLASS, include=false)]

Or something along those lines?
Sorry if I am sending you to look for a needle in a hay stack.
:)


Karl


On Apr 13, 2010, at 4:04 PM, Karl DeSaulniers wrote:

Well, I must admit it is a theory more so. Probably a better solution  
than that.


Is it possible that in your file that calls ASDoc, where it goes to  
actually call the ASDoc class,
having conditional statements add the includes to the other classes  
only if the ASDoc is finished loading?

Sort of putting the ASDoc in a pseudo cue?

That aside, I found this information on Excluding in ASDoc.



Excluding an inherited element
By default, the ASDoc tool copies information and a link for all  
ActionScript elements inherited by a subclass from a superclass. In  
some cases, a subclass may not support an inherited element. You can  
use the [Exclude] metadata tag to cause ASDoc to omit the inherited  
element from the list of inherited elements.


The [Exclude] metadata tag has the following syntax:

[Exclude(name=elementName, kind=property|method|event|style|effect)]

For example, to exclude documentation on the click event in the  
MyButton subclass of the Button class, insert the following [Exclude]  
metadata tag in the MyButton.as file:


[Exclude(name=click, kind=event)]



I found this at http://livedocs.adobe.com/flex/3/html/help.html? 
content=asdoc_3.html


HTH,

Karl

On Apr 13, 2010, at 3:45 PM, Merrill, Jason wrote:


If the var is not present, exclude the class.


How is that done with ASDoc?  I don't follow.  Have you used ASDoc? I
believe it looks at your import statements  - or at minimum, your
typecasting - you can't control what it looks for via Actionscript
logic. Is that what you're suggesting?  Or are you talking about some
ASDoc compiler directives?


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Tuesday, April 13, 2010 4:42 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Sorry, after I read my post I didn't follow it either. :P
Basically, I was thinking you could put a private function in your
classes that tells if it is being included.
Within that function it checks the calling class to see if a private
var is present (IE: the classes you control WILL have this var
because you put it there.)
If the var is not present, exclude the class.

Probably not what you need at this point after reading your further
posts, but wanted to explain myself.


Karl


On Apr 13, 2010, at 10:21 AM, Merrill, Jason wrote:

Sorry, I didn't follow that at all.  AFAIK, ASDoc looks for any imports
in your classes and tries to compile those imported classes as well.


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Monday, April 12, 2010 11:24 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Maybe build a function that controls the class hierarchy
and in the classes you control, set a specific variable
that gets read with this function and makes sure that if the variable
is not present,
to exclude that classes information in any calls from third party
classes that don't have that variable in it.

Karl


On Apr 12, 2010, at 10:14 PM, Ktu wrote:

I'm assuming you've already googled it, and that your google foo is
strong
because I did not search.

If there doesn't seem to be a way to do it there is the annoying way:
copy just the files you want ASDoc'ed into a different directory...

I've done it before for its simplicity, but not a great long term
solution

Ktu

On Thu, Apr 8, 2010 at 10:30 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:


Those of you who use ASDoc I'm sure have come across this before.
If you
use FlashDevelop and ASDoc - then even better as that is my setup.

How do you handle running ASDoc on a Flash or Flex project where
you are
also using other third party libraries?  If you run ASDoc on a project
that uses a third party library like Greensock's TweenLite or
Papervision3D, as I am, you can get all kinds of compiler errors
because
it tries to include those in the documentation as well (since they are
imported 

RE: [Flashcoders] ASDoc third party libraries

2010-04-13 Thread Merrill, Jason
From what I've read, that tag is for properties AFAIK - not classes - so
just where would you put the directive to exclude the entire class?

Have you used ASDoc before?


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Tuesday, April 13, 2010 5:24 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

With this line.

[Exclude(name=elementName, kind=property|method|event|style|effect)]

Can you set say to ?

[Exclude(NAME_OF_YOUR_CLASS, include=false)]

Or something along those lines?
Sorry if I am sending you to look for a needle in a hay stack.
:)


Karl


On Apr 13, 2010, at 4:04 PM, Karl DeSaulniers wrote:

Well, I must admit it is a theory more so. Probably a better solution  
than that.

Is it possible that in your file that calls ASDoc, where it goes to  
actually call the ASDoc class,
having conditional statements add the includes to the other classes  
only if the ASDoc is finished loading?
Sort of putting the ASDoc in a pseudo cue?

That aside, I found this information on Excluding in ASDoc.



Excluding an inherited element
By default, the ASDoc tool copies information and a link for all  
ActionScript elements inherited by a subclass from a superclass. In  
some cases, a subclass may not support an inherited element. You can  
use the [Exclude] metadata tag to cause ASDoc to omit the inherited  
element from the list of inherited elements.

The [Exclude] metadata tag has the following syntax:

[Exclude(name=elementName, kind=property|method|event|style|effect)]

For example, to exclude documentation on the click event in the  
MyButton subclass of the Button class, insert the following [Exclude]  
metadata tag in the MyButton.as file:

[Exclude(name=click, kind=event)]



I found this at http://livedocs.adobe.com/flex/3/html/help.html? 
content=asdoc_3.html

HTH,

Karl

On Apr 13, 2010, at 3:45 PM, Merrill, Jason wrote:

 If the var is not present, exclude the class.

How is that done with ASDoc?  I don't follow.  Have you used ASDoc? I
believe it looks at your import statements  - or at minimum, your
typecasting - you can't control what it looks for via Actionscript
logic. Is that what you're suggesting?  Or are you talking about some
ASDoc compiler directives?


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Tuesday, April 13, 2010 4:42 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Sorry, after I read my post I didn't follow it either. :P
Basically, I was thinking you could put a private function in your
classes that tells if it is being included.
Within that function it checks the calling class to see if a private
var is present (IE: the classes you control WILL have this var
because you put it there.)
If the var is not present, exclude the class.

Probably not what you need at this point after reading your further
posts, but wanted to explain myself.


Karl


On Apr 13, 2010, at 10:21 AM, Merrill, Jason wrote:

Sorry, I didn't follow that at all.  AFAIK, ASDoc looks for any imports
in your classes and tries to compile those imported classes as well.


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Monday, April 12, 2010 11:24 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Maybe build a function that controls the class hierarchy
and in the classes you control, set a specific variable
that gets read with this function and makes sure that if the variable
is not present,
to exclude that classes information in any calls from third party
classes that don't have that variable in it.

Karl


On Apr 12, 2010, at 10:14 PM, Ktu wrote:

I'm assuming you've already googled it, and that your google foo is
strong
because I did not search.

If there doesn't seem to be a way to do it there is the annoying way:
copy just the files you want ASDoc'ed into a different 

RE: [Flashcoders] ASDoc third party libraries

2010-04-13 Thread Merrill, Jason
It also says the Exclude metadata tag is for inherited elements, not
imported class types.


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Tuesday, April 13, 2010 5:24 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

With this line.

[Exclude(name=elementName, kind=property|method|event|style|effect)]

Can you set say to ?

[Exclude(NAME_OF_YOUR_CLASS, include=false)]

Or something along those lines?
Sorry if I am sending you to look for a needle in a hay stack.
:)


Karl


On Apr 13, 2010, at 4:04 PM, Karl DeSaulniers wrote:

Well, I must admit it is a theory more so. Probably a better solution  
than that.

Is it possible that in your file that calls ASDoc, where it goes to  
actually call the ASDoc class,
having conditional statements add the includes to the other classes  
only if the ASDoc is finished loading?
Sort of putting the ASDoc in a pseudo cue?

That aside, I found this information on Excluding in ASDoc.



Excluding an inherited element
By default, the ASDoc tool copies information and a link for all  
ActionScript elements inherited by a subclass from a superclass. In  
some cases, a subclass may not support an inherited element. You can  
use the [Exclude] metadata tag to cause ASDoc to omit the inherited  
element from the list of inherited elements.

The [Exclude] metadata tag has the following syntax:

[Exclude(name=elementName, kind=property|method|event|style|effect)]

For example, to exclude documentation on the click event in the  
MyButton subclass of the Button class, insert the following [Exclude]  
metadata tag in the MyButton.as file:

[Exclude(name=click, kind=event)]



I found this at http://livedocs.adobe.com/flex/3/html/help.html? 
content=asdoc_3.html

HTH,

Karl

On Apr 13, 2010, at 3:45 PM, Merrill, Jason wrote:

 If the var is not present, exclude the class.

How is that done with ASDoc?  I don't follow.  Have you used ASDoc? I
believe it looks at your import statements  - or at minimum, your
typecasting - you can't control what it looks for via Actionscript
logic. Is that what you're suggesting?  Or are you talking about some
ASDoc compiler directives?


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Tuesday, April 13, 2010 4:42 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Sorry, after I read my post I didn't follow it either. :P
Basically, I was thinking you could put a private function in your
classes that tells if it is being included.
Within that function it checks the calling class to see if a private
var is present (IE: the classes you control WILL have this var
because you put it there.)
If the var is not present, exclude the class.

Probably not what you need at this point after reading your further
posts, but wanted to explain myself.


Karl


On Apr 13, 2010, at 10:21 AM, Merrill, Jason wrote:

Sorry, I didn't follow that at all.  AFAIK, ASDoc looks for any imports
in your classes and tries to compile those imported classes as well.


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Monday, April 12, 2010 11:24 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Maybe build a function that controls the class hierarchy
and in the classes you control, set a specific variable
that gets read with this function and makes sure that if the variable
is not present,
to exclude that classes information in any calls from third party
classes that don't have that variable in it.

Karl


On Apr 12, 2010, at 10:14 PM, Ktu wrote:

I'm assuming you've already googled it, and that your google foo is
strong
because I did not search.

If there doesn't seem to be a way to do it there is the annoying way:
copy just the files you want ASDoc'ed into a different directory...

I've done it before for its simplicity, but not a great long term

RE: [Flashcoders] Full screen with AIR 1.5

2010-04-13 Thread Karina Steffens
Hi John,

I don't really have any links that could help you, but here's a simplified
example from my code that might illustrate my point:

public function onFullScreen() {
var s:Stage = Main.instance.stage;
if (s.displayState != StageDisplayState.FULL_SCREEN){
s.displayState = StageDisplayState.FULL_SCREEN;
}
}


This method is in a Model class that has no connection to the stage, and
doesn't extend MovieClip or Sprite.  This means that I simply used
stage.displayState it would fail because stage would return null. So I'm
using a roundabout way of retrieving the stage instance from my Main class,
which is the Stage Owner (assigned to the stage in the Document properties
of the Flash IDE).

package {
public class Main extends MovieClip{
static public var instance:Main;

public function Main() {
instance = this;
}


All this is provided that the stage returning null is your problem in the
first place... Have you tried running a trace on the stage variable? A
simple trace(stage, stage) should tell you if this is your problem. If it
doesn't return a null, then your problem might be elsewhere. I'm not
familiar with AIR, so I couldn't help you there.

Karina 



 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-
 boun...@chattyfig.figleaf.com] On Behalf Of John R. Sweeney Jr
 Sent: 13 April 2010 8:44
 To: Flash Coders List
 Subject: Re: [Flashcoders] Full screen with AIR 1.5
 
 Hi Karina,
 
 I really sorry to bother you, but nothing I'm trying is working. Would
 you
 by any chance have an example or a link I could look at to figure this
 one
 out? I've been all over the Adobe site and nothing is working. I keep
 getting the window around the app, not full screen.
 
 I really would appreciate any help you could offer, because the
 deadline is
 getting very close and the whole kiosk is ready except for the full
 screen
 display.
 
 Thank you for anything you can do,
 John
 
 
 
 on 4/7/10 5:43 AM, Karina Steffens at kar...@neo-archaic.net wrote:
 
  I don't know about AIR, but this AS3 code works for exes, standalone
 swfs,
  and html-embedded:
 
  stage.displayState = StageDisplayState.FULL_SCREEN
 
  Btw, have you checked if stage is not a null? As3 requires that the
 object
  that calls the stage is a child of the stage. If you're calling it
 from
  anything that's not a movieclip/sprite that's already part of the
 stage's
  display list, it will fail.
  Workarounds: place your code in the Main class or movie clips placed
 on the
  stage in the IDE. Alternatively, use ADDDED_TO_STAGE listener on
 movie clips
  or get the reference from a stage child.
 
  Cheers,
  Karina
 
 
 John R. Sweeney Jr.
 Interactive Multimedia Developer
 
 
 OnDemand Interactive Inc
 945 Washington Blvd.
 Hoffman Estates, IL 60169
 Office/Fax: 847.310.5959
 Cellular: 847.651.4469
 www.ondemandinteractive.com
 
 
 ___
 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] ASDoc third party libraries

2010-04-13 Thread Karl DeSaulniers

None taken.

Karl


On Apr 13, 2010, at 4:23 PM, Merrill, Jason wrote:

My file that calls ASDoc class??  Can you explain?  ASDoc is a
documentation compiler that comes with the Flex SDK.  Not a class.

Again, have you used ASDoc or are you just guessing?  I DO appreciate
the help, but I am thinking you know less about ASDoc than I do - no
offense. :)


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Tuesday, April 13, 2010 5:05 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Well, I must admit it is a theory more so. Probably a better solution
than that.

Is it possible that in your file that calls ASDoc, where it goes to
actually call the ASDoc class,
having conditional statements add the includes to the other classes
only if the ASDoc is finished loading?
Sort of putting the ASDoc in a pseudo cue?

That aside, I found this information on Excluding in ASDoc.



Excluding an inherited element
By default, the ASDoc tool copies information and a link for all
ActionScript elements inherited by a subclass from a superclass. In
some cases, a subclass may not support an inherited element. You can
use the [Exclude] metadata tag to cause ASDoc to omit the inherited
element from the list of inherited elements.

The [Exclude] metadata tag has the following syntax:

[Exclude(name=elementName, kind=property|method|event|style|effect)]

For example, to exclude documentation on the click event in the
MyButton subclass of the Button class, insert the following [Exclude]
metadata tag in the MyButton.as file:

[Exclude(name=click, kind=event)]



I found this at http://livedocs.adobe.com/flex/3/html/help.html?
content=asdoc_3.html

HTH,

Karl

On Apr 13, 2010, at 3:45 PM, Merrill, Jason wrote:


If the var is not present, exclude the class.


How is that done with ASDoc?  I don't follow.  Have you used ASDoc? I
believe it looks at your import statements  - or at minimum, your
typecasting - you can't control what it looks for via Actionscript
logic. Is that what you're suggesting?  Or are you talking about some
ASDoc compiler directives?


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Tuesday, April 13, 2010 4:42 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Sorry, after I read my post I didn't follow it either. :P
Basically, I was thinking you could put a private function in your
classes that tells if it is being included.
Within that function it checks the calling class to see if a private
var is present (IE: the classes you control WILL have this var
because you put it there.)
If the var is not present, exclude the class.

Probably not what you need at this point after reading your further
posts, but wanted to explain myself.


Karl


On Apr 13, 2010, at 10:21 AM, Merrill, Jason wrote:

Sorry, I didn't follow that at all.  AFAIK, ASDoc looks for any imports
in your classes and tries to compile those imported classes as well.


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Monday, April 12, 2010 11:24 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Maybe build a function that controls the class hierarchy
and in the classes you control, set a specific variable
that gets read with this function and makes sure that if the variable
is not present,
to exclude that classes information in any calls from third party
classes that don't have that variable in it.

Karl


On Apr 12, 2010, at 10:14 PM, Ktu wrote:

I'm assuming you've already googled it, and that your google foo is
strong
because I did not search.

If there doesn't seem to be a way to do it there is the annoying way:
copy just the files you want ASDoc'ed into a different directory...

I've done it before for its simplicity, but not a great long term
solution

Ktu

On Thu, Apr 8, 2010 at 10:30 AM, Merrill, Jason 

Re: [Flashcoders] ASDoc third party libraries

2010-04-13 Thread Karl DeSaulniers

One last one, maybe to redeem myself, lol :)

/

Excluding classes
All of the classes specified by the doc-classes, doc-sources, and doc- 
namespaces options are documented, with the following exceptions:


If you specified the class by using the exclude-classes option, the  
class is not documented.
If the ASDoc comment for the class contains the @private tag, the  
class is not documented.

If the class is found in a SWC, the class is not documented.
In the following example, you generate output for all classes in the  
current directory and its subdirectories, except for the two classes  
comps\PageWidget and comps\ScreenWidget.as:


asdoc -source-path . -doc-sources . -exclude-classes comps.PageWidget  
comps.ScreenWidget


Note that the excluded classes are still compiled along with all of  
the other input classes; only their content in the output is suppressed.


If you set the exclude-dependencies option to true, dependent classes  
found when compiling classes are not documented. The default value is  
false, which means any classes that would normally be compiled along  
with the specified classes are documented.


For example, you specify class A by using the doc-classes option. If  
class A imports class B, both class A and class B are documented.


/
From:  http://livedocs.adobe.com/flex/3/html/help.html? 
content=asdoc_3.html


GL,

Karl



A man who says he just doesn't know will never know, but a man who  
says he thinks he can know, eventually will.




On Apr 13, 2010, at 4:39 PM, Karl DeSaulniers wrote:

None taken.

Karl


On Apr 13, 2010, at 4:23 PM, Merrill, Jason wrote:

My file that calls ASDoc class??  Can you explain?  ASDoc is a
documentation compiler that comes with the Flex SDK.  Not a class.

Again, have you used ASDoc or are you just guessing?  I DO appreciate
the help, but I am thinking you know less about ASDoc than I do - no
offense. :)


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Tuesday, April 13, 2010 5:05 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Well, I must admit it is a theory more so. Probably a better solution
than that.

Is it possible that in your file that calls ASDoc, where it goes to
actually call the ASDoc class,
having conditional statements add the includes to the other classes
only if the ASDoc is finished loading?
Sort of putting the ASDoc in a pseudo cue?

That aside, I found this information on Excluding in ASDoc.



Excluding an inherited element
By default, the ASDoc tool copies information and a link for all
ActionScript elements inherited by a subclass from a superclass. In
some cases, a subclass may not support an inherited element. You can
use the [Exclude] metadata tag to cause ASDoc to omit the inherited
element from the list of inherited elements.

The [Exclude] metadata tag has the following syntax:

[Exclude(name=elementName, kind=property|method|event|style|effect)]

For example, to exclude documentation on the click event in the
MyButton subclass of the Button class, insert the following [Exclude]
metadata tag in the MyButton.as file:

[Exclude(name=click, kind=event)]



I found this at http://livedocs.adobe.com/flex/3/html/help.html?
content=asdoc_3.html

HTH,

Karl

On Apr 13, 2010, at 3:45 PM, Merrill, Jason wrote:


If the var is not present, exclude the class.


How is that done with ASDoc?  I don't follow.  Have you used ASDoc? I
believe it looks at your import statements  - or at minimum, your
typecasting - you can't control what it looks for via Actionscript
logic. Is that what you're suggesting?  Or are you talking about some
ASDoc compiler directives?


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Tuesday, April 13, 2010 4:42 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Sorry, after I read my post I didn't follow it either. :P
Basically, I was thinking you could put a private function in your
classes that tells if it is being included.
Within that function it checks the calling class to see if a private
var is present (IE: the classes you control WILL have this 

RE: [Flashcoders] ASDoc third party libraries

2010-04-13 Thread Merrill, Jason
 asdoc -source-path . -doc-sources . -exclude-classes comps.PageWidget

comps.ScreenWidget

Thanks, I've tried that all different ways substituting in
com.greensock.TweenLite - no luck.  Here is a sample class that imports
Greensock's TweenLite class which in tests I cannot get ASDoc to exclude
TweenLite.  If anyone knows how to get this class documented in ASDoc
without compiler errors, I'm all ears.

package  
{
import flash.display.Sprite;
import com.greensock.TweenLite
/**
 * ...
 * @author Jason Merrill
 */


public class Main extends Sprite
{
private var _mySprite:Sprite;
/**
 * Constructor
 * @param duration the duration of the animation
 */ 
public function Main(duration:Number) 
{
TweenLite.to(_mySprite, duration, {x:10, y:10 }
);
}

}

}


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Tuesday, April 13, 2010 5:48 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

One last one, maybe to redeem myself, lol :)

/

Excluding classes
All of the classes specified by the doc-classes, doc-sources, and doc- 
namespaces options are documented, with the following exceptions:

If you specified the class by using the exclude-classes option, the  
class is not documented.
If the ASDoc comment for the class contains the @private tag, the  
class is not documented.
If the class is found in a SWC, the class is not documented.
In the following example, you generate output for all classes in the  
current directory and its subdirectories, except for the two classes  
comps\PageWidget and comps\ScreenWidget.as:

asdoc -source-path . -doc-sources . -exclude-classes comps.PageWidget  
comps.ScreenWidget

Note that the excluded classes are still compiled along with all of  
the other input classes; only their content in the output is suppressed.

If you set the exclude-dependencies option to true, dependent classes  
found when compiling classes are not documented. The default value is  
false, which means any classes that would normally be compiled along  
with the specified classes are documented.

For example, you specify class A by using the doc-classes option. If  
class A imports class B, both class A and class B are documented.

/
From:  http://livedocs.adobe.com/flex/3/html/help.html? 
content=asdoc_3.html

GL,

Karl



A man who says he just doesn't know will never know, but a man who  
says he thinks he can know, eventually will.



On Apr 13, 2010, at 4:39 PM, Karl DeSaulniers wrote:

None taken.

Karl


On Apr 13, 2010, at 4:23 PM, Merrill, Jason wrote:

My file that calls ASDoc class??  Can you explain?  ASDoc is a
documentation compiler that comes with the Flex SDK.  Not a class.

Again, have you used ASDoc or are you just guessing?  I DO appreciate
the help, but I am thinking you know less about ASDoc than I do - no
offense. :)


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Tuesday, April 13, 2010 5:05 PM
To: Flash Coders List
Subject: Re: [Flashcoders] ASDoc  third party libraries

Well, I must admit it is a theory more so. Probably a better solution
than that.

Is it possible that in your file that calls ASDoc, where it goes to
actually call the ASDoc class,
having conditional statements add the includes to the other classes
only if the ASDoc is finished loading?
Sort of putting the ASDoc in a pseudo cue?

That aside, I found this information on Excluding in ASDoc.



Excluding an inherited element
By default, the ASDoc tool copies information and a link for all
ActionScript elements inherited by a subclass from a superclass. In
some cases, a subclass may not support an inherited element. You can
use the [Exclude] metadata tag to cause ASDoc to omit the inherited
element from the list of inherited elements.

The [Exclude] metadata tag has the following syntax:

[Exclude(name=elementName, kind=property|method|event|style|effect)]

For example, to exclude 

Re: [Flashcoders] ASDoc third party libraries

2010-04-13 Thread Juan Pablo Califano
I think the problem is that you have to list all the classes you want to
exclude. In other words, you want to exclude packages, as you said, but
there's no option to exclude a package, you have to list all the classes.

If that's the case, a possible solution -other than doing it manually- is
using some script to generate a list of these classes given a path, then
copy + paste that after the -exclude-classes option.

Listing files is not that hard in batch and since you're on windows, you
have that option available already:

DIR /S /B *.as  fileList.txt

The problem is you have now a list of full paths. Converting a path to a
class name is not rocket science in any decent scripting language, but batch
hasn't earn the crappy reputation it has for being... easy to work with.

This should be easy to accomplish in php, python, etc, if any of these
is available in your computer. Or, maybe, you can try to write a JSFL script
to do the job, though you'll have to run it from flash. Or maybe an air app
if you're so inclined (perhaps overkill, but you already know actionscript,
so maybe it's the fastest option)

Anyway, I think if you manage to automate the generation of the exclude
list, you will be able to run the asdoc task without much manual work.

Just a few ideas, hope it helps.

Cheers
Juan Pablo Califano

2010/4/13 Merrill, Jason jason.merr...@bankofamerica.com

  asdoc -source-path . -doc-sources . -exclude-classes comps.PageWidget

 comps.ScreenWidget

 Thanks, I've tried that all different ways substituting in
 com.greensock.TweenLite - no luck.  Here is a sample class that imports
 Greensock's TweenLite class which in tests I cannot get ASDoc to exclude
 TweenLite.  If anyone knows how to get this class documented in ASDoc
 without compiler errors, I'm all ears.

 package
 {
import flash.display.Sprite;
import com.greensock.TweenLite
/**
 * ...
 * @author Jason Merrill
 */


public class Main extends Sprite
{
private var _mySprite:Sprite;
/**
 * Constructor
 * @param duration the duration of the animation
 */
public function Main(duration:Number)
{
TweenLite.to(_mySprite, duration, {x:10, y:10 }
 );
}

}

 }


 Jason Merrill

 Bank of  America  Global Learning
 Learning  Performance Solutions

 Join the Bank of America Flash Platform Community  and visit our
 Instructional Technology Design Blog
 (note: these are for Bank of America employees only)






 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
 DeSaulniers
  Sent: Tuesday, April 13, 2010 5:48 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] ASDoc  third party libraries

 One last one, maybe to redeem myself, lol :)

 /

 Excluding classes
 All of the classes specified by the doc-classes, doc-sources, and doc-
 namespaces options are documented, with the following exceptions:

 If you specified the class by using the exclude-classes option, the
 class is not documented.
 If the ASDoc comment for the class contains the @private tag, the
 class is not documented.
 If the class is found in a SWC, the class is not documented.
 In the following example, you generate output for all classes in the
 current directory and its subdirectories, except for the two classes
 comps\PageWidget and comps\ScreenWidget.as:

 asdoc -source-path . -doc-sources . -exclude-classes comps.PageWidget
 comps.ScreenWidget

 Note that the excluded classes are still compiled along with all of
 the other input classes; only their content in the output is suppressed.

 If you set the exclude-dependencies option to true, dependent classes
 found when compiling classes are not documented. The default value is
 false, which means any classes that would normally be compiled along
 with the specified classes are documented.

 For example, you specify class A by using the doc-classes option. If
 class A imports class B, both class A and class B are documented.

 /
 From:  http://livedocs.adobe.com/flex/3/html/help.html?
 content=asdoc_3.html

 GL,

 Karl



 A man who says he just doesn't know will never know, but a man who
 says he thinks he can know, eventually will.



 On Apr 13, 2010, at 4:39 PM, Karl DeSaulniers wrote:

 None taken.

 Karl


 On Apr 13, 2010, at 4:23 PM, Merrill, Jason wrote:

 My file that calls ASDoc class??  Can you explain?  ASDoc is a
 documentation compiler that comes with the Flex SDK.  Not a class.

 Again, have you used ASDoc or are you just guessing?  I DO appreciate
 the help, but I am thinking you know less about ASDoc than I do - no
 offense. :)


 Jason Merrill

 Bank of  America  Global Learning
 Learning  Performance Solutions

 

Re: [Flashcoders] Full screen with AIR 1.5

2010-04-13 Thread John R. Sweeney Jr
Thank you very much, but after looking inside of every possible button and
option I found a advance settings button that had the options of turning off
minimize, maximize and close button, then I turn the Window style to Custom
Chrome (opaque) and that removed the standard background color, so I put a
bottom most layer a full screen vector box of the desired color and I have
full screen. ;)

Thank you VERY much for your help and suggetions (which I tried that code
and it still didn't work argh). But I all better now.

You have a great day,
John


on 4/13/10 4:39 PM, Karina Steffens at kar...@neo-archaic.net wrote:

 Hi John,
 
 I don't really have any links that could help you, but here's a simplified
 example from my code that might illustrate my point:
 
 public function onFullScreen() {
 var s:Stage = Main.instance.stage;
 if (s.displayState != StageDisplayState.FULL_SCREEN){
 s.displayState = StageDisplayState.FULL_SCREEN;
 }
 }


John R. Sweeney Jr.
Interactive Multimedia Developer


OnDemand Interactive Inc
945 Washington Blvd.
Hoffman Estates, IL 60169
Office/Fax: 847.310.5959
Cellular: 847.651.4469
www.ondemandinteractive.com


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