ActionScript 3.0 :: Capture Power Of Sound
Sep 3, 2011
I have a problem with the sound capture of my Microphone in Actionscript 3.0.Particularly I would like to capture the "power" of sound, better if in decibel.Does a method / attribut of class Microphone exist.
View 6 Replies
Similar Posts:
May 25, 2011
I am trying to record the sound of my device connected to Line-In via ActionScript 3.
According to adobe docs [URL], The Microphone class lets your application connect to a microphone or other sound input device on the user's system .
But the Microphone class detects only microphones on my sound card ( Microphone.names array ) , not the "other sound input devices". Maybe there is another way to capture sound from Line-In devices?
View 1 Replies
May 24, 2010
Made a swf [URL] some viewers see and hear fine but others are having sound and size issues and I need some practical answers. SIZE: I make the Flash stage the size of the original screen capture video of 1024 x 768 and right now it is set to
[Code]...
View 2 Replies
May 24, 2011
The question is simple; I need the fastest way to calculate power 2. I need that for this formula which calculates distance between 2 points.var Dist:int = Math.sqrt( (mmx - ox) * (mmx - ox) + (mmy - oy) * (mmy - oy) );
View 2 Replies
May 13, 2003
why aren't they working? need any more details?
View 3 Replies
Mar 27, 2009
why aren't they working? need any more details?
View 1 Replies
Sep 6, 2009
I've been wanting to learn to work with Flash for awhi l e and decided to start learning by attempting a game. I found a decent tutorial for a space shooter and used it to create the basic code (firing, etc...) and now I've been figuring out how to add other elements (splash screen/scrolling screen).now I'd like to add power-ups but can't figure out how.I've created a graphic, turned it into a movie clip, but can't think of what to define for its actions.
View 2 Replies
Jun 6, 2010
I have a set of data (in ArrayCollection) and I need to fit a power function { f(x)= B + x^alpha } to it, before display in LineChart. As result I need the alpha and B paremeter.
View 1 Replies
Mar 1, 2011
I have been trying to implement the Round Up Power Of 2 algorithm outlined in the following link in AS3.
[Code]...
The algorithm works great for most of the values I've tested. It is mentioned that this will return 0 when given an input value of 0 which is technically incorrect but I'm ok with that output. What I'm not ok with is when given an input of 1 I get and output of 1. I'm thinking that this must be a caveat of AS3 and its wonky uint implementation but I can't seem to figure it out. I have also tried using the >>> logical shift operator to the same result. My C is a little rusty, but I'm not sure how this would even return 2 in C. Can someone explain to me whats going wrong here? I assume if an input of 1 was a special case it would have been mentioned in the above link.
View 1 Replies
Nov 4, 2002
I have an MC that occurs many times on the stage, and each one has a motion, and random scaling script in it. Would I save computing power by not having a script in each MC but rather assign them all to a prototype?
View 14 Replies
Dec 10, 2008
I need a good Flash strategy for creating an ordinary PowerPoint presentation. We always need very media-rich presentations (PP is weak in this area). So far we have relied on embedding a Flash object in PP. This turned out to be a bad move because many of our clients deal with the Defense Department and are not allowed to D/L and install the latest Flash player. I have found that publishing a Flash movie projector (.exe) that advances slides like a PP is a good solution. The problem is that I have to put buttons on each slide and write unique functions to advance the slides I would like to be able to simpley click the mouse or use the arrow keys (like PP) for navigation. Should I use the "Flash Slides Presentation" template?
View 2 Replies
May 20, 2010
I'm making a 3D program and I've already made the back end which calculates where each object's polygons should be. However, I can't seem to find a quick way of drawing them without having to remove and redraw them each time, which I'm sure would take a lot of processing power, knowing the way that Flash does things. So is there a way to draw a shape (a quad in this example) and then alter the shape's color and the position of all of its corners in the next frame without taking a huge load of processing power? I would really like to be able to do this to at least 20 polygons, hopefully more, within the span of one frame at 20 fps.
View 3 Replies
Dec 31, 2011
I'm doing a prototype game like Worms and I would like not only to shot, but also see the whole projection curve where my shot will travel before it hit the ground. The only information given by the player is an angle and a power. There is also some level elements like wind and gravity.
Can I have a code for the projection curve? its like a parabola I think. I research about parabola but I had some difficult to apply these math formulas into the programming code.
View 1 Replies
Apr 9, 2006
How can I make Flash calculate the value of the function y= (1 - x^2)^3 where x is the user input value?
View 3 Replies
May 2, 2010
I have this little crumby thing I'm working on. And in it, I draw a circle with a radial gradient fill. Then I add that circle to the array: "colourSplodeArray"
I have another circle that bounces around and hits walls, "creating" the previously mentioned circles. (So I have one that is not in the array, the rest are)[code]...
View 2 Replies
Aug 26, 2011
[URL]I'm trying to make an animation of electricity going through power lines.. (and just drawing lines in general) and I like how it was done in this video. I'm just not sure how to go about doing it.
View 1 Replies
Oct 30, 2008
I want to make a function like y= (1 - x^z), where both x and z are user input values. How is that possible?
View 1 Replies
Nov 20, 2007
Please provide the feature to disable the system screensaver & power saving features while a video object is currently playing a video. I get this request all the time when developing video players and now that the netflix player provides this feature it is becoming a must have in the online video market. If you know other solution which does not require .net, silverlight , or any other browser plugin besides flash please let me know.
View 1 Replies
Apr 22, 2010
I'm building a website where I hook people up so that they can anonymously vent to strangers. You either choose to be a listener, or a talker, and then you get catapulted into a one-on-one chat room. The reason for the app's construction is because you often can't vent to friends, because your deepest vulnerabilities can often be leveraged against you later on. (Like it or not, this is a part of human nature. Sad.)
I'm looking for some insight into how I should architect everything. I found this neat tutorial, [URL], which suggests using python & stackless + flash. Someone else suggested I should try using p2p sockets, but I don't even know where to begin to look for info on that.
View 4 Replies
Nov 28, 2011
Basically there will be a club and a ball. You can control the power and angle to hit the ball. How do I go about implementing this? Is flash the easiest way to go? I want to implement this as a facebook game. Any game libraries specific to this I can use to quickly implement a basic version? I am comfortable with Java and PHP.
View 1 Replies
Sep 24, 2010
So I've set myself a little project to build a bowman game. Everythings working smashing until the math at the point where the computer needs to figure out the power and angle to shoot the arrow back at you. What I've been working off is my knowledge from applied-math classes in school. I've been using the following formula where g is gravity, t is time (this would be in frames for flash), sx is the distance between the players, u is the initial force of the arrow and a is the angle we need to find. With a bit of moving around to seperate the angle, this becomes For my AS3 this translates to:
[Code]...
What happens is that it always fires the projectile at a very low angle that doesnt change to match the correct circumstances and I can't figure out how to get around this. Changing the force doesnt make any difference and the program will need to get around changing distances between the player so this math is pretty necessary (I think). Any math heads out there know what I should change?
View 1 Replies
Apr 16, 2011
I am triggering short sounds dynamically from the library for a game (Specifically Air for Android). When the user clicks a button the sound can take up to 600ms to actually play. I have set it for any silence before the actual sound by calling the sound like so:
[Code]...
All return the same results. I know there are threads here that talk about this but none have offered a real solution that I can find. Is there no way to cache the sound or store it in a buffer?
View 1 Replies
Sep 12, 2011
this is what i'm trying to accomplish; With a click on a movieclip (cannon_mc)a shot is being fired (ball_mc)
The longer mouse is down, the speed of wich the ball is fired with should increase.My question to you is;
What is the most efficient way to accomplish this? With a timer or something like this;
[Code]...
View 2 Replies
Jan 26, 2010
I want to make an application with Flash CS4, to open to read inside either pdf either power point. I have some doubts.First: How I can open and see pdf document ? (an small application it would be ok to me, but I haven't see in samples).Second : can I open ppt ? I think probably not, but I am not sure. I read that with flashpaper you can convert ppt to swf, but that's not good to me, the user must select a ppt, and then the application must show it, but if that's not possible, I would like to known if I can load ppt, and the app internaly make the converts needed and then show it.
View 1 Replies
Nov 3, 2010
How can I have the ^-N in the statement below mean "to the power of -N" in Flashbuilder?
var M:Number = 1 - (1 + J)^-N;
View 2 Replies
Sep 11, 2010
I created a for loop to assign properties to my buttons all at once. The thing I can't figure out how to do is capture what button was clicked in the past. Basically, [code]...
My dilema is setting up my code so it remembers what the previous button was so I can add code to do something to that.
View 3 Replies
Jan 8, 2009
When I click on a button I want to capture the entire screenand make it available in the background of the new frame Idisplay.How to do this?
View 1 Replies
Jun 16, 2009
How do I capture events of an obj behind another?I have a button(btn1) which I am applying a tween to. This tween is responsible for fading the btn out using the alpha prop (to 0). Behind that btn is another (btn2). I am having trouble leaving btn1 in place (same x and y) and being able to press on btn2. I have removed the eventHandler for btn1 but it's still blocking the other button. Other than creating another var and checking in the tween on complete handler is there any way to leave btn1 in place but be able to click through it??
View 2 Replies
Nov 29, 2010
I'm building a website application in PHP that requires a signature from the end user. For this part of the website it will be exclusively viewed on Windows based tablets. So, my question is this: What's the best way to capture a signature online? I've looked at flash or HTML5 canvas/excanvas, but I am seeking a more experienced answer.
View 2 Replies
May 6, 2011
I'm developing a web project and it need access client's web cam and capture images then store them on the server. And i found silverlight 4 can do this,,but the problem is my project runs on the .net 3.5 server machine (i can't change it) , so i cant use silverlight 4. Any one has idea about how to do this in asp.net? (It's ok with me flash plugings or anything)
View 1 Replies