Adding sound to flash game

Hi
I'm making a simple game in flash and I need to add a sound effect when the character jumps (space bar) but I cant figure out what code I need to use. Can someone plz help me. Here is the code I have in the Player_Platform.as
package
    import flash.display.MovieClip;
    import flash.events.KeyboardEvent;
    import flash.ui.Keyboard;
    import flash.events.Event;
    public class Player_Platform extends MovieClip
        //Constants
        private const FRICTION:Number = 0.60;
        private const SPEED_LIMIT:int = 7;
        private const GRAVITY:Number = 0.8;
        private const ACCELERATION:Number = 1;
        private const BOUNCE:Number = -0.3;
        private const JUMP_FORCE:Number = -16;
        private const BOTTOM_OF_STAGE:uint = 10;
        //Variables:
        private var _vx:Number;
        private var _vy:Number;
        private var _accelerationX:Number;
        private var _accelerationY:Number;
        private var _frictionX:Number;
        private var _isOnGround:Boolean;
        private var _bounceX:Number;
        private var _bounceY:Number;
        private var _collisionArea:MovieClip;
        public function Player_Platform()
            _vx = 0;
            _vy = 0;
            _accelerationX = 0;
            _accelerationY = 0;
            _frictionX = FRICTION;
            _isOnGround = undefined;
            _bounceX = 0;
            _bounceY = 0;
            _collisionArea = this.body;
            this.ears.stop();
            //Add stage event listeners
            stage.addEventListener(KeyboardEvent.KEY_DOWN,atKeyDown);
            stage.addEventListener(KeyboardEvent.KEY_UP,atKeyUp);
            addEventListener(Event.ENTER_FRAME, onEnterFrame);
        private function atKeyDown(event:KeyboardEvent):void
            //Remove friction if the object is moving
            _frictionX = 1;
            if (event.keyCode == Keyboard.LEFT)
                _accelerationX = -ACCELERATION;
            if (event.keyCode == Keyboard.RIGHT)
                _accelerationX = ACCELERATION;
            if ((event.keyCode == Keyboard.UP)
            || (event.keyCode == Keyboard.SPACE))
                if (_isOnGround)
                    _accelerationY = JUMP_FORCE;
                    this.ears.play();
                    _isOnGround = false;
        private function atKeyUp(event:KeyboardEvent):void
            if ((event.keyCode == Keyboard.LEFT)
            || (event.keyCode == Keyboard.RIGHT))
                _accelerationX = 0;
                //Apply friction when the keys are no longer being pressed
                _frictionX = FRICTION;
            if ((event.keyCode == Keyboard.UP)
            || (event.keyCode == Keyboard.SPACE))
                _accelerationY = 0;
        private function onEnterFrame(event:Event):void
            //Initialize local variables
            var playerHalfWidth:uint = _collisionArea.width / 2;
            var playerHalfHeight:uint = _collisionArea.height / 2;
            //Apply Acceleration
            _vx += _accelerationX;
            if (_vx > SPEED_LIMIT)
                _vx = SPEED_LIMIT;
            if (_vx < -SPEED_LIMIT)
                _vx = -SPEED_LIMIT;
            _vy += _accelerationY;
            if (_vy > SPEED_LIMIT * 3)
                _vy = SPEED_LIMIT * 3;
            //No speed limit for jumping
            //Apply Friction
            if (_isOnGround)
                _vx *= _frictionX;
            if (Math.abs(_vx) < 0.1)
                _vx = 0;
            if (Math.abs(_vy) < 0.1)
                _vy = 0;
            //Apply Gravity
            _vy += GRAVITY;
            //Apply Bounce from collision with platforms
            x += bounceX;
            y += bounceY;
            //Move the player
            x += _vx;
            y += _vy;
            //Reset platform bounce values so that they
            //don't compound with the next collision
            _bounceX = 0;
            _bounceY = 0;
            //Prevent object from moving up if
            //it's not on the ground
            if (! _isOnGround)
                _accelerationY = 0;
            //Flap ears only when going up
            if (_vy >= 0)
                this.ears.gotoAndStop(1);
                _isOnGround = false;
                //_directionY = "down"
            //Stage boundaries
            if (x + playerHalfWidth > stage.stageWidth)
                _vx = 0;
                x=stage.stageWidth - playerHalfWidth;
            else if (x - playerHalfWidth < 0)
                _vx = 0;
                x = 0+playerHalfWidth;
            if (y - playerHalfHeight < 0)
                _vy = 0;
                y = 0 + playerHalfHeight;
            else if (y + playerHalfHeight > stage.stageHeight - BOTTOM_OF_STAGE)
                _vy *= BOUNCE;
                y = stage.stageHeight - playerHalfHeight - BOTTOM_OF_STAGE;
                _isOnGround = true;
        //Getters and Setters
        public function get isOnGround():Boolean
            return _isOnGround;
        public function set isOnGround(onGround:Boolean):void
            _isOnGround = onGround;
        public function set vx(vxValue:Number):void
            _vx = vxValue;
        public function get vx():Number
            return _vx;
        public function set vy(vyValue:Number):void
            _vy = vyValue;
        public function get vy():Number
            return _vy;
        public function get bounceX():Number
            return _bounceX;
        public function set bounceX(bounceXValue:Number):void
            _bounceX = bounceXValue;
        public function get bounceY():Number
            return _bounceY;
        public function set bounceY(bounceYValue:Number):void
            _bounceY = bounceYValue;
        public function get collisionArea():MovieClip
            return _collisionArea;

Thank you for your reply.
How can I convert it to an MP3 file?
Do I have to download software for that?

Similar Messages

  • Adding sound to flash movies

    HI,
    When I tried to import music to flash animations I have created, I received error message that:
    One or more files were not imported because there were problems reading them.
    The platform: Mac
    AA audio file
    Encoded with iTunes 10.1.2, Quick Time 7.6.6
    Is it because of the audio file format that music cannot be imported?
    If so, how can i convert it to the compatible format?

    Thank you for your reply.
    How can I convert it to an MP3 file?
    Do I have to download software for that?

  • No Sound In Flash Applications

    Hello.
    So, about 3 month ago or later, adobe had announced the new version of ADOBE FLASH PLAYER, i think it was 10.1. When i updated my flash player to version 10.1, my sound in my browser (im using MOZILLA FIREFOX) had gone. I cant hear any sound in youtube, i cant hear any sound in flash games, but video goes normal. I have searching reason for a long time. I have found many sollutions, and i have tryed all of them on my pc. Im a power user in computer, im not a begginer, but i cant solve this problem. Now i got Windows XP, SP3, and installed adobe flash player of version 10.1.82.76. Maybe some one can help me???

    Hi eidnolb,
    You are certainly right about resolving audio issues.
    Actually you pointed me in the right direction when you told NoviceGG to go to administrative tools.  While in the control panel I decided to check out QT first.  I am not a big fan of QT and rarely use it but others in my house like to use iTunes for their iPods and QT comes bundled in the download.  At any rate, iTunes was updated and along with it came an update for QT.  I think someone downloaded an .flv file and when they played it with QT it set the streaming video default to QT.  At least that is what I believe happened, although I am not 100% certain.  I don't think QT was automatically set as the default streaming video player when it was downloaded but that is a possibility also.
    I had no audio for any streaming video in any browser, FF, Chrome, and IE.  Video was fine in all three.
    Somehow QT gets it's own Control Panel category.  Which is actually only QT preferences.  Seven tabs across the top: Register; Audio; Browser; Update; Streaming; File Types; Advanced.
    The first tab I clicked was the Audio tab.  But that is more of a device manager and you can select bit rate, channels, and size (8 bit, 16 bit, or 24 bit).  I realized that wasn't it then went to the Streaming tab and that deals with connection speeds, delays, and an instant-on option.  Not it either.  So I hit the File types tab and it reads; 'Select the file types for which you want QuickTime player to be the
    default player.'  Top box; Streaming-Streaming movies was checked.  These are expandable boxes (with the + to show more specific file types).  Seven expandable boxes to check or uncheck:
    Streaming-Streaming movies; 
    Video-Video only and video with audio file formats;
    Audio-Audio only file formats;
    MPEG-MPEG system, video and audiofiles;
    MP3-MPEG Layer III movies and streams;
    Images-Simage files
    Miscellaneous-Miscellaneous file formats
    I unchecked the top box the tested it and that was it.  I thank you very much for pointing to the control panel.  You are a very helpful member of the forum.
    I actually just now joined so I could share my discovery with NoviceGG.
    I hope this helps you out with your knowledge base a little eidnolb.
    Thanks again!
    plee426

  • The sound at youtube goes mute automatically and/or when i'm in a flash game and i press a link the sound also mutes. it only happened when i updated firefox :(

    the sound mutes, the bar keeps downloading and "playing"
    when i go back or pause+play the sound goes back on
    when im playing a game i have to open chrome because the sound mutes everytime i click anything on the (flash) game
    im considering moving to chrome, im very disapointed with last firefox update, its full of bugs... ;(

    Recent crashes of certain multimedia contents (this includes Youtube videos, certain flash games and other applications) in conjunction with Firefox are most probably caused by a recent Flash 11.3 update and/or a malfunctioning Real Player browser plugin.
    In order to remedy the problem, please perform the steps mentioned in these Knowledge Base articles:
    [[Flash Plugin - Keep it up to date and troubleshoot problems]]
    [[Flash 11.3 crashes]]
    [[Flash 11.3 doesn't load video in Firefox]]
    Other, more technical information about these issues can be found under these Links:
    http://forums.adobe.com/thread/1018071?tstart=0
    http://blogs.adobe.com/asset/2012/06/inside-flash-player-protected-mode-for-firefox.html
    Please tell us if this helped!

  • [Solved] No tooltips in flash games

    No matter what flash game it is, no tooltips will appear. The mouse performs fine, and everything that I'm supposed to be able to click on will work fine, and the cursor even transforms fine when necessary, but if text is supposed to appear near the cursor when I hover over something in a flash game it does not appear. I'm using Firefox and the flashplugin.
    EDIT: I tried Midori, and the same thing happens. I've also tried gnash and swfdec, but both of them froze while trying to load any flash games.
    Last edited by raptir (2009-10-31 02:25:54)

    Sounds like you don't have the correct fonts installed.  Try adding the liberation fonts package
    pacman -Sy community/ttf-liberation
    Failing that, the ttf-ms-fonts might do the trick
    HTH

  • Do you think our Flash game has a chance on Kickstarter (playable demo)

    So me and my friend have been working on a game and recently we made it so far that we decided to launch a Kickstarter. Last Jungle In Sector 17 is a new take on the traditional top-down view space shooter with added RTS elements, some of the games we relate to are SPAZ, Star Control and classic Asteroids.
    Here's our project: http://www.kickstarter.com/projects/1396394944/last-jungle-in-sector-17/
    And here's the game: http://ljis17.com/prototype/
    I wouldn't say we are doing anywhere near great as of now on Kickstarter, I'm doubting that we even reach the goal. We wanted to go in safe, small goal, playable demo (with easy access to it), reasonable backer rewards... I noticed the small visibility right after launch, but following a post on Reddit I calmed down a little. Well 10 days later we are still struggling to get attention, I sent out a letter to 65+ gaming news sites - 1 responses as of now (0 articles), also sent a review request to about 100 Youtubers who do review videos - got 2 'first impressions' vids. In that 10 days we have managed to get 3,369 video views (3000 of them in the first 2 days after launch) and 45 people have backed the project.
    We have done all the regular: Homepage, Greenlight, Demo, Facebook, Twitter, Forum posts, IndieDB... We have gotten some good response from people who have tried out the game, but I guess it is just too average of a game.
    Are the news outlets avoiding Kickstarter projects because the market is so over saturated or are people turned off when they hear the words "Flash game"? Either way our "Indie Dream" is slowly turning into "Indie Reality" which is fine, definitely smarter now and in the future. I still think that Flash is a great platform, maybe the testament to that should be the number of Flash games out there.
    Well, let us know what are your thouhgts on all this and what you think of the game

    Hi Javi,
    This sounds like an issue with Windows and your specific Bluetooth devices.  As you mentioned, the LV Bluetooth VI's do require that the devices use the Windows drivers.  Take a look at this link for specific requirements for using Bluetooth with LabVIEW.  Also, you can take a look at our Developer Zone tutorial on designing Bluetooth applications a found here.  Regarding your device drivers, sometimes it is as easy as uninstalling the driver and then letting Windows discover the device and fine its own driver.  You could check out the Microsoft Knowledgebase for more information.  Thanks and have a great day!    
    Stephen S.
    National Instruments
    1 Test is worth 1000 expert opinions

  • How Can I Learn To Develop Flash Games For Under $50.00 USD?

    I am completely new to anything Flash. I have never written a
    single line of Actionscript. I don't know the difference between
    Flash and Flex. I don't know in what forums Flash developers hang
    out. I don't even know what kind of coffee they drink, or if they
    drink tea instead.
    However, I have developed games and have been thinking about
    developing some casual games and have heard rumors that Adobe is
    "pushing" causal game development with Actionscript 3 and their
    latest releases. So I went to adobe.com expecting to see a link for
    something like "learn how to develop games in flash" or some such.
    I poked around the developer related pages and didn't find anything
    I thought useful.
    What I did find were plenty of stuff for *existing* flash
    developers. Links to articles and HowTos for specific topics and
    information about products that cost a minimum of several hundred
    dollars. I can't learn how to develop games and create a prototype
    with a 30-day trial, and I am not going to buy a $1000 pro-grade
    tool when I am an indie developer without a budget or a pre-funded
    project that would justify such expenditures.
    I have seen some open source stuff, but don't know if it can
    do anything more than build some annoying shaking banner ads.
    So let me introduce myself as a possible use-case for Adobe
    Marketing and the Flash (Game) Developer community.
    I am an educated experience software developer who has a day
    job doing "enterprise" software stuff. I want to *play* in my free
    time (evenings and weekends) with "Flash Stuff" and learn enough to
    be able to build a simple game that I can put on my personal
    website and have my friends download. I am not a student, so I
    can't get student discounts. The money I have goes toward
    toys^H^H^H^H tools for my other coding habits^H^H^H^H^H projects. I
    am not interested in 30-day trials, as I may go 45-days or more
    between the first and second weekends I get to play with this. I
    know OOP so I want to start out learning how to do the "advanced"
    stuff from day one and not have to start with dragging and dropping
    PNGs w/o any coding and then "relearn" how to do it in code so I
    can do anything beyond having the image appear and rotate.
    I *am* willing to put time into this endeavor, but only after
    I have a few things spoon-fed to me by "advocates" who's job is to
    get me "hooked" and willing to invest my time to go beyond Hello
    World. At the same time I am download and playing with GarageGames,
    TGE/TGB, Game Maker, Dark Basic, Blitz Basic, etc. and many
    complete development environments that are full-featured and
    completely free if I limit myself to releasing only freeware games,
    or cost me less than $50 for the "professional" version with all
    the bells and whistles.
    I have heard rumors and rumblings about some open source
    tools being available and Adobe maybe open sourcing some of their
    previously pay-to-play tools, but also understand that Adobe can
    probably provide a better "comprehensive" package of tools,
    documentation, tutorials, and support, *if I can find the right
    place to ask/start.*
    And, most of all, I don't know where to start my search as I
    have no personal contacts to bug about stuff like this.
    So, where can I find the big red button to push and get
    everything I want handed to me on a silver-platter.
    [please understand I have written this with some attempt at
    self-mocking humor and am not some clueless n00b]
    Thank you for taking the time to read my lengthy posting. I
    hope to find some helpful replies and start down an interesting
    learning path.
    --Chaim

    Just saw your post. Better late than never. You may want to
    consider GameBrix.com, where you can create Flash based, casual
    games using your web browser. No downloads are required. You can
    create a game from scratch using a library of images, sounds and
    game mechanics. You can also upload your own. The online script
    editor will allow you to view and edit the ActionScripts associated
    with each game mechanic. In short, a great way to ramp up on game
    design and build your own game without investing a lot of $
    upfront.
    BTW I am associated with GameBrix so any feedback is
    appreciated.

  • Youtube and flash games work, but other sites that use flash don't work

    Hi-
    I'm currently using Firefox 18.0.2 on 2 different computers (Both Win7 64 bit), both with flash 11.6.602.168. Both have roughly the same programs installed and the same browser configuration. However, on one machine, flash works only on some sites. For instance, Youtube works perfectly, as do dedicated flash games. However, sites that use embedded flash applications fail to work. For instance, if I visit www.speedtest.net, where the test options normally appear is completely blank. Similarly, other video players fail. For example, videos in www.cbsnews.com play sound, but where the video should be is just white. I've tried completely uninstalling both firefox as well as flash, and installing previous versions, nothing has worked.

    I guess it is a process of elimination, what is different ?
    I would first of all check and experiment with Adobe FlashPlayer protected mode setting.
    * http://kb.mozillazine.org/Flash#Flash_Player_11.3_Protected_Mode_-_Windows
    Also have you any filtering, adblock or security related programs installed which may block video or scripts. With you-tube check is it actually using Flash player,and not trying to use any HTML5 options so check any options and cookies.

  • E71 Sound Lag in Games

    I am experiencing up to 1 second lag time between when i should hear a sound, and when it plays. This is extremely anoying while playing games, ie. car crashes into wall and crash sound plays 1 second after it happens. This issue seems to affect all sounds effects in all games. Are others having this issue, and will this be fixed in an upcoming patch?

    Is that flash games? I don't use e71 for games, but i've noticed there is a delay when playing flash animations.
    6267, N81, E71, BH-503, MD-7W, LD-3W

  • Macbook Pro 13.3" 2.8G   8G RAM is very hot when playing web base flash game =.="

    I used to play web based flash game, and could open up to 5 different browsers (with the same game) each time with my old notebook 1.8GHz + 4G RAM (Win 7). However, changing to my new macbook pro 13.3 2.8GHz + 8G RAM (OSX Lion), even opening the same flash game with 1 browser. The keyboard will be soon very hot. If open 2 browsers, there will be noisy fan sound and keyboard will become even hotter =.="
    Could engineer in Apple solve this issue??? or any suggestion???

    Mahdi411,
    if Candy Crush is a graphics-intensive game, then your MacBook Pro will consume energy (and generate heat as a side effect) to meet those graphics demands. The fans run quickly to expel as much as heat as possible, so that your MacBook Pro’s components don’t bake. The additional airflow generates more noise.

  • Crackling/substandard sound in flash videos (YouTube etc) regardless of video quality setting.

    Hi all,
    I hope you can help! Apologies if this is in the wrong forum, I'm struggling to find the best place to put this.
    1. a summary of your issue
    Crackling/substandard sound in flash videos (YouTube etc) regardless of video quality setting.
    2. the type of computer you use—Mac or PC?
    Desktop PC.
    Windows 7 Ultimate 64-bit, all updates installed.
    3. steps you've already taken to troubleshoot
    The problem occurs after installing Adobe Flash Player 15 Plugin to any browser (I mainly use FireFox). It's listed as Adobe Flash Player 15 ActiveX when I installed it for Internet Explorer.
    Before installing it, I can hear the videos fine but I am limited to a maximum of 720p quality on YouTube.
    I removed my sound and graphics drivers, after restart Windows 7 decides it will install them again but as the generic/universal ones. No change.
    I've heard that because I have the Windows Aero theme activated, I need to disable hardware acceleration - tried this in various ways:
    a) Generic PnP monitor Troubleshoot tab - Change Settings button is greyed out (whether or not I have the real/generic/universal graphics drivers installed). Can't find a way through nVidia control panel to do this either.
    b) Disabled hardware acceleration in FireFox - no change.
    c) Found on your forum here that I can go to a page which will check my Flash version, in theory I could right-click it, hit Settings and disable hardware acceleration there - no "Settings" option in right-click menu. Seems the page has changed.
    I can't seem to find a way to interface with Flash directly to disable hardware accelerattion - if this is indeed the solution.
    Regardless of Windows Aero theme, I've got it on basic theme now and still the same problem.
    I recently reformatted and re-installed my PC, it was working fine before I did this (maybe I had an old Flash release installed?).
    I'm at my wit's end... please help!

    Sorry, it's all sorted now. After re-installing the sound drivers, decided to tinker with the settings one by one. I had my Creative sound card in Game Mode, thus it was assuming 2.1 speakers aka headphones. Put it in Entertainment Mode and it recognised all the 5.1 speakers for flash videos. Doh!

  • Building complex flash game in Flash Builder 4 - Workflow/Best Practices

    I'm investigating switching to Flash Builder 4 for building a complex game that currently lives purely inside Flash CS4.  CS4 is a pretty terrible source code editor and debugger.  It's also quite unstable.  Many crashes caused by bad behavior in the SWF will take out the entire IDE so are almost impossible to debug.  And I've heard other horror stories.  To be clear, for this project I'm not interested in the Flex API, just the IDE.
    Surprisingly, it seems Flash Builder 4 isn't really set up for this type of development.  I was hoping for an "Import FLA" option that would import my Document Class, set it as the main entry point, and figure out where other assets live and construct a new project.  What is the best workflow for developing a project like this?
    What I tried:
    -Create a new Actionscript Project in the same directory where my CS4  lives
    -Set the primary source file to match the original project's source file and location
    -Set my main FLA as "export to SWC", and added "SWC PATH" to my flash builder 4 project.
    -Compile and run.. received many errors due to references to stage instance. I changed these to GetChildByName("stagename").  Instead, should I declare them as members of the main class?  (this would mimic what flash CS4 does).
    -My project already streams in several external SWF's.  I set these to "Export SWC" to get compile-time access to classes and varaibles. This works fine in cs4, the loaded SWF's behave as if they were in the native project.  Is the same recommended with FB4?
    -Should I also be setting the primary FLA as "export to swc"?  If not, how do I reference it from flex, and how does flex know which fla it should construct the main stage with?
    Problems:
    -I'm getting a crash inside a class that is compiled in one of the external SWF's (with SWC).  I cannot see source code for the stack inside this class at all.  I CAN see member variables of the class, so symbol information exists.  And I do see the stack with correct function names.  I even see local variables and function parameters in the watch window! But no source.  Is this a known bug, or "by design"? Is there a workaround?  The class is compiled into the main project, but I still cannot see source.  If FLEX doesn't support source level debugging of SWC's, then it's pretty useless to me.   The project cannot live as a single SWF.  It needs to be streaming and modular for performance and also work flow. I can see source just fine when debugging the exact same SWC/SWF through CS4.
    -What is the expected workflow with artists/designers working on the project?  Currently they just have access to all the latest source, and to test changes they run right through flash.  Will they be required to license Flash Builder as well so they can test changes?  Or should I be distributing the main "engine" as a SWF, and having it reference other SWF files that artists can work on?  They they compile their SWF in CS4, and to test the game, they can load the SWF I distribute.
    A whitepaper on this would be awesome, since I think a lot of folks are trying to go this direction.  I spent a long time searching the web and there is quite a bit of confusion on this issue, and various hacks/tricks to make things work.  Most of the information is stale from old releases (AS2!).
    If a clean workflow I would happily adopt Flash Builder 4 as the new development tool for all the programmers.  It's a really impressive IDE with solid performance, functional intellisense, a rich and configurable interface, a responsive debugger..I could go on and on.  One request is shipping with "visual studio keyboard layout" for us C++ nerds.
    Thanks very much for reading this novel!

    Flash builder debugging is a go!  Boy, I feel a bit stupid, you nailed the problem Jason - I didn't have "Permit Debugging set".  I didn't catch it because debugging worked fine in CS4 because, well, CS4 doesn't obey this flag, even for externally loaded SWF files (I think as long as it has direct access to the SWC). Ugh.
    I can now run my entire, multi SWF, complex project through FB with minimal changes.  One question I do have:
    In order to instantiate stage instances and call the constructor of the document class, I currently load the SWF file with LoaderContext.  I'm not even exporting an SWC for the main FLA (though I may, to get better intellisense).  Is this the correct way of doing it?  Or should I be using , or some other method to pull it into flex?  They seem to do the same thing.
    The one awful part about this workflow is that since almost all of my code is currently tied to symbols, and lives in the SWF, any change i make to code must first be recompiled in CS4, then I have to switch back to FB.  I'm going to over time restructure the whole code base to remove the dependency of having library symbols derive from my own custom classes.  It's just a terrible work flow for both programmers and artists alike.  CS5 will make this better, but still not great.  Having a clean code base and abstracted away assets that hold no dependencies on the code  seems like the way to go with flash.  Realistically, in a complex project, artists/designers don't know how to correctly set up symbols to drive from classes anyway, it must be done by a programmer.  This will allow for tighter error checking and less guess work.  Any thoughts on this?
    Would love to beta test CS5 FYI seeing as it solves some of these issues.
    Date: Thu, 21 Jan 2010 15:06:07 -0700
    From: [email protected]
    To: [email protected]
    Subject: Building complex flash game in Flash Builder 4 - Workflow/Best Practices
    How are you launching the debug session from Flash Builder? Which SWF are you pointing to?
    Here's what I did:
    1) I imported your project (File > Import > General > Existing project...)
    2) Create a launch configuration (Run > Debug Configuration) as a Web Application pointing to the FlexSwcBug project
    3) In the launch config, under "URL or path to launch" I unchecked "use default" and selected the SWF you built (I assume from Flash Pro C:\Users\labuser\Documents\FLAs\FlexSwcBug\FlexSwcBugCopy\src\AdobeBugExample_M ain.swf)
    4) Running that SWF, I get a warning "SWF Not Compiled for Debugging"
    5) No problem here. I opened Flash Professional to re-publish the SWF with "Permit debugging" on
    6) Back In Flash Builder, I re-ran my launch configuration and I hit the breakpoint just fine
    It's possible that you launched the wrong SWF here. It looks like you setup DocumentClass as a runnable application. This creates a DocumentClass.swf in the bin-debug folder and by default, that's what Flash Builder will create a run config for. That's not the SWF you want.
    In AdobeBugExample_Main.swc, I don't see where classCrashExternal is defined. I see that classCrashMainExample is the class and symbol name for the blue pentagon. Flash Builder reads the SWC fine for me. I'm able to get code hinting for both classes in the SWC.
    Jason San Jose
    Quality Engineer, Flash Builder
    >

  • Almost no sound in flash

    Hi
    I've spend the last couple of days, almost nonstop searching the web for a solution for this. Tryed possible solution i found, but no luck so far.
    I got perfect sound in any application, game, media player etc. But neither in internet explorer nor firefox when viewing online videos (youtube, xfire etc) do i get much sound.
    At first i thought there was no sound at all, but when i crank up the speaker system to max i can hear a little (but if i do anything else with sound i get blasted away).
    I've tryed registy fixes, checking if files where there, installing K-lite codec pack to fix regestry issues, uninstalled flash lots of times, rebooted before reinstalling, clearing temp internet files folder etc. Nothing helps.
    I got the feeling that some stupid website somehow has changed a setting somewhere for flash, making sound almost unhearable, but i dunno how i can fix this.
    As said, i searched and tryed all, but im lost now.
    win xp pro (auto updating)
    firefox (auto updating)
    ie (guess its uptodate from windows updates, only use it if something doesnt work in FF)
    onboard realtek hd sound card.
    but as said, everywhere else its fine, just not playing sound in flash based videos.
    noticed this first like 3-4 weeks ago, but figuered the videos i tryed to watch where broken or had no sound. Now i know its just my flash that has no volume set somehow.
    oh, ofcourse i checked everysingle soundcard volume controler and mute box already.
    any help will be appriciated.
    - Bohs

    since noone here cares, i've been trying everything in my powers to get this solved, and i might be a step closer, yet very far away, as i can not fix whats wrong.
    What seems to be wrong is the DirectSound, atleast when i enter dxdiag and test sound there, its extremly silent too, i tryed changing all acceleration features to see if that helps, both in dxdiag and my sound options, that only makes everything worse.
    however my DirectMusic works fine in normal volume.
    But since microsoft is so ****** up on "there stuff", i can not even uninstall and reinstall directx .. i found two fixes on the net that should do this and thereby reinstall whatever is default with XP, but they just totally fock up your system, and you cant do anything without system restore. You can not even choose it from the XP installation cd ...
    i got the latest (9.0c 4.09.0000.0904) version, so i can not update it with a newer ... how do i fix this? its just weird to me that no other application nor game is affected by this - only flash - they all use directx (well Prototype is a little affected, but that seems to be a game problem according to there forums http://forums.activision.com/viewtopic.php?f=54&t=1788 ).
    and please dont tell me to update my audio drivers, cause there aint any newer aviable, and i have tryed reinstalling them several times.

  • My arrow keys are not working inside flash games

    Hello,
    Whenever I play any flash game, my arrow keys are not working. They work perfectly fine when I am scrolling the site with them, but not in flash games.
    I am using Google Chrome, flash player version 10,3,181,36 and my operating system is Win7 64 bit.
    Solutions I've already tried:
    Use another webbrowser
    Re-install Flash player
    Restart PC
    Try another keyboard
    I have this problem ever since the last Flash Player update.

    Hey there Questionair1.
    It sounds like your arrow keys are not working correctly. I would start with these steps from the following article named:
    OS X Mavericks: If keys on your keyboard don’t work
    http://support.apple.com/kb/PH13809
    You may have accidentally set an option that changes how your keyboard operates.
    Choose Apple menu > System Preferences, click Dictation & Speech, then click “Text to Speech.” If “Speak selected text when the key is pressed” is selected, deselect it or click Change Key to select another key.
    Choose Apple menu > System Preferences, click Accessibility, then click Keyboard. Make sure Slow Keys is turned off. If Slow Keys is on, you must hold down a key longer than usual before it’s recognized.
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • I want to buy flash games - non -exclusive included

    I’m buying Flash games to feature on my website,
    www.jocuri-tari.ro. Depending on the quality of the games, I can
    offer between $20 - $500 per game. This is a great opportunity for
    Flash developers to make some money and also get their games
    distributed to a wide audience. If we buy your game, we’ll
    ask you to insert our site’s logo as an intro screen and add
    a link to our site within the game. We’ll then feature the
    game on jocuri-tari.ro and allow the whole world to download it,
    distribute it, and use it on their own websites. We WILL allow you
    to leave your name in the game as the author, so this is a great
    way for you to get some widespread recognition as a game developer.
    I accept also non-exclusive games(previously distributed on
    the Internet) as long as you own full rights to the game and all
    graphics, sounds, etc. We’ll require that you give us full
    exclusive rights to the game, along with all source code.
    We will not buy any games without seeing the fully functional
    and complete game first. If you’re interested, please email a
    link to view the game you want to sell to kaydotsuperstar AT gmail
    DOT com. Do not PM or reply here, as I don't check this forum very
    often. I’ll evaluate each game that is emailed to me and
    decide if I’m interested and how much I can offer you for the
    game.
    Thanks!

    1)  Apple ID: All about Apple ID security questions
    If necessary
    2)  See Here... ask to speak with the Account Security Team...
    Apple ID: Contacting Apple for help with Apple ID account security
    3)  Or Email Here  >  Apple  Support  iTunes Store  Contact

Maybe you are looking for

  • How do I make the webutil file transfer works correctly?

    Hello, I'm using Oracle 10g Database and form builder in developer suite 10g release 2. Running on Windows XP SP2. I've created a database user, executed the create_webutil_db.sql , and created a table as below: CREATE TABLE DOCS (DOC_ID VARCHAR2(15)

  • Using in clause in oracle

    Hi, I am facing the following issue when trying to retrieve the data from a view.If i specify literals inside the in clause (example id's inside in clause) it's working fine,but when i try to use the subquery inside in clause to retrieve the id's fro

  • %ACCOUNT_SET% is empty in Default.lgx after submit

    I'm trying to use %ACTIONS_SET% (Account dimension in one application) to populate a stored procedure. I have a stored procedure that have 4 parameters Entity, Time, Actions and Category. *RUN_STORED_PROCEDURE=tbg_CopyWorkFlowComments('%ENTITY_SET%',

  • Report painter: library 1VK does not exist

    Hi, for some reason one of the report painter libraries seems to be missing in the production system. I was asked to transport the library from our development system, anyone knows where to start and how to do this ? Thanks in advance ! Rolf

  • My old email is no longer accessible, forgot pw

    I created this new account so that I could post on the forums here.  My old account is registered with a @netscape.net email (netscape died a LONG time ago, they transfered to AOL, but AOL has discontinued that service), and I forgot my password, so