Re: [Flashcoders] Just a quick one
Use Flash Develop or Flex Builder Flash develop is free and great for as3; yet, Flex Builder for eclipse, with its insanely high price tag of $249, is better if you want to include capabilities to edit other languages like c++ or java. IMHO they should have just integrated all the code editing and compilation abilities into dreamweaver to make it a better, must have, product, or put everything dreamweaver has into eclipse if they truly want to move everything to eclipse. Eclipse is insanely slow, and java , even with flashdevelop's sytax checking through java, makes my dual core 2.2 ghz CPU with 2gigs of memory, spike at 45% for its processes and take 250 - 500 MB of memory. Java sucks ass when it comes to speed; despite the propaganda, spread by SUN and java developers, to the contrary. Karl DeSaulniers wrote: What about sepy? I'm on a mac. Sent from losPhone On Apr 17, 2009, at 12:29 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: It just told me there was no property called contentLoaderInfo in my class file. What Actionscript editor are you using? Cs3 That could be why. I would recommend you switch coding over to an editor with better code hinting and other capabilities like the FlashDevleop, which is a free download, and the best free Actionscript editor for Windows out there. Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community ___ 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] Just a quick one
Flash develop is free and great for as3; yet, Flex Builder for eclipse, with its insanely high price tag of $249, is better if you want to include capabilities to edit other languages like c++ or java. Well, I've never used FlashDevelop, but if you just want to write C++ or Java or a bunch of other things, you can just download Eclipse for free too, and use both for different things. IMHO they should have just integrated all the code editing and compilation abilities into dreamweaver to make it a better, must have, product, or put everything dreamweaver has into eclipse if they truly want to move everything to eclipse. Dreamweaver and Eclipse are fundamentally different things, and I really don't see how this could happen well. For example, Dreamweaver doesn't include support for refactoring, because it's something that doesn't really make sense within an HTML editor. As for putting everything Dreamweaver has into Eclipse, check out Aptana, which is an Eclipse plugin for HTML/JS authoring. It's pretty neat. But again, HTML authoring is quite a bit different from the traditional programming that Eclipse is aimed at. Eclipse is insanely slow, and java , even with flashdevelop's sytax checking through java, makes my dual core 2.2 ghz CPU with 2gigs of memory, spike at 45% for its processes and take 250 - 500 MB of memory. Java sucks ass when it comes to speed; despite the propaganda, spread by SUN and java developers, to the contrary. I use Eclipse on much weaker computers than that without any problem. The computer I'm using right now is a single-core CPU with 1GB RAM. There's a lot of stuff you can turn off to make it work a little faster. I've never heard any Java programmers talk about Java's speed in a positive way, unless you consider it sucks less than it used to as a positive statement. But frankly, speed isn't all that important in a text editor. I do admit I am looking forward to ordering a new, insanely fast computer, so that Eclipse will be more tolerable. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How much bytes ActionScript classes take in SWF?
I'm afraid the flex SDK is for AS 3 only. As you know, the flash IDE compiler won't give you that report. MTASC won't do it either, I think (at least, it has no switch for that). Can you run .NET 1.1? If so, I might have a way to get that data. Some time ago I wrote a very basic swf parser. It's very basic but could work. It reads the swf, and identifies all the tags. AS 2 classes are compiled with 2 tags, if I'm not wrong. An export tag, which defines the name of the class or interface (plus some internal ID), and a DoInitAction, which contains the compiled bytecode for that class. I'm already getting the size of the tags, so tweaking the code to report the name and the size of each class shouldn't be too hard; I think I wouldn't take more than 1 hour, since all the data is already there; it just needs to be printed. This is an OS project, hosted on google code ( http://code.google.com/p/swfparserlib/). It'm not developing it currently, but I could add that report easily if you are interested. And, of course, since it's open source, you could tweak it yourself if you feel like. Cheers Juan Pablo Califano 2009/4/18 Pavel Repkin pavel.rep...@gmail.com Thanks, Juan, this is exactly what I'm looking for! Does flex compiler work with ActionScript 2.0? I forgot to mention that we are working with 2.0. On Wed, Apr 15, 2009 at 5:40 PM, Juan Pablo Califano califa010.flashcod...@gmail.com wrote: PS: a couple of notes since my last message could be misleading: 1) By easy to compile I didn't mean that the result of using the SDK compiler will produce the same swf. I just mean it could be a good way to check what classes are included. 2) Any code in the fla will not be included, of course. If you create a ref to some class only in timeline code, it will not be included in the swf compiled with the sdk 2009/4/15, Juan Pablo Califano califa010.flashcod...@gmail.com: If you have a document class in place, it should be easy to compile your project with the flex SDK compiler. You could compile on the command line, which is not too hard or try some IDE like Flashdevelop (if you're on windows), where setting up a project is pretty stright forward. The extra compiler argument you need is -link-report size-report.xml. This will generate an xml detailed information about all compiled classes, theirs dependencies, and the optimized and unoptimized size. You could then parse this xml and create your own report as you like. Cheers Juan Pablo Califano 2009/4/15, Pavel Repkin pavel.rep...@gmail.com: There are 500 KB of ActionScript code in our project (according to Flash size-report) That is a lot. I want to find the classes (packages) that take most space. And then to optimize them. And throw away classes that were linked by a mistake. So I want to find out how much space take individual classes and packages in the swf. Do you know a tool that can help me? Ideally the app should display class tree with size in KB beside each node. Pasha. ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Just a quick one
IMHO they should have just integrated all the code editing and compilation abilities into dreamweaver to make it a better, must have, product, or put everything dreamweaver has into eclipse if they truly want to move everything to eclipse. They (Macromedia) tried that with Flex 1 and 1.5 and failed miserably. If you think Eclipse is slow (which I don't) then you should find a copy of Flex 1 :) Like Dave I have also run Eclipse on a single core P4 with 1Gb ram and it ran OK. Took a bit of jvm tweaking though. And FB 3 runs alot better than FB2. On a dual core 3.0 with 4Gb ram it runs smooth as butter. I'm personally very happy with FlexBuilder (and Eclipse in general) and look forward to Bolt (CF editor). regards, Muzak - Original Message - From: Anthony Pace anthony.p...@utoronto.ca To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Saturday, April 18, 2009 8:55 PM Subject: Re: [Flashcoders] Just a quick one Use Flash Develop or Flex Builder Flash develop is free and great for as3; yet, Flex Builder for eclipse, with its insanely high price tag of $249, is better if you want to include capabilities to edit other languages like c++ or java. IMHO they should have just integrated all the code editing and compilation abilities into dreamweaver to make it a better, must have, product, or put everything dreamweaver has into eclipse if they truly want to move everything to eclipse. Eclipse is insanely slow, and java , even with flashdevelop's sytax checking through java, makes my dual core 2.2 ghz CPU with 2gigs of memory, spike at 45% for its processes and take 250 - 500 MB of memory. Java sucks ass when it comes to speed; despite the propaganda, spread by SUN and java developers, to the contrary. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Just a quick one
Thank you all for the great responses. I actually think I have a copy of flex 1 somewhere. LOL But alas my movie is still not working and my programming knowledge extent at this time is as2 based. Don't seem to get the time to dive into as3 or any other ie: flex 1 I really am stumped on how to get the wh of this loaded data. Nothing I do seems to work. :( TFYH Karl Sent from losPhone On Apr 18, 2009, at 5:36 PM, Muzak p.ginnebe...@telenet.be wrote: IMHO they should have just integrated all the code editing and compilation abilities into dreamweaver to make it a better, must have, product, or put everything dreamweaver has into eclipse if they truly want to move everything to eclipse. They (Macromedia) tried that with Flex 1 and 1.5 and failed miserably. If you think Eclipse is slow (which I don't) then you should find a copy of Flex 1 :) Like Dave I have also run Eclipse on a single core P4 with 1Gb ram and it ran OK. Took a bit of jvm tweaking though. And FB 3 runs alot better than FB2. On a dual core 3.0 with 4Gb ram it runs smooth as butter. I'm personally very happy with FlexBuilder (and Eclipse in general) and look forward to Bolt (CF editor). regards, Muzak - Original Message - From: Anthony Pace anthony.p...@utoronto.ca To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Saturday, April 18, 2009 8:55 PM Subject: Re: [Flashcoders] Just a quick one Use Flash Develop or Flex Builder Flash develop is free and great for as3; yet, Flex Builder for eclipse, with its insanely high price tag of $249, is better if you want to include capabilities to edit other languages like c++ or java. IMHO they should have just integrated all the code editing and compilation abilities into dreamweaver to make it a better, must have, product, or put everything dreamweaver has into eclipse if they truly want to move everything to eclipse. Eclipse is insanely slow, and java , even with flashdevelop's sytax checking through java, makes my dual core 2.2 ghz CPU with 2gigs of memory, spike at 45% for its processes and take 250 - 500 MB of memory. Java sucks ass when it comes to speed; despite the propaganda, spread by SUN and java developers, to the contrary. ___ 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] Just a quick one
This should work: import ImageLoader; var imgHolder:MovieClip = this.createEmptyMovieClip(imgHolder_mc, this.getNextHighestDepth()); var imgURL:String = ableton_live6_logo.jpg; var imgLoader:ImageLoader; function onLoadInit():Void { trace(Application ::: onLoadInit); trace(- width: + imgHolder._width); trace(- height: + imgHolder._height); } imgLoader = new ImageLoader(); imgLoader.addListener(this); imgLoader.loadImage(imgURL, imgHolder); regards, Muzak - Original Message - From: Karl DeSaulniers k...@designdrumm.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Sunday, April 19, 2009 12:56 AM Subject: Re: [Flashcoders] Just a quick one Thank you all for the great responses. I actually think I have a copy of flex 1 somewhere. LOL But alas my movie is still not working and my programming knowledge extent at this time is as2 based. Don't seem to get the time to dive into as3 or any other ie: flex 1 I really am stumped on how to get the wh of this loaded data. Nothing I do seems to work. :( ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders