7 ms·
Runs quickly here, doesn't need to be compiled, source can easily be viewed and edited (while it's running, depending on your browser), and style-able with CSS.
by Groxx 14y ago
Runs quickly here, doesn't need to be compiled, source can easily be viewed and edited (while it's running, depending on your browser), and style-able with CSS.
Flash does one of those, and for the same reasons as HTML5 solutions, its speed depends heavily on the code backing the drawing and how much data is displayed. Why do I want Flash again?
- neya 14y agoTo make animations like these on Flash, it's just a breeze, period. I own an Adobe creative suite in which Flash is available. The bundled Flash IDE (which was originally popularly called as Flash) is a lot lot better than say, writing hundreds of complex lines of mathematical lines to create just a 3d rotation or tween.
- Groxx 14y agoDid you look at the source below the globe? That entire thing is 73 very short lines of code, plus a plain HTML wrapper and some super-simple CSS.
- neya 14y agoIf you consider 73 to be short, then I wonder what you would think of 10-15 lines of code. Not to exaggerate, but you can actually achieve this with 0 lines of code in Flash using just Movie clips.
- danso 14y agoUh...this is jus a basic demo. I'm betting this is far easier to work into an interactive mash up with data than Flash's movieclips
- neya 14y agoNo, wrong. I assume you haven't used the Flash platform. A movie clip is like a library that can be replicated and instances of which, as many as you want can be created. Similar to creating a variable and calling it how many ever times you want it. So, in an interactive mesh-up movie clips will help you stay well organized with fewer lines of code, comparatively.
- danso 14y agoNope, I programmed in AS for awhile though I left before Flex became well implemented. I know about the movie clip system and don't deny what you claim. But now you're moving the goalposts as decoupling the elements from the Flash environment requires you to do more, well, hand coding. To do what you claim -- implement the same features with less code -- would require more handiwork inside the Flash authoring tool, which was never really a fun workflow even when Flash was more ubiquitous. In any case, lowering the code count by relying on MovieClips, which as you say are basically libraries, hardly seems fair. I'm sure all the code in the OP could be reduced to about five lines, three of them being calls to external code and CSS files.
- neya 14y agoFlex and Flash are two different things. Flash is a designer-friendly tool, while flex is more programmer-oriented. From what you describe, it looks like you've been doing more coding with the platform than designing. Dude, you serious? I can build you something similar in just 5 mins with 0 lines of code with easier maintainability and no calls to external CSS or Code. >which was never really a fun workflow I am surprised, because it was one of the most powerful features of flash, just like layers were for Photoshop. Maybe it's a personal opinion, but I loved this workflow personally.
- killahpriest 14y ago5 minutes, go!
- neya 14y ago
- saraid216 14y ago> Not to exaggerate, but you can actually achieve this with 0 lines of code in Flash using just Movie clips. And this is why your comparison is apples to oranges, at best.
- pothibo 14y agoYeah. Compare clicks on a WYSIWYG and LOC. Makes perfect sense.
- tinflute 14y agoMaybe since you're such an advocate for Flash you could post your Flash version of the same widget, and show us all how much better/cleaner/faster/easier-to-code your version is?