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...
This question already has answers here:...
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...
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...
I'm working on a InDesign CS6 Extension in Adobe Flash Builder 4.6. For some reason my code (which worked fine for a long time) now throws the error null is not an object. The error is located in a javascript injection (last line):  public class...
We have a lot of objects for which we like to implement a simple toString to output attributes of the object.  Some of these attributes may be complex objects themselves.  Is there any standard, or simply just a best practice for a style?  I'm t...
This question is not related to a specific programming language but this is confusing me all the time when it comes to the question how to structure my project directories in a “professional way”.  AFAIK the bin directory contains compiled and co...
My compilers class requires us to find a yacc grammar for one of these languages and combine it with the tokenizer we wrote. Presumably this is something easy to Google but I can't find it and my classmates are struggling as well. A yacc grammar...
I am building a web app which will have 3D objects and much of sound manipulation in real time. Should I do it with webGL or it would be better with actionscript (in a flex project) ?  I am intersted in good performance (many sounds will be played re...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.