I understand what u mean. As im also from the Flash side. A lot of things I want are based on what the Flash player can do, but Flex limitates u in the use of the Flex player. Especially with creating and dynamicly loading pre-compiled class libraries. It may not limit u but there is (as far as I could find) little documentation on the real possibilities and commandline switches of compc and mxmlc.
The solution u have seems kind of a way around if u just want to get an swf compiled. Its good u found out an approach of doing it. I'll wait till u share your script. Thnx a lot for the effort. Greetz Erik -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Darron J. Schall Sent: dinsdag 31 mei 2005 17:15 To: [email protected] Subject: Re: [flexcoders] Using custom classes in RSL Erik Westra wrote: >Whooohooo! nice :) > >And ehh is there a way to create the swf with either compc or mxmlc? Or >should I use mtasc if I want to compile this class via the commandline? > > I have an ant build file I'll be blogging this week (probably tomorrow). It uses the compc.jar for the .sws to make the .swc, then extracts library.swf from it and renames it accordingly. Then it creates the .swf from the .mxml files using mxmlc.jar. Then it moves everything from my local computer over to the dev. web server. I *hate* the idea of Flex running on the server, and I think that's why it took me so long to start using it. In my opinion, there's no reason a .swf needs to be compiled for every request, .swf is not server-side technology, and Flash has always been client side After using Flex this weekend though I realized how much faster I can build applications with it now, and the components are much better than those in Flash. As a Flash dev, I feel kind of dissed.. but by not having the server running at all, not even locally on localhost, I feel a little bit redeemed. -d Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

