ActionScript 3.0 :: Select A Soundcard Using Flash/air?
Apr 4, 2011
Im currently working on a project that requires a sound to played out through one sound card and a diffrent sound to play out through another.I couldnt find anything in the documentation for soundcards. Does anyone no how to select and use a diffrent soundcard in flash?
View 2 Replies
Similar Posts:
Jun 14, 2011
I would like to record sound that is currently played on the local computer (i.e. form winamp or youtube). I saw some codes that use the microphone, but this is undesired. The client machine may not have a microphone hardware or may play the sound on headphones. I think this must be possible but may be not a common task so that's
View 1 Replies
Jun 23, 2010
I have a comboBox and values like basic and advanced. And viewstack container conatains 2 grids.When i select the base option in Combobox, the first grid has to be selected. select the advanced value in comboBox, the second grid has to be selected.
<mx:ViewStack id="viewstack1" width="95%" height="85%" x="0" y="63" >
<tables:KeyMetricsBasicTable basicArrayDataProvider="{basicArrayResult1}" width="100%" height="100%"/>
<tables:KeyMetricsAdvTable advArrayDataProvider="{advArrayResult1}" width="100%" height="100%"/>
</mx:ViewStack>
View 1 Replies
Dec 6, 2011
Flex 4 Combobox is extended with a Text Input that helps in getting to the item that is searched for.I have created a Check Box as an itemrenderer for this Flex 4 Combobox. I would like to Add a Select All and Select None options in the drop down of the Combobox. I know that i could accomplish by editing the dropdownfactory in case of a Flex 3 Combobox. But in Flex 4 the dropdownfactory doesnt exist.
View 2 Replies
Nov 1, 2011
I have about 18 checkboxes and I would want to know if there is a way how i can make only one of them be choosen. I.e I can't choose 2 of the boxes an error will occure. I know I could do it with radioboxes but for estetic I prefere checkboxes.
View 3 Replies
May 31, 2011
I'm trying to animate a simple stick figure just now. I used an inverted triangle shape for the body,which gives a nice width to the shoulders. Unfortunately, flash doesn't seem to realise that it's a triangle. Due to it's stubborn way of drawing a rectangular bounding box around every shape.
This is getting in the way a lot, as there are parts of figure which are clearly not blocked by the torso, but are blocked by it's big square bounding box, which makes it a nightmare to drag the arms and legs around to where I want them
Is there any way to fix this silly behaviour, and have it only select an object when I click on a visible part of it, and not just anywhere in it's bounding box ?
View 5 Replies
Mar 13, 2011
Here is my XML. I have removed A LOT of what is actually in the XML file I am working with, for simplicity:
PHP Code:
<State><Center ID="BOCC">
<Dispatch><Log>
<LogType>Traffic Collision - Ambulance Responding</LogType>
[Code] .....
I need ONLY the text of the LogType's (FROM CENTER "BOCC" ONLY) to show up in a list component or trace the output.. doesn't matter.. I can formulate it myself.. I just need to only grab this specific data. I do not want to see any other results (e.g. from SOMEOTHERCENTER). Like show:
Traffic Collision - Ambulance Responding
Traffic Hazard
Pedestrian On A Highway
The actual file I'm working with (and can not alter) is [URL].
View 7 Replies
Jan 18, 2010
Supose I have a MovieClip called Egg and I have a lot of Egg instances with unique names (required) or without names.What if I need to write a code who break all these eggs refering to the Main object in Library? Instead to add code for every egg with every name in the Stage.
View 1 Replies
Apr 28, 2011
I have a set of variables of type "integer" and I just want to take the greatest of these values, and set as the value for some new variable. How would I do this in as3?
View 2 Replies
Oct 9, 2011
I am working a video in Flash CS5 that is roughly 11 minutes long.
I am at the 6 minute mark at the moment and whenever I want to preview the latest changes I click F12 to I press 'alt+enter'. The problem is I have to watch 6 minutes of the SWF to eventually get to the latest part I edited.
This is slowing me down tremendously and I would hate to still be doing this when I am 10 minutes into the video!
Is there a more efficient way to preview?
Perhaps open it in a player that has some proper controls? or even if I could select the starting point of the preview?
If I press 'enter' I see a preview but the sound file does not play so that option is out too.
View 1 Replies
Oct 26, 2011
I am trying to create a Flash application which will allow a user to draw arrows on the screen/canvas by using the mouse. So if they click and hold the left mouse button at coordinates 23,12 and release the left button at 84,45 a line would be drawn between the 2 points with an arrow head at the second coordinate.I also need each individual arrow to be selectable so they can be moved or deleted (I know how to do this part!).
View 1 Replies
Aug 13, 2011
after you click play on the menu frame for my flash game, and the game starts, you have to click anywhere on the stage for the keyboard controls to work.
View 4 Replies
Jan 17, 2007
is there any way I could print selected text in flash??
View 1 Replies
Aug 19, 2009
Does anyone have any experience or examples of similar functionality to the Iphone's Picker View to the in Flash/AS3? I'm working on a touch screen flash application and would love to use something like this for a time picker, instead ComboBoxes, which are difficult on touch screens.
View 5 Replies
May 20, 2010
creat a flash to randomly select names from list contains more than 150 names and randomly select about 10 or 20 names each time without repeat any of then
View 1 Replies
Nov 4, 2011
I was wondering what's the best practice to make something like below, I thought on global variables with if conditionals, but the code is going to be messy. Unfortunately I can't find any tutorial on the internet, I spent hours googling it but everything I found there was nothing to do with this. It's so frustrating because it's really hard to get on without these "special" references.
[Code]...
View 6 Replies
Feb 9, 2011
I am new to flash, and I am trying to make a simple video player. I have a problem setting the source of video: In my action script I have this: [URL] where getVideo.php is:
[Code]...
View 1 Replies
Apr 4, 2011
I have the following code. The problem is that neither SELECT nor CANCEL event never fired after i choose a file through browse dialog.
I have MacOS 10.6 and FlashPlayer 10.
[Code]...
View 2 Replies
Jun 29, 2011
I'm using a transform matrix as part of a bitmap draw to select an area of my target rather than drawing from 0,0:
var bmd:BitmapData = new BitmapData(target.width,target.height,true,0);
var mat:Matrix = new Matrix(1,0,0,1,-target.x,-target.y);
bmd.draw(this,mat);
[code]......
View 1 Replies
Mar 5, 2012
I'm trying to integrate a JavaScript multiple file uploader into a website. I've worked with Uploadify before and wanted to go with that. The difference in this case was that I needed to allow a large number of files in the upload queue (up to 500).
Everything works fine in Firefox, IE6-9 and Safari. Except for Chrome, where when selecting more than 232 files at once (using the Flash file select dialog) it doesn't do anything (the file select event is not triggered for the JS script to capture).
At first I thought it was an Uploadify bug, and decided to try Plupload as an alternative. Problem is that I hit the same dead end with the Flash version of Plupload, it just won't do anything when selecting more than 232 files at once.
Is this a known Flash Player limitation/bug in Chrome?
View 1 Replies
Mar 9, 2011
how to build an AS3 multi file select upload that uses flash and php.
View 5 Replies
Jul 26, 2007
I was trying to work out how to make flash select a random number, but between 0 and 5 .
View 8 Replies
Mar 2, 2011
Just a quick question here, i have this code:
PHP Code:
public var randomNumber:int;myArray = ["40", "80", "120", "160", "200", "240", "280", "320", "360", "400", "440", "480", "520", "560", "
[code]......
View 3 Replies
Jan 8, 2010
how can I select same color shapes in adobe flash program ? for example we assume 10 rectangle shapes. 3 of them are red others are green. I want to use only one click or method to select 3 of them.
View 2 Replies
Jan 24, 2010
I am talking about anchor points on a line, not a keyframe. They are also called "handles". I can select the anchor points as "white" quickly, but I can't get them to be "solid"without doing it layer by layer, which is tedious. What I want is way to select lines that are in different layers and get the points I selected in a way similar to the regular selection tool or free transform tool. Here is an image of what I'm trying to do, but more easily. The lines are on separate layers, but when I select them with the subselection tool I have to go layer by layer selecting the points. I'm trying to look for a very quick way of doing it. When I do select all with the subselection tool on, the anchor points are only "white" and not "solid" as shown below.
View 8 Replies
May 22, 2010
I can't select anything in a tool windows. With one fla opened, i select "ESSENTIAL" in workspace, the interface, turn on, but when i select a draw tool orchange any preference on Flash CS5 Trial on Snow Leopard, the flash allways crash and close without message. The image show the tools "closed" and the erro in Apple System.
View 1 Replies
Oct 3, 2011
I have made a simple app in Flash CS5.5 and am publishing it with AIR for iOS. I am trying to get an image from the iPhone cameraRoll to load to a scrollPane on the stage using this code (I don't need to save the image anywhere, just display it on the stag). The scrollPane is called 'imageArea' and the button to initiate cameraRoll.browseForImage(); is called select_btn.I've tried this both in the main timeline on frame 1 and also as a class of it's own, either way I get the same error:1119: Access of possibly undefined property SELECT through a reference with static type Class which points to this line:mediaSource.addEvent Listener(MediaEvent.SELECT,imageSelected );[code]
View 1 Replies
Mar 28, 2012
I am having trouble getting a function to work within flash. I basically am creating a video where the intro video plays through then the user is prompted with 3 choices to select which video will play next. I am using keyboard input to make the selection. I have the keyboard input capturing working, pretty basic, but I am having trouble getting it to switch to say scene 2 (where I have another video).
Code:
import flash.events.MouseEvent;
import flash.events.Event;
import flash.events.KeyboardEvent;
function reportKeyDown(event:KeyboardEvent):void {
[Code] .....
And I get a compiler error stating "Scene 1, Layer 'content', Frame 1, Line 11 1120: Access of undefined property event.
I've created a new layer in the scene 1 and put that code in and everything compiles fine. I created scene 2 and imported a video into it from the library but the video plays and does not respond to any key input and the output is not showing the trace any longer. Enter does work to pause and play the video though.
import flash.events.Event;
import flash.events.KeyboardEvent;
function reportKeyDown(event:KeyboardEvent):void {
stage.addEventListener(KeyboardEvent.KEY_DOWN, reportKeyDown);
if (event.keyCode == Keyboard.ENTER){
gotoAndPlay("Scene 2");
}}
View 0 Replies
Jul 14, 2011
How would I go about applying the following text format only to the word 'the' (regardless of caSe) in my textfield?
Code:
my_txt.text = 'The cat jumped over the house.'
/// my format I want to apply
with (_light_S_fmt) {
[Code]....
View 3 Replies
Aug 4, 2009
In my project i used one select all button for select all checkbox at click event . But i used datagrid ,iteam renderer within checkbox so no id of checkbox then how to select/unselect all checkbox ?
<mx:DataGrid id=newdatagrid>
<mx:columns>
<mx:DataGridColumn headerText="1" rendererIsEditor="true"
[Code]....
how can i implement select/unselect all button for checkbox?
View 1 Replies