Re: [Flashcoders] vars with $

2006-08-18 Thread Greg Burch

Using $ in flash is just wierd :). There is no special meaning - I
don't think it should even be valid.

On 8/18/06, Tom Lee <[EMAIL PROTECTED]> wrote:

I've used it to indicate arguments in a function to clarify the origin of
the variable, like this:

function myFunc($arg1,$arg2){
trace($arg1+" : "+$arg2);
}

I don't know where I picked that up, but for me it makes the code easier to
read since you know immediately they are arguments.  I've seen people use
the underscore for the same purpose, but that can confuse things since
ActionScript uses that for some native properties (_x,_y).

Does anyone else do this, or am I just in my own little universe?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Friday, August 18, 2006 4:27 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] vars with $

In addition, some programmers also use $ to indicate a string.

Jason Merrill
Bank of America
Learning & Organization Effectiveness - Technology Solutions






>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Paul Venton
>>Sent: Friday, August 18, 2006 2:49 PM
>>To: 'Flashcoders mailing list'
>>Subject: RE: [Flashcoders] vars with $
>>
>>I know PHP uses it and TorqueScript use "$" and "%" to differentiate
between
>>global ($) and local (%) variables but it has no special meaning in
Flash.
>>
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf Of
>>[EMAIL PROTECTED]
>>Sent: 18 August 2006 19:27
>>To: Flashcoders mailing list
>>Subject: [Flashcoders] vars with $
>>
>>Hi,
>>Can anyone tell me what special meaning vars with $ have...
>>thanks
>>
>>b
>>
>>
>>___
>>Flashcoders@chattyfig.figleaf.com
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training
>>http://www.figleaf.com
>>http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


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

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


Re: [Flashcoders] Actionscript preprocessor

2006-02-13 Thread Greg Burch
Change eclipse to use JRE 1.4 and your problem with ANT will go away.

-Greg

On 2/9/06, JesterXL <[EMAIL PROTECTED]> wrote:
>
> Haven't used any, but asked this just yesterday on FlashLite and was
> directed to these links, some of which you already covered:
>
> a.. Using Jappo - Greg Burch: http://www.gregburch.com/index.php?id=182
>
> a.. Pre-Processing ActionScript files / classes - Mike Chambers:
> http://weblogs.macromedia.com/mesh/archives/2005/03/pre-processing.cfm
>
> a.. Using a Pre-processor with ActionScript to define constants - Mike
> Chambers:
> http://weblogs.macromedia.com/mesh/archives/2005/03/using_a_pre-pro.cfm
>
> a.. Preprocessing Actionscript ? - Bokel:
> http://www.helpqlodhelp.com/blog/archives/79.html
>
> a.. HAMTASC: http://www.osflash.org/hamtasc#preprocessing_actionscript
>
> - Original Message -
> From: "Grant Cox" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Thursday, February 09, 2006 10:47 PM
> Subject: [Flashcoders] Actionscript preprocessor
>
>
> I am currently using Eclipse, MTASC and ANT for my development (on
> Windows), and this is working well.  However, while I currently have
> "release" and "debug" ANT targets, these really only change a couple of
> MTASC compile options (ie tracing).  I have decided that a better
> solution is needed, to allow a "release" build to exclude NetDebug, to
> automatically change some config options, and also to integrate build
> numbers.
>
> So, preprocessing.  After some searching, I found cpp (
> http://gcc.gnu.org/onlinedocs/cpp/ ), filepp (
> http://www.cabaret.demon.co.uk/filepp/ ), and jappo (
> http://jappo.opensourcefinland.org/ ).
>
> However.
>
> cpp - linux application, the only Windows version I can see is via
> cygwin.  And installing this on every development machine, for a single
> utility seems overkill.  Plus, cpp seems to have the least features, and
> the filepp docs suggest it may leave strange comments in output files.
>
> filepp - Perl module, which should be fine (all development machines
> have ActivePerl installed).  Except the download contains source files,
> and a bash script to create the application.  So, again I'm kind of
> stuck being on Windows.
>
> jappo - Java .jar, with ANT integration.  Sounds perfect.  Except that
> after I work out how to reference the jar correctly in EclipseAnt and it
> runs, it gives errors about missing classes (ie
> "org/apache/xpath/XPathAPI" ).  I downloaded the XPath addon for
> Eclipse, but this didn't help.  I can't run any of the jappo samples
> either, as I don't have the Java SDK (currently downloading).
>
>
> Has anyone successfully used a preprocessor for Actionscript on Windows,
> and do you have any suggestions?
>
> Regards,
> Grant Cox
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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