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);

Similar Messages

  • Can not load an external swf file from my site

    Hi ...
    I have a fla file which is loading external swf files from my local folders.
    I inserted some of the swf files to a web site and tried to load them from the site, not from my local folder...
    So it gave me a security error like below:
    *** Güvenlik Sanal Alanı İhlali ***security domain-area violation
    http://www.celiktek.com.tr/KIRIL.swf' SecurityDomain öğesi -- security domain element, 'file:///C|/Users/Acer/AppData/Local/Temp/Untitled%2D1.swf' uyumsuz bağlamına erişmeye çalıştı - tried to reach this incompatible url
    SecurityError: Error #2070: Güvenlik sanal alan ihlali -- security area violation: http://www.celiktek.com.tr/KIRIL.swf arayanı - searcher of this can not reach stage in file:///C|/Users/Acer/AppData/Local/Temp/Untitled%2D1.swf içindeki Stage'e erişemiyor. -
    at flash.display::Stage/requireOwnerPermissions()
    at flash.display::Stage/get numChildren()
    at KIRIL_fla::MainTimeline/frame1()
    so in my computer, I can load this swf , but how from a website ?
    thnx ...

    Thnaks ...
    I tried to use the securiyt panel that is openede and I added there my site
    www.celiktek.com.tr/KIRIL.swf
    but I still take the error
    *** Güvenlik Sanal Alanı İhlali ***
    http://www.celiktek.com.tr/KIRIL.swf' SecurityDomain öğesi, 'file:///C|/Users/Acer/AppData/Local/Temp/Untitled%2D1.swf' uyumsuz bağlamına erişmeye çalıştı
    SecurityError: Error #2070: Güvenlik sanal alan ihlali: http://www.celiktek.com.tr/KIRIL.swf arayanı file:///C|/Users/Acer/AppData/Local/Temp/Untitled%2D1.swf içindeki Stage'e erişemiyor.
    at flash.display::Stage/requireOwnerPermissions()
    at flash.display::Stage/get numChildren()
    at KIRIL_fla::MainTimeline/frame1()
    from my code
    var req:URLRequest=new URLRequest("http://www.celiktek.com.tr/KIRIL.swf");
    var lod:Loader=new Loader();
    lod.load(req);
    addChild(lod);
    lod.x=0;
    does this code works on your computer ... I know it is a weird question ... you dont have to try ...

  • How can i run Lightroom 3.6 with RAW files from Canon 650D?

    How can i run Lightroom 3.6 with RAW files from Canon 650D?

    Download the newest DNG converter from Adobe, convert your RAW photos to DNG, and then Import into Lightroom.

  • 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)

  • How can I stop the sound of my camera?

    few weeks ago I bought a Nokia E65. I like my phone but I don't like the sound of camera while capturing the picture or recording some video clip. I dont know why the producers add this sutupid sound to the phones. Or why dont they add a selective option. How can I cancel this sound in my e65. It is making me nervous.

    04-Oct-200707:20 PM
    psychomania wrote:
    Let not turn this into yet another E90 argument thread
    No way!
    That was hardcore.
    I guess nokia should add this option and can make an aware statement not to take a pic where it is prohibited, that just does the job.
    What do y'all think?

  • How can I stop the last character of my password from being displayed?

    Sorry, I'm sure this would have been asked before, but I couldn't locate it..
    When unlocking my iPad, how can I stop it from displaying the last character of my password to everyone in the vicinity? This has got to be the fastest way to find out someone's password (just look at the screen as they type their 'secure' password!?). Having the iPad display your password letter by letter is really not acceptable when working in a non-secure environment.
    Is there a setting somewhere, or will this be addressed in a new iOS, or just ignored as a 'that's the way it is'?
    Thanks in advance,
    Andy

    AdventureBear wrote:
    Hi,
    This may have been the way it has been on iOS since 2008 (not sure about that though), however I know (based on working in the IT industry for 20 years) that nobody on this planet can successfully argue that it would be 'acceptable security practice', for me to display 'every last letter' as I type of a secure 'root' password on my screen every day when you log in... Nobody would think it acceptable to display even their LAN/Domain password on the screen in this same manner. So why is iOS different?!
    iOS on a phone (it used to be argued) doesn't need to be very secure as it is almost entirely phone numbers and email addresses that are being stored. However in recent years when the applications got better, and tablets came out, security became a much bigger issue as more and more people started using the functions of 'smart' phones to store more 'sensitive' data.
    Kind regards,
    Andy
    Are you suggesting that someone looking over your shoulder can't see the keys that you're tapping with your fingers? In the interest of security, i would never, under any circumstances, enter a password when others are around.

  • Trying to properly code a menu with buttons that can go back and forth between external swf files

    I have a project I've been working on that, when properly coded, has a "main menu" with 4 "doors" (buttons). When the corresponding buttons to these "doors" are clicked, it should go to and play an external .swf file. If that doesn't make sense, think of a DVD menu. You click play movie, it plays the movie. When the movie is over, there's two buttons on that swf file to either play the movie over or go back the main menu, which is an external .swf file (Remember, we go to the movie from the menu, which is a seperate file). So far, the buttons work. The menu works. However, from the movie, at the conclusion, when I click the button to go back to the main menu, it displays the movie clip and the buttons, but none of the buttons work. I'm starting to think it has to do with the fact the main menu was written in AS3 and the movie was made in AS2. If anyone can assist me in being to able to keep both files and still navigate between the two, being able to bring up the menu from the movie and be able to play the movie again, and so on and so on, that'd be GREAT. I'm somewhat of a noob to Flash, but I learn quickly and I'm open to any suggestions. Here's the code for main menu, which I guess acts as the parent file, and the movie. If I get this to work, I essentially would duplicate the same actions for the other 4 doors, once I complete the environments for them. Thanks
    Main.Fla/Swf (written in AS3)
    (This is the action on the first frame, that has all the buttons. For this question, I'm just trying to properly code for 'Door4', which is the "door" to the movie.)
    import flash.display.Loader;
    stop();
    var myLoader1:Loader=new Loader ();
    Door4.addEventListener(MouseEvent.CLICK, jayzSwf);
    function jayzSwf(myevent1:MouseEvent):void
              var myURL1:URLRequest = new URLRequest("jayzspeaks.swf");
              myLoader1.load(myURL1);
              addChild(myLoader1);
              myLoader1.x = 0;
              myLoader1.y = 0;
    Movie.Fla/Swf (written in AS2)
    (This is action on the button that returns to the menu)
    on (release) {
              this.createEmptyMovieClip("container",this.getNextHighestDepth());
              container.loadMovie("main.swf");

    At least you're going in the correct (mis)direction. You have AS3 loading AS2. So that's not a huge hurdle.
    I believe all you really need to do is send your Main.swf a signal that the content it loaded (e.g. jayzspeaks.swf) is done and you want to get rid of it.
    The code I pointed you to asks you to (upon download and import then) instantiate it in both AS2 and AS3. They give a very simple easy to understand line of code.
    // as2, load this in jayzspeaks.swf
    var myBridge:SWFBridgeAS2 = new SWFBridgeAS2("connectionID", clientObj);
    // as3, load this in main.swf
    var myBridge:SWFBridgeAS3 = new SWFBridgeAS3("connectionID", clientObj);
    Make sure the connectionID matches between them. Set it to whatever you want.
    When you're done with your as2 loaded content you'd send a signal (over localconnection) back to the AS3 Main like they say:
    myBridge.send("someFunctionToUnloadContent");
    myBridge.close();
    You'd need to make the as3 function "someFunctionToUnloadContent()" (example purposes only name) and it should unload the jayzspeaks.swf that was loaded in the loader.
    Make sure you get that close in there so you don't drill up a bunch of localconnection objects just like the simple source code says.

  • How can i detect if the picture or swf file is produced from legal flash?

    I have recently bought images and swf files from a student for my website.
    I've just realized that the images and swf might be from pirated flash product because i found out that
    the original flash is really and i mean really pricey! I don't believe he bought an original product.
    How do i detect if it is from a legal product? I'm worried as i'm going to put it in my website.
    I can't get the guy who did this for me as he is in another country already.
    If it is possible to detect this and it is indeed from pirated product, how can i make it legal again?
    Please help.

    Hey Rob,
    Its the same question, just that i want to know if it is possible to trace the source if the file is an image.
    If it is not possible to trace the source be it a swf or an image file, then i will just upload it to my website.
    I wouldn't bother to check if it came from a pirated flash product.
    The image is created from flash 8 just for me. It is not downloaded from another source.
    Thanks.

  • How do I find the width of an external swf file that I am loading in

    I have loaded in an external swf file and it works fine.
    However, when I get the width dimensions of the movieclip that is housing the external swf file it gives me a '0' for the width.
    Thanks for your time.

    you must wait until loading is complete before trying to access the loaded objects width.  at that point you can determine the width,height of the onstage/backstage objects in frame 1 of the loaded swf.

  • How can I stop MS Outlook Mail in the outbox from being sent?

    I attempted to mail an email with a large attachment file.  One of the addresses was bad.  When my Outlook is running, the Mac tries to send it and shows the progress.  However, when I look in my Outbox the files are not there.  It does show up in the Outbox progress section but I can not delete it when it is there. 
    Where do these files reside?
    Is there a hidden Outbox??

    "Neumannium" wrote in message
    news:[email protected]..
    > Hello all,
    >
    > I'm creating VI that will gather data from a series of thermocouples
    > and outputing that data to a graph as well as to a spreadsheet file.
    >
    > The sampling rate for each channel needs to be independent and
    > variable. That is, they want to increase the sampling rate to 1/sec
    > during temperature transitions, and then 1/10minutes (for example)
    > when saturated.
    >
    > I was going to use a menu ring for the user to select the sampling
    > rate (1 second to 15 minutes, with 7 different rates in between) and
    > then, using a case statement, select the value of how long the 'wait
    > (ms)' should wait in each loop.
    >
    > This kind of works with one maj
    or problem. If the user currently has
    > the sampling rate set to 15 minutes, then wants to switch it to 1
    > second, it can take up to 14:59 for the 'wait(ms)' to finish waiting
    > on the 15 minute wait before it switches to the faster sampling rate.
    >
    > Is there a way to stop a 'wait(ms)' in the middle of its wait cycle?
    > Or is there a better way of doing this?
    Instead of using the wait ms.vi you could use 'tick count' at the beginning
    of the loop and then have an inner loop that keeps checking the 'tick count'
    until time minus time > time to wait.
    You will need to figure out how to handle the case where the millisecond
    timer wraps from 2^32-1 to zero. That should not be too difficult.

  • How can I add the score of external swfs.

    How can I add the scores of the different levels of the game that I created wherein each level are all different swfs which is loaded by the loader class.

    Thank you! That really helped.

  • When I take pictures from front camera it automatically flips them how can I stop that?, When I take pictures from front camera it automatically flips them how can I stop that?

    I just started to do this not to long ago. When I take a picture from my front camera, when I view it, it's rotated to the opposite side. How can I fix this?

    Some mail programs, including Apple Mail, can reduce the size of images that are attached to a message. It's happening at the sender's end, and all you can do is ask the sender for a larger image.

  • How can we change the time of the media file from java code ?

    Hi,
    particularly, how can we start the media file from the second 55 and not from the second 0 (beginning) ?
    Thanks.

    I tryed to use such method but an exception was raised:
    javax.media.NotRealizedError: Cannot set media time on a unrealized controller
         at com.sun.media.BasicPlayer.setMediaTime(BasicPlayer.java:427)
         at com.sabily.mualim.main.MediaFileDemo.loadMediaFile(MediaFileDemo.java:72)
         at com.sabily.mualim.main.MediaFileDemo.<init>(MediaFileDemo.java:77)
         at com.sabily.mualim.main.MualimStandalone.main(MualimStandalone.java:12)
    Exception in thread "main" javax.media.NotRealizedError: Cannot set media time on a unrealized controller
         at com.sun.media.BasicPlayer.setMediaTime(BasicPlayer.java:427)
         at com.sabily.mualim.main.MediaFileDemo.loadMediaFile(MediaFileDemo.java:72)
         at com.sabily.mualim.main.MediaFileDemo.<init>(MediaFileDemo.java:77)
         at com.sabily.mualim.main.MualimStandalone.main(MualimStandalone.java:12)
    below is the code related to playing media file:
    package com.sabily.mualim.main;
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.Container;
    import java.awt.Panel;
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import javax.media.ControllerAdapter;
    import javax.media.ControllerListener;
    import javax.media.Manager;
    import javax.media.NoPlayerException;
    import javax.media.Player;
    import javax.media.RealizeCompleteEvent;
    import javax.media.Time;
    import javax.media.TimeBase;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class MediaFileDemo extends JFrame{
         private Player player;
         Component center;
         Component south;
         private void loadMediaFile() {
              final Container contentPane = getContentPane();
              if (player != null) {
                   player.stop();
              try {
    //               player = Manager.createPlayer(new URL("file:C:/Nouveau dossier/e1_intro.wav"));
                   player = Manager.createPlayer(new URL("file:C:/mp3/001.wav"));
                   //player = Manager.createPlayer(new URL("file:D:/Film/Earth_Planet/Planet.Earth.EP08.Jungles/Planet.Earth.EP08.Jungles.avi"));
              } catch (NoPlayerException e) {
                   e.printStackTrace();
              } catch (MalformedURLException e) {
                   e.printStackTrace();
              } catch (IOException e) {
                   e.printStackTrace();
              ControllerListener listener = new ControllerAdapter() {
                   public void realizeComplete(RealizeCompleteEvent event) {
                        Component vc = player.getVisualComponent();
                        if (vc != null) {
                             contentPane.add(vc, BorderLayout.CENTER);
                             center = vc;
                        } else {
                             if (center != null) {
                                  contentPane.remove(center);
                                  contentPane.validate();
                        Component cpc = player.getControlPanelComponent();
                        if (cpc != null) {
                             contentPane.add(cpc, BorderLayout.SOUTH);
                             south = cpc;
                        } else {
                             if (south != null) {
                                  contentPane.remove(south);
                                  contentPane.validate();
                        pack();
                        //setTitle("Lesson 1");
              player.addControllerListener(listener);
              player.setMediaTime(new Time(15));
              player.start();
         public MediaFileDemo() {
              loadMediaFile();
         public Player getPlayer() {
              return player;
         public void setPlayer(Player player) {
              this.player = player;
    Best Regards

  • How can I tell iTunes to NOT convert certain files from wma format?

    I just got an iPod classic, and downloaded iTunes and it automatically started adding all my music. I have almost 5000 songs that are in wma format, and it started converting them all. Then after it got almost 2000 songs finished, it just stopped. For no reason. So I tried to continue it, and apparently there is no way to just continue where it stopped. It started over at the beginning and is now re-converting all the files it already converted.
    It took over 24 hours to convert those first 2000 files. It seems completely unnecessary that it should have to re-convert them all over again.
    Is there any way that I can tell it NOT to convert those specific files? I figured that you should be able to right-click the file and say "DO NOT CONVERT" or something along those lines, but that is not an option.
    The only other way I've been able to figure out that I could do this is to manually add only the files that it didn't convert last time. But that is over 3000 files, and they are not in the same order on my hard drive that they are on in iTunes so I would never be able to figure out what files were done and what files were not done.
    There HAS to be a way to just highlight certain files and tell iTunes NOT to convert them. Hasn't there?
    Someone please help me. This is really irritating, and I do not feel like waiting for another 3 days for this to finish. I have other things I need to do on my computer, and it seems that while iTunes is converting, it is making everything else very slow.
    Thank you.

    I know they need to be converted, but the problem is, 2000 of the 5000 have already been converted. now it's trying to convert them again. but there is no reason for that. i want to know how to convert the other files that weren't converted yet, without having to re-convert the ones that were already done.
    I would move the ones that were done to a separate folder, but I don't know exactly what ones were done. In iTunes, they are the first 2000 or so in the list, but on my hard drive they are not in the same order.
    Does anyone else know if there's a way to do this?

  • How can I use my time capsule to save files from my windows PC (Windows 8.1)?

    I have been to see the iStore close to where I live but I am frustrated to say that they are no help what so ever. The technical desk there freely admits that they do not how to do it and all they say is "apparently it is easy. Just follow the instructions on screen" which helps me no end!
    I have the Time Capsule set up on my mac and want to use part of the disc to save my files from my Windows PC (running Windows 8.1) that is on the same home network.
    I have found the apple forums so helpful in the past that I am pinning on my hopes on anyone that can help me via the forum now!

    Load the airport utility for windows. Sadly the most recent one is old.
    http://support.apple.com/kb/dl1547
    Although it is for windows 7 it does work on 8 and 8.1 .. tell us if you have problems loading it. Some people find it won't work without using safe mode.
    The utility will not help a lot to setup the latest model TC.. it is fine for Gen4 and earlier. But it does load bonjour for windows and a disk access agent.
    The TC should run simple names.. Short.. keep them below 10 characters if you can. No spaces and pure alphanumeric.
    That includes the base station name and wireless name.
    Once all of that is correct, open windows explorer and type in the address bar.
    \\TCname or \\TCipaddress where you replace TCname with the new short name or TCipaddress with obviously its actual IP.
    You will then get a request for username and password. Username is whatever.. admin will do. Password type in your disk access password.. public by default.
    TC is not designed to allow partitions so you cannot partition the TC disk. Create a folder and simply copy and paste your files to the folder.
    NOTE:: The TC cannot back itself up. So make sure you do not move files to the TC without having another copy.
    NOTE:: The TC does not happily mix TM backups and data.
    See http://pondini.org/TM/Home.html For info about TM and the TC.
    This area in particular.
    Q3 http://pondini.org/TM/Time_Capsule.html
    On mixing data and backups.

Maybe you are looking for