Adobe drops flash for mobiles!
..and it’s official – so says Adobe’s blog (read it here). Adobe will be dropping support for Flash on future devices due to performance …
Read Article →39 articles about actionscript development, tools, and best practices
..and it’s official – so says Adobe’s blog (read it here). Adobe will be dropping support for Flash on future devices due to performance …
Read Article →I needed a quick and easy way to check for the basics of an email address.
Does it contain “@” and “.” symbols.
This is by no …
Read Article →1180 Call to a possibly undefined method navigateToURL
If you get the above error when trying to run your flash actionscript 3 file, you are obviously …
Read Article →It is really easy to create a Timer in Actionscript 3.
Instantiate the Timer Class and pass a time in millions of 1000 to it to work in seconds.
var …
Read Article →
This is an example of how to create a random number in Classic ASP in order to append to a swf file so that the browser does not cache the swf file. …
Read Article →In the below example we will use Actionscript 2 to call a remote PHP file that will return data to it.
It is a simple way of transferring data between …
Split string into sentences by max line length.
This uses a character array but doesn’t use word-wrapping.
var personalMessage: String = …
Read Article →
This is how to add text leading using Actionscript 2 for Flash.
var txtFormat:TextFormat = new TextFormat();
txtFormat.leading = 5; // change this to …
Read Article →
Getting this error in ActionScript 3?
Error 1046: Type was not found or was not a compile-time constant: Event.
You need to import the Event class: …
Read Article →I needed to work out a date range according to the date 3weeks away from the current date.
After a bit of thinking, I found that it’s actually …
I have been working on a project where I need to select a date range starting today and ending a month from now, so the user cannot select anything in …
Read Article →The hitTest method in ActionScript 2 is how you check whether the mouse (or another object) is overlapping a movie clip. It’s essential for …
If you want to only show numeric characters in a textfield in Flash ActionScript 2, you can use the restrict property:
myTextField.restrict = …If you use a dynamic textbox in Flash and you want to embed the British Pound symbol (£) then you will want to also embed the “Latin I” …
Read Article →If you have a movieclip that by default has the hand cursor showing on RollOver and you don’t really want this, you can disable it by doing the …
Read Article →In a flash movie I usually have a frame of actionscript that controls all elements in the file to keep everything in one place.
Sometimes I have an …
Read Article →You have a flash uploader and you get this error:
security error: securitySandboxError
This means that the flash is not trusted by the domain and you …
Read Article →I discovered a very annoying bug in the Flash IDE a little while ago, and it has happened to me quite a few times.
Today it happened again and so I …
Read Article →You have a string and you want to capitalize the first character but have the rest of the word in lowercase.
DO THIS!
myStringVar = …
Read Article →
If you have ever tried to place a div or similar HTML element on top of a swf flash object you will know that it always tries to take precedence.
You …
Read Article →If you want to position the flash top/left and not have it scale when you resize it’s bounding box window, you can set the following code. …
Read Article →In ActionScript 2, event handlers like onRelease are assigned as properties on movie clips. Removing them isn’t immediately obvious if you …
Hello all actionscripters — you can’t use getURL anymore in ActionScript 3. It was removed in the move from AS2 to AS3.
Below is how you should …
Read Article →Anyone up for an online Flash IDE?
Take a look at this:
http://antimatter15.com/ajaxanimator/build/
Nice work!
This was Ajax Animator — an ambitious …
Read Article →