SWF player with controls

am to making a SWF player on Flash CS3 (AS2 & AS3) for web with controls like Play, Pause, Forward, Rewind, Time, Seek bar etc.
This player will load external SWF and user can play them as other movie file play.
My Player screen size is 300X300Px. I have accomplished all necessary coding for the same and some of the SWF files are playing well but some of the SWF files are not playing well.
Here is the list of some major problem that I am facing form….
1.       Some SWF file does not shows scroll bar as they are bigger than my player screen.
2.       While pressing Pause button, some of the content/animation for the loaded SWF file are stop but some of them are still animating.
3.       Some SWF file does not show there background (especially color).
4.       Some of the SWF file does not show actual time/frame as some file shows correctly
I request to all you Flash developer to please suggest me any possible solution for the above said problems.

1. swf files are not designed to have/show scrollbars.  That is something you will need to design into your player's functionality.  If the content your player is showing is larger than the viewing area, you need to add scrollbars to your player.
2. Not everything in a Flash file animates on the main timeline... some elements can be movieclips that animate on their own... and some animations are done using only actionscript.  You would need to know details of each element in the swf so that you could target things and command them as needed to make them stop playing... this is highly unlikely to be able to accomplish.
3. When you load an swf file into another swf file, it does not include the background it has as an independent file... the background of the main file is the only one used.  Your loaded swfs will have to have background graphics drawn in.
4.  If I understand what you are trying to explain, this is another case of the main file controlling the show. Whatever the main file's frame rate is, is the frame rate that all loaded swf files use.

Similar Messages

  • As3 code to support swf player with control buttons

    i need code for swf player.the player consists of play, pause ,stop, next and previous with seek bar and time control.i had try my code which not support my swf ......the code is ............
    function swfLoadedHandler(e:Event):void {
    trace("swf loaded");
    currentSWF=MovieClip(swfLoader.content);
    playerSwf.btForward.addEventListener(MouseEvent.CL ICK, button_forward);
    playerSwf.btRewind.addEventListener(MouseEvent.CLI CK, button_rewind);
    playerSwf.btPause.addEventListener(MouseEvent.CLIC K, button_pause);
    playerSwf.btPlay.addEventListener(MouseEvent.CLICK , button_play);
    currentSWF.addEventListener(Event.ENTER_FRAME , checkLastFrame);
    function checkLastFrame(e:Event):void {
    if (currentSWF.currentFrame==currentSWF.totalFrames) {
    currentSWF.stop();
    playerSwf.sliderMc.width=(currentSWF.currentFrame/currentSWF.totalFrames)*140;
    function button_forward(e:Event):void {
    currentSWF.nextFrame();
    function button_rewind(e:Event):void {
    currentSWF.prevFrame();
    function button_pause(e:Event):void {
    currentSWF.stop();
    function button_play(e:Event):void {
    currentSWF.play();
    swfLoader.load(swfFile);
    playerSwf.container.addChild(swfLoader);
    function closePlayer(e:MouseEvent):void {
    playerSwf.container.removeChild(swfLoader);
    removeChild(player);
    pls help me with another code to run my swf with player.....and i had attached my swf and player pls help me frds........

    Make your code agree with your file's setup.  If the file you provided for viewing is the file that the code is not working with, it is understandable since the code does not reflect the elements of that file.  Especially since there is no such code in that file, but also because if the code you showed was in that file, it does not target objects properly... mostly due to the lack of an object named playerSwf that your code uses to target all the objects thru.

  • Swf choppy with control bar in presenter

    This question has been posted before a couple of different times, but I am going to post my own since I can not seem to find a solution that works for me in the responses in the other posts.
    When I embed my swf file into presenter and click the control bar option, the swf runs very choppy.  I have tried every suggestion out there to fix this but to no avail.  Why are there no sufficient tutorials out there for this product?  I have been monkeying around with this now for eight days and I am so very frustrated!
    I am using a new pc with vista, powerpoint 07 and CS4 Flash.  Should I be working on my Mac? (my next step in exploration)....  Would this make a difference?
    Please offer any suggestions, as I am at my wits end ~
    Thanks,
    John

    John,
    Man, I'm sorry this has been so frustrating for you...I think we've all experienced our share of pitfalls around Presenter, and I'd also respond by saying that a great deal of us have had to figure out solutions that work within our given environments.
    And nope, that's not ideal at all.
    I know you've looked at the previous thread about this problem....so I'm not going to rehash what was discussed there, but I do feel it necessary to ask the following:
    1. You write that you're using CS4...and for the record, I'm not convinced that's a problem, but for what its worth, are you using Actionscript 3.0 at all?  IF so, you're going to need to backdate that code base, b/c Presenter outputs to Flash Player 8, so AS 3.0 has to be taken off the table.
    2. Is your imported swf file running at 30fps?  Again, don't mean to ask a stupid question, but it's the little details that can make or break a file.
    3. Is there some example that you can share?  Not sure if you can make anything available, but I'd be happy to view anything you have in an attempt to see if there's something we can do to fix the problem you're experiencing.
    Rob
    http://www.robrode.com/yabb/

  • Media Player with control buttons inc. full screen

    Hi
    I am trying to add a media player on an html page - insert > media > flash, file.swf.
    This looks good when uploaded, but I'd like to have the control buttons show up, (ie. stop, replay, backwards, forwards, full screen)
    The video also looks to be 54 minutes long, I suppose it is as the 2 minute video continually repeats.  Can this be changed too?
    Can anyone please help?
    Thanks

    Just in case someone else is looking for the same fix and me, here is  how it was solved;
    <!-- begin embedded WindowsMedia file... -->
          <table border='0' cellpadding='0' align="center">
          <tr><td>
          <OBJECT id='mediaPlayer' width="800" height="495"
          classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
          codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
          standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
          <param name='fileName' value="http://www.myweb.com/video.wmv">
          <param name='animationatStart' value='true'>
          <param name='transparentatStart' value='true'>
          <param name='autoStart' value="true">
          <param name='showControls' value="true">
          <param name='loop' value="true">
          <EMBED type='application/x-mplayer2'
            pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
            id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
            bgcolor='darkblue' showcontrols="true" showtracker='-1'
            showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="800" height="495"
            src="http://http://www.myweb.com/video.wmv" autostart="true" designtimesp='5311' loop="true">
          </EMBED>
          </OBJECT>
          </td></tr>
          <!-- ...end embedded WindowsMedia file -->
        <!-- begin link to launch external media player... -->
            <tr><td align='center'>
            <!-- ...end link to launch external media player... -->
            </td></tr>
          </table>
    Just in case someone else is looking for the same fix and me, here is how it was solved;

  • FLV & SWF player with XML Playlist

    What I want is to create a player that can handle SWFs and
    FLVs or just FLVs, that load from a XML playlist.
    Now I have seen the tutorial (Creating a Dynamic Playlist for
    Progressive Flash Video) url:
    http://www.adobe.com/devnet/flash/articles/prog_download.html
    But this populates a list that you have to click to play the
    next movie, but I want it to play swf1 or flv1 then 2 then 3 and so
    on, then loop. But I can't find a tutorial for this anywhere?
    Any ideas, I need a detailed tutorial or a working example?

    I recently made something like that, but then my project
    consultor, made me change to use only flv files.
    The project is going to be an internal tv channel for a
    university, here in Portugal. First I thought of mixing SWF and
    FLV's together, but then it required that someone that used the
    system, knew how to program SWF's, because you need to change a
    flag (variable) at the end of the playback of the SWF. This change
    of flag status indicates that this SWF is over and pass to the next
    entry of the playlist. Without this, I think that you would never
    know when to go to next entry. so, the code resembled a little like
    this:
    if ((_root.percen_tx.text == "100%") || (_global.over == 1
    && _global.tipo[_global.num]=="1")) {
    _global.over = 0;
    _root.percen_tx.text = "";
    if (_global.num == (_global.filmes.length-1)) {
    _global.num = 0;
    switch (_global.tipo[_global.num]) {
    case "1" :
    loadMovie(_global.filmes[_global.num], _root.swf_cont);
    _root.descr_tx.text = "";
    _root.percen_tx.text = "";
    break;
    case "0" :
    _root.contentor.my_FLVPlybk.contentPath =
    _global.filmes[_global.num];
    _root.descr_tx.text = _global.descr[_global.num];
    break;
    } else {
    _global.num += 1;
    _root.percen_tx.text = "";
    switch (_global.tipo[_global.num]) {
    case "1" :
    _global.over=0;
    loadMovie(_global.filmes[_global.num], _root.swf_cont);
    _root.descr_tx.text = "";
    _root.percen_tx.text = "";
    break;
    case "0" :
    _root.contentor.my_FLVPlybk.contentPath =
    _global.filmes[_global.num];
    _root.descr_tx.text = _global.descr[_global.num];
    break;
    A brief explanantion:
    _global.over -> 0 (not over); 1 (is over)
    _global.tipo -> value that comes from an xml, and
    indicates if this playlist entry is a SWF or a FLV (they go to
    different MC's);
    _root.percen_tx -> Indicates the percentage of the FLV
    file that was already read. "100%" is over
    This is not the most efficient way to do it, because you can
    use listeners and so on, but at the time I abbandoned this, at this
    stage. Now it's only FLV, and only a few lines of code.
    You can see the project at www.ipvctv.com
    Hope it helped a bit.

  • Autism...Please Help..Video Player With Constant Controls.., Autism...Please Help..Video Player With Constant Controls..

    Hi All.
    My son has Autism, is 23 and I am trying to teach him to control a video player on ipad 2, I just need a video player with controls ( THAT STAY ON SCREEN CONSTANTLY).
    He is able to press the next > icon but when it disappears from the screen he gets confused.
    Thank You All In Advance
    Rgs
    brendan

    Another thing I do get this error randomly with other apps like Firefox 22 and Skype too which is strange. my S/N : 602-V260-050B1201119526.
    This error is from Skype
    Description
    A problem caused this program to stop interacting with Windows.
    Faulting Application Path:   C:\Windows\SysWOW64\WWAHost.exe
    Problem signature
    Problem Event Name:   MoAppHang
    Package Full Name:   Microsoft.SkypeApp_1.8.0.111_x86__kzf8q xf38zg5c
    Application Name:   praid:App
    Application Version:   6.2.9200.16420
    Application Timestamp:   505a90d6
    Hang Signature:   d908
    Hang Type:   2097152
    OS Version:   6.2.9200.2.0.0.256.48
    Locale ID:   2057
    Additional Hang Signature 1:   d908164defd45e704df38cec71cdb6e9
    Additional Hang Signature 2:   db7a
    Additional Hang Signature 3:   db7a68a61e111f839b8a39fd0e33855c
    Additional Hang Signature 4:   d908
    Additional Hang Signature 5:   d908164defd45e704df38cec71cdb6e9
    Additional Hang Signature 6:   db7a
    Additional Hang Signature 7:   db7a68a61e111f839b8a39fd0e33855c
    Description
    A problem with your video hardware caused Windows to stop working correctly.
    Problem signature
    Problem Event Name:   LiveKernelEvent
    OS Version:   6.2.9200.2.0.0.256.48
    Locale ID:   2057
    Files that help describe the problem
    WD-20130626-0316-01.dmp
    sysdata.xml
    WERInternalMetadata.xml
     View a temporary copy of these files
    Warning: If a virus or other security threat caused the problem, opening a copy of the files could harm your computer.
    Extra information about the problem
    BCCode:   141
    BCP1:   FFFFFA8007997010
    BCP2:   FFFFF880069D42B0
    BCP3:   0000000000000000
    BCP4:   0000000000000150
    OS Version:   6_2_9200
    Service Pack:   0_0
    Product:   256_1

  • Batch process video to swf with controls??

    Hi,
    I have hundreds of QT videos that I need converted to .swf
    video WITH control bar and a watermark logo.
    I can batch process them to .flv using the Media Encoder, but
    I need them to be .swf in order to use them in Director 2004MX.
    Plus, I don't see where I can add a watermark using Media Encoder.
    I have CS3 and CS4 Master Collections so I assume there's got
    to be SOME way to do this batch processing.
    I did a few sample tests in Flash, bringing in the .flv file,
    attaching one of the prebuilt skins, adding a layer for the logo
    watermark, then exporting to swf. It works beautifully in my
    Director project. But to do this process 500 times would take
    forever.
    Any advice on how to batch to .swf video with control bar and
    watermark would be greatly appreciated.
    Thanks.
    -Karen

    Thank you Heathrowe I appreciate it.
    I guess as far as using the hotspot slicer in Fireworks, if I
    export to an SWF it doesnt make that a clickable section in the SWF
    file. Oh well. Would be a nice feature in the next version of
    Fireworks.

  • Possible to embed video with controls in FM PDF?

    I have a very specific end in mind, and I'd like to know from you folks who might have done this before if it's even possible, and if so, the steps to follow to achieve it. Here goes...
    I'd like to take an ordinary AVI file, convert it FLV in Media Encoder so it's of a manageable size, bring that into Flash in order to add controls to it (stop, start, pause, etc.), import the SWF file into FrameMaker and export a stand-alone PDF file than includes the video, without needing to reference any external files or servers or anything like that. Just one PDF file that includes the demonstration video and the means to run it.
    Right now the show-stopper seems to be it's possible to create a SWF file with controls, OR a SWF file that encorporates an embedded video source, but NOT BOTH at the same time. Anything that enables you to have controls seems to insist on referring to an external file, which I need to avoid.
    Then the problem becomes is it even possible to import such a SWF file, with working controls, into FM and thread it through to a PDF file where it will function as such?
    Anyone who can point me the way, I'd be much obliged. And thank you.

    Thanks, but I've seen that file before. While it's interesting to learn you can create links below a video to do this, the really ironic thing is that the PDF file contains video presentations making use of the controls that I'm looking to include (see graphic). In fact, it was this very document that got me interested in seeing how to do this in the first place. Now, I might be mistaken, but I don't think this is a solution available inside FrameMaker itself and I'm really after a cross-application procedure from someone who's done this in the past. I appreciate the input, though.
    From page 25 of the guide:

  • I need help with controlling two .swf's from third.

    Hi, thanks for reading!
    I need help with controlling two .swf's from third.
    I have a problem where I need to use a corporate designed
    .swf in a digital signage solution, but have been told by the legal
    department that it can not be modified in any way, I also can't
    have the source file yada yada. I pulled the .swfs from their
    website and I decompiled them to see what I was up against.
    The main swf that I need to control is HCIC.swf and the
    problem is it starts w/ a preloader, which after loading stops on a
    frame that requires user input (button press) on a play button,
    before the movie will proceed and play through.
    What I have done so far is to create a container swf,
    HCIC_container.swf that will act as Target for the HCIC.swf, and
    allow me to send actionscript to the file I'm not allowed to
    modify.
    I managed to get that done with the help of someone on
    another forum. It was my hope that the following script would just
    start HCIC.swf at a frame past the preloader and play button, and
    just play through.
    var container:MovieClip = createEmptyMovieClip("container",
    getNextHighestDepth());
    var mcLoader:MovieClipLoader = new MovieClipLoader();
    mcLoader.addListener(this);
    mcLoader.loadClip("MCIC.swf", container);
    function onLoadInit(mc:MovieClip) {
    mc.gotoAndPlay(14);
    But unfortunately it didn't solve my problem. Because there
    is a media-controller.swf, that is being loaded by HCIC.swf that
    has the controls including the play button to start HCIC.swf.
    Here's a link to a .zip file with all 3 .swf files, and all 3
    .fla files.
    http://www.axiscc.com/temp/HCIC.zip
    What I need to do is automatically start the HCIC.swf file
    bypassing the pre-loader and play button without editing it or the
    media-controller.swf in anyway. So all the scripting needs to be
    done in HCIC_container.swf.
    I know this is confusing, and its difficult to explain, but
    if you look at the files it should make sense.
    ActionScripting is far from my strong point, so I'm
    definitely over my head here.
    Thanks for your help.

    Got my solution on another forum.
    http://www.actionscript.org/forums/showthread.php3?t=146827

  • Cannot associate media file types .swf .flv with Adobe Flash media player

    I have been trying to associate these media types ( .swf .flv ) with Adobe Flash media player (9.0.124 latest from Adobe site) but cannot see the program in the list (looked under Adobe, Flash, Macromedia, Common etc) after loading. I have repeated the process, rebooted, and no luck.
    Any ideas why a new program should not show in the Programs list ? 
    thanks
    Simon 
    X300 Vista  

    kevpatts wrote:
    Hey sdalek,
    It's actually not all sites. I've found a few that work. I'll have a look for any difference in implementation to try to narrow down the issue.
    Regards,
    Kevin
    Thanks, I'm curious to find out what's different. I've repair disk permissions again using the one in Disk Utility instead of Cocktail with not luck As far as I can tell, all my issues seem to be occurring solely on www.adultswim.com and is sill happening with Camino, Firefox, Safari, and SWF & FLV Player. I'll keep checking other sites to see if the problem manifests itself elsewhere and I'll post any other changes I make to my system that might appear to help.
    Regards
    Message was edited by: [email protected]

  • Z10, control an alternative music player with headset button possible?

    Hello,
    I am new here. Greeting to all of you!
    I have tried a few android music players (Vlc, Google Music and Mort Audio Player) and I want to control (only start/stop) the player with the headset button. But the headset button only starts and stops the internal music player.
    Is there a solution for my problem?
    Thank you very much for your help!
    fberger

    Neutron Music Player?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Export a pdf to a swf file with navigation buttons???

    I have CS4 and I've tried to export a couple indesign files using the swf export feature, but it the navigation of the file is very weak and not very intuitive, and when you zoom in to any of the text the text goes fuzzy.
    I would like to just convert a PDF to SWF file with navigation buttons, page controls, zoom in/out, single or two page view options, so that my end user can view it with the free flash player, but I don't have time to build the file in Flash and I don't want to use an online service that comes with a per month or per publication fee.
    Any suggestions??

    I've looked at that, but most of the pdf's that I need to convert are more than 10 pages.  I want a program I can download, install and use without a per use cost, or per publication cost.
    I'm looking more for a plug-in for either Acrobat, or Indesign or stand alone program that would convert them without adding copyrights, or ads to the file.

  • Cannot open the SWF file with firefox

    right click open SWF files with IE,it's ok , but with firefox opening it ,point out that can't find the application

    IE uses a Flash ActiveX control.<br />
    Google Chrome comes with its own flash plugin (gcswf32.dll)(libgcflashplayer.so)<br />
    Firefox uses a different Flash plugin.
    Your above posted list of installed plugins doesn't show the Flash plugin for Firefox, so you need to install that Flash plugin.
    See:
    * https://support.mozilla.org/kb/Managing+the+Flash+plugin
    * https://support.mozilla.org/kb/Installing+the+Flash+plugin
    * http://kb.mozillazine.org/Flash
    *http://www.adobe.com/software/flash/about/
    *http://helpx.adobe.com/flash-player.html

  • Looking for a DVD Player with same functionality as CyberPro Power DVD

    I have just converted from PC to Mac, and love it, but have a special requirement and need some guidance.
    I work in TV and need to be able to preview footage shot on site that has been converted onto a DVD. On my old PC using Power DVD, after hitting 'Play' I can fast forward and fast reverse, and increase the speed of FF or FR in small increments (up to 32 times normal speed) using the scroll wheel on my mouse. That gives me a lot of control as I search through countless hours of footage to shot list, and saves heaps of time.
    With the standard Mac DVD Player, I can hold down the FF and FR buttons to get a slight increase in speed, but it is still far too slow and clumsy for what I need.
    VLC was recommended, but when I hold down the FF and FR it scrolls in minutes, whereas I need to scroll in frames.
    Does anybody know of a high quality DVD Player with the scrolling features similar to Power DVD that I can purchase?

    Have you tried, +DVD Player>Controls>Scan Rate+ ?

  • Audio player with some extra's - can't get player realized

    I try to build an audio player with some extra's like looping between 2 time marks.
    Till now i have an interface that can play back audio files but after that the problems start.
    There is no way i can add functions without creating a {color:#ff0000}NotRealizedError{color}.
    According to the documentation the start() method should realize (etc) the player, but it doesn't in my program and neighter does the method player.realize();.
    Can someone give me a hint to get me on the road again.
    Thanks in advance.
    Here is the complete code which generates the NotRealizedError on the dp.setRate(); method:
    (most of it is older source from a basic player on the internet).
    package dictaplayer;
    import java.awt.*;*
    *import java.awt.event.*;
    import java.io.*;*
    *import java.net.MalformedURLException;*
    *import java.net.URI;*
    *import java.net.URL;*
    *import javax.swing.*;
    import javax.media.*;
    public class DictaPlayer extends JFrame {
    private Player dp;
    private URI uri;
    private URL url;
    private boolean realized = false;
    public DictaPlayer()
    super( "Testing DictaPlayer" );
    JButton openFile = new JButton( "Open file to play" );
    openFile.addActionListener(
    new ActionListener() {
    public void actionPerformed( ActionEvent e ) {
    openFile();
    createPlayer();
    getContentPane().add( openFile, BorderLayout.NORTH );
    setSize( 300, 300 );
    setVisible(true);
    private void openFile()
    File file = null;
    JFileChooser fileChooser = new JFileChooser();
    fileChooser.setFileSelectionMode(
    JFileChooser.FILES_ONLY );
    int result = fileChooser.showOpenDialog( this );
    // user clicked Cancel button on dialog
    if ( result != JFileChooser.CANCEL_OPTION )
    file = fileChooser.getSelectedFile();
    try {
    uri = file.toURI();
    } catch (SecurityException e) {
    e.printStackTrace();
    // Convert the absolute URI to a URL object
    try {
    url = uri.toURL();
    } catch (IllegalArgumentException e) {
    e.printStackTrace();
    } catch (MalformedURLException e) {
    e.printStackTrace();
    private void createPlayer()
    if ( url == null )
    return;
    removePreviousPlayer();
    try {
    // create a new player and add listener
    dp = Manager.createPlayer( url );
    // blockingRealize();
    dp.addControllerListener( new EventHandler() );
    dp.start(); // start player
    dp.setRate(2);
    catch ( Exception e ){
    JOptionPane.showMessageDialog( this,
    "Invalid file or location", "Error loading file",
    JOptionPane.ERROR_MESSAGE );
    private void removePreviousPlayer()
    if ( dp == null )
    return;
    dp.close();
    Component visual = dp.getVisualComponent();
    Component control = dp.getControlPanelComponent();
    Container c = getContentPane();
    if ( visual != null )
    c.remove( visual );
    if ( control != null )
    c.remove( control );
    private synchronized void blockingRealize() {
    int teller = 1;
    dp.realize();
    while (!realized && teller <= 20) {
    try {
    wait(1000);
    System.out.println("not realized " +teller);+
    +teller++;
    } catch (java.lang.InterruptedException e) {
    System.exit(1);
    public static void main(String args[])
    DictaPlayer app = new DictaPlayer();
    app.addWindowListener(
    new WindowAdapter() {
    public void windowClosing( WindowEvent e )
    System.exit(0);
    // inner class to handler events from media player
    private class EventHandler implements ControllerListener {
    public void controllerUpdate( ControllerEvent e ) {
    if ( e instanceof RealizeCompleteEvent ) {
    Container c = getContentPane();
    // load Visual and Control components if they exist
    Component visualComponent =
    dp.getVisualComponent();
    if ( visualComponent != null )
    c.add( visualComponent, BorderLayout.CENTER );
    Component controlsComponent =
    dp.getControlPanelComponent();
    if (!realized) {
    System.out.println("not realized.");
    if ( controlsComponent != null )
    c.add( controlsComponent, BorderLayout.SOUTH );
    c.doLayout();
    }

    captfoss,
    Thank you for your comment.
    captfoss wrote:
    Start does realize the player, automatically, before it starts it... if it isn't realizing then it also isn't starting.Right, I thought so, but my test was wrong. I now tested it with getState() and I can see it's going from unrealized to realized.
    First off, you can only call setRate on a player that is realized but not started... further, any of the calls like configure, realize, start, stop, etc... are non-blocking calls...so you have to wait for them to finish before you go on to the next step.So you say that when the rate is changed (f.i. by a user in a gui) the program first has to bring player in non-started realized mode (stop + realize), call the setRate() and start the player again (on the exact position it was stopped)?
    The easiest solution would be to use Manager.createRealizedPlayer rather than Manager.createPlayer...Didn't find out yet why, but when i change this (only this), there is no playing.
    Also, ++teller++ is about the most-confused looking code I've ever seen...Just like all the asterisks, i now know that code changes when i toggle between the tabs (rich/plain/preview) in the message box.
    Beyond that, your "blocking realize" function doesn't appear to do anything except suggest you have no business coding anything this advanced. Your boolean value "realize" isn't ever changed, so, I'm not entirely sure what the point of that function is other than to wait 10 seconds.I got this somewhere from the internet. Thought it could help me realize the player, but it didn't (obvious) so i commented it out.
    Slowly I begin to understand the basics of JMF (at least i think so), but I also understand that there are other (Java) ways to build the application I need. Unfortunatly I have to little (hardly any) knowledge of all those (sound) API's (f.i. JLayer) to find my way through them and to decide which is the best for my use (user controled audio playback (at least WAV and MP3) with looping possiblities between 2 marked positions).
    If someone could give me an advise which API (method or whatever you call it) is best to focus on I shurely would appriciate that.

Maybe you are looking for

  • Game Center friend recommendations?

    In Game Center, the "Friends" page does not show any recommendations, even though I just linked it to my Facebook account.  I'd like to be able to use my contacts to find my friends on Game Center, but it seems you have to do that from the "Recommend

  • Oracle Identity Manager Configuration Error

    Versions I have used for the Installation: Software Version Oracle Database 11.2.0 Repository Creation Utility 11.1.1.5.0 Web logic 10.3.6 SOA Suite 11.1.1.6.0 Fusion Middle ware Installer 11.1.1.5.0 JDK Oracle Web-logic JRockit JDK or Sun JDK 1.6.0_

  • BEx Analyzer for connection issue

    Hi Everyone, I received the following message while using RRMX transaction from SAP BI 7 system and unable to connect BI and BEx Analyzer.  However, I am able to connect to BW system from BEx Analyzer when manually enter user id and password after th

  • Hello i need help looking for fire fox 64 bit i have 32 bit it really slowing down my laptop

    hello I was told there was a 64 bit that I can use for fire fox iam using windows 8.1 but I can only find fire fox 32 bit I need help to get 64 bit plz and thx

  • Weird external drive behavior with Time Machine....

    I have a 500 GB WD My Essentials USB hard drive.  I've been using on Lion for 6+ months.  I have the drive in 2 partitions, 400 GB for Time Machine and 100 GB for storage.  Everything has been working fine for 6+ months.  As of yeterday when I plug i