[Arp] Natural Entry Point method -- ARP, MTASC, SWFMILL -- ho w to compile the classes ready for swfmill

Davies, Grant M. grant.davies at nscorp.com
Mon Mar 6 08:31:38 PST 2006


And the reason to get away from the flash IDE ?
 
Just asking as I do hear a lot of things and sometimes I think some people
do open source as an alternative to something that already works great.
I've done swfmill and on real projects the flash IDE is still a lot better
for me to produce the actual assets from a project, yes I can do it in
swfmill but once I add up the hours, I can afford a copy of flash
professsional and the time I save instead of using swfmill :)
 
I don;t do ANY code in the flash ide, just create assets and give them
linkage names.  I do everything else in eclipse with MTASC and ASDT.
 
Grant
 

  _____  

From: Arp-bounces at ariaware.com [mailto:Arp-bounces at ariaware.com] On Behalf
Of Paul Taylor
Sent: Monday, March 06, 2006 9:39 AM
To: arp at ariaware.com
Subject: Re: [Arp] Natural Entry Point method -- ARP, MTASC, SWFMILL -- ho w
to compile the classes ready for swfmill


Hi Grant

Thanks for this.  I watched your Wink presentations, and they were using the
main() function.  I'll make sure to look on the site again.

My aim with this is to get away from needing to use the flash IDE, so I
wouldn't have a stage, just the swfmiil build file and mtasc.  I'm
comfortable with the swfmill process of getting things on stage, just
struggling to get my head round how to compile the vast number of classes in
my ARP project into a single classes.swf using mtasc.  I'll look forward to
later today when/if Aral is able to post his notes.

Cheers.


  _____  




Actually I (I'm the resident alien) use the natural entry point now :)
 
Simplest thing I do...
 
Create a symbol in your library, I usually call mine:
com.mycompany.ApplicationForm as the linkage name
 
I then drag a copy to the stage of the root timeline.
 
I then create a class called
 
class com.mycompany.Application form extends ArpForm
{
    
    public static function main()
   {
        // do nothing, using natural entry point
   }
 
   public static function onLoad():Void
   {
 
           trace("onLoad called");
   }
 
}
 
and thats it .
 
Grant

Subject: [Arp] Natural Entry Point method -- ARP, MTASC, SWFMILL -- how to
compile the classes ready for swfmill


I'd be grateful if someone could explain briefly how to compile an ARP
application using the Natural Entry Point method as described by Aral.

I'm not using ANT, so ideally this would be through the use of a batch file.
My difficulty is the compiling of the classes into a library swf, ready for
swfmill to use (the swfmill side I have no problem with). 

I read the tutorials on theresidentalien, however these use the skeletal
injection method.

Many thanks for some guidance.  My hair is currently falling out in large
clumps with confusion.

  _____  


Organize. Communicate. Share. @ www.goowy.com <http://www.goowy.com> 


  _____  

Organize. Communicate. Share. @ www.goowy.com <http://www.goowy.com> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ariaware.com/pipermail/arp_ariaware.com/attachments/20060306/074b9ccd/attachment.htm


More information about the Arp mailing list