Sound from External swf

I have a main movie (index.swf) that preloads my external SWF
that is a menu button 4.swf
My index.swf has background music (song1) that plays on load.
I also have background music (song2) that plays on my 4.swf
It works fine when I test 4.swf directly however when I load
my main index.swf I do not hear the song2.
I used stopAllSounds(); in my4.swf to stop the background
music (song1) and then load my song2
stopAllSounds();
my_sound = new Sound(sound_loop);
my_sound.loadSound("4.mp3",true);
my_sound.start(0,100);
This has gotten me to get both songs to play when the site is
loaded and when I click on my menu for 4 button all the sound stops
and my song2 never plays.
My actionscript is not very good so any details you can give
would be greatly appreciated.
Thanks much!

here is frame 3 of my loader in index.fla
var movie:MovieClip =
_root.StoredActions.Holder.Movies.Holder2.CMovie.duplicateMovieClip("CMovie"
+ n,n);
loadMovie(n+".swf",_root.StoredActions.Holder.Movies.Holder2["CMovie"+n]);
if(n>1){
_root.StoredActions.Holder.Movies.Holder2["CMovie"+n]._x =
3000;
var MovieLoaded = 0;
percent = 0;
frame4
MovieLoaded =
_root.StoredActions.Holder.Movies.Holder2["CMovie"+n].getBytesLoaded();
loadTotal =
_root.StoredActions.Holder.Movies.Holder2["CMovie"+n].getBytesTotal();
percent = int(MovieLoaded/loadTotal*100);
Bar.gotoAndStop(percent);
loadingName = ("Loading... " + percent+ "%" + " of "+ n);
Loadtext_txt.text = loadingName;
if (loadTotal>10) {
if (MovieLoaded>=loadTotal) {
gotoAndPlay(6);
frame6
if (n < _root.StoredActions.nMenus) {
n++;
gotoAndPlay(3);
} else {
gotoAndStop("Stopload");
_root.gotoAndPlay("Play");
I know that the above code is loading all the external swf
and causing the music to start after load. Is there a way to stop
it from loading the sound?

Similar Messages

  • Stop sound From external SWF

    Here is my issue. I have a main.swf and I load an external
    music player.swf. I need to stop the sound from the player.swf when
    I push a button on the main.swf. Not all buttons just some buttons.
    I now I will need to put the code in each button. Thanks

    it works for all sounds that are playing when it executes no
    matter where they orignated.

  • How can I stop timeline sounds in external swf files from playing during loading?

    I am having a problem with timeline sounds in external swf files playing during loading in a main swf. Can anyone help me?
    Here is some of the code from the main swf. I hope I have included enough.
    Thanks.
    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    import flash.display.Loader;
    import flash.events.ProgressEvent;
    import flash.events.Event;
    import flash.net.URLRequest;
    import fl.events.SliderEvent;
    import flash.media.SoundTransform;
    preloader_mc.fill_mc.scaleX = 0;
    var swfA:Array = ["part1.swf","part2.swf"];
    var frameA:Array = [];
    var currentLoader:Loader;
    var swfTotalFrames:int;
    var tl:MovieClip = this;
    var st:SoundTransform = new SoundTransform()
    var index:int = 0;
    loadNextF();
    play_slider.enabled = false;
    function loadNextF():void{
                    tl["loader_"+index] = new Loader();
                    tl["loader_"+index].name = index.toString();
                    tl["loader_"+index].contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,progressF);
                    tl["loader_"+index].contentLoaderInfo.addEventListener(Event.COMPLETE,completeF);
                    tl["loader_"+index].load(new URLRequest(swfA[index]));
    function progressF(e:ProgressEvent):void{
                    var fractionLoaded:Number = index/swfA.length+e.bytesLoaded/(e.bytesTotal*swfA.length);
                    preloader_mc.fill_mc.scaleX = fractionLoaded;
                    preloader_mc.tf.text = (100*fractionLoaded)+"% Loaded";
    function completeF(e:Event):void{
                    tl["loader_"+index].contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS,progress F);
                    tl["loader_"+index].contentLoaderInfo.removeEventListener(Event.COMPLETE,completeF);
                    SoundMixer.stopAll();
                    var mc:MovieClip = MovieClip(tl["loader_"+index].content);
                    mc.gotoAndStop(1);
                    frameA.push(mc.totalFrames);
                    index++;
                    if(index<swfA.length){
                                    loadNextF();
                    } else {
                                    // all loads complete.  start play.
                                    restart_mc.buttonMode = true;
                                    restart_mc.alpha = 1;
                                    tl.addEventListener(Event.ENTER_FRAME,playUpdateF);
                                    tl.removeChild(preloader_mc);
                                    preloader_mc = null;
                                    play_slider.enabled = true;
                                    playpause_mc.alpha = 1;
                                    currentLoader = tl["loader_0"];
                                    tl.addChild(currentLoader);
                                    MovieClip(currentLoader.content).play();
                                    sliderParamsF();

    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    import flash.display.Loader;
    import flash.events.ProgressEvent;
    import flash.events.Event;
    import flash.net.URLRequest;
    import fl.events.SliderEvent;
    import flash.media.SoundTransform;
    preloader_mc.fill_mc.scaleX = 0;
    var swfA:Array = ["part1.swf","part2.swf"];
    var frameA:Array = [];
    var currentLoader:Loader;
    var swfTotalFrames:int;
    var tl:MovieClip = this;
    var st:SoundTransform = new SoundTransform()
    var index:int = 0;
    loadNextF();
    play_slider.enabled = false;
    function loadNextF():void{
        tl["loader_"+index] = new Loader();
        tl["loader_"+index].name = index.toString();
        tl["loader_"+index].contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,progressF);
        tl["loader_"+index].contentLoaderInfo.addEventListener(Event.COMPLETE,completeF);
        tl["loader_"+index].load(new URLRequest(swfA[index]));
    function progressF(e:ProgressEvent):void{
        var fractionLoaded:Number = index/swfA.length+e.bytesLoaded/(e.bytesTotal*swfA.length);
        preloader_mc.fill_mc.scaleX = fractionLoaded;
        preloader_mc.tf.text = (100*fractionLoaded)+"% Loaded";
    function completeF(e:Event):void{
        tl["loader_"+index].contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS,progress F);
        tl["loader_"+index].contentLoaderInfo.removeEventListener(Event.COMPLETE,completeF);
        SoundMixer.stopAll();
        var mc:MovieClip = MovieClip(tl["loader_"+index].content);
        mc.gotoAndStop(1);
        frameA.push(mc.totalFrames);
        index++;
        if(index<swfA.length){
            loadNextF();
        } else {
            // all loads complete.  start play.
            restart_mc.buttonMode = true;
            restart_mc.alpha = 1;
            tl.addEventListener(Event.ENTER_FRAME,playUpdateF);
            tl.removeChild(preloader_mc);
            preloader_mc = null;
            play_slider.enabled = true;
            playpause_mc.alpha = 1;
            currentLoader = tl["loader_0"];
            tl.addChild(currentLoader);
            MovieClip(currentLoader.content).play();
            sliderParamsF();
    ///////////////// start sliders /////////////////////////////////
    sound_slider.addEventListener(SliderEvent.CHANGE,soundSliderF);
    function soundSliderF(e:SliderEvent):void{
        st.volume = e.value/100;
        tl.soundTransform = st;
    play_slider.addEventListener(SliderEvent.CHANGE,playSliderF);
    play_slider.addEventListener(MouseEvent.MOUSE_DOWN,playSliderDownF);
    //play_slider.addEventListener(MouseEvent.MOUSE_UP,playSliderUpF);
    function playSliderDownF(e:MouseEvent):void{
        tl.removeEventListener(Event.ENTER_FRAME,playUpdateF);
        stage.addEventListener(MouseEvent.MOUSE_UP,playSliderUpF);
    function playSliderUpF(e:MouseEvent):void{
        tl.addEventListener(Event.ENTER_FRAME,playUpdateF);
    function playSliderF(e:SliderEvent):void{
        SoundMixer.stopAll();
        var frameNum:int = Math.ceil(swfTotalFrames*e.value/100);
        var partialTotalFrames:int = 0;
        for(var i:int=0;i<frameA.length;i++){
            partialTotalFrames += frameA[i];
            if(partialTotalFrames>=frameNum){
                break;
        partialTotalFrames -= frameA[i];
        //trace(i,frameNum,frameNum-partialTotalFrames);
        if(currentLoader!=tl["loader_"+(i)]){
            tl.removeChild(currentLoader);
            MovieClip(currentLoader.content).stop();
            currentLoader = tl["loader_"+(i)];
            tl.addChild(currentLoader);
        if(playpause_mc.currentFrame==1){
            MovieClip(currentLoader.content).gotoAndPlay(frameNum-partialTotalFrames);
        } else {
            MovieClip(currentLoader.content).gotoAndStop(frameNum-partialTotalFrames);
    function sliderUpdateF(e:Event):void{
        var playedFrames:int = 0;
        for(var i:int=0;i<Number(currentLoader.name);i++){
            playedFrames += frameA[i];
        playedFrames += MovieClip(currentLoader.content).currentFrame;
        play_slider.value = Math.round(100*playedFrames/swfTotalFrames);
    function sliderParamsF():void{
        swfTotalFrames = 0;
        for(var i:int=0;i<swfA.length;i++){
            swfTotalFrames += MovieClip(tl["loader_"+i].content).totalFrames;
    ///////////////// end  sliders //////////////////////////////////
    ///////////////// start playpause restart ///////////////////////
    playpause_mc.addEventListener(MouseEvent.CLICK,playpauseF);
    playpause_mc.alpha = .2;
    restart_mc.addEventListener(MouseEvent.CLICK,restartF);
    restart_mc.buttonMode = false;
    restart_mc.alpha = .2;
    function playpauseF(e:MouseEvent):void{
        if(!e.currentTarget.toggle){
            MovieClip(currentLoader.content).stop();
            tl.removeEventListener(Event.ENTER_FRAME,playUpdateF);
            e.currentTarget.gotoAndStop(2);
        } else {
            MovieClip(currentLoader.content).play();
            tl.addEventListener(Event.ENTER_FRAME,playUpdateF);
            e.currentTarget.gotoAndStop(1);
        e.currentTarget.toggle = !e.currentTarget.toggle;
    ///////////////// end playpause //////////////////////////////
    function playUpdateF(e:Event):void{
        sliderUpdateF(e);
        var playingFrame:int = MovieClip(currentLoader.content).currentFrame;
        if(playingFrame==frameA[Number(currentLoader.name)]){
            // next loader
            MovieClip(currentLoader.content).stop();
            SoundMixer.stopAll();
            MovieClip(currentLoader.content).mute();
            var nextIndex:int = Number(currentLoader.name)+1;
            if(nextIndex<swfA.length){
                tl.removeChild(currentLoader);
                currentLoader = tl["loader_"+nextIndex];
                tl.addChild(currentLoader);
                MovieClip(currentLoader.content).gotoAndPlay(1);
            } else {
                tl.removeEventListener(Event.ENTER_FRAME,playUpdateF);
                playpause_mc.gotoAndStop(2);
                playpause_mc.toggle = !playpause_mc.toggle;
                //playpause_mc.alpha = .2;
                // all swfs have completed play
    function restartF(e:MouseEvent):void{
        MovieClip(currentLoader.content).stop();
        tl.removeChild(currentLoader);
        SoundMixer.stopAll();
        MovieClip(currentLoader.content).mute();
        currentLoader = tl["loader_"+0];
        tl.addChild(currentLoader);
        if(playpause_mc.currentFrame==1){
            MovieClip(currentLoader.content).gotoAndPlay(1);
        } else {
            MovieClip(currentLoader.content).gotoAndStop(1);

  • I've been running Windows XP over bootcamp on an iMac for a few years now and I can't seem to get any sound from external devices into the machine. Any ideas?

    I've been running Windows XP over Bootcamp on iMac for a few years and I can't seem to get any sound from external devices into the machine. Any ideas?

    O.K. fgonoz98
    I would do 1 thing at a time:"now the micropohone is not working in facetime"
    Here is what you can check to get your mike working in facetime:
    1. Hold down option while you click on the speaker next to time a. date,
    under input Device see if your mic is marked. If not: ✔️
    2. Click the apple top left/System Prefs./click on the Sound speaker:
    under Input highlight microphone.
    3. When you have factime on go to video above scroll and see if your mic is marked ✔️
    If that does not get it to work there is more you can check:
    (Utilities/Audio, midi setup)
    For any other audio device you do this for input and output.
    If you get stock post back

  • Loading font from external *.swf

    So!
    I have 3 movies.
    1)Main movie - index.swf
    2)Movie with created & checked in linkadge "Export for
    runtime sharing" fonts in library - fonts.swf
    3)movie with text fields which need embeded fonts to work in
    a proper way. Fonts in the library checked in linkage as "import
    for runtime sharing" - content.swf
    What happens:
    I strike CTRL+ENTER and run movie index.swf.
    on the (for ex.) 10 frame it loads fonts.swf with
    movieClipLoader class..
    then in the same way on (for ex.) 100 frame, i load content
    swf
    BUT!!! before it starts loading process IT DOWNLOADS FONT.swf
    again
    SO HOW DO I PRELOAD fonts from external *.swf..
    maybe there is yhe way without using runtime sharing..
    but i've heard that loaded whith movieClipLoader movies don't
    adds objects from their library to main movie liblary...
    HOW DO I SOLVE THIS PROBLEM!

    can you give your erroe source code,and then i will give you the success code.
    in the function
    private function onLoadComplete(e:Event):void {}
    ApplicationDomain.currentDomain.getDefinition("com.scottgmorgan.ExternalMovie") ;
    use like this:
    var EMClass:Class=loader.contentLoaderInfo.applicationDomain.getDefinition("com.scottgmorgan.ExternalMovie") ;
    then you can new a instance :
    var emInstance:Object=new EMClass();
    emInstance.alert("hello word");
    and we also can use other method. so email me  [email protected]

  • Problem: I lost the option to get the sound from external speakers or headphones to upgrade to Lion 10.7.3. It accepts only internal speakers.  I downloaded  Combo directly. I followed all the advice from the Apple community

    Problem: I lost the option to get the sound from external speakers or headphones to upgrade to Lion 10.7.3. It accepts only internal speakers.  I downloaded  Combo directly , without using "Actualización de software". I followed all the advice from the Apple community.  Can I use bluetooth speakers to solve this problem?  My Computer: iMac. 20-inch, Early 2008. Processor 2.4 GHz Intel Core 2 Duo.

    You may need to reset PRAM/NVRAM.
    First, check that the jack is clean. Put some alcohol on a plug and insert it a few times. See if that helps.
    is your output both digital and analog? If digital, is the red laser light visible in the socket? Do not look directly into the socket when checking.
    If all else fails try a PRAM reset:
    Reset your computer’s PRAM
    A small amount of your computer’s memory, called “parameter random-access memory” or PRAM, stores certain settings in a location that Mac OS X can access quickly. The particular settings that are stored depend on your type of Mac and the types of devices connected to it. The settings include your designated startup disk, display resolution, speaker volume, and other information.
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Immediately press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Continue holding the keys down until the computer restarts, and you hear the startup sound for the second time.
    DO NOT HOLD These keys beyond the second startup sound!
    Release the keys.
    Resetting PRAM may change some system settings and preferences. Use System Preferences to restore your settings.

  • How to control timeline sound of external SWF

    Hi All,
    Basic Intro:
    I am new in Action Script and trying to create a video tutorial framwork. In this I have lots of animated SWF files in all the files I have multiple scenes as those are 5min. to 10 min. each and all the files have the relevent background and nurration voice place directly on the TIMELINE frame by frame to match lip syncing animated chreactors.
    My file structure :
    Login.swf with login box is embedded into the Index.html
    After logged in it will load another SWF which is Control panel.swf
    3. Controlpanel.swf has the controls to control the loaded external swf files i.e.: Chapter menu, Play, pause, replay, volume-bar, next and previous buttons.
    By Default Controlpanel.swf will open chapter1.swf as soon as user logged in so no one need to open 1st file.
    Here user can navigate to other chapter swf file through Chapter menu or Next and Previous buttons.
    All files are loading and playing properly, here I am trying to control the animation and Sound both at a same time with Pause, Play and Replay through relevant buttons.
    Problem:
    By pressing “Pause button” animation stops but not the sound. Sound remains playing, and if I replay the swf by “Replay button” than animation restarts but sound also restarts that overlaps already playing audio.
    Question: So could anybody help me finding out how to:
    1. Pause the sound with animation by the same click of Pause button, and
    2. Stop the sound with animation by the same click of Stop button, and
    3. On replay it should stop playing the previously running audio and restart it with the animation like fresh loaded file, it should not sound overlapping.
    Constraints:
    Here I am using the sound file on the same time line of each individual swf file which I cannot add into any single movie clip because all the chapter swf file are having multiple scenes in it.
    For my problem I have already done a lot of browsing online in various forums and didn't find the solution. So here I am sharing the complete information regarding the project and wishing to get some good solution out here but if I missed any helpful information please ask me anytime and please help me to quickly find out the solution.
    Thanks a lot to all of you in advance to help me.

    create one global sound variable
    you can write when you are pressing pause button
    globalsoundvariable.setVolume(0)
    to play
    globalsoundvariable.setVolume(100)

  • Macbook Pro recording sound from external radio

    Hi all,
    Wondering if anyone can give me some advice on how I can record an external digital radio with my Macbook Pro. As a backgrounder, I am able to do it on my old white Macbook because it has a line-in port, so I just connect a 3.5mm cable from the radio to the Macbook and then I have software (Audio Hijack Pro) to hijack and record it.
    However, as we all know, the new Macbook Pros have done away with the line-in port. And the Sound options in System Preferences don't seem to have a function allowing me to fiddle with the headphone port (apparently, earlier models had a function in System Preference that allowed you to turn the headphone port into line-in) but this new model doesn't have that option anywhere.
    So I'm wondering if anyone can tell me whether the USB ports or even Thunderbolt can RECEIVE sound from an external device such as a digital radio. I have seen cables that are 3.5mm to USB so I think getting the cable to connect the radio to the Mac is possible, but will it actually receive the sound or just do nothing? Or is there some other way I can record an external device I'm not thinking of, bearing in mind I don't want to use the Mac's microphone to do it, as I will of course get all other ambient sound in the room at the time, and I don't want to rely on an internet stream of said radio.
    Thanks,
    Joe

    u2hmtmkmkm wrote:
    What if it was a digital radio, would that make things easier by way of using just a 3.5mm to USB cable? Especially because a quick search of a USB Audio Interface brought up some expensive results.
    Also, as a possible alternative, after some extensive research online, I've found an iMic USB Audio Device by Griffin that is essentially an adaptor with a USB cable on one end and a Line In port on the other, thus allowing me to connect a 3.5mm to 3.5mm cable from the digital radio to the adapter, and then the adapter goes into the MBP USB port. It's on Amazon and it claims to function as a way to plug microphones and other external audio equipment to it. It seems pretty straightforward, which sometimes has me thinking it's too good to be true.
    The output from your radio is analog, regardless of whether the radio is 'digital' or not.
    You need a USB audio interface. The iMic is a USB audio interface.

  • Button from External SWF to Play Movie in Main SWF

    Hi Guys,
    Ok I'm working in Flash 8, Action Script 2;
    I'm building a website, in which the 'Gallery Page' has a link to an external swf file, which is a scrolling clip of thumbnails.
    What I want to do, is create each thumbnail into a button, which will then play a Movie Clip from a frame located in the Main swf file.
    (So basically, each thumbnail button is a small photo, will play that photo in a large scale as a movie)
    eg.
    thumbnail1_btn  needs to go to main swf and play movieclip1.mc, frame 1
    thumbnail2_btn nends to go to main swf and play movieclip1.mc, frame 2
    I'm unsure of the code for this? Or if I've built this up wrong?
    If someone could help me out, that would be great!

    If you haven't set _lockroot on the loaded SWF, than a simple _root call from the loaded SWF will talk to the main SWF.
    IE:
    on(release){
    _root.gotoAndPlay(1);
    If you did set the lockroot, then call the level directly, via:
    on(release){
    _level0.gotoAndPlay(1);
    Once on the root level, you can access a movie clip as normal.
    So:
    on(release){
    _level0.movieClip1.gotoAndPlay(1);
    will call the movie clip "movieClip1" which resides on the timeline of _level0 (which is main.swf in your instance), and tell it to jump to the first frame and start playing.

  • Loading library movie symbol from external swf

    Hi, I have a Flex/Air Application and I want this application
    to load in an external SWF and display a particular asset from the
    SWF library (just like attachMovie in AS2). I dont want to embed
    the SWF into the Air application. For the life of me I can't find
    any tangible info on how to do this. My second problem is that the
    assets sit in an SWF published for AS2 (is that an issue?). All
    content resides locally.
    Can anyone help or point me in the right direction?

    I see now how to import and display a library class object
    using:
    var MovieClipClass:Class =
    Class(loader.contentLoaderInfo.applicationDomain.getDefinition("myLibraryAsset"))
    var movieClip:Sprite = new MovieClipClass();
    addChild(movieClip)
    But this seems to only work for SWF's published for AS3 Flash
    Player 9.
    I need to do the same for SWF's published with AS2 Flash
    Player 7.
    Any ideas?

  • Can't Hear GM sounds from external Keyboard

    My system set up is a Mac Mini OS X 10.9.5   with 2.3 GHz intel Core i5 and 5 Gb of Memory . A Focusrite Saffire Pro 14 interface.
    I am using a M-Audio Keystation 61es connected via the USB to to the Mac,( and have done for the last 2 years ),
    when I was using it in Garageband it worked perfectly as a 'Plug-in & Go' keyboard and i could access and play both the GM sounds on board or the GB sound Library.
    Since Upgrading to Logic Pro I can only play Midi voices and loops from Logic, although it recognises the Model of keyboard and allocates the relevant channel, it also allows me to see the onboard menu of GM sounds, and registers in the volume of the track a signal coming through the relevant channel, so i know its communicating somewhere.
    But I can't hear ANY of the GM sounds from the Keystations on board library.
    Have looked at all the Midi Settings i can find in Logic and followed some paths suggested in the various Logic Manuals, but still no Noise !
    I am no Techno Head so please! if you know what it is that I am NOT doing , explain it the simplest way you can.
    Thanks in advance for any help that can solve this Problem
    MyKee.G

    As far as I can tell, the M-Audio Keystation 61es does not have any form of on board sound generation. So whatever you heard in Garageband was synthesized by GB. In the same way you'll have to set up a virtual instrument in Logic to generate the sound.
    Apart from that, it sounds like you are not really aware of the difference between Midi controller data and audio data, or at least the way they are routed. The midi controller has no way to send audio to logic through a midi connection. If it had on-board sounds, you'd have to route the audio explicitly to logic using an audio interface or in rare cases using audio over the USB connection that also does midi. In any case, you'd have to route the sound manually. The external instrument plugin in logic allows you to do that easily. But again, I don't think that applies to your situation.
    Cheers,
    Jazz

  • Screenshots from external swfs

    How can i draw a movieclip that contains an external swf onto
    a BitmapData variable?
    I'm loading the movieclip with:
    moviecontainer=_root.createEmptyMovieClip("moviecontainer",10);
    moviecontainer.loadMovie("pacman.swf",0);
    Then i initialise the BitmapData var with:
    var snap:BitmapData = new BitmapData(Math.floor(nwidth),
    Math.floor(nheight),false);
    When a button is pressed i try this:
    snap.draw(moviecontainer,new Matrix());
    I expected the BitmapData snap to contain a screenshot from
    the external swf pacman.swf, but it doesn't.
    Does anyone know what i'm doing wrong?

    Thanks! I was close to giving up, but this really works
    great.
    The code for the php script is:
    <?php
    $data=explode(",",$_POST["img"]);
    $im=imagecreatetruecolor(max(1,$_POST["iwidth"]),max(1,$_POST["iheight"]));
    imagefill($im,0,0,imagecolorallocate($im,255,255,255));
    $i=0;
    for($x=0;$x<$_POST["iwidth"];$x++){
    for($y=0;$y<$_POST["iheight"];$y++){
    $r=hexdec(substr($data[$i],0,2));
    $g=hexdec(substr($data[$i],2,2));
    $b=hexdec(substr($data[$i],4,2));
    $color=imagecolorallocate($im,$r,$g,$b);
    imagesetpixel($im,$x,$y,$color);
    $i++;
    imagepng($im);
    ?>
    i changed the code inside the two for-loops in the .fla to:
    tmp = snap.getPixel(a, b).toString(16);
    pixels.push(tmp);

  • I get sound from external speakers, but not songs

    Hi,
    I have a pair of external speakers plugged into the output jack of my PC. I get sound, even from iTunes Help which Dings when I enter search criteria. But when I play songs in iTunes, they're silent. Since I get other sound from them, I know the volume is okay and they're plugged in, etc. I've played with all 3 volume controls -- the ones on the speakers, the one at the lower left next to the clock and the one in iTunes itself. Still no music.
    Any ideas?
    Thanks,
    Richard

    This worked for me as well. Great find! I have gigabyte ep45-ud3r motherboard and I was getting all sound through external speakers except itunes was playing the sound out of the digital output instead of the speakers. I could see this when I went to control panel > hardware & sound > manage audio devices. I did the repair as described above and now I have sound in iTunes.

  • Adobe audition cs  5.5 does not take sound from external mic....

    i have used 3.0 audition but this one doesnt even take sound from any external mic.... it takes sound nnly frm internal mimc of my laptop... kindly advice, how can i make it work for the external microphone

    This question would probably receive more helpful response if you posted it in the Audition forum, waqsajaz.

  • No sound from external speakers with music and apps on 3gS

    I'm having sound problems with my 3gs.  I've read quite a few posts about this and have come to a dead end. 
    My problem is that there is no sound from apps of music etc from the external speaker but there is from phone calls.
    This is what I've tried:
    The silent button is off.
    I've put the headphone in and out many times to know avail.  (I don't consider this to be the problem as when the jack is taken out the volume bar dissapears)
    I've blown down the headphone jack.
    I've cleaned out the usb socket with a toothpick
    I've done a restart
    I've done a reset and a full reset with newly downloaded firmware.
    To me it's acting as if it is docked into an external speaker.
    Any other suggestions.
    Darren

    Is the iPhone able to still play ringtones and songs via headphones? If so, your iPhone probably thinks it is connected to a dock. I had this problem and while I don't suggest it, I messed rather vigorously with the dock/cable port at the bottom before the volume reappeared. I hope this helps.

Maybe you are looking for

  • Phone won't sync to laptop

    My iPhone 4 won't sync photos to iTunes. I followed many suggestions including 1. uninstalling and reinstalling itunes 2 making certain my apple authorized cable works (it does ) 3. making cerain the usb ports work (they do) 4. the phone appears as "

  • Is Windows Server 2003 R2 Entreprise Edition Service Pack 2 supported?

    I tried to install ColdFusion 9 but wasn't able to finish. My OS is  - Windows Server 2003 R2 Entreprise Edition Service Pack 2 Regards mangeo

  • Need help figuring out how to deal with inheritence issues

    So I have these two classes, one's called MC, which represents a Multiple-Choice question, and one's called TF, which represents a True/False question. It would make sense to have TF inherit from MC, since TF is simple a MC question with two set opti

  • Where do I get HP8753ES drivers for Labview 8.2?

    Hello,   I am in the process of updating some Labview code to 8.2. Where do I find drivers for the HP8753ES that is compatable with Labview 8.2? I looked at the NI website and the drivers listed are for Labview 8.0, will they work with Labview 8.2? T

  • Change the logo_home.gif on the GSS homepage

    Hi, we want to put a new 'logo_home.gif' on the main page of our GSS (this is the logo of the two heads). We want to put a 'banner' here instead. However, I cannot see this file in the GSS directory ? Does anyone know if this is accesable or not ? ch