Making a video appear by clicking a button on that same state.

I have a state that I want to open which has an image background and buttons to the side. When a user clicks on one of the buttons I want the video to appear over the graphic. Is there a way to do this?
I also need to have different movies play in that same player based on which button the user clicks on in that state. Is that possible too?

Best way is to have a separate state that's a copy of the first, just with a video player. An alternative is to do something like set the opacity on a button click to take a video player from invisible to visible.
In terms of playing different videos, just have each button set the source property on the video player. On Click > Play Action Sequence > Set Property > Source.
-Bear

Similar Messages

  • Making 2 objects appear by clicking a button

    i want to click on a radiobutton and make a table appear with
    content and another table dissapear at the same time. is there a
    way of doing this?
    alternatively i was thinkin i could just make form appear
    that i want and then have a layer with a white background appear at
    the same time on a different part of the screen, so it effectively
    covers up the part i want to dissapear. is there a way of doing
    that? here is the code on the button justnow
    <input
    class=FormBlackText
    onClick="document.all('ThirdApp').style.display = 'block';"
    tabindex=7 type=radio value="Joint Application"
    name=Application>
    the third app appears and i want the secondapp to dissapear
    at the same time.
    cheers

    Best way is to have a separate state that's a copy of the first, just with a video player. An alternative is to do something like set the opacity on a button click to take a video player from invisible to visible.
    In terms of playing different videos, just have each button set the source property on the video player. On Click > Play Action Sequence > Set Property > Source.
    -Bear

  • Start won't appear after clicking start button or win key on keyboard

    It's happened after update to 9926. First start menu works properly but after reboot it broken-down. Right click works fine. Before reboot i disabled "Windows search" service but i don't think it related.

    Start won't appear after clicking the start button or win key on keyboard on the second user account. It works fine on the administrator account. UAC changes have no effect. Re-booting has no effect. Build is 9926

  • Making a horizontal menu button stay in same state when I move cursor down to submenu buttons?

    Hello! I realized as I was typing the subject of this post that it was near impossible to describe without being confusing. So I'm going to let some screenshots do most of the talking. **DISCLAIMER: Ignore all formatting besides the "Parks" button for now**
    First picture, the cursor is not on the "Parks" button. Second picture, I have rolled over the "Parks" button, changing the color of it (to the "rollover" state color) and revealing the submenu buttons. Third picture, I have moved the cursor down to the submenu buttons, and the main "Parks" button goes back to that original color. How do I get it to stay in the other color when I am rolling over submenus? In other words, I want the "Parks" button to stay light blue when I rollover/click the other menu options.
    A good example of what I mean can be found on the header menu of http://www.generalassemb.ly
    Thanks! Hope this wasn't too confusing.

    KGLAD - sorry i couldnt get that to work when i applied it to my own objects / instances...
    there must be an easier way...
    I am playing an FLV on my main stage and was trying to use the generic operators defined in flash for the play / pause buttons:
    mc_MyVideo.playButton = mc_Play;
    mc_MyVideo.playButton = mc_Pause;
    Then i tried to modify this code to swap the buttons between each other on stage:
    mc_Play.onPress = function(){
                mc_Pause._x = 339.55;
                mc_Pause._y = 12.2;
                this._x = -100;
                this._y = -100;
    mc_Pause.onPress = function(){
                mc_Play._x = 339.55;
                mc_Play._y = 12.2;
                this._x = -100;
                this._y = -100;
    the buttons work fine controlling mc_MyVideo when both are shown in different locations on the stage and without any other code.... but the moment i try to assign another function to either of them they stop controlling mc_MyVideo.
    the closest i came was with an attachMovie function... when i pressed mc_Play it would start the movie and attach "mc_Pause" at the same time... thats the farthest i got...
    - Pat

  • TS1814 On my ipod 4g I locked it with a forgotten password (I mistyped a letter so now I can't get in) and now I want to restore it so I can get back in. Whenever I try to click 'Restore' in Itunes, that same message will pop up, but I'm connected.

    If I try to update or restore it, a message pops up saying, "The Ipod software update server could not be contacted. Make sure your network settings are correct and your network connection is active, or try again later." How can I fix this? I really don't care about losing my data, cause I can just re-sync my songs and videos, and all my pictures are saved on a flash-drive. I just need a way to be able to restore my ipod and get rid of that passcode without using the actual ipod, because I can't get in anyways. How can I do this? Also, I'm not sure which IOS I have. All I know is that it's below 5.0.0. I think it might be IOS 4.0.0, I'm not sure.

    Hello Terri_B,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iOS: Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    Best of luck,
    Mario

  • How to hide a TextField when clicking another button

    Hello!
    I've been able to generate a TextField to appear when clicking a button, but when I click on another button, to display some more information, I still have the first TextField displayed.  I've had a look around, but not been able to find anything to help me with getting the first to disappear.  Can anyone provide any ideas for this?
    The code I'm using for displaying the TextField is:
    button10.addEventListener(MouseEvent.CLICK, fl_ClickToPosition);
    var fl_TF:TextField;
    var fl_TextToDisplay:String = "Send disply to the right screen/projector";
    function fl_ClickToPosition(event:MouseEvent):void
    fl_TF = new TextField();
    fl_TF.autoSize = TextFieldAutoSize.LEFT;
    fl_TF.background = true;
    fl_TF.border = true;
    fl_TF.x = 300;
    fl_TF.y = 100;
    fl_TF.text = fl_TextToDisplay;
    addChild(fl_TF);
    Many thanks in advance

    all your buttons should call the same function. 
    because each button probably triggers different text to be displayed, you can use an object or dictionary to associate the buttons and their text:
    // execute these two lines and your function once at the start of your app
    var dictionary:Dictionary=new Dictionary(true);
    var fl_TF:TextField;
    function fl_ClickToPosition(event:MouseEvent):void
    if(fl_TF&&fl_TF.parent){  /
    fl_TF.parent.removeChild(fl_TF);
    fl_TF=null
    fl_TF = new TextField();
    fl_TF.autoSize = TextFieldAutoSize.LEFT;
    fl_TF.background = true;
    fl_TF.border = true;
    fl_TF.x = 300;
    fl_TF.y = 100;
    fl_TF.text = dictionary[e.currentTarget];
    addChild(fl_TF);
    ////////// and for each button use something like:
    button10.addEventListener(MouseEvent.CLICK, fl_ClickToPosition);
    dictionary[button10] = "Send disply to the right screen/projector";

  • dvt:hierarchyViewer make error popup close without clicking ok button

    Hi All,
    I am using Jdev 11.1.1.3.0
    In my page I have 2 region, one contains a form which built from a EO Based VO and a commit button. Another region have a <dvt:hierarchyViewer> which is built from another VO to display some hierarchy diagram.
    In my page user can edit some information and commit the transaction by clicking the commit button.
    Whenever there is some validation fail in the model layer for the information that user edit, I will use below code:
    throw new JboException(error_message);
    which ADF will handle it as a popup with the error message and display on the UI.
    So now the issue is, whenever I click commit button, region that contains <dvt:hierarchyViewer> will shows as "Fetching Data...", and if there is anything failed for this transaction, error popup will appear. However, the popup will not stay and it will disappear even without user clicking ok button whenever <dvt:hierarchyViewer> finish fetching data and display the content. So this is a problem because error message will only display 1 second then it will disappear, user cannot even see what is the error.
    If I set render property of <dvt:hierarchyViewer> to be false, now if there is error, the popup will stay there until user click ok button to close it. So the issue definitely related to <dvt:hierarchyViewer>.
    My question will be why rendering <dvt:hierarchyViewer> will impact the error popup and make it disappear? And based on my observation, the issue only happen on IE but not on firefox.
    Hope anyone can help me with this issue.
    Thanks.
    Pei
    Edited by: user10867484 on Jun 16, 2011 5:25 PM

    Hi,
    So the issue definitely related to <dvt:hierarchyViewer>
    Your observation is correct, the conclusion you take out of this not. The hierarchy viewer fetches data asynchronously and at the end refreshes the component, which takes the focus out of the dialog into the page. The default behavior of the popup component is to dismiss when the focus is lost. The options to try and handle this are
    1. make sure the commit button has "partialSubmit=true" set so it does not refresh the page and thus the hierarchy viewer as a whole
    2. configure the af:messages component to show error messages inline and not as a popup
    I would go and try 1 first
    Frank

  • While trying to restore os x and erase content, some problem about voice software came up and the computer asked me to restart and try again by clicking restart button. When I did this, the machine went to a gray start up screen and will not progress.

    While trying to restore os x and erase content on my MacBook pro, some problem about voice software came up and the computer asked me to restart and try again by clicking restart button. When I did this, the machine went to a gray start up screen with an apple and will not progress. I've waited more than 30 minutes and tried restarting again by holding the power button. Also, restore cd 1 will not eject so the computer will no longer move past the gray screen with spinning circle. Restore CDs had never beeused and were still in packaging in the original box. Ran hardware test just to check, and it came back as normal. Now what? I live nowhere near a genius bar :(

    computer asked me to restart and try again by clicking restart button.
    That's called a kernel panic...
    Since the install disc won't eject, try starting up while holding down the C key. If the Mac won't boot while holding down the C key, try ejecting disc by either holding down the mouse while starting up or holding down the Eject key while starting up.
    Try booting from your install disc so you can run Disk Utility in case the startup disk needs repairing.
    Insert your install disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu and launch Disk Utility.
    (In Mac OS X 10.4 or later, you must select your language first from the installer menu)
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    When you are finished with DU, from the Menu Bar, select Utilities/Startup Manager.
    Select your startup disk and click Restart
    While you have the Disk Utility window open, look at the bottom of the window. Where you see Capacity and Available. Make sure there is always 15% free space.
    What is a kernel panic
    Mac OS X Kernel Panic FAQ
    Resolving Kernel Panics

  • Invalidate session when user clicks back button

    I want to invalidate the session when user clicks back button, so that user cannot refresh and reload a page.
    Any suggestions will be highly appreciated.
    Message was edited by:
    sam_amc

    * SessionInvalidator.java
    * Created on October 27, 2006, 9:18 AM
    package web;
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * @author javious
    * @version
    public class SessionInvalidator extends HttpServlet {
        /** Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
         * @param request servlet request
         * @param response servlet response
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            response.setContentType("text/html;charset=UTF-8");
            PrintWriter out = response.getWriter();
            String reposted = request.getParameter("reposted");
            if("true".equals(reposted))
                HttpSession session = request.getSession(false);
                if(session == null)
                    // This is step 4 and beyond
                    out.println("<html>");
                    out.println("<head>");
                    out.println("<title>Servlet SessionInvalidator</title>");
                    out.println("</head>");
                    out.println("<body>");
                    out.println("<h1>Servlet SessionInvalidator at " + request.getContextPath () + "</h1>");
                    out.println("I said, your session is now invalid! Now where are those Duke Dollars at?");
                    out.println("</body>");
                    out.println("</html>");
                else
                    Integer hitCount = (Integer)session.getAttribute("hitCount");
                    if(hitCount == null)
                        // This is step 2 (the "good" - "stay" page.)
                        out.println("<html>");
                        out.println("<head>");
                        out.println("<title>Servlet SessionInvalidator</title>");
                        out.println("</head>");
                        out.println("<body>");
                        out.println("<h1>Servlet SessionInvalidator at " + request.getContextPath () + "</h1>");
                        out.println("Your session is good.<br>");
                        out.println("If you click the browser's back button, you will invalidate your session.");
                        out.println("</body>");
                        out.println("</html>");
                        hitCount = 1;
                        session.setAttribute("hitCount", hitCount);
                    else
                        //We've used up our good visit
                        session.invalidate();
                        // This is step 3
                        out.println("<html>");
                        out.println("<head>");
                        out.println("<title>Servlet SessionInvalidator</title>");
                        out.println("</head>");
                        out.println("<body>");
                        out.println("<h1>Servlet SessionInvalidator at " + request.getContextPath () + "</h1>");
                        out.println("Your session is now invalid");
                        out.println("</body>");
                        out.println("</html>");
            else
                // because the javascript in the following output will never allow a user
                // to continue clicking back any further than this, we can safely create the session.
                // (or perhaps the session can already be created here and this may not be necessary).
                // A problem lies where if the user chooses to "select" a page back in history they thereby
                // potentially skip back "over" this functionality, thus defeating the purpose of it.
                request.getSession(true);
                // This is step 1 (indirection)
                out.println("<html>");
                out.println("<head>");
                out.println("<title>Servlet SessionInvalidator</title>");
                out.println("</head>");
                out.println("<body onload=\"document.getElementById('invalidatorForm').submit()\">");
                out.println("<h1>Servlet SessionInvalidator at " + request.getContextPath () + "</h1>");
                out.println("<form id=\"invalidatorForm\" action=\"SessionInvalidator\" method=\"POST\">");
                out.println("<input type=\"hidden\" name=\"reposted\" value=\"true\">");
                out.println("</form>");
                out.println("</body>");
                out.println("</html>");
            out.close();
        // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
        /** Handles the HTTP <code>GET</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        /** Handles the HTTP <code>POST</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        /** Returns a short description of the servlet.
        public String getServletInfo() {
            return "Short description";
        // </editor-fold>
    }The problem with even attempting to do this is that with today's browser capabilities, users can optionally choose to jump to a particular page in the browser history and this may not necessarily be the most recent page. In this case, you would also want to invalidate the user's session after already having been there (whatever page that may be). Then you have situations when the user may wish to jump back in history to external pages they were visiting before they reached your own site's pages. Then what happens when they start clicking forward, forward, etc... from there? This is why I prefer writing Swing Clients as alternatives to browser applications. There are soo many possible ways break web applications made for standard web browsers both maliciously and simply by accident or irregular user patterns. Regardless, this servlet would work based on the assumption that all the user(s) would "ever" do aside from moving logically forward is clicking on the browser's "back" button.
    cheers!
    Message was edited by:
    javious

  • I inserted a HTML5 video in page, when I test it in a Browser, I see the poster image and controls, But when I click play button the video goes white, slider moves like its playing, but just white picture. There was no audio included in video. Please help

    I inserted a HTML5 video in page, when I test it in a Browser, I see the poster image and controls, But when I click play button the video goes white, slider moves like its playing, but just white picture. There was no audio included in video. Please help

    Without a link, it's anybody's guess.
    It could be a problem the video rendering itself.  Which software did you use?
    Did you export to the 3 file types -- MP4, OGG and WEBM to support all browsers?
    Does your web server support those 3 MIME file types?
    Nancy O.

  • My Firefox interface is messed up. When I hover over or click a button it becomes all pixlated, the blocks move around, and lines appear around the buttons.

    When I hover over or click a button on the tool bar it becomes messed up. Blocks, or more like pixels, appear over the buttons. They are white and they move around. Little black lines appear around the buttons too. I tried uninstalling and re-downloading Firefox, a full reset, etc. Nothing has worked so far. To see pictures of the problem use this URL (it brings you to Imgur): http://imgur.com/a/LXHQg

    hello, try updating your graphics driver - this should be the right link for your system: http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=22375

  • TS2755 Since a recent general software upgrade when I double click Home button circular icons of contacts appear above the miniature page. I would like to stop this. It never used to occur and I am not keen on it now ! Any ideas please ?

    After recent software upgrade. When I double click home button and pages miniaturist,I now get circular icons of contacts above Messages page. I never used to get this and would like to remove them. Any ideas please ? Thank you in advance

    Go to settings> mail, contacts, calendare> show in app switcher> off.

  • Making video appear as if it is being pounded

    Working on another football project. I have some great music that has a very distinct pounding sound during the end of the song (heavy bass). I am looking to find a way to make the entire video appear to be pounded, as if it had been hit by a hammer.
    I guess the best way to describe what I am trying to do is something like an active, pounding livetype font.
    I have tried everything I can think of using different filters, etc. but without any succcess. Does anyone have an idea that might help here?
    Thanks in advance.

    Tom:
    Thanks. Will try that tonight and let you know. Sounds exactly like the kind of effect I am looking to achieve!

  • How can I create Fade-in or Fade-out on Click of Button?

    I'm using Encore DVD 2.0. My DVD starts with a video on a timeline, and then jumps to a main menu with a motion background and music. The main menu links to a couple videos on timelines.
    I'd like to do 2 things:
    1) When the user clicks a button on the main menu to bring them to a video on a timeline, I'd like the main menu itself to fade out before jumping to the timeline. How can I make this happen in Encore? I of course can't create this fade-out in the editing of the video, since the user could possibly click the button at any point throughout the video.
    2) In transitioning from the initial timeline to the main menu, I would like the main menu to fade in. Is this possible, and if so, how can I make this happen in Encore?
    Thank you for your help.

    > I'm trying to understand what you mean. Did you mean that I can make my entire menu part of the background motion video? How would the buttons work? Is there a way to create invisible buttons in Encore?
    Sorry for the confusion - I didn't write that as clearly as I should have done.
    Right now, in Encore, you
    i cannot
    use "Buttons Over Video" as it is not in the feature set. What I was trying to say is that a feature request might get this functionality added in a later build. We can but hope, anyway.
    What I can recommend you try is using After Effects or Premiere Pro to create your Motion Menu, and set things up so that the appearance of the actual buttons is delayed to the point you want them to appear at.
    Another solution - this will give you minimal delays (should be very close to seamless on the final DVD) is this:
    1 - Intro to Main Menu.
    Create your intro to the main menu, and set this not as a timeline, but as a motion menu. Set the End Action of this to go straight to a static/still copy of the final frame from the Motion Intro.
    2 - Main Menu
    This will be a still menu, with or without Audio. If you use Audio it will need to loop though.
    3 - Outro from Main Menu to timeline.
    Fake this as follows.
    Method A.
    Create the outro to the timeline and set this as another motion menu - not a timeline - with it's end action set to automatically play the main film. The outro will presumably fade to black, so any transition will be un-noticeable.
    Method B
    Fake the outro by adding it to the start of the main timeline.
    I think Method A will be your best bet here.

  • 3.1.3 double clicking home button when music is not playing

    Is the bug that double clicking home button while music is not playing didn't bring up the iPod control fixed? For me, it seems definitely a bug since it doesn't give anything good. Clicking home button once already terminates the application, why would anyone use double clicking to exit the application too?
    This is why I'm still using 3.0. Is this fixed in 3.1.3?

    Jeong-hun Sin, 3.1.3 has the same issue, and I do not think Apple is ever going to fix this issue. They still haven't even fixed the live updating playlist sort order issue...
    roaminggnome he's referring to a pop-up controls issue that has been talked about on this forum ever since the release of the 3.1 firmware.
    http://discussions.apple.com/thread.jspa?threadID=2151438
    In 3.0 and older versions, if you're in an app/game you can double-click the home-button to access the iPod pop-up controls to resume the playback of a song/podcast that had been previously paused/stopped.
    In 3.1, if a song had been previously paused you cannot launch the pop-up conrols to resume the playback of the song. You're forced to exit the app that you might be in (lets say safari, or a game), and then resume playback using the music app.
    Jeong-hun Sin, I upgraded to 3.1.3 a few days ago, and have found a few improvements:
    - Many 3D games are MUCH smoother/faster under 3.1.3, than 3.0. I downgraded back to 3.0 just to see if I was just imagining things, but games like Coconut-racer, and Asphalt 5 were not as smooth as they were under 3.1.3.
    - If you happen run apps that have live video streaming where the video playback controls do not appear (e.g the BBC world, Al Jazeera news, sure there's more), the iPod Touch no longer randomly reboots when using those apps.

Maybe you are looking for

  • The content item may be in webless storage (JSP)

    Hi. I have a problem about UCM 10g and the embedded Tomcat (JSP). My goal is run a wabapp (.war file). I had already checked the security group policy and every time that I get the "JSP Web App Administration" page I read "The content item may be in

  • Case help

    I'm using 9.2.0.5.0 I have a case in a where clause. The select is: SELECT description,dist FROM posdist WHERE posname LIKE 'NAPOS' AND to_char(nvl(active,9)) in CASE 2 WHEN 1 THEN '1' WHEN 3 THEN '9' WHEN 2 THEN (1,9) END; The column "active" is num

  • How to hide Total value in RFX response webdynpro component

    HI experts,        We are working on SRM 7.0 and there is a requirement to hide the Total Value that appers on RFX Response Header for a particular Role.The webdynpro component is FPM_IDR_COMPONENT and View is IDR_VIEW..I have searched the SDN and fo

  • Can a Flash license be transferred from Windows to Mac?

    Can a Flash license be transferred from Windows to Mac?

  • Contact backup to pc

    Hi, can you please tell me how to backup my contacts from the Iphone5 to my computer, using widows7. one more thing, my Iphone some times freez on the main screen not allowing the touch pad to change anything, i have to shut it off and restarts, any