I'm trying to devise a (good) way to choose a random number from a range of possible numbers where each number in the range is given a weight.  To put it simply:  given the range of numbers (0,1,2) choose a number where 0 has an 80% probability...
Is there a way to get a list of the exposed functions from a Flash object? For example, you could get a list of all methods in an object by executing:  for (var i in object) {   if (typeof object[i] == "function") {     console.log(i);   } }...
This question already has answers here:...
The Math object does not have a prototype property, but does have a constructor property. Is there any case in which redefining the constructor would be useful?...
Given that there is a global javascript variable on my web page named myVar, how can I access the value of the variable myVar from within my flash movie using javascript?  I see plenty of examples of using external interface in order to execute javas...
I have a function like this in actionscript3  private function uploadFile(event:MouseEvent):void {             var uploader:URLRequest = new URLRequest(serverUploadFile);             localFile.upload(uploader);         }   how can i call this functio...
As far as I know, what I ask here isn't possible, but I thought I'd ask anyway in case I'm missing something.  Suppose you want to let users upload JPG images, and these images are scaled into smaller icons and the original images are alw...
JavaScript and the Flash Player can exchange data via Flash's ExternalInterface mechanism: you register ActionScript functions that you would like to be able to be called from JavaScript.  My question: How can I figure out what ActionScript funct...
I know a matrix [x scale, y skew, x skew, y scale, trans x, trans y], and would like to get the angle in degrees.   thanks!...
Is there any way to mute other flash objects on the same page with ActionScript or Javascript? I can understand if this would be a security issue but my flash does have a user-initiated mode which takes over the screen and I was hoping this might be...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.