How can you play/stop/display/hide different 5 full screen video background?

Hello

I have a file of edge with all 5 videos put in back full screen video with a class each as follows:

loop reading auto backgroundvideo_1_mp4

loop reading auto backgroundvideo_2_mp4

loop reading auto backgroundvideo_3_mp4

loop reading auto backgroundvideo_4_mp4

loop reading auto backgroundvideo_5_mp4

However, I want to 5 buttons that play the video chosen feature. 1 button plays video 1 and mask the other 4, button 2 play 2 video and mask the other 4 etc.

But what code would I use to control the videos in the actions of the buttons?

Thank you!

Hello

You can the following snippet to tell the buttons-

1 button to just play video 1 and hide all other videos (in this case only TRAVEL say video 2)

SYM.$("Video2") [0] () .pause;

SYM.$("Video2"). Hide();

SYM.$("VIDEO1"). Show();

SYM.$("VIDEO1") [0] .currentTime = 0;

SYM.$("VIDEO1") [0]. Play();

Similarly, code on the 2 button to hide all other videos and play only video 1:

SYM.$("VIDEO1") [0] () .pause;

SYM.$("VIDEO1"). Hide();

Display an item

SYM.$("Video2"). Show();

A video track

SYM.$("Video2") [0] .currentTime = 0;

SYM.$("Video2") [0]. Play();

Hope that helps!

Thank you and best regards,

Roger Simon

Tags: Edge Animate

Similar Questions

  • How can I change the display of messages in full screen of the component half

    After a recent update the message is displayed at the bottom of the screen. I want to change back to where the message only opens after that double click to open it but the options or the tool buttons are not there for this.

    Press F8 to turn off the message pane.

  • How can you play a CD on an IMAC that has been saved on a Windows PC

    How can you play a cd from a PC Windows XP on an iMac OS X El Capitan 10.11.12 version

    What is the format that you have recorded the CD?

  • How can I make Windows 7 always opens a full screen?

    How can I make Windows 7 always opens a full screen by clicking on a link?

    If I click on a link, it always opens a small window. How silent it's who?

    I tried to slide the corner of maximum size... does not work in Windows 7. .. .at work wonderfully under XP

    I tried a right click, then properties... but nothing is editable in there because it shows only a GENERAL tab.

    Please don't tell me that Windows 7 remembers the setting because it doesn't... I know it should... but it doesn't.

    Windows XP was so good... why I changed :-(

    A way to solve this problem once and for all would appreciate it

    Hello

    1. you try to open the links of a Web page, e-mail or documents?
    2. what web browser do you use?
    3. you try to open a shortcut in the Explorer?

     
     
    By dragging the corner of the window should the maximum size of the window. If it doesn't, then it seems that the browser is corrupted. Try double-clicking on the top of the window to enlarge the window.
     
     
    If you are using Internet Explorer, follow these steps:
     
    a. open Internet Explorer and click on a link that opens in a new window of a second.
    b. close the first window, leaving your window open.
    c. drag the new window to what size you want. .
    d. you can drag windows by placing the mouse cursor on the edges of the window, click button straight on and then dragging.
    Note: If dragging the window does not help, you can double-click on the top of the window to maximize.
    now, close the new window.
    f. reopen Internet Explorer and check by opening other links as well.
     
     
     
     
     
     
     

     
  • How can you play a movie on the Xoom?

    OK now my turn to ask a stupid question. How are you supposed to play a movie on the xoom? Let's say you have the file downloaded in the movies folder, what is the formal process to play this movie?

    I realize that I can use my file manager to select the movie and he will play, but it seems to me that there should be an icon or an app for it as showing a picture or play music with the icon of the music. I'm looking at this point of view of someone who isn't a geek and want to play a movie?

    TFG

    OK solved my problem. You use the App Gallery. guess who wasn't quite intuitively obvious to the casual observer as my teacher said.

    TFG

  • How can you save work to start different design paths of?

    For example, if I create a HOME PAGE and there anre numerous different paths to take from this central location, how can create new compositions without having to start all over again?

    Hi jackc97677303 !

    If you design for UX, Project Comet may be more appropriate to your needs: User experience, prototyping and design app | Adobe project Comet

    It isn't out yet, but you can register to receive the news.

    Thank you!

    -Kathleen

  • How can you play Blu Ray with Media Center?

    I'm reading Blu Ray discs with media center, but it will give me only the error message that they are not supported.  How can I me media center to use powerDVD or another program to read?

    Thank you very much

    PowerDVD will not integrate with WMC (assuming that you have a BD - Rom drive installed).  You may have more luck with WinDVD 9 which integrates with Media Center.

  • How can you get rid of the keyboard on the screen... forever?

    How can I get rid of the keyboard on screen forever please?

    Start > Control Panel > Classic view > accessibility > click "Use the computer without a mouse or keyboard" > uncheck 'Use on screen keyboard' > save

  • How can I change the speed of scrolling mode full screen?

    Web design point of view, full screen is great, although I would love to have the speed a little faster.

    Look again at your mouse settings in the system they can help.

  • How can you play a software cd)

    I would like to know how to play a cd of the software on the computer are tried media center, but it says that it cannot detect the drive. is there another way to get this started?

    If something does not start when you insert the CD, go to my computer and double-click on the icon for your CD drive.  Search for a file named setup or similar and double click it.

  • How can you play...?

    Hi friends,

    I want to play audio or video over the internet... .in the Simulator... How we do this...

    I think that the search box is your friend here, have you tried?

    Also, I recommend that you get familiar with this web site.  There is a huge amount of material here to help you with this and other problems that you have.

    http://NA.BlackBerry.com/eng/developers/

  • In Windows 7, how can you 'Play All' videos in a folder, starting with a selected file?

    When I open a folder in Windows 7 Pro 64 bit that contains video files (.wvmv), and I click on Play All, it opened WMP and begins to play the first file in the folder.

    I would like to be able to select a file somewhere in the folder have the Start button play every play from this file, as if I was able to do in Win XP.
    Is there a setting that will allow me to do this?
    Thank you
    Vern

    An alternative may be to open Media Player first and play from there.  Unlike previous versions, Windows 7 Media Player does not use its own database, it reads in the libraries of same as folders in Solution Explorer.  So if you open Media Player and click on the videos section, you can browse and start playback of the file you want.  And the default functionality is to continue to the next file after each of them, it should be similar to what you are looking for.

  • How can you play the first Age of Empires in Vista or Windows 7?

    Split of: http://social.answers.microsoft.com/Forums/en-US/vistagaming/thread/0a1418b0-30a4-4376-8792-0593e682ed7f

    Sorry to bother you Ron, but you seem to know about Age of Empires to allocate my favorite game how do get you either Vista or Windows 7 same work with the first version of the AGE of the EMP the fact. ? Thank you

    Charlie of Ashburn.

    Hi Charlie,

    Age of Empires version 1 is not compatible with Vista or Windows 7.

    Try these steps and check the result.
    Step 1: Install the game in compatibility mode
    a. see make older programs run in this version of Windows
    b. check if it works.

    Step 2: Run the game in Windows XP Mode (only in Windows 7)
    a. see install and use Windows XP Mode in Windows 7
    b. install the game in XP Mode and check if it works.

    Note: If nothing is done, then you need to update your game.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How can you add something (like article) to the home screen. This option seems to have disappeared. So far I've recorded in notes.

    How to record save such an article to the screen in version 10. This option seems to be gone, so for now I save in "notes." Thank you all.

    Hello

    If you have a box with an arrow at the top of the screen just click on that & follow the prompts.

    See you soon

    Brian

  • How can I control the volume of a voice in a video + background music

    I would like to control the volume of a person speaking in a video and the volume of the background music independently of each other with two volume bars. The problem seems to control the voice of the video.

    What I can do... but not really wanted to do:
    (1) control the volume on voice and music at the same time (but not independently)
    (2) control the music but no voice

    Here is the actionscript code that controls music. The ActionScript of voices is considered as being almost totally similar.

    I use Flash 8. (Any flv) video name is LD

    bgSound2 = new Sound (this);
    bgSound2.attachSound ("Guitar");
    bgSound2.start (0, 99);
    bgSound2.setVolume (0);
    playB.enabled = false;
    slider2.slideBar2._x = 20;
    slider2.slideBar2.onEnterFrame = function() {}
    bgSound2.setVolume (0-(this._x));
    };
    slider2.slideBar2.onPress = function() {}
    startDrag (this, false, 280, this ._y, 0, this ._y);
    };
    slider2.slideBar2.onRelease = slider2.slideBar2.onReleaseOutside = function () {}
    stopDrag();
    };
    stopB.onRelease = function() {}
    bgSound2.stop ();
    playB.enabled = true;
    stopB.enabled = false;
    gotoAndStop ("playB");
    };
    playB.onRelease = function() {}
    bgSound2.start (0, 99);
    playB.enabled = false;
    stopB.enabled = true;
    } ; stop();

    Thank you
    Jens

    Thanks A.Arun,

    Here's what I did
    My "quick" fix was to place the two sounds, actionscripts to _root, using the video voice for first script sound and music in the second. I deleted the break buttons (because you can still lower level 0) and for the first script, I used:
    bgSound1 = new Sound();

    Now, I can turn the volume on the two sounds independently to the bottom to the top.

    Sincerely
    Jens

Maybe you are looking for

  • HP Pavilion 15 laptop: Cannot install the driver/adapter wifi

    Hello, my wifi card has had a history of problems before now, I had to reset it frequently that I lost the connection easily. Today, I had to start questions so I did a hard reset on my computer. Then I realized the wifi adapter "disappeared" network

  • I put my Apple Watch to vibrate 10 minutes before each calendar event?

    Hello I have a silent alert that signals to me that I have 10 minutes to go before my next patient coming, who's going to help me get back with a current patient.  I can't work on how to do this. Thank you.

  • installing the driver Chroma 66202

    So I tried to install the 66202 Chroma and it says that its installed successfully. So I followed these steps b: http://digital.ni.com/public.nsf/allkb/86256F0E001DA9FD86256F0B0057E6E7 , but it still does not work. I thought that maybe the problem is

  • Family safety doesn't let me sign

    I accidentally ticked the box "keep me signed in" when you connect to the family safety website and now it won't let me log out. How can I fix it?

  • Windows 7 pro evolution recycle bin icon problem...

    Hello I found a problem on the record icon to recycle, it seems that it will not automatically "Refresh" after that I delete something or empty the trash. I test a lot of times and I found the problem! The trash will not automatically "" cool off mor