Applet Videoplayer, able to play more than one movie

Hallo,
I am looking for a sample applet that works as a video player.
I have tested the sample code provided by JMF, but there is no
example that allows to replace the current movie with a new movie.
In other words, I am looking for a applet program, which allows me
to give in new movie adresses and so to reload the player with a
new film.
Thanks in advance
mk

I do not know if I am using a flvplayback component. I am using "import video" - using the URL. I am using a skin provided in flash. Is that a flvplayback component?
I am not using flv if that matters (using h.264 - f4v I believe it is called).
Where do I put this code you have provided? I find this the most confusing part of Flash - I never know where to insert provided code.
Does it go in the original swf file (if so - where?), or does it go in the main swf (where all the swfs would play one after the other) - and if so, where exactly?
I don't really get how I load more than one swf in a main file to begin with either...... as I said - when I try - I get a loop of two frames - like an animation - it's not playing the full videos (with page setup), and then moving onto the next one. This is where I get lost - and tutorials are not being very helpful (as they deal strictly with video - often not continuous play, but user controlled, OR, they provide code with no directions where to actually put things).
Do I import the swf into the master swf? Or just use code to tell it where the files are??
Feel free to use small words and speak slowly. I haven't used this program before, and it seems very different from building a website with, say CSS for example (something I DO know how to do). I appreciate specific directions (or tutorials that provide the specific directions that address this question....)
BTW - and overall ty for your continued assistance. If I had more time, I would pick up a book and work through things slowly - but I need to get at least a few things working to hand in the art piece for school - doesn't need to be finished, but needs to at least demonstrate a few of the website's overall features. I fully intend to do more detailed learning later to finish the piece outside of class.

Similar Messages

  • Projector that plays more than one movie

    How can I make one projector play more than one movie? If the movies are protected, can the projector still play them? How can I link them? Thanks for your help.

    Hi Norman,
    I’ll elaborate on Sean’s reply.
    As Sean mentioned you can use:
    _movie.go("markerName", "MovieName")
    To jump to the marker named ‘Markername’ in a movie called ‘MovieName’.
    I tend to still use the verbose syntax
    go to "markerName" of movie "MovieName"
    If you had:
    go to movie "MovieName"
    you’d jump to the start of the movie (frame 1)
    you could use:
    go to movie "MovieName.dir"
    but the '.dir' is not needed and if you create a protected DXR or DCR, the statement (without the movie extension) would work.
    Now, if you want to avoid writing a unique behavior for every link you’re creating, I’ve got a tutorial that describes how to do it at:
    http://www.deansdirectortutorials.com/Lingo/paramDialog.htm
    The above uses property variables and a parameter dialog box. It does require some understanding of programming (not too much though).
    If you have D11.5, in the Library Palette, in the ‘Controls’, category, there is a ‘Jump to Movie Button’ behavior. This behavior can be dragged and dropped onto a sprite and then you can type in the marker name and movie name in a parameter dialog box to set the link for the sprite. I say D11.5 because while earlier versions of Director have this behavior, there is a small error (easily fixed) that makes the marker jumping part non-functional. Anyway, my behavior in my tut site does the same thing.
    Dean
    Director Lecturer / Consultant / Director Enthusiast
    http://www.deansdirectortutorials.com/
    http://www.multimediacreative.com.au

  • TS2755 Ever since I updated my iphone 4 to 5.1.1, I am not able to send more than one picture at a time in a text message. Does anyone know how to fix this?

    Ever since I updated my iphone 4 to 5.1.1, I am not able to send more than one picture at a time in a text message. Does anyone know how to fix this?

    Yes, I know the photos stored on the device... But which app are you accessing the photos with? Which app do you want to be able to highlight more than one pic at a time in?
    There are literally thosands of apps that access the iOS Photo Library - which one(s) are you using?

  • HT1459 After updating ITunes, it, ITunes started loosing my music files and stopped playing more than one song at a time.What now?

    After updating ITunes, it, ITunes started loosing my music files and stopped playing more than one song at a time also there would be duplicate songs in the same folders.What now?

    Sound like something messed up somehow. Maybe you can consider reinstalling the drivers again? @28.86.2.0

  • Play more than one song at a time

    The apple tv won't play more than one song on my playlist. And why can't there be playlists under "Music" and well as "Computer"?

    WLFehrs wrote:
    This has been a condition since day one.  The "working" icon just keeps going and it doesn't move on to the next song.  I've tried using the random play option as well to no avail.
    Is this when trying to stream content from iTunes using the Computers icons and Music submenu? I assume  the same happens when you try to play from the internet using the main Music icon too?  Is it only on Shuffle or when playing an album?
    What about movie rentals from itunes Store  - will they play ok?
    WLFehrs wrote:
    Connectivity isn't a problem, my home network has the latest tech and the Apple TV is within 15 feet anyway. 
    While that seems logical don't entirely discount it - issues like this are incredibly frustrating to pin down to which component on the network is causing the problem  - your old AppleTV worked (with Windows 8?) so this makes the newer model the more likely culprit I would agree.
    Whenever there are issues like this, if you have not done so:
    1 - Unpower AppleTV, router and restart along with the computer.
    2 - If connecting via wifi and it is feasible to test with ethernet do so to exclude wifi as the problem somewhere in the chain.
    3 - If streaming from iTunes check the computer is not going to sleep - power saving with hard drives spinning down could potentially cause a 'timeout' issue for access and worth temporarily disabling to test.
    4 - Temporarily disable any security software (firewall/port blocking) on the computer or check if it is detecting AppleTV repeated connections as an unknown intrusion threat.
    5 - Reset AppleTV and set it up again from the Settings menu.
    6 - Restore AppleTV using iTunes and a microUSB to USB connection:
    Apple TV (2nd and 3rd generation): Restoring your Apple TV
    7 - Assuming under warranty, take it to an Apple store and see if you can get a replacement.  It may be faulty.
    As I said these issues can be very tricky to pin down and it can be a process of elimination.
    I had issues last year with connection problems - I thought it was an itunes update as there were threads elsewhere about multiple connections being established.  One day I restarted my router and the problem was fixed.  A few years ago my AppleTV1s were hanging after extended use - it was the Netgear router overheating ( aknown fault with that particular model).
    AC

  • ITunes will no longer play more than one song in a row

    I upgraded my iTunes and it seemed to be working fine. But all of a sudden I cannot get my libraray or any playlist ti play more than one song at a time automatically. It just stops after each song. Any ideas?
    Thanks
      Windows XP  

    But all of a sudden I cannot get my libraray or any playlist ti play more than one song at a time automatically. It just stops after each song.
    head into your itunes main library window. are all the little boxes to the left of your tracks unchecked?
    is so, hold down Ctrl and click on one of those boxes to recheck all the songs. (this may take a little time.)
    do you get continuous play once all the songs are rechecked?

  • Form that is a map of Ohio. I created layers for each county so I can click and it highlights, but I need to be able to click more than one. How do I do that?

    Form that is a map of Ohio. I created layers for each county so I can click and it highlights, but I need to be able to click more than one. How do I do that?

    Looks nice!
    I understand what you've done now. You used the "Set Layer Visibility" command which sets the on/off state of all the layers at once. What you need is a more subtle approach, one that will only change the state of the specific layer associated with the button, not the rest of them (so that you could have multiple layers enabled at the same time). The way to do that is by using a script.
    I wrote the script for you and applied it to the top-left counties (WILLIAMS and FULTON), in the attached file. You can now copy the actions I associated with those buttons to the rest of them, and it should work as you want it to.
    The file: MAP-HHA-Geographic(3)_edited.pdf - Google Drive

  • Play more than one auido files

    Is it possible, in j2me, to play more than one auido files at the same time?
    I want to play an audio file as my background music and player some other files as sound effect.

    http://developer.sonyericsson.com/site/global/techsupport/tipstrickscode/java/p_using_simultaneous_sounds.jsp

  • Hello. Just got Garageband'11 for my ipad 2. Can´t seem to be able to play more than two notes at once on touch keyboard. Help!

    Hello. Just got Garageband'11 for my ipad 2. Can´t seem to be able to play more than two notes at once on touch keyboard. Help!

    Thank you for your response.
    I am trying to sync them both to the same computer (Windows), and with the 2nd ipod, it looks like everything is going to work out fine, until I go to add songs from my itunes music library...then, after a few seconds of me hoping it will work, I get a message that says "Attempting to copy to Lisa's disk failed. The disk could not be read from or written to."
    I thought it might have been my ipod. But then I tried to download songs from my sister's computer, and even my work computer (just to see if it would work), and it did. So I'm not sure what is going on here. Is it my computer, or is it the ipod? Or is it itunes?
    Also, my sister in-law said her issue is similar, in that her itunes doesn't recognize her ipod now that my brother's ipod has been used on their computer. She gets the same message as I do...thus she is unable to download any songs onto her ipod.
    If you have any helpful tips, it would be greatly appreciated.
    Thank you for your time and assistance.
    -- Lisa Soto

  • Play more than one sound

    I want to write a program that can play more tha one music file(wav).
    I have used threat and mixer(javax.sound.sample.*) but Ican't do this.
    Help me please !!!!!!
    And show me some code example about mixer if can
    Thank you very much !!!!!!!!

    Here is a simple solution for playing more than one sound at the time. It uses two classes where the first is a thread that plays a sound, and the second is a "container" that loads and stores your sounds.
    SoundThread.java
    import javax.sound.sampled.*;
    public class SoundThread extends Thread
        private Clip soundClip = null;
        private int soundIndex = 0;
        private int loopCount = 0;
        private boolean donePlaying = false;
         * Constructor
         * @param acClip Clip The sound clip.
         * @param index int The index of the sound (so that the correct thread can be found when a sound should be stopped.)
        public SoundThread( Clip clip, int index )
            soundIndex = index;
            soundClip = clip;
            soundClip.stop();
            soundClip.flush();
            soundClip.setFramePosition( 0 );
            soundClip.setLoopPoints(0, -1);
            setPriority(Thread.MIN_PRIORITY);
          * Tell the thread to play the sound once and start playback.
         public void playSound()
             loopCount = 0;
             start();
         * Tell the thread to loop the sound and start playing.
        public void loopSound()
            loopCount = Clip.LOOP_CONTINUOUSLY;
            start();
         * Stop playing the sound in this thread.
        public void stopSound()
            soundClip.stop();
            soundClip.flush();
            soundClip.setFramePosition( 0 );
            donePlaying = true;
         * Get the index of this particular sound clip.
         * @return int The index.
        public int getSoundIndex()
            return soundIndex;
         * Has the sound finished playing?
         * @return boolean True iff it's done.
        public boolean isDonePlaying()
            return donePlaying;
         * Play the sound in the thread.
        public void run()
            soundClip.loop( loopCount );
            donePlaying = true;
    SoundPlayer.java
    import javax.sound.sampled.*;
    import java.net.URL;
    import java.util.LinkedList;
    import java.util.Vector;
    public class SoundPlayer
        private Vector<Clip> clipList = null;
        private LinkedList<SoundThread> playerList = null;
         * Constructor
         * Initializes the list of sounds being played and the list of sound clips.
        public SoundPlayer()
            playerList = new LinkedList<SoundThread>();
            clipList = new Vector<Clip>();
         * Add a sound to the list of sounds in the player.
         * @param fileName String The file name (including sub-directories) to the sound.
         * @return int The index of the sound in the list, -1 if it could not be added.
         * @throws UnsupportedAudioFileException The format of the file is unrecognized.
         * @throws LineUnavailableException No output found.
         * @throws IOException Most likely the file could not be found.
        public int setSound( String fileName ) throws Exception
            Clip theClip = getClip(getURL(fileName));
            if ( clipList.add(theClip) == false )
                theClip.flush();
                theClip.close();
                return -1;
            return clipList.indexOf(theClip);
         * Get a reference to a specific sound.
         * @param soundIndex int The internal index of the sound.
         * @return Clip A reference to the sound.
        public Clip getSound( int soundIndex )
            return clipList.elementAt(soundIndex);
         * Play a sound.
         * @param soundIndex int The internal index of the sound to be played.
        public void play( int soundIndex )
            SoundThread player = new SoundThread(getSound(soundIndex), soundIndex);
            playerList.add(player);
            player.playSound();
         * Stop playing all sounds.
        public void stop()
            while ( playerList.isEmpty() == false )
                SoundThread player = playerList.removeFirst();
                player.stopSound();
                player = null;
         * Stop playing a specific looping sound.
         * @param soundIndex int The internal index of the sound to be stopped.
        public void stop( int soundIndex )
            // Create a temporary list for sounds that are playing and should continue to play.
            LinkedList<SoundThread> tempList = new LinkedList<SoundThread>();
            while ( playerList.isEmpty() == false )
                SoundThread player = playerList.removeFirst();
                // This is the sound clip that should be stopped.
                if ( player.getSoundIndex() == soundIndex )
                    player.stopSound();
                // Remove any threads that are done playing.
                if ( player.isDonePlaying() )
                    player = null;
                // Add all other threads to the temporary list.
                else
                    tempList.add(player);
            // Update the player list to the new list.
            playerList = tempList;
         * Loop a sound.
         * @param soundIndex int The internal index of the sound to be played.
        public void loop( int soundIndex )
            SoundThread player = new SoundThread(getSound(soundIndex), soundIndex);
            playerList.add(player);
            player.loopSound();
         * Get an URL to a file inside the current jar archive.
         * @param fileName String The file name, including subdierctory information if applicable.
         * @return URL An URL to the file.
        public URL getURL( String fileName )
            return this.getClass().getClassLoader().getResource(fileName);
         * Load a sound clip from an URL.
         * @param urlResource URL An URL to the sound file.
         * @return Clip A reference to the sound.
        public Clip getClip( URL urlResource ) throws Exception
            Clip theSound = null;
            try
                // Open a stream to the sound.
                AudioInputStream ais = AudioSystem.getAudioInputStream( urlResource );
                // Get the format of the sound clip.
                AudioFormat af = ais.getFormat();
                // Create a line for the sound clip.
                DataLine.Info dli = new DataLine.Info( Clip.class, af, AudioSystem.NOT_SPECIFIED );
                // If the format of the clip is not supported directly then try to transcode it to PCM.
                if ( !AudioSystem.isLineSupported( dli ) )
                    // Create a new PCM audio format for the clip.
                    AudioFormat pcm = new AudioFormat( af.getSampleRate(), 16, af.getChannels(), true, false );
                    // Open a stream to the sound using the new format.
                    ais = AudioSystem.getAudioInputStream( pcm, ais );
                    // Read the format of the clip.
                    af = ais.getFormat();
                    // Create a new line for the sound clip.
                    dli = new DataLine.Info( Clip.class, af );
                // Create the clip, open it, and read its entire contents.
                theSound = ( Clip )AudioSystem.getLine( dli );
                theSound.open( ais );
                theSound.drain();
            catch( Exception ex )
                throw new Exception(urlResource.toString() + "\n" + ex.getMessage());
            // Return a reference to the sound clip.
            return theSound;
          * Destructor
          * Release memory used by loaded sounds.
         public void dispose()
             stop();
             for ( int i = 0; i < clipList.size(); i++ )
                 Clip c = clipList.elementAt(i);
                 c.stop();
                 c.flush();
                 c.close();
             clipList = null;
    }Here is an example of how to use these classes:
        public static final void main( String[] args )
            try
                SoundPlayer sp = new SoundPlayer();
                int clip1 = sp.setSound("clip1.wav");
                int clip2 = sp.setSound("mySounds/clip2.aiff");
                int clip3 = sp.setSound("clip3.au");
                sp.loop( clip1 );
                Thread.sleep( 5000 );
                sp.play( clip2 );
                Thread.sleep( 1000 );
                sp.play( clip3 );
                Thread.sleep( 4000 );
                sp.stop( clip1 );
                sp.dispose();
            catch( Exception ex )
                ex.printStackTrace();
    ...The main weakness of this solution is that if you've got two or more instances of the same sound looping and want only one of them to stop, then, sorry, they're all stopped. There are probably more weak points but these two classes have worked well for my purposes so far.
    Hope this solves at least part of your problem.
    Hjalti
    PS. I have assembled these two classes from code snippets and examples found here and there on the Web so I'm in no way claiming to be the original author of all of this code. Unfortunately I haven't registered where it all came from so I'm unable to give credit where credit is due.

  • Using colorTrans:ColorTransform on more than one movie clip

    Hi I am very new to Flash and action script so please bare with me...
    I would like to be able to change the color of more than one movie clip in the same layer in the same frame. Basically I have place two different movie clips with defined instances,i.e. body and shoulder onto the canvas in one frame on the timeline.
    I have created three different buttons (red_btn, blue_btn, and yellow_btn) to use to change the color of say the body or shoulder. I would use red and blue to change the body and say yellow and green to change the shoulders. These are also on the same layer and same frame on the timeline as the movie clips.
    The problem I am having is how would I declare the two movies or variables to change independantly? Would I need to place one movie clip on one layer and then place the other on a different layer so that when I press the button I want i.e. the red button, it only changes the body and not the shoulders.
    Here is my actionscript that I am using to change the color of the clip(s)
    import flash.geom.ColorTransform;
    import flash.geom.Transform;
    var colorTrans:ColorTransform = new ColorTransform();
    var trans:Transform = new Transform(body);
    trans.colorTransform = colorTrans;
    blue_btn.onRelease = function() {
        colorTrans.rgb = 0x0000FF; // blue
        trans.colorTransform = colorTrans;
    red_btn.onRelease = function() {
        colorTrans.rgb = 0xFF0000; // blue
        trans.colorTransform = colorTrans;
    yellow_btn.onRelease = function () {
    colorTrans.rgb = 0xFFFF00; //yellow
    trans.colorTransform = colorTrans;
    body here is my declared variable wich is the body of a shirt that is one movie clip. When you place both clips on the timeline ontop of each other, you basically get a shirt with different color shoulders and body.
    I need some help to know if this is possible first of all, and then what would be the best way to delcare the variables in one actionsript.
    Thanks and I am sorry, I just never learned much when it came to flash. Thanks for any patience and help anyone is willing to give me.

    every movieclip has a transform.colorTransform property that you can use to assign a color transform (with any rgb property).  so, for example:
    import flash.geom.ColorTransform;
    import flash.geom.Transform;
    var colorTrans:ColorTransform = new ColorTransform();
    bluebody_btn.onRelease = function() {
        colorTrans.rgb = 0x0000FF; // blue
      yourbodymovieclip.tranform.colorTransform=colorTrans;
    blueshoulders_btn.onRelease = function() {
        colorTrans.rgb = 0xFF0000; // blue
    yourshouldersmovieclip.transform.colorTransform = colorTrans;
    yellowbody_btn.onRelease = function () {
    colorTrans.rgb = 0xFFFF00; //yellow
    yourbodymovieclip= colorTrans;
    etc

  • Adding More Than One Movie to a DVD

    I am making iDVDs that are just about 15 minutes long. Since the dvd I am using holds up to 4.7 gigabytes, I would like to add more than one movie to a dvd project. How do I do that?

    Look in the folder of an iMovie project. Let's say the project is called "My Great Movie"
    There should be a small file with the name "My Great Movie.mov" That is the reference movie.
    If you open iDVD directly rather than from iMovie and create a new iDVD project, just drag the reference movies onto the iDVD window and it will add the movie to your project.
    On the finished DVD, you pick a movie to play it. When that movie finishes, it puts you back to the main menu to pick another.
    Does this sound like what you want ?

  • SOLUTION: Chapters of more than one movie usable on a single DVD (w. iDVD)

    If you want to put more than one movie with chapters made in iMovie onto a single DVD using iDVD--and have the chapters of all movies usable--do this: in iDVD, simultaneously drag the icons for all the movies you want to use into the background of the iDVD project. (Use command-click to select multiple movie icons, which are displayed on the right when "Media" and then "Movies" are selected.)
    Message was edited by: Paul Bullen
    Message was edited by: Paul Bullen

    This is exactly what iDVD is made for.
    Complete your iMovie projects and save each to disc.
    Open iDVD selecting new project and choose a theme.
    Now drag each of your five .mov files from the movie project folders into the screen area of your iDVD project.
    You can now play around with titles different themes, backgrounds etc. to your heart's content.
    Good luck.

  • Adding more than one movie to iDVD - possible or not?

    I assumed that you would be able to drop more than one imovie into a iDVD project and that it would add them as different menu items but it won't do it. Am I trying to do what is not possible? Any help is appreciated cheers!

    Hi Cheeba
    You got a very good link from Sue but it is fairly easy to describe.
    A. Make Your movies in iMovie. (You can make them in one session but
    it is easier to make each as an individual project)
    B. Close iMovie
    C. Locate Your moviprojects. Folders for iMovie 1-4 and an icon for v.5
    (if icon: Ctrl-click on it and select show package)
    in this there is a folder Share movie and in this a folder DVD. Here You
    will find a QT.mov file with Your project name. Take this and drop it into
    an open iDVD theme window (just inside the edge of this window).
    repeat for the other movies.
    OK that's all there is to it. You can try dropping the project folder/icon
    instead of open it - it is supposed to work.
    Yours Bengt W

  • Sharing More than One Movie with iDVD????

    Okay.. I would like to know if there is another way to burn MORE than one movie an iDVD project. It seems that sending the movie straight to iDVD creates it's own project, and when you try to send another movie, it creates a completely different project. I know I can send a movie to Media browser but the quality of the movie is much better when I share it via the command in iMovie 09 (Shrare->iDVD). I've noticed that the file type is different when you send it to iDVD than when you put it in Media Browser as well.
    Currently this is what I do.. Share it to iDVD.. Then I save that iDVD project to my desktop. I close iDVD, and start sharing my second movie. I then Control-Click on the first iDVD project and choose "Show Package Contents". I then dig into the trenches of that file to find the movie file. I then drag it to the desktop and delete the first iDVD project. When the new iDVD project gets made, I simply drag the file on my desktop into the iDVD project I want it in and then it works. This seems like a so un-apple way to do this though. I think iMovie definetly needs and update here. It's great if you ony want to burn a 1 movie to iDVD, but what if you want to do more. There should be a way to select multiple movies to send to iDVD or the option of adding a new imported movie to the current project in iDVD.
    Am I missing something or is there another way to do this? Is there a good export option in QuickTime? DV doesn't work because the quality I get is horrible. Somehow the shared to iDVD movie is the best quality and it's a QuickTime file via h.264. Is that my best export option? Sharing with the Media browser creates a mv4 file that's much smaller in size, even at the largest setting. The frames are more jumpier when iDVD finishes with it than the h.264 file.
    Any better suggestions? Also, where do I go to make suggestions for Apple. I can't find it anymore on this website.

    Q:Also, where do I go to make suggestions for Apple.
    A: Launch iDvd and then scroll down to Provide iDvd Feeback.

Maybe you are looking for