Tag Archives: ActionScript

(ActionScript 3) Twitter Authentication with Flex Mobile

Authenticating against Twitter within a Flex Mobile View. I do all of it within a StageWebView window so I can have them type the pin into the app while seeing it.

Posted in ActionScript | Also tagged , , , , , , | Leave a comment

(ActionScript 3) Facebook Auth View

Using the Facebook AS3 library to authenticate in a Flex Mobile View

Posted in ActionScript | Also tagged , , , , , , | Leave a comment

(ActionScript) AS2 Draw Circle

I recently has to work on an AS2 project (yuk) and create circles dynamically. Here is a handy function for this.

Posted in ActionScript | Also tagged , , , , , , , , , | Leave a comment

(ActionScript 3) Call function from external SWF in AS3

The code below assume you have a method in your external SWF called testing().

Posted in ActionScript | Also tagged , , , , , | Leave a comment

(ActionScript) Adjust Volume on FLV Video

// Adjust Volume on FLV Video

Posted in ActionScript | Also tagged , , , , , , , , , , | Leave a comment

Embed Fonts Flash

// note t0 self – place inside class declaration with vars – include Flex SDK swc (flash CS4)

Posted in ActionScript | Also tagged , , , , , , | Leave a comment

Search Displaylist for Bitmap (or any type of DisplayObject)

var bitmap:Bitmap; for (var i:int = 0; i < this.numChildren; i++) { bitmap = this.getChildAt(i) as Bitmap; if (bitmap) break; } Go to Source

Posted in ActionScript | Also tagged , , , , , , , | Leave a comment

clickTag using ActionScript 3

// Create button that covers the entire ad. Create an instance of the button on the main timeline and name it “clickTag_bn” in the properties palette.

Posted in ActionScript | Also tagged , , , , , | Leave a comment

(ActionScript) random number generation

Posted in ActionScript | Also tagged , , | Leave a comment

(ActionScript) Custom event listener

Posted in ActionScript | Also tagged , , | 1 Comment