Questions tagged [actionscript]

ActionScript is a scripting language used for RIAs, Mobiles Applications, Web Applications etc. which was initially developed by Macromedia and then acquired by Adobe. It targets to compile for Flash player runtime which can be deployed in various platforms including mobiles

19 questions
8
votes
5 answers

Is it better to have C developers learn Flash, than hire Flash guys?

Last year, my department developed web based gaming, and needed Flash. It was difficult to manage. The Flash guys didn't fit in regardless of skill or popularity in the office. Maybe it's prejudice from the AS 2.0 days, or C programmers do things…
DisEngaged
  • 1,457
  • 1
  • 16
  • 16
6
votes
2 answers

Best event based architecture for Linux to GUI

I've looked around a bit and probably haven't found the right medium for this question so let me know if there's a different forum I should bother. First, there is an application managed by another group that does some simulations and communicates…
4
votes
6 answers

Is it bad practice to resolve null arguments to default static variables?

First, let me show you an example (written in ActionScript 3.0): class GameObject { public static function MakeFromName( pName:String, pAtlas:TextureAtlas = null, …
3
votes
1 answer

How to get rid of my "Factory" class' countless else if statements

This is a web application based on actionscript 3. I have all of my modules enumerated in a class, but I never know which modules actually come from database. Let's say I have 20 modules in my application, but the user only has access to 10 of them.…
enon
  • 161
  • 6
3
votes
1 answer

How often is appropriate to destroy objects?

I know this is hard to answer without examples, so I'm looking for general principles or guidelines here. I'm thinking within the realm of small- to medium-sized mobile games and apps. I've read a few times the object reuse is a touchstone of…
pup
  • 1,712
  • 2
  • 13
  • 14
2
votes
4 answers

Do sites like goanimate, xtranormal, and animoto use Flash + ActionScript, OpenGL, or other technology?

What technology is used by sites like goanimate, xtranormal, and animoto? Especially the video compilation engine in the backend of animoto? Could HTML5 be used to do everything that's there?
user22288
2
votes
5 answers

Best way to learn Java if you already have an OOP background, like ActionScript 3?

I'm looking to learn Java, but I don't want to get a book that is going to tell me what an object is, how OOP works, etc. I know this from my existing ActionScript 3 work. One idea is to look at all the areas Java covers, pick one that is of…
2
votes
3 answers

How to use Option Type Pattern in a language that doesn't support generics?

I've been interested to start using the Null Object / Option Type approach for replacing my old habits of null-checking multiple parts of my code. But, from the many examples I saw out there, it seems it's a pattern used in conjunction with…
1
vote
1 answer

Help me understand this "mindmap / constellation" visual pattern

Please help me identify and understand this visual pattern, what's the common name used for such mindmap / constellation visualisations? http://asterisq.com/products/constellation/roamer/demo http://apps.asterisq.com/mentionmap/#user-scobleizer I am…
daniel.sedlacek
  • 902
  • 1
  • 10
  • 20
1
vote
1 answer

Flash development under Ubuntu

It's unfortunate, but I'm taking this course that would require me to work in Flash CS3 (specifically programming), which would make me use windows. I'm very used to development under Ubuntu, and booting into windows would require me to switch a…
Pwnna
  • 197
  • 3
1
vote
2 answers

How come language designers don't upgrade their global functions?

For example, when working with arrays there are methods like indexOf() that works like this: if (array.indexOf("something")!=-1) { // do something or nothing } Why hasn't someone made a contains method? if (array.contains("something")) { // do…
1
vote
3 answers

Coding convention question about AS3 duplicate variable definition

AS3's got some awkward rules about variable scope, due to its use of hoisting. I don't like pointlessly leaving a bunch of compiler warnings lying around, but it's more important to me for my code to readable and properly written, regardless. This…
Panzercrisis
  • 3,145
  • 4
  • 19
  • 34
1
vote
3 answers

Why categorization into "Property" and "Methods"

I am looking at the String class in Actionscript 3.0. It has a property called String.length . Internally it's a getter function (or method ?) that returns the length of string. Why can't it be String.getLength() ? Methods can take in 1, 2 or…
Vishwas
  • 1,871
  • 4
  • 15
  • 15
0
votes
1 answer

Accurate/recommended approachs to tracking play length of a video

I'm working on a flash player that needs to track how long a user plays a video for. In addition, I need to know the user. I can easily do that with a request to the server. What I've thought of so far is sending a request to the server when the…
zcourts
  • 601
  • 5
  • 6
0
votes
2 answers

ActionScript and Python

I am currently using VB.net 2010 and WPF 4 to create an application, but the further I learn it, the more I realize that the two programming languages may not meet my needs, especially where I have to migrate a version to a web-based Silverlight…
CodeMouse92
  • 293
  • 1
  • 3
  • 10
1
2