Skip to content Skip to sidebar Skip to footer
Showing posts with the label Actionscript 3

Javascript Function That Works Like Actionscript's Normalize(1)

I need a formula that returns normalize numbers for xy point - similar to actionscript's normal… Read more Javascript Function That Works Like Actionscript's Normalize(1)

Javascript's Version Of Actionscript's Event.enter_frame Event?

I am trying to learn JavaScript and I am wondering whether JavaScript has a event listener just lik… Read more Javascript's Version Of Actionscript's Event.enter_frame Event?

Send Bytearray To Javascript

How to send a jpg image as ByteArray from as3 to javascript? And how to convert ByteArray to image … Read more Send Bytearray To Javascript

Externalinterface

Hey, so I'm having a bunch of trouble getting ExternalInterface to work, which is odd, because … Read more Externalinterface

How To Pick Random Element In An Array Avoiding (except If It's) A Certain Value?

For example, when users are connecting to this application they are given a userid var, then it'… Read more How To Pick Random Element In An Array Avoiding (except If It's) A Certain Value?

Why Am I Seeing Inexact Floating-point Results In Ecmascript / Actionscript 3?

Hey all, let's jump straight to a code sample to show how ECMAScript/JavaScript/AS3 can't d… Read more Why Am I Seeing Inexact Floating-point Results In Ecmascript / Actionscript 3?