ActionScript 2.0 :: Detect Whether Sound Card Is Installed On A Machine?
Feb 23, 2010
Is there any way to detect whether sound card is installed on a machine using AS 2.0? I am embedding my swf in an html (javascipt)file. If this is possible in javascript, even then it will solve my purpose.
View 4 Replies
Similar Posts:
Dec 17, 2009
I need to play a swf on a machine that does not have Flash installed. I know I can open it in a browser, but is there anywhere I can download the external (from the browser) swf player?
View 2 Replies
Jul 20, 2009
I recently installed the Slideshowpro component on my machine (XP). However, in order for it to work as i needed it to, I ended up de-compiling it to see how i can customize it.I ended up creating a Main.as class which extends the Component class that comes with Slideshowpro.In Main.as, I am importing various packages from slideshow pro, for example:However, I am not including the net.slideshowpro.slideshowpro package in my folder structure where I have my Main.as file that I compile.My question is, where exactly does this net.slideshowpro.slideshowpro.content package reside? On the web? Or somewhere locally?
View 9 Replies
Jun 1, 2011
I want to detect if the Java Runtime Environment (JRE) is installed on the machine using Adobe AIR.
How do I detect that the JRE has been installed on the machine?
View 1 Replies
Jul 14, 2011
If flash is not installed, i want to replace the flash animation with a jquery animation.BUT if flash and js are not installed, i want to display a div with a message to the user.how is it possible to check if flash is not running at the clientside without using js?
View 3 Replies
Nov 22, 2010
Anybody has an AS3 script to detect if IIS is installed in a computer.
View 1 Replies
Jun 16, 2010
how to detect all the browsers that are installed in a system.By using Flex
View 2 Replies
Dec 3, 2010
I have a Windows app written in C++ and I need to detect if Flash is installed for IE. What's the best way to do this?
View 2 Replies
Aug 18, 2010
I'd like to provide alternate content for my site (a basic blog for example) in case the user does not have flash/does not want to see the flash site. Is this possible? I'd like to do it without creating a splash page that requires input.I would also like this to work for a mobile device like the ipad. I know ipads/iphones cant read flash files, so is there a way to detect that it is a mobile device and route the user to the alternate content?
View 1 Replies
Aug 8, 2011
I am so stuck with this I have a full flash site and a HTML5 site (made in Hype)All I want is the index file to detect if Flash is installed, if yes go to the flashsite and if not, then it should, load the html website.Here is my index file. Where do I put the redirect code?
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
[code].....
View 3 Replies
Mar 29, 2012
I am using Asp.Net/C# in my application,I have a requirement where I need to access USB devices of client computer and run one of them.It is ok if the user has right to allow it or not.I need to know whether it is possible at all from browser.If yes what can be used here flash or silverlight.
View 1 Replies
Jan 6, 2011
This is really a two part question. First, is it possible to detect if Flash is installed on an Android device? Second, if it is installed, is it possible to display a flash video in an Activity? I'm thinking you'd have to use a WebView widget within your Activity to display the Flash content instead of something like a VideoView. Is Flash even supported within the WebView widget or is it only supported by the actual Browser app?
View 1 Replies
Oct 12, 2011
Is there anyway to detect if the browser has a flash player installed or supported by the html5 ?
View 3 Replies
Feb 25, 2010
In my AS2 Flash game, I play a number of sound files and wait for the "onSoundComplete" message/function before proceeding.The problem is if there is no sound card in the system (or it is disabled in device manager) - everything acts like it is working (no errors, onLoad handler gets "true") - but the sound never actually gets played, and as such, my event never gets triggered.I had planned on dealing with this by hooking into my sound code, and if I detect no sound card, just kick off a timer to wait a few seconds before manually firing the "onSoundComplete" function.The only problem is that I can't reliably find a way to determine if there is a sound card in the system! AS3 seems to handle this quite nicely by passing back a NULL soundchannel - unfortunately I am stuck in AS2.0
View 1 Replies
Jan 12, 2011
we'd made a flash site which was working fine on normal pc and mac and on all kind of browsers, but we discovered if the pc has no sound card, the flash will freeze after loaded, we tried some other flash sites, some of them also cannot run without a sound card but some can, is there any script we need to add to avoid this problem?
View 1 Replies
Oct 28, 2010
printing directly to a Photo ID Card printer in a web browser?I have a web application that manages user data, photo, and so forth. I'd like to add a Print ID Card feature to it. The web application is a single page javascript application that talks to a RESTful web service via JSON. I'd like to display what the printed card will look like on both the front and back for approval before the user clicks the print button.
Generate front and back JPG or PNG images to print on the server, send them to the client for display and approval, and then somehow send the images to the printer.Use javascript with SVG or Canvas to display the card to print in the UI for approval, then somehow send the SVG/canvas data to the printer.Generate a PDF and print the PDF to the printer.Use Flash to display and print Use a Java applet to display and print Something else?
View 3 Replies
Jan 20, 2012
I want to play youtube videos and programmatically direct firefox's audio out to a particular sound card.
Playing raw data 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono
aplay: set_params:1059: Sample format non available
Available formats:[code]....
The command-line suggests that it worked, but audio came out of hw:0,0 (the default).Do I need to make my own plugin? Or do I need to force alsa to take 44100Hz?I refuse to use pulse since the memory leak bug makes it crash often.
View 1 Replies
Sep 19, 2006
I'm using loadSound to load in external MP3 files and they load and sound great on the local machine but don't work when I upload the files to the web. I'm pretty stumped. The MP3 files are only like 10k and 60k so it can't be a size issue (I'm on a T1 line here at work too). Here is the site: [URL] Basically when you walk close to the fire you should hear the fire crackling and it will get louder as you get even closer. Everything works on my PC, just not online. Here's the AS code for the fire:
[Code]....
View 3 Replies
Feb 3, 2010
I'm wondering wether there's a Javascript way to detect wether a user has any sort of flash blocking plugin installed so i can accommodate these users properly. For example, I use 'click to flash', but sites that use SiFR to render text are littered with "click to flash" buttons, which is getting very annoying. I don't use SiFR in my designs for this reason. But if I could spot wether there's a flash blocking plugin installed, I would simply not call the SiFR function.
View 1 Replies
Jun 16, 2010
I need to trigger an event when the sound level of an flv's right audio goes above a cetain volume level and then trigger another event when it drops below that point.This is easy to do with a simple using "rightPeak" but I need it to work with a video.
View 0 Replies
Jun 20, 2011
I'm working the last two weeks on a module which uses computeSpecturm() to analyze FFT data from a mic. I'm currnetly trying to figure out a way to detect the pitch on each 'sample' of this sound. Does any one know how to find the fundamental frequencty or how to use auto-correclation on the FFT to get the pitch?
View 4 Replies
Jul 18, 2010
I need to check that the user has not muted the system before running my main movie (as indicated by the red bar over the speaker icon on the lower rgiht) and if so prompt to unmute with pop up. Is that something I can do with Actionscript 3 or is it sometihing that needs to be addressed with JavascriptWSH?
View 3 Replies
Mar 12, 2011
I'm working on an Adobe Air application written in Flex 4 that plays .mp3 audio files on the user's computer. Note: these are are not audio files shipped with the application -- they are .mp3's on the user's computer that they select for playback through the application. The application works fine for .mp3s encoded at 44.1 kHz, but can give unpredictable results if other sample rates are used. I've done plenty of research to know the limitations of the Sound class and how .mp3 will basically be my only option in Flex.
My question is: Is there a way to detect the sample rate of the .mp3 audio in Flex 4 ActionScript? Rather than worry about making the application work well with non-standard sample rates, at this point I'd like to just catch those cases and prevent files with non-44.1 kHz sample rates from loading. To be specific: if a user selects an .mp3 for playback that has been encoded at 48 kHz, for example, I'd like to be able to detect that case and take action preventing the file from loading and then announce to the user that this is not a supported audio file.
View 1 Replies
Apr 29, 2009
how to detect if stream finished playing sound/movie?
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
Dec 3, 2009
I just made my first flash game. A memory game, But I cant figure out how to put some graphics on the front of the card. And make it take the pictures from a image folder. and make it look ok ?
View 1 Replies
May 20, 2011
I'm having difficulty getting a scoring system on a card game to work properly.
View 2 Replies
Jul 17, 2010
I'm trying to make a basic card game where I can flip the cards and also drag them around. Here's the code for card.as, the file that's controlling my cards.
package{ import flash.display.MovieClip;
import flash.events.MouseEvent;
public class Card extends MovieClip { private var _type:*;
public function Card() { this.buttonMode = true;
this.addEventListener(MouseEvent.CLICK, onClick);
} private function onClick(event:MouseEvent):void { this.play();
} public function setType(type:*):void { _type = type;
loader_mc.addChild(_type); }}}
I've been trying to add draggability to the card, but I'm not sure how to do it. Do I need a separate ".as" file to control it? Or, do I build it right into this file? If so, how would I do that? I tried making a separate ".as" file but then my basic card flipping code doesn't work.
View 2 Replies
Dec 26, 2010
There's something I'm trying to make but I just can't seem to figure it out. I want to make something that allows a person to build a deck of cards from multiple sets of cards. I also want a button that can be clicked to randomly choose a card from the created deck. For example: lets say there are four sets of thirteen cards (hearts, diamonds, spades, and clubs). The user can select which of the four sets will be included in the deck. Once the sets are chosen the user can click a button and one card will be chosen from the selected sets. What is the best way to handle something like this? Is there a tutorial that explains how to do something like this?
View 3 Replies
Aug 31, 2010
I would like to do some video capture through flash. Is there a good video capture card I should use? Or will any do?
View 1 Replies