How to detect end of FLV Video - and then call another web page?

I'm using Flash CS3 v9 on a PC to...
- use File > Import an AVI video and convert it to an FLV video.
- use File > publish to publish it.
- Then upload the four files...
.. MyVideo.flv
.. MyPage.html,
.. MyPage swf
.. AC_RunActiveContent.js
to my website.
Works Great!
My Question:
Since Javascript seems to run the .swf file which pays the .flv video... (or some such)
Can I use Javascript (or html) to tell when the FLV Video has finished playing...
And then automatically call another webpage...
If so would someone be kind enough to share a code sample with me to get me quick started.
Thanks for any help.

I'm using the defaults in Flash CS3 ver9.
I'm not creating any action script myself.
I open Flash and select from the Flash menuio options...
"Create New Flash File (Action Script 3.0)"
I then File | Import my AVI video to convert it to an FLV video...
and choose the player options for controls, etc
and then punch through the menu's until Flash finally imports the video.
I then "Publish" the project to the the 4 files mentioned in my initial posting.
So, I think the answer to your question is...
Yes, I'm using the default Flash playback component to play the flv
and yes, I'm letting Flash default to CS3 even though I'm not writing the code... Flash is.
Thanks for the help.

Similar Messages

  • I want to send a response from the servlet and then call another servlet.

    Hi,
    I want to send a response from the servlet and then call another servlet. can this happen. Here is my scenario.
    1. Capture all the information from a form including an Email address and submit it to a servlet.
    2. Now send a message to the browser that the request will be processed and mailed.
    3. Now execute the request and give a mail to the mentioned Email.
    Can this be done in any way even by calling another servlet from within a servlet or any other way.
    Can any one Please help me out.
    Thanks,
    Ramesh

    Maybe that will help you (This is registration sample):
    1.You have Registration.html;
    2.You have Registration servlet;
    3.You have CheckUser servlet;
    4.And last you have Dispatcher between all.
    See the code:
    Registration.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <HTML>
      <HEAD>
        <TITLE>Hello registration</TITLE>
      </HEAD>
      <BODY>
      <H1>Entry</H1>
    <FORM ACTION="helloservlet" METHOD="POST">
    <LEFT>
    User: <INPUT TYPE="TEXT" NAME="login" SIZE=10><BR>
    Password: <INPUT TYPE="PASSWORD" NAME="password" SIZE=10><BR>
    <P>
    <TABLE CELLSPACING=1>
    <TR>
    <TH><SMALL>
    <INPUT TYPE="SUBMIT" NAME="logon" VALUE="Entry">
    </SMALL>
    <TH><SMALL>
    <INPUT TYPE="SUBMIT" NAME="registration" VALUE="Registration">
    </SMALL>
    </TABLE>
    </LEFT>
    </FORM>
    <BR>
      </BODY>
    </HTML>
    Dispatcher.java
    package mybeans;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletException;
    import java.io.IOException;
    import javax.servlet.RequestDispatcher;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Dispatcher extends HttpServlet {
        protected void forward(String address, HttpServletRequest request,
                               HttpServletResponse response)
                               throws ServletException, IOException {
                                   RequestDispatcher dispatcher = getServletContext().
                                   getRequestDispatcher(address);
                                   dispatcher.forward(request, response);
    Registration.java
    package mybeans;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Registration extends Dispatcher {
        public String getServletInfo() {
            return "Registration servlet";
        public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            ServletContext ctx = getServletContext();
            if(request.getParameter("logon") != null) {          
                this.forward("/CheckUser", request, response);
            else if (request.getParameter("registration") != null)  {         
                this.forward("/registration.html", request, response);
    CheckUser.java
    package mybeans;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class CheckUser extends Dispatcher {
        Connection conn;
        Statement stat;
        ResultSet rs;
          String cur_UserName;
        public static String cur_UserSurname;;
        String cur_UserOtchestvo;
        public String getServletInfo() {
            return "Registration servlet";
        public void service(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            try{
                ServletContext ctx = getServletContext();
                Class.forName("oracle.jdbc.driver.OracleDriver");
                conn = DriverManager.getConnection("jdbc:oracle:oci:@eugenz","SYSTEM", "manager");
                stat = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
               String queryDB = "SELECT ID, Login, Password FROM TLogon WHERE Login = ? AND Password = ?";
                PreparedStatement ps = conn.prepareStatement(queryDB); 
               User user = new User();
            user.setLogin(request.getParameter("login"));
            String cur_Login = user.getLogin();
            ps.setString(1, cur_Login);
            user.setPassword(request.getParameter("password"));
            String cur_Password = user.getPassword();
            ps.setString(2, cur_Password);
         Password = admin");
            rs = ps.executeQuery();
                 String sn = "Zatoka";
            String n = "Eugen";
            String queryPeople = "SELECT ID, Surname FROM People WHERE ID = ?";
           PreparedStatement psPeople = conn.prepareStatement(queryPeople);
                      if(rs.next()) {
                int logonID = rs.getInt("ID");
                psPeople.setInt(1, logonID);
                rs = psPeople.executeQuery();
                rs.next();
                       user.setSurname(rs.getString("Surname"));
              FROM TLogon, People WHERE TLogon.ID = People.ID";
                       ctx.setAttribute("user", user);
                this.forward("/successLogin.jsp", request, response);
            this.forward("/registration.html", request, response);
            catch(Exception exception) {
    }CheckUser.java maybe incorrect, but it's not serious, because see the principe (conception).
    Main is Dispatcher.java. This class is dispatcher between all servlets.

  • How do you play a Flash video and then close the player?

    I have a splash page that plays a .swf. At the end of the
    video the home.html page is opened. As/after the home page launches
    I want to play a Flash video and then have the player close.
    I am willing to trade wife, children or beagles for the info.

    Are these two separate browser windows? One for the Flash
    .swf and a different window for the home.html document? Is this
    correct:
    1. show .swf in one window,
    2. open new, second, window with home.html
    3. show second .swf in first window
    4. close first window when second .swf finishes
    If this is the scenario, then no, you can't reliably close
    the first window. You can use Javascript to close a browser window,
    but, if that window wasn't opened using Javascript, then it may not
    close gracefully, or in the case of IE, may display a prominent
    error message.

  • How can I make (Subject) Folders ... and name them ... and then save/bookmark web-pages in that folder?

    New to Firefox...about bookmark management

    See these support articles: <br />
    http://support.mozilla.com/en-US/kb/Bookmarks <br />
    http://support.mozilla.com/en-US/kb/Bookmark%20folders

  • I deleted all my photos and videos and then delete the deleted files but the photo app is still taking up 12 GB of space and I have no room for new stuff.  How can I clear the memory space used by my deleted videos and photos?

    I deleted all my photos and videos and then delete the deleted files but the photo app is still taking up 12 GB of space and I have no room for new stuff.  How can I clear the memory space used by my deleted videos and photos?  I don't know why the photos are still taking up space and if I will have to reset my phone to get rid of the problem.

    Hey there TowneJ,
    Welcome to Apple Support Communities.
    The article linked below provides troubleshooting tips that’ll likely resolve the issue that you’ve described, where deleted files appear to be taking up space on your iPhone 5.
    If you get a "Not enough free space" alert on your iPhone, iPad, or iPod touch - Apple Support
    So long,
    -Jason

  • How can i watch you tube videos and video stream on my mac mini

    how can i watch you tube videos and video stream on my mac mini

    Go to youtube.com? I think I'm missing the point of your question.
    Matt

  • How do I convert purchased music videos and television shows into my Itunes liabrary and sync it onto my ipod?

    I recently purchased a music video and a television show episode off of Itunes. It was in my liabrary until I plugged in my Ipod nano 4th generation for it to sync. As my ipod is syncing the music video and tv show episode were'nt in my liabrary and they didn't sync onto my ipod. Yet when I log into my itunes store account the purchsed content is there. How do I get the music video and tv episode into my itunes library and onto my ipod?

    My guess (and it is just a guess) is that what you are trying to do is no different than recording a TV programme to a VCR then watching it at a time of your convenience, probably the main reason why people have purchased VCRs, PVRs and the like.
    However, with commercially produced DVDs, there is an encryption built in to prevent copying, and it the discussion of how to overcome this encryption that Apple will not permit on their forums.

  • As apple does not support Adobe flash how do I watch youtube other  videos and play games?

    As apple does not support Adobe flash how do I watch youtube other  videos and play games?

    There is a YouTube built-in app for watching those videos. If you can't find the app (it can't be deleted), then check that it's not hidden via Settings > General > Restrictions > YouTube.
    For videos on other sites then you might find that some of them (probably more so if they are news sites) have their own apps in the App Store which might let you get some of the content that you want (and there is the built-in YouTube app). Also there are browsers such as Skyfire which 'work' on some sites - but judging by the reviews not all sites. If you want to play flash games then you are probably out of luck if you want to play on-line though the iSwifter app might work on some of them, but again some flash games have app versions in the store.

  • Hello, how can i get my photos,videos,and contacts of my iphone transfer to my pc. As i have lost my iphone 4

    Hello, how can i get my photos,videos,and contacts of my iphone transfer to my pc. As i have lost my iphone 4

    If you don't have your iPhone anymore, you can't access the data on it remotely.
    However, if you are syncing to iCloud, you can set up iCloud syncing on your computer and at least get your contact info.
    iCloud: Set up iCloud on your devices
    You might also think about putting your device in lost mode or erasing it:
    What steps should I take if I misplace my device?
    If you ever misplace your device—whether it’s just lost or you think it may have been stolen—you should put it into Lost Mode immediately using Find My iPhone.
    Lost Mode locks your screen with a four-digit passcode and lets you display a custom message with your phone number to help you get it back. You can also remotely erase your device if needed, and your custom message will continue to display even after the device is erased.
    While Activation Lock works in the background to make it more difficult for someone to use or sell your missing device, Lost Mode clearly indicates to anyone who finds your device that it still belongs to you and can’t be reactivated without your password.
    To put a device into Lost Mode, sign in to icloud.com/find from a Mac or PC or use the Find My iPhone iOS app.
    For more information, read what to do if your device is lost or stolen.
    copied from Find My iPhone Activation Lock

  • Premiere CS4 - How can you import QuickTime (.mov) videos and which settings for the sequence?

    Premiere CS4
    How can you import QuickTime (.mov) videos and which settings for the sequence?
    Please reply in plain English or if possible in German
    Greetings from Vienna, Peter

    I have not installed Quicktime.
    I got a few scenes (.mov) from a Canon Eos 70d.
    I want to create a short film (in Premiere CS4) with these scenes, mixed with photos and MP3 music.

  • My project is set up with "rotation" menu intro, video, and then "rotation" on end, however, when you put DVD disc in DVD player, menu does not come up on front end, it goes straight to the video.  Is there some step I am missing?

    My project is set up with "rotation" menu intro, video, and then "rotation" on end, however, when you put DVD disc in DVD player, menu does not come up on front end, it goes straight to the video.  Is there some step I am missing?

    Open your iDVD project and go into the Map mode.  Made sure the autostart bin on the left is empty.
    Click to view full size
    If you find a video in that bin remove it, save the project as a disk image and check the disk image with DVD Player.  Then you can burn the disk image to disk with Disk Utilitiy at 4x for optimal burning.
    OT

  • How can I store a form name with path and then call form from a table

    Is it possible that any form that I built I store that form in some table in DB and then call that form from table, if yes, then how can i get this functionality. I am not very experience in form and do not know if it can be done because i think if it is possible then this can be a good security for application and easy to handle as well.
    Thanks in advance
    Maz

    If you have a Forms block based on this table:
    declare
      module varchar2(100);
    begin
      module := :block.column;
      call_form ( module ) ;
    end;If you don't have any blok based on that table
    declare
      module varchar2(100);
    begin
      select  module_name
      into module
      from ...
      where ...
      call_form ( module ) ;
    end;Francois

  • Why watch one Music Video and then Stop (and the next one? no fun)

    I would like to know if Aple TV let "Music Videos" play without stop.
    I would like to see all my Music Videos without stop,... but with "Aple Tv" i can see only one, and then if i want to see an other one, i have to do it by my self. I thought ok, maybe i have to have a "Playlist" with all my "Music-Videos" and then i could see all of them... but it didn´t work either.
    Since i discovered that i cannot do that, i stop buying "Music-Videos"
    Can anyone help me pls and tell me how to do it?

    Welcome to the  Discussion Forums.
    As Chenks says and you have discovered, continuous play of music (or for that matter any) video, is not currently supported.
    You may want to check future updates to see if this feature gets included, but nobody here knows whether this will happen or not. There is the possibility that the lack of this feature is intended and is omitted to protect the unit from being left playing continuous video 24/7, but who knows.

  • HT1430 I suddenly can.t access you tube via videos via my iPad . Tried via safari and you tube app on iPad but it says no videos and  then ask me for  you tube password . Never had to use a pass word

    I suddenly can,t access you tube videos via my iPad. Tried safari and you tube app on iPad. I get no videos  and then it asks for you tube password. Not had that before.

    Thanks for that. Much more constructive than the last comment. It's only the restriction code I can't recall, not the access passcode. So I can currently access the device, just not age restricted content. Does that's make a difference? I also wondered if anyone knew how many attempts you get to try to get it right. Now tried 21 times and so far nothing bad has happened but I am concerned I'll eventually be completely locked out of the device. That doesn't seem in the spirit of things though. Surely it's foreseeable that a child could repeatedly try to guess the code so I can't see that it would be right to lock the device down completely in that circumstance, particularly if the access code is being typed in correctly every time.
    Thanks

  • Easy Question! How Do I Play ONLY the Selection, and then playback stops?

    How Do I Play ONLY the Selection, and then playback stops? (Same as subject..)
    Thanks! I'm loving STP so far. I came from Sony Sound Forge so it's been difficult finding something that can compare, but I think I have it now! Lot's of advantages for STP too.

    I think you're confusing the audio loops with MIDI loops. The blue loops are audio loops which will play only on audio tracks. You can't 'play' those with a keyboard because they are actual audio files. The green loops contain MIDI data that corresponds with a software instrument, and if you drop them onto a Software Instrument track, they will open that instrument which you CAN play with an external keyboard or the caps lock keyboard.
    I might be missing some loops, but when I searched for Bell Tower I found only one, and it is a blue loop. So it can only be played as an audio loop on an audio track. However, if it were a green loop, you would NOT drop it on an external MIDI track (I think that's what you're trying to do if you're dragging it onto the 'Grand Piano MIDI instrument'), but you would create a SOFTWARE INSTRUMENT track, and drag it on that. Any internal sounds you want to play from Logic's instrument you'll do from Software Instrument tracks, and not MIDI tracks.
    What you should do to find a good chime sound that you can play with the caps lock keyboard is to create a Software Instrument Track, open the Library tab, and search there for a good chime. This will search all of the instruments and presets that Logic has for all of its internal instruments. Try 'Tubular Bells' and see if that works for you.
    If you need to use the bells from that loop, do what SC suggested, and take the hits from the audio file and load them into a sampler. Then you can play them the way you want to. If you don't know how to make a sampler, it's a bit complicated. Look up EXS24 in the manual, or check out
    http://www.youtube.com/user/SFLogicNinja
    I think he has a video or two on EXS24

Maybe you are looking for

  • Help plz,how to activate open line item,which is already saved in fs00

    hi, I have created reconsilation where i forgot to check open line iteam,when I try to creat f-53, it is asking, for open iteam ,,when I go back to F-53, i couldnt find, it, to change, what to be done, or should i need to delet advance paid to vendor

  • Dlsw using port channel

    I have 2 dlsw router at head quater office, named dlswA and dlswB. From branches router, dlswA is a primary peer and dlswB is a backup peer. Both dlswA and B have 2 fast ethernet interfaces. The current configuration of dlswA and dlswB are 1 port as

  • HOW TO CONFIGURE GUEST NETWORK AND LIMITE BANDWIDTH

    Dear all, Please help me how to configure internet access rule and limited the bandwidth for guest network via TMG Forefront 2010. Thanks you & best regards, Hung Viet 

  • Midi out from Audigy2

    Hello! I have a Audigy 2 ZS (not Platinum, no front panel) with connected game port. With keyboard via midi cables I can play midi in, but how can I make the computer play midi to the external synthesizer? I mean is it possible to take MIDI OUT from

  • Formatting series markers

    Post Author: Sriram Venkataramani CA Forum: Charts and Graphs Hi,I have a crystal report with a stacked bar chart. For one of the series in the chart I want to shown only dash(-) markers instead of showing it as a riser. So what I did was to change t