ActionScript 3.0 :: Mic Input Totally Crashes Flash?

Jun 16, 2011

I am working on a project that plays a sound when the mic input does not detect any sound.When I close the preview in flash I get no error but flash cs5 totally crashes.I suspect the computer cash fills up with the information about the mic input and can't handle it anymore so crashes,but I am not sure and don't know how I could fix this. I do know when the animation_mc.play(); is removed it does not crash.(In my animation_mc are the audio files that should be played when the mic does not detect an input.)

Here is my main code

Actionscript Code:
var verdergaan = false;var mic:Microphone = Microphone.getMicrophone();mic.gain = 50;mic.rate = 8;mic.setLoopBack(true);mic.soundTransform = new SoundTransform(0, 0);mic.setSilenceLevel(20,

[code]...

View 1 Replies


Similar Posts:


Flash :: Ide - CS5 Projects Panel Totally Gone?

Jun 13, 2010

So, I popped open up Flash CS5 just now, and I couldn't find my projects panel. I was working on a dual screen set up previously, so my windows were everywhere anyways (sans external). I switched over to a smaller screen workspace, and popped opened the projects panel. Oddly enough, the code snippets panel came up instead. So, I switched off the code snippets, and tried again. I've been trying different ways of opening this panel for about 15 minutes, and I'm totally stumped. Some thorough googling didn't present any relevant results, so, StackOverflow, I turn to you. Is this a known issue? is there a secret backdoor way to open this panel?

View 1 Replies

Professional :: Social Networks Made Totally In Flash

Dec 4, 2010

i developed a social network using flash (actionscript 3) , php and mysql and it interest in some fields of science.i would like from you to test it (if you find any mistake please tell me)

View 1 Replies

Flash :: FLV Player Totally Contained In Swf No External Files Other Than The FLV?

Feb 24, 2012

I have a banner ad which contains an flv player. Due to size restrictions for banners at the site, I've found a player which I think will do the trick (chrometaphore). However, the site in question does not allow anything more than the actual swf for the ad, so I cannot include the com folder for the player and need to include all AS3 code in the swf file. I'm not a scripting genius, and wonder what it would take to include all the classes in the AS3 file contained in the swf. Is it possible? Does anyone know where I can find a VERY lightweight player whose entire code is contained in the fla?

[edit]: It just occurred to me that if the flv is on a remote server, could the com folder and files also be remote? Currently, the path for the com files looks like this:

import com.chrometaphore.display.video.colibri.Colibri;
import flash.media.SoundTransform;

What would that script look like if it was pointed to a remote com folder?

View 1 Replies

Actionscript 3 :: Flash Cs4 Combobox Component Totally Ignore Styles And Events

Feb 10, 2010

I have simple combobox component in flash cs4, I try to add and event listener like this

mycombo.addEventListener(Event.ADDED_TO_STAGE, added);
function added(e:Event):void
{
trace("HI");
}

never get called even if I have the component in the stage manually or via AS, but if I add a listener to MouseOver it works, why the ADDED_TO_STAGE event don't work, also I have a problem with the textFormat style if I use

mycombo.setStyle("textFormat", tf);//suppose tf is a TextFormat object

doesn't work too, but if I put that line inside the MouseOver event it work's why??

View 1 Replies

Actionscript :: Flash - OnMouseOut Listener Not Totally Working Under Internet Explorer 8?

Mar 22, 2011

I am working on a video player in Flash CS4. I'm trying to build the player such that when the user moves their mouse over the flash object, the playback controls appear and, when the user moves the mouse out of the flash object, the controls disappear.I managed to get some code put together that works in every browser but one: Internet Explorer. Well, it 'works' but only if you slowly move the mouse out on the left side of the flash object.I have done quite a bit of Google searching for an answer, but I can't seem to find someone with a similar problem.Code is as follows:

ActionScript Code:
root.onLoad = function(){
_root.clip.skinAutoHide=true;

[code].....

View 1 Replies

ActionScript 3.0 :: Create A Totally New Var?

Oct 28, 2011

I wonder if it is posible to create a new variable in actionscript like this...

ActionScript Code:
//create a new variable
var ["new_var_" + myNumber]:Array = ["hello, hey, more_silly_stuff"];
//putt my new variable inside my old Array
row[myNumber] = ["new_var_" + myNumber];

If you understand what I want to do, is it in some way possible to acomplish this?

View 9 Replies

Professional :: Way To Totally Remove A Movieclip From Memory?

Mar 23, 2010

I have a .fla that contains five movieclips, and have a couple of questions regarding removing movieclips and swf size.If all the movieclips are displayed, my resulting swf is about 50k.If, in frame 1, I code conditionals that decide which of the movieclips will be displayed, will the resulting swf size become smaller if some of the clips aren't displayed?If so, what is the correct way to totally remove a movieclip from memory? Say I have a main movieclip that contains 5 other mcs, and the as code is within the main movieclip.If not, is there a way to make the swf size smaller if less than all clips are displayed (using conditionals).

View 10 Replies

ActionScript 3.0 :: Attached Mcs From Library Are Totally Different Sizes

Apr 10, 2010

Attached mcs from library are totally different sizes.I'm attaching them for my gane but they are totally different sizes. If I scale them that doesn't help because then the big ones become too small.If I fix their size and width some look ridiculous.Is there anything I can do?

View 2 Replies

Flex :: Layout - Totally Re-sizable Application ?

Jun 27, 2011

I would like to create an totally re-sizable application using Flex 4.5. I experimented already but my approach seems to be hard to maintain so it does not look good to me. Here is my approach:Concerning the HTML I actually have a first page which detects the user's monitor resolution and then redirects to the flash container HTML(a JSP) which reads the width and height parameters and renders the flash to the size passed.In my application I used the 1280x720 as the reference size so I have created a utility class:

package utils
{
import mx.collections.ArrayCollection;[code].....

I pass the percentage value relative to height or width and I get back just that. So I actually bind the height/width of components to e.g {LayoutUtils.relativeToWidth(50)} which would return 640 if my applications width would be 1280. But this means setting width and/or height to almost every component and this includes also padding and anchor positions which makes it a mess. I want everything to be re sized correctly(including fonts). All the available sizes I am going to have available will keep the same aspect ratio which is going to be 16:9 for example because I can't see any other way of doing it

View 1 Replies

ActionScript 3.0 :: Totally Erase PopUpManager Data?

Feb 22, 2009

We are using PopUpManager to bring some screens up, and every time I create one, I need the new one to be totally unique from the old one. Right now, every time I create a popup, it has cached the last one in memory somewhere, and the variables are all still set.

View 0 Replies

ActionScript 3.0 :: Timer Time Totally Twisted?

May 30, 2011

I'm trying to build a simple timer application in as3 that counts down and then plays a gongsound. easy right?There are 3 buttons that should change the time from 2,3 and 4 minutes. Default time is 3 mins but the buttons never change the time and I can't figure out why, the trace tells me the boolean values have changed but the time is always the same..To save time I changed the times to 3,5 and 7 secs. here is the code :

ActionScript Code:
//time selection buttons
var time;

[code]......

View 6 Replies

ActionScript 2.0 :: Loadmovie To Target Not Totally Working?

Mar 11, 2003

So I am tring to load a movie into a target. It is loading but all of the scripts are not working (some of the scripts are working). All the scripts work if I load the movie to a level instead of a target. But I need the movies to be in a target because of the motion that I want to apply to the loaded movie

View 1 Replies

ActionScript 3.0 :: Totally Pointless Naming Convention

Mar 31, 2010

When you're working with a class that has both a private and a public function by the same name (something like playVideo())? Often my public playVideo() function only provides a hook to the real private playVideo() function, which will contain more functionality. Should I use an underscore in the private version -- _playVideo() -- or is there some better way to do this?

I know it's a matter of preference and there really is no right or wrong way, but I haven't been naming all of my private properties with the underscore so it seems odd to start now with only *some* of them. This sort of trivial thing has bugged me for a while, so I finally decided I should get it settled.

View 6 Replies

Flash CS5.5 Crashes When Testing?

Dec 29, 2011

Flash CS5.5 crashes when testing this movie using CTRL-ENTER a few times. Sometimes, a message warning that the Java Virtual Machine is running out of memory appears. I would like to know whether it is the FLA or my Flash installation that is corrupt.

see the following FLA file. [URL]

View 3 Replies

Flash :: Cs3 Crashes When I Try To Publish

Jan 21, 2009

My flash cs3 is crashing every time I try to publish a file, why? I run vista business 32 bit I didn't have problems until today,using flash cs3 for the[code]...

View 9 Replies

Flash :: My Site Crashes IE

Jul 18, 2009

We created a flash site, which crashes on IE. It works fine on Firefox.The problem seems to happen when the swf tries to load some MP3 files, with 'Sound.loadSound' method.

View 7 Replies

Flash :: CS4 Crashes At Startup?

Jul 28, 2009

I have recently purchased CS4 Design Premium. The installation of all applications went fine (no error message) and all applications work perfect except Flash CS4. On startup I see shortly the stage screen and then the spinning beach ball. I tried uninstalling and reinstalling Flash only with no luck. I then uninstalled and reinstalled the complete Suite and still no luck. I work on a MacPro with 10.5.7. All other system requirements are fullfilled

View 3 Replies

Flash CS4 :: Crashes Every Time On A Mac?

Aug 4, 2009

I've been using Flash CS4 on my MAC running 10.5 for over 6 months with no issues.  But now when I open a fla file it opens but when I click anywhere it will crash within seconds.  I've restarted my computer and checked that my Flash App is up to date. 

View 1 Replies

IDE :: Flash Crashes When Opening Certain Fla's ?

May 1, 2009

just recently upgraded to Leopard. Flash now crashes when opening certain fla's (that worked fine before). The files sometimes open, but then crash the app when I select something on the stage. In these cases I can actually edit the actionscripts.I'm not sure if the crashes are related to Leopard; don't remember if I tried opening one of the problem files since upgrading.I'm on a MacBook Pro 17 2.33, 2gb ram.I repaired permissions (several times), ran various Onyx processes, zapped pram, removed all the prefs files I could find, and reinstalled the whole suite (CS3 Master suite). Bridge won't even open; it crashes on opening.

View 1 Replies

ActionScript 1/2 :: Disable 2 Clicks - Freeze Animation Totally During Processing?

Oct 23, 2009

I have several buttons wich loads movies into a movieclip. When you hit once, it takes 1,5 seconds when the flashy makeup is final and the content is visible.When i hit a button 2-times the website turns into a epilepsic repeated load.

Check the code:
/* a node in the tree has been selected */
treeListener.change = function (evt:Object) {[code].....

I want to freeze my animation totally during processing, so that:

1: click 2: processing, takes 1.5 second (button is disabled) 3, after 1.5 second: finished (button is enabled)

View 6 Replies

ActionScript 3.0 :: Totally Stop A Class From Working - Making Null?

Mar 23, 2010

I have a large creation in process that requires a lot of heavy animations and movement with vectors and really processor intensive. Just want to know, regardless of whether the project is huge or small, how to totally stop a class from working? I have three classes I am calling. "class1 = new Class1();" etc. When I am in the level, say, class2, I can still talk to objects in class1 even though I removed the class listeners within that class1 after I was done using it. It still is able to be called upon, and still running something in the background that I can't figure out what it is. I just want to know, rather than searching for whatever is causing the problem, can't I simply null the class that I never ever need to use again?

I tried that, but then I ran a trace and it still tells me that it is a class object. I reckon its because I have a "public var class1:Class1" etc, which means they will always have those objects associated with them, but still. I want to totally get rid of it for garbage collection, and because I don't want to use some of them at all, ever again. So basically, what is the best way to get rid of classes so that they aren't hogging up resources any more?

View 2 Replies

.Fla File Won't Open, Crashes Flash

Jun 16, 2000

I've got a 9MB fla file that suddenly doesn't open any more. When I try to open it, it crashes Flash. When I try to open it as a library, it crashes Flash. Someone told me a library object might be corrupted - not good, irreparable. I'm on a Mac and when I try opening the fla file it gives me an "error type 2 occurred." I imported the swf file into a new Flash file, but now it's just a one-layer straight-streaming movie with every frame a completely new, redrawn keyframe. Is there any way to resurrect the original fla file? I've got a Sunday deadline?

View 1 Replies

ActionScript 3.0 :: Flash Crashes On Publish

Aug 1, 2007

I am having a problem with Flash at work. Any time I try and publish a file, whether its a .swf, .exe, or whatever, Flash crashes and closes. I am running Windows Vista x32, and Flash CS3. Any file, as long as it is saved and publishing a copy of the file with the same name, does this. The only way I can get around it is publishing from an Untitled document that hasn't been saved yet....even then all I get is a preview, not an actual published file.

The files I am working with publish fine on other machines. I have contacted Adobe and all I got was "reinstall," and "run a clean install." I reinstalled 3 times, and have run CS3clean twice along with more reinstalls (once each using each separate level of cleaning.) None of it worked; I still get the same issue. Also, I cannot open the ActionScript tab without flash crashing; the only workaround is to open an untitled document, open the AS tab THERE, and THEN open an already existing document. From there though I can't check my syntax or auto-format.

View 16 Replies

CS4 :: Open FLA File - FLASH Crashes

Jun 23, 2009

I am just starting to learn how to use flash. I have made four diffrent fla files, but one of them is not working. Flash crashes when i try to open it, it worked last night. Is there any way to repair it or find out what i have done wrong. Dont want it to hapen again. There is no problem to run the swf file. I have uppdated flash to the latest version 10.0.2.

View 1 Replies

Image Sequence Crashes Flash?

Jun 13, 2011

I am using:

Win7 32bit
2GB RAM, Intel Core 2 Duo 2Ghz

Flash CS5

and I have this problem: i am currently trying to create a 720p movie consisting of 738 single JPG pictures; 6 frames/second. Each picture has 204 KB, all the pictures together add up to 226 MB.Yet still, Flash is crashing (due to memory overload?) once I have loaded like 100 pictures of my sequence... I loaded 90 pictures and tried exporting it as a small AVI-movie, but even that made Flash crash. I checked the Windows task manager, and I saw that even with only 90 pictures loaded, Flash already takes up 1,6 GB of my RAM.Is there a way making Flash save those pictures not on the memory, but on the disk, in a temporary folder or something? I wouldn't care if it takes way longer.

View 1 Replies

Professional :: Flash CS4 Crashes On Startup?

Jun 7, 2009

I've been running flash CS4 without error for a few months now, recently though whenever I close it I can't open it back up or I get this error:"The application Adobe Flash CS4 has unexpectedly quit.A crash report has been generated. To provide us with the best chance of fixing this problem, please select Continue to add a detailed description that includes the steps required to reproduce the crash.Recently I've been creating panel extensions and commands but deleting them from the directories to stop them loading didn't make any difference so i doubt it's that

View 9 Replies

Flash :: Cs4 Starts To Load Then Crashes

Sep 26, 2009

i convined by boss to splash out on flash cs4 for work to make the website. it worked fine for about a week. now, when i try to start it, it just starts to load then crashes. it looks as if it is going to load then doesn't. i have tried uninstalling, rebbotiong in safemode and using various registry programs and reinstalling

View 3 Replies

Flash :: Randomly Crashes While Working?

Nov 25, 2009

I am workijg on creating an animaton it is 300 mb in file size and i am running windows 7. i have also tryed working on windows xp and the same problem happens.
 
what happens is that i could be drawing or copying a layer that i need to work with and flash will think for a little bit and then crash says that an unexpected error has occured and all i get is an error excption. i am running CS4 on windows 7 with 5gb of ram.

View 4 Replies

Professional :: Flash Crashes On Open?

Jan 4, 2010

Since about 4 days ago, every time I open my Flash CS4 project file, Flash crashes.Besides reinstalling.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved