Adobe ActionScript 3 is the open source object oriented programming (OOP) language of the Adobe Flash and Air Platforms. AS3 widely used for RIAs, mobile apps, and desktop applications. (ActionScript 3 is a dialect of ECMAScript.)

learn more… | top users | synonyms

11
votes
2answers
175 views

UltimateTicTacToe - ActionScript Style!

In an effort to complete this month's code challenge, I've started off with the basics. Below I have for review, a class that I can call to create the square/button a user would click to mark a spot ...
1
vote
0answers
27 views

Actionscript Graph data structure implementation

So, I am not sure if I should have Vertex extend Point, because the equals() and ...
4
votes
2answers
59 views

Please review my Actionsript 3 Code

I am creating a Frogger game in Flash AS3 and just wanted to see if anyone can help me improve it without breaking the game. The reason I ask for it because I don't have any errors, but I do get over ...
1
vote
0answers
118 views

Preload content in StageWebView

I would like to get some feedback on my AS3 code below. It's for an Adobe Air mobile app to preload a website in a StageWebView container. That container will be moved on screen later in the app ...
1
vote
1answer
63 views

Can these collision unit tests be improved?

I'm finding it a bit tedious to write unit tests for my collision class because there are so many variations of collisions that need testing. I see repetition in the set-up and assertion stages of ...
1
vote
1answer
54 views

Passing lots of options to a function

I am learning actionscript 3 coding by making a crappy platformer game :) The problem I am facing is passing lots of options to a construct function that will setup the display object where all of ...
1
vote
0answers
68 views

Key Press Handler

I have made a class to import into my projects to more easily handle the state of the keyboard so I can use stuff like: if(Keys.returnKey(37)){ As opposed to ...
0
votes
1answer
88 views

Actionscript 3.0, good OOP?

I have been coding for some time (3 years I think), and have recently been wondering if my coding pattern is any good. Any kind of feedback is welcome: EDIT: The thing that concerns me most is that I ...
2
votes
2answers
153 views

Add events dispatching for ActionScript framework Robotlegs

I have the following function in a Service class ...
4
votes
10answers
2k views

How to simplify my else if statement

Alright so this isn't an issue with my program not working, it's more of a fact that I wanna learn to code better. This is one of 6 if else statements that I use inside of my program. What I'm ...
2
votes
2answers
129 views

Is this possibly confusing code?

A previous developer had an array of strings like so: ...
2
votes
2answers
143 views

Is there anything biased in this performance test?

Just wondering if this basic performance test between an untyped array of arrays and a vector (typed array) of arrays in Actionscript 3... is fair and balanced? It's simple, designed to test random ...
1
vote
0answers
389 views
2
votes
4answers
469 views

how bad is such a comment [closed]

if I have a variable which name is explicit enough, for example: errorLocation How bad it is to put a comment like ...
5
votes
1answer
223 views

Please, review my actionscript web service call class. And web method call class

I' trying to isolate a webservice in its own class, and I plan to add separate classes to each webmethod there is in the webservice. So far, this is what I've got. And it works, I have this feeling ...
3
votes
1answer
223 views

More efficient way to write this Actionscript 3 class?

I wrote one of my first classes in Actionscript 3 and I want someone versed in AS3 to help me fine tune my class. I am sure there are things that could really help with efficiency and I love learning ...
2
votes
0answers
94 views

AS3 AIR class robustness check

I have a ActionScript 3 AIR class that I'd like you to check for robustness. I know it's quite a lot of code and It's not required that you review the full code, but maybe you see general problems in ...
4
votes
1answer
289 views

How can I improve this method?

I've been using FlexLib for its dockable toolbar feature. When you shrink the window, it will try to wrap rows if the stage width is less than the row width. Unfortunately, it won't reverse the ...