Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

ActionScript 3.0

Name: Anonymous 2007-09-15 2:49 ID:bCUzHyFr

Dear /tech/,

What's the REAL advantage of switching to AS3?

I'm fairly proficient with AS2, and it looks like a bunch of shit is changed around. Is it worth my time?

Name: Anonymous 2007-09-15 3:19 ID:d9qcehxe

no not really

Name: Anonymous 2007-09-15 7:52 ID:achWxrwY

>>1
gb2/g/

Name: Anonymous 2007-09-15 8:12 ID:Heaven

I use Programmer's Notepad. You got a problem with this?

Name: Anonymous 2007-09-15 9:11 ID:Gx61l6Jc

STRICT TYPEING!!! INTERFACES!! event listeners and xml as root level classes, regular expressions, proper OOP, mark and sweep GC and just plain awesome speed. I switched from as2 to as3 in two weeks, and I can never imagine going back to as2. Plus you can start using flex which is just an amazing framework.

Name: Anonymous 2007-09-15 9:29 ID:WZvRdyiQ

>>1
Look at it this way.

On most browsers, you can bring up your browsing history by pressing Control-H. (No, this is not going to become a discussion of werecows.) On Firefox, this brings up a sidebar that shows up on the left side of the window. If you put your mouse over the edge of the sidebar, the cursor will turn into a different kind of arrow. By clicking and dragging it, you can move the edge of the sidebar back and forth. You are, to put it another way, manipulating the border between the normal window and the history window. By moving the mouse, you can increase the portion of the window devoted to either part. In a more extreme view of this situation, you're increasing or decreasing the amount of existence the sidebar has.

Now, let's apply this idea to something more abstract. Look out your window. If you don't live in a highly urbanized area, you should be able to see the horizon. Think of this as the border between the land and the sky. The land and sky are obviously distinguishable thanks to this boundary. Now, if you were to "drag" the sash between the sky and the land, or to manipulate the border between land and sky, you would end up causing the sky to become larger and the land to become smaller, or vice versa. An effect of this might be to cause something that was just on the ground to suddenly be hundreds of feet in the air. Truly a frightening situation to be in. So, look at it this way - manipulating the border between two physical things shifts whatever balance there is in the interaction between those things. Alternatively, by manipulating the border between two things, you can change the manner in which they exist.

Still, this isn't *that* abstract, since it's still dealing with real things in the real world. Many believe that in this world, there are those things that are true, and those that obviously aren't. This divides reality into two extremes: truth and falsehood. But, since we have two extremes, logically one can imagine a boundary between those two extremes - the border between truth and lies. If one were to manipulate this border, suddenly things that were pure fantasy (flying pigs, for the sake of argument) have become reality - or things from reality have ceased to exist. This is how Yukari is said to have invaded the moon - by manipulating the border between truth and lies, as applied to the reflection of the moon on a pond, she was able to make the reflection of the moon into a manifestation of the actual moon, and so send her youkai army onto it. This is what's truly amazing about Yukari's power - the ability to manipulate the border between completely abstract concepts allows her to fundamentally change reality as we know it (at least in terms of two abstract concepts).

Name: Anonymous 2007-09-15 18:19 ID:HgCYAZ+9

>>5
STRICT TYPEING!!!
Fail, quit that bullshit from my JavaScript

INTERFACES!!
Fail, quit that ENTERPRISE worthless bullshit from my JavaScript

xml as root level
Deply multi-tier advanced enterprise-grade scalable professional business solutions with five-nines availability to create synergy between your mission-critical business departments.

regular expressions
I already had them in my JavaScript.

proper OOP
You are a failure of a programmer. Best to quit.

Name: Anonymous 2007-09-15 19:59 ID:Gx61l6Jc

meh

Name: Anonymous 2007-09-15 20:08 ID:Gx61l6Jc

>>7

I've got no problem with javascript, but i've yet to see anything that ajax can do that i can do better in flash and flex.

Name: Anonymous 2007-09-15 20:22 ID:nUTYAuus

Since when the hell was this /tech/?

Name: Anonymous 2007-09-15 21:42 ID:/Z0Q+Hv5

How is prototype based OOP not 'proper'?

Name: Anonymous 2007-09-16 0:50 ID:ilAhRrKv

exactly

Name: Anonymous 2007-09-16 5:20 ID:E7XhWg6d

>>9
i've yet to see anything that ajax can do that i can do better in flash and flex.
Indeed. Not that I'm a Web 2.0 AJAX XML-based enterprise solutions fanboy, but I'm working on an application that does what I want by performing inline updates. I don't call it AJAX though, because there's no XML, and it's not asynchronous. So I guess it's not ENTERPRISE. Regarding Flex, the problems I see are:
1. It's Adobe
2. No support for Linux outside x86, and many other platforms (in fact, I don't have Flash in my development machine!)
3. Waste of system performance; sluggish on lower-end computers (which we may still use for work)
4. Made for fags who care about Star Trek-like interfaces instead of real work. Vistafags and the like.
5. Closed source

Name: Anonymous 2007-09-16 5:21 ID:E7XhWg6d

>>11-12
I love prototype-based OOP. It keeps away idiots. When the ENTERPRISE faggots they see there are no formal classes and other crap from Java, they think it's not OOP, and leave it alone, therefore you don't find much bullshit written in such languages.

Name: Anonymous 2007-09-16 8:57 ID:vHmJR8Jl

>i've yet to see anything that ajax can do that i can do better in flash and flex.

it's mainly about adding a LITTLE ajax, i would say, to improve usability. not turning the whole god damn site into one vibrating orgasm of javascript.

Name: Anonymous 2011-02-03 1:10

Name: Anonymous 2013-01-30 4:37

AS3 was my first programming language (unless you count a brief stint in AS2).
It was good fun going straight into all the OO stuff, especially when it was to make a flash game. You just write classes for on screen objects and call them in your main function, etc etc.
And it worked well- you'd write code, it'd work as you expected. No shitty little tricks needed like in AS2.
Performance was still a bit shitty because you are hit testing all these things 30 times per second, and well... it's flash. I'll miss the flash for cash days, it was a good era.

Don't change these.
Name: Email:
Entire Thread Thread List