ActionScript 3.0 :: Flash Freeze On A No Sound Card PC?
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
Similar Posts:
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
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
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
Jul 21, 2010
I am currently developing a platform game. The hero is controlled by the player using the following script:
code: /onClipEvent (load) {
var ground:MovieClip = _root.ground;
var grav:Number = 0;
[code]......
View 2 Replies
Oct 30, 2011
I am using Flash and Photoshop CS5 for a college (HND) project (by which I mean, a single document for a Flash portfolio) and, Flash in particular, they keep appearing to freeze (i.e. they temporarily show as "Not Responding") whenever I save and take forever to save. My computer is quite low spec. (I intend to get another high-spec one but until that point) and possibly insufficient for what I am trying to run. However, I have only recently started having this problem and the saving is so slow that it is hampering my development of the project..
Is there at least a short-term solution to this? I really need to get on with the project and I can't when it's running like this. Flash also occasionally crashes so I can't risk not saving it regularly as I could lose work.
View 2 Replies
May 19, 2011
I have the newest firefox and the flash debug version. Whenever there is an flash error happen, the error message window popup, and then my firefox freeze immediately. It seems like the problem only happen on debug version of flash. I searched online, people said change the Code:dom.ipc.plugins.timeoutSecs to -1 will fix the problem, but I tried, it doesn't really fix it. Anyone know anything I could try to fix it?
View 0 Replies
Jul 23, 2010
This was working with Flash 10, but 10.1 kills it I am not sure if its the server or client side that makes it freeze.
[URL]
import flash.display.BitmapData
stop();
var aScene:Array = []
[Code]....
View 4 Replies
Apr 8, 2012
When my Flash website loads, it freezes halfway through the initial animation for 2-3 seconds and then continues. Am thinking it is one of the scripts in index.html and have tried all sorts of ways to correct it -[code]...
View 2 Replies
Nov 24, 2010
I am using Ubuntu 10.10 on my IBM X200t. Installed is the standard flash player plugin for Firefox: (flashplugin-nonfree, 10.1.102.65). Everytime I switch a flash video to fullscreen, the video freezes. However, the video continues to play and I hear sound. How can I fix this?
View 2 Replies
Jan 30, 2011
I have flash resizing it's container div by using external interface to call the javascript:[code]Now this appears to work fine in every browser except chrome. For some reason after the div is shrunk back down to size, the flash player looks like it's frozen. It's actually not frozen because if you resize the window the flash player starts playing again and you can see it had made progress since it appeared frozen. This only happens in chrome. Does anyone have any idea why something like this might happen?The site so you can check it out yourself(yes I know it's a broken mess in IE, but I'm kind of ignoring that for now):[code]I've tried different window modes but that doesn't help. The problem is when it resizes the div back down because if I comment that line out the flash never appears to freeze. But I need to be able to resize the div...
View 2 Replies
Jan 25, 2012
I am developing a product for schools including flash animations - swf files written in AS3 - for insert/embed into PowerPoint slideshows. Hundreds of customers are waiting. It is all working apart from one problem: when inserted/embedded in PowerPoint 2007 slideshows my animations freeze (sometimes) when you leave and return to a PowerPoint slide containing them.
I have found that when you show a PP2007 slide containing a flash movie, move on to the next slide and then return, (sometimes) the time-related Events (ENTER_FRAME, TIMER etc) have stopped being dispatched to AS3 code by Flash Player, freezing animations. Other Events such as MOUSE_MOVE, KEY_DOWN etc are dispatched to AS3 in random bursts. I have created a small flash program and PowerPoint slideshow to demonstrate the problem and put them on the web at: [URL].
View 4 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
Oct 23, 2009
I need get the details from card using Flash action script ..
For example :
ATM process. i am insert the card and display the card details ( Name , account number).
View 1 Replies
Sep 6, 2011
This is what I need to do, I need to design an access card where the user would type his/her name in the textbox, press a submit button, and then have their name on the card so that the card can be printed with their name on it.
View 4 Replies
Dec 12, 2011
I'm trying to code a card game in AS3 for a class project. There are three computer players and one human player. The code to run the overall game is something like this:
[Code]...
View 1 Replies
Oct 21, 2009
How can I quickly build a credit card payment wizard in flash? - AS2 / AS3 I have some actionscript to validate a credit card number, but what next? Which service / what scripts should I use to accept credit card payments in flash?
View 1 Replies
Dec 19, 2010
i made a flash card (an animated postcard), and i want to send it via email so other people can immediatly see it when they open the email. How can i do this?
View 3 Replies
Nov 22, 2011
I want to make a nice and impressive flash e-card,
View 1 Replies
Nov 2, 2009
Does Flash support to read the swipe card information like credit card using actionscript 3.0?
View 6 Replies
Sep 21, 2010
I want to process the credit card details within a flash/swf based form.
View 2 Replies
May 31, 2011
My friend is teaching me some math required for 3D engine tomorrow. how do I program an actual 3D engine in as3? Do I just use bytearray and have it somehow call the graphics card to....Ya know im not gonna imagine how I would apply this because the only way I know how to render a graphic in as3 is graphics.beginFill.So basically, do I need to know a certain class file to render graphics right or do I need to dig into Flash's core...?
View 1 Replies
Mar 22, 2012
Is it easy to adapt the Actionscript so that you can get multiple flips? i.e., so that you can flip the card several times and get a different image each time? Here is the code for two times flip and implement this. now i plan to move little bit forward to implement to flip the card several times.
package {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import com.greensock.TimelineLite;
import com.greensock.TweenLite;
[Code] .....
View 1 Replies
May 17, 2011
I already have a flash form (1280x1024 stagesize fullscreen) that allows the users to type in their name / age and take a photo of their face. I was thinking is it possible to print out a card, for example "credit size CARD" with flash AS3? And of course, is it also possible to generate a unique barcode for every user and print it on the card?
View 4 Replies
May 16, 2011
update: I'm doing a kiosk-type flash application. and i have a print function at the end of the application, to print the receipt... but..
1) whenever I press the PRINT button in flash, it will pop out a printing preference window and I will have to press OK then it will print. In other words, is it possible to skip selection printer window? I must print "directly" the job in the default printer. I'm develping a kiosk application and need print a "receipt".
2) and then is there any code to check if the printing succeed or fail? so that if it fail, i will display a fail msg in flash.. etc..
View 11 Replies
Apr 23, 2012
I am experimenting with a card game. In what I have been working on, I got a button to be able to be click and "draw" a card into the players hand. This is all done through the use of arrays and tracing. I have set it up in a class file called drawClass.This, however, is where I am beginning to have trouble. I want it to take a random array value from the array called currentDeck and then place it in the players hand when the player clicks on the draw button. I am using a for loop to try and get a random array value and push it into the playerHand array.
Code:
for(i = 0; i < currentHand.length; i++)
{
if(currentDeck.length == 0) break;[code]....
In addition I have another question in regards to class files. I am relatively new to Actionscript 3. Making the change from Actionscript 2 to 3. It seems that most things should be done in classes and code should be kept out of the main flash file. However, it seems that you have to manually attach a singular class file to the main flash file, through the use of the properties tab in Flash CS5. Meaning it doesn't seem like you can have multiple class files attached.My question is, is there a way to have multiple class files and would that way be to just have them in the same file destination has the main flash file or can you actually only have one class file attached at any given time?
View 3 Replies
Dec 18, 2010
I am making this interactive flash card, and dont have any problems so far, however, I get this error:
Location: Scene 1, Layer 'AS' {this is the layer I use for my actionscript}, Frame 1, Line 11
Description: Warning: 3553: Function value used where type void was expected. Possibly the parentheses () are missing after this function reference.
Source: roteren;
This is the piece of code its referring to:
function klokklik (evt:MouseEvent) {
draai = 0;
geklikt = 1;
roteren;
}
And roteren; refers to the function roteren:
function roteren (evt:Event) {<lots of code here>
}
View 3 Replies
Dec 12, 2009
how to integrate a magnetic card reader into computer and a flash based application?
View 1 Replies
Jun 18, 2011
Is it possible to calculate sha256 hashes in the browser using the user's video card, eg. by using WebGL or Flash?
I'm afraid this is all there is to ask, but if more elaboration is needed
View 2 Replies