Need to determine end of video.

I need to know how to tell when I've reached the end of video.  I seem to recall there's a command new to flash 10 that will let you know without having to track the total bytes used or time elapsed or anything complicated like that.  Does anyone know the command I'm talking about?

I'm not sure what I'm doing wrong: I have an FLVPlayback component on stage with the instance name of com.
my code:
import fl.video.FLVPlayback;
dog_btn.addEventListener(MouseEvent.CLICK, handleClick);
function handleClick(e:MouseEvent):void {
     var req:URLRequest = new URLRequest("http://www.jimsannex.com/dogs/");
    navigateToURL(req);
dog_btn.buttonMode = true;
dog_btn.alpha = 0;
com.addEventListener(VideoEvent.COMPLETE, doAgain);
function doAgain(e:VideoEvent):void {
    trace(com);
//    com.play();
the error message:
1046: Type was not found or was not a compile-time constant: VideoEvent.

Similar Messages

  • Need Help Determining Least Common Demoninator for Frame Rate, Codec, and Workflow

    I need help determining the best timeline setting and Compressor workflow to integrate footage with varying frame rates and codecs that I'm currently upres'ing for a multi-camera concert performance destined for HD broadcast output. I'm assuming the network needs 29.97.
    Thus far, I've been working with Apple ProRes Proxy files to create lo-res edits. Now, I've started the task of offlining and ingesting new, HD clips from the proxy references. The content originates from either Panasonic HVX200 or Panasonic GH1 cameras.
    Looking at the material, it appears the cameras were not shooting with the same settings and, somehow, a PAL GH1 got into the mix. Some of the performances have the PAL GH1 and other do not.
    Here's the breakdown of the varying sources. I got this info from the Log & Transfer columns.
    HVX Cameras
    Format: 1080p24
    Source Format: DVCPRO HD 1080i60
    Shooting Rate: 24
    Vid Rate: 29.97
    TC Format: Non-Drop
    GH1 NTSC
    Format: 1080i60
    Source Format: AVCHD 1080i60
    Shooting Rate: 30
    Video Rate: 29.97
    TC Format: Drop
    GH1 PAL
    Format: 1080i50
    Source Format: AVCHD 1080i50
    Shooting Rate: 25
    Video Rate: 25
    TC Format: Non-Drop
    ANOTHER GH1 NTSC
    Format: 1080p24
    Source Format: AVCHD 1080p24
    Shooting Rate: 24
    Video Rate: 23.98
    TC Format: Non-Drop

    Call the TV station/network and get their spec sheet first. You need to know more than frame rate.
    Once you have that, you can work backwards to arrive at a workflow.
    As a general priniciple, you'll get a more seamless translation of format when you add frames rather than removing them. (eg 24p to 27.97 rather than 29.97 to 24p)
    At least all the material starts out in the 1080 world.
    Do all your conversions before you start editing. (I'd use ProRes or ProRes LT for the editing codec).
    Budget a bunch of time to sync the material or figure out a quick cutting style that minimizes sync drift.
    What a nightmare.
    x

  • Need to determine data type of free characteristic in multiprovider

    Hi,
    I need to determine the data type (e.g. numeric vs alpha numberic) of a free characteristic in a multiprovider.  Can this be accomplished in BEx Query Designer? 
    If not, can it be accomplished in RSA1?  How?
    Thanks,
    Kevin

    its not possible via Query designer..
    give that object name if it is infoobject then you can get via RSD1

  • Need to Make end customer field mandatory in sales order form.

    I need to make end customer field mandatory when sales channel entered as some value...
    for this i have used when validate record on order form
    when i enter a value in sales channel as desired value the form is getting saved automatically and the field is getting mandatory
    but my requirement is to make field mandatory and then to save the order.
    let me know the sequence how it works if any one knows.

    Sanni,
    >
    when i enter a value in sales channel as desired value the form is <b>getting saved automatically</b> and (then) the <b>field is getting mandatory</b>
    but my requirement is to make field mandatory and then to save the order.
    >
    Which trigger are you using to do the "getting saved automatically'?
    Does this trigger fire before the trigger that is making the field mandatory?
    Regards,
    PS: Is this an Oracle EBS query? If yes, this is the wrong forum
    Edited by: Prabodh on Jun 14, 2012 4:48 PM

  • Need some help in saving video message from viber to my Iphone. I disabled the thing that would save photos and videos automatically then, there comes a video I want to save. After loading and watching it, I press the "save to gallery"

    Need some help in saving video message from viber to my Iphone 5S with new ios 8's program . I disabled the thing that would save photos and videos automatically then, there comes a video I want to save. After loading and watching it, I press the "save to gallery" thing but it doesn't save in gallery. I tried all, restarting my phone, rebooting then turning on the save automatically thing and when I watch it again, it still wouldn't save.

    Probably a good question to ask Viber or look at their support site.

  • Need to determine plant and storaeg location for item in delivery

    Hello All,
    I have an inbound IDOC which changes the quantity of items in a delivery and also adds new items if necessary. I need to do a auto PGI also if required.
    Am using BDC to update the delivery. Now the problem is when I add a new item to the delivery. I add the material, quantity and Unit recieved from the IDOC. I need to determine the plant and storage location and fill that too in the delivery.
    Kindly let me know how I can determine these two values. Which table holds this data?
    Please note that I am changing only the delivery. The document preceding the delivery wont be changed.
    Thanks for your help.
    Regards,
    Johnson

    normally the plant is determined on this basis:
    customer inforecord (table KNMT)
    customer master (KNVV)
    material (MVKE)
    The storage location is determined in table TVKOL based on:
    shipping point (you have it in delivery header LIKP-VSTEL)
    plant (see above)
    storage conditions (material master MARA-RAUBE)
    regards
    Roberto

  • Premiere Elements 13, on Windows 7 64 bit, Problem fading to black at end of video.

    With Premiere Elements 13, on Windows 7 64 bit, I am attempting to end a video with a fade to black transition.  For whatever reason, it is fading to black then returning.  Yes, I have tried it all three ways right, left and in between, but the it keeps fading out then in.  And yes the transition is at the very end of the clip.

    morrisst
    I have Premiere Elements 13 on Windows 7 64 bit.
    When I apply the Dip to Black video transition to the last Timeline clip, the Alignment is Left Clip. You have been there and done that.
    Can you post a screenshot of what you are seeing when the Dip to Black transitions stops on your Timeline?
    When I do as you have suggested I see this
    Have you expanded the Timeline with the -+ slider above the Timeline and inspect the end of the clip as well as
    other track content above or below, do you detect an fragments that might be a factor in what you are seeing?
    If you start a new project, do you get the same result?
    Could you post a screenshot displaying what you are seeing with the Dip to Black video transition placed at the end
    of the last clip on your Timeline (Alignment: Left Clip)?
    Thank you.
    ATR
    Add On..I posted this reply earlier today but somehow the last part was not included in the thread. So I am adding that now to the original content.

  • I need to play back a video-recording i have taken myself and have it show the time count in seconds on the play back. Can you help?

    I need to play back a video-recording that I have taken myself and have it show the time counter in secs/minutes in the playback. Can anyone help?

    the movie editing app "Avid Studio" displays a time counter, as does the Pinnacle editing app.  Oddly enough, I movie does not.  (unless I have it somehow turned off.)

  • I try to open docs off the web (ie: floorplans) and I get error message stating I need to accept End User Lic Agreement.How can I resolve this?

    I try to open docs off the web (ie: floorplans) and I get error message stating I need to accept End User Lic Agreement.How can I resolve this?

    /Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app
    *Note, the ".app" file extension for the application is usually hidden from users view.

  • How do I insert additional clips into my video timeline in Elements 13?  When clicking 'add media' it added the clips at end of video rather than in their appropriate position.  Could not 'cut and paste'.

    How do I insert additional clips into my video timeline in Elements 13?  When clicking 'add media' it added the clips at end of video rather than in their appropriate position.  Could not 'cut and paste'.

    bhsleadership
    I am in the process of preparing to test a sample from your brand and model camera in my Premiere Elements 8.0/8.0.1 on Windows 7 64 bit. I will have the results probably tomorrow morning.
    For now I just want to put you through the drill that I do for anyone who says he/she is using Premiere Elements 8.0/8.0.1.
    1. Are you working from the 8.0/8.0.1 Update of the program?
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4653
    2. Do you have the automatic Background Rendering and AutoAnalyzer features turned OFF.
    For Background Rendering option. See Edit Menu/Preferences/General.
    For AutoAnalyzer option. Click on Organizer in the row below the blue active Organize header in order to open the Elements Organizer. In the Elements Organizer workspace, go to Edit Menu/Preferences/AutoAnalyzer Options and disable all the AutoAnalzyer options. To return to the Premiere Elements workspace from the Elements Organizer workspace, in the Elements Organizer workspace, go to File Menu/Exit.
    Is your computer optimized in spite of the fact that  you have a high end laptop? I presumed so but always go to verify, no pile ups of preview files, conformed video and audio files et al.
    Looking at the properties of your source media, I see:
    video compression = MPEG1
    audio compression = MPEG-Layer1 (.mp2)
    Frame Size = 640 x 480 (4:3)
    Pixel Aspect Ratio = 1.0
    Frame Rate = 30 progressive frames per second
    With properties like those you are sure to get a red line over that content since there is no project preset with that description.
    But, your choice of the default NTSC DV Standard would have been mine also.
    I am heading to try to get a quick look at the behavior of the sample video here in my Premiere Elements 8.0/8.0.1.
    To be continued.
    ATR

  • Need to download a youtube video. What's the best way?

    Hi. I need to download a youtube video. I need a safe program, preferably free. Don't want one that adds a bunch of junk to my computer. What do you recommend?

    If you uploaded, why again did you need to download it?
    YES, you can download your OWN content as per Google, correct.
    Use firefox and use the Firefox addon.....
    search for the addon here, I will not list it:
    https://addons.mozilla.org
    dont violate Youtubes rules.

  • Why do we need account determination?

    Hello,
    why do we need account determinations and how can i create them for the COA?
    Thanks,
    -S

    Hi
    To create accruals and post payables, the system must first of all determine the correct G/L accounts for posting in FI.
    Before the system can determine the G/L accounts, certain settings must be made in Customizing. In the IMG, select: Logistics Execution -> Transportation-> Shipment costs -> Settlement -> Automatic G/L account determination. The settings required are described in detail here.
    G/L account determination is carried out automatically. The following parameters are used for determination:
    Chart of accounts
    Valuation grouping code
    Transaction key
    Account grouping
    Valuation class
    G/L account determination can be carried out at shipment cost item level or you can have the system carry out posting at delivery or delivery item level for a more detailed process.
    Nagesh

  • Determining end of file when file consists of objects

    Hi
    I'm having trouble working out how to determine end of file when the file consists of multiple objects
    I've written multiple Person objects to an XML file and I can read the first back
    public Vector<Person> readVectorFromFile() throws CJException {
             Vector<Person> v = new Vector<Person>();
             try {
             XMLDecoder d = new XMLDecoder(new BufferedInputStream(new FileInputStream("VectorStore.xml")));
             // while there are Persons remaining in the file
             Person p;
             //for each p in the file
             do {
                 p = (Person) d.readObject();
                 v.add(p);                      
             } while(// can't work out how to test this);
             d.close();
             catch(IOException ioe) {
                 throw new CJException("Error reading file: " + ioe.getCause());
             }al the books either give examples with the reading of a single object or reading multiple charaters...i've tried testing when p is null and using int c but these give ArrayIndexOutOfBoundsExceptions at runtime.
    Please could someone point me in the right direction?
    Thanks

    paulcw wrote:
    Similarly, this sucks:
    try {
    int i = 0;
    while(true)
    System.out.println(someArray[i++]);
    } catch (ArrayIndexOutOfBounds e) {
    // ignore
    True, but that is not the case in this instance, if that is what you're getting at. The problem is that the "read" method of this "Reader" throws an ArrayIndexOutOfBounds exception, without providing any way of figuring out if there is even anything to read. And that, in and of itself, is a remarkable event.
    The only other ways I see to avoid are all cludge work-arounds or innefficient. You could have the first object in the file be an Integer to indicate the number of objects (but what if, then, for whatever reason, the Stream is "emtpy"). You could parse the XML stream counting the number of "object" elements then push it all back, or reset if the underlying stream supports one of those, or reopen the stream and parse it again (this time with the readObject method), all of which are highly ineffecient. You could transmit, beforehand, how many elements there are, or "define" that there will "always" be only so many elements, etc.
    Everyone of those possible solutions (with the exception of the second, which is simply inneffecient) makes the entire thing rigid and inflexible, and, essentially, non-reusable.
    The while (or whatever) loop and catch at least make it generally usuable in all situations. It is, I agree, less than optimal, but still the "best" option, in this particular instance.

  • Is there a software like flash player for ipad.what software do I exactly need in order to play videos from websites?

    Is there a software like flash player for ipad.what software do I exactly need in order to play videos from websites?

    NKafafi88-
    There may be a couple Apps that may help, but I understand they don't work very well.  The best solution would be to contact the owners of the websites and let them know they need to update their site.
    The alternative I use, is to download the problem video onto my computer, and convert it to M4V or MP4 format using a program like HandBrake <HandBrake>.  Then it can be added to iTunes and synced with the iPad.
    Fred

  • HT204382 i need help guys mi karaoke videos aren't playing anymore how can i download some drivers for it ?

    i need help guys mi karaoke videos aren't playing anymore how can i download some drivers for it ?

    Drivers? You need a program to run them such as K-Jams. Then you will need to check your connections from the laptop to the monitor and make sure your settings are correct in System Preferences.
    Good Luck
    Pete

Maybe you are looking for