Finding the Movie Framerate with Code

I can find the stage size of a movie thusly:
myStageWidth = Stage.width;
is there a way to do this to find the framerate of the movie the code resides in, or a loaded movie? eg (in pseudo code)
myframeRate = myMovie.frameRate;
Any help with this would be appreciated!
Thanks,
K

Thanks for your help.
I saw another thread that had an AS3 solution to this problem, but I guess I can work round this in AS2 by setting a variable that records the framerate - obviously this won't work if I want to import .swfs with unknown properties.
The solution for measuring the length of a single frame is cunning and interesting approach, though I'm sure it is far from accurate! Counting a number of frames over a longer period might be a little better, but I'll bet you never get predictable results!
Thanks again.
K

Similar Messages

  • HT204370 I registered a digital copy on disneymoviesanywhere and connected with my itunes account but can't find the movies on my itune account.  Just want to download the movie onto my ipod touch.

    I registered a digital copy of a movie on disneymoviesanywhere.  I connected the account to my itunes account but I can't find the movie on my itunes account.  I'm just trying to download the movie onto my ipod touch.

    Hey cptniemo,
    Thanks for the question. Connecting your iTunes Store and Disney Movies Anywhere accounts should sync all of your eligible Disney, Pixar, and Marvel movies between both services. After connecting your accounts, you can check your purchased history in the iTunes Store:
    Download past purchases
    http://support.apple.com/kb/HT2519
    Alternatively you can download the free Disney Movies Anywhere app from the App Store (iOS 7 required):
    https://itunes.apple.com/us/app/disney-movies-anywhere-watch/id766894692?mt=8&uo =4
    For more information and support with Disney Movies Anywhere, see this resource:
    About Disney Movies Anywhere and iTunes Store
    http://support.apple.com/kb/HT6129
    Thanks,
    Matt M.

  • TS3297 Hi. I can't find the movies and tv shows icons on my iTunes store. I use a 4th generation iPad with ios8.1.2. I haven't used the store in a long time but I'm pretty sure they used to be there. Now all I can download is music. Please help

    I Can't find the movies and tv shows icons in my iPad itunes store. All I see are music, genius, purchased and top charts.

    they are in the "videos".app Store

  • I want an app to close or browse through open apps at the same time by double tapping the home button i can find the open apps with the minus sign on it and dont move

    I want an app to close or browse through open apps at the same time by double tapping the home button i can find the open apps with the minus sign on it and dont move

    Try a reset: Press the Sleep/Wake button and the Home button at the same time for ten seconds until the Apple logo appears. Note: No data will be lost

  • Where would any downloaded rental movies be downloaded to on my iPad? Just spent over $40 in data top ups and nearly two days trying to a. Download a purchased movie and b. find the movie on my iPad.

    I bought this iPad (think it is an iPad 2 not actually sure, a about a few months ago. Yesterday I decided to go on iTunes store and purchase a rental movie which cost approx $6 NZD. After about 2 hours I ran out of data and the movie hadn't even downloaded halfway so I purchased more data thinking another Gb would do. Then i got a message from itunes that my ipad didnt have enough storage so i went into settings and dleeted apps and docs (apparently also deleted from icloud too) to make room for the movie. Now after purchasing another 7GB of data at over three times the cost of the rented movie it finally finished downloading and I had enough space on my iPad. But now I can't find the actual movie...I go to iTunes to purchases and view movies , to downloads and searched the title of the movie...I can see an icon of it and it is in a separate place from other purchases but it says downloaded in faded lettering. Where is it? Why have I just wastednearlyb$50 just tying to download and watch one measly movie! It is obviously some secret formula or thing I've missed...it shouldn't be so hard! The day before this I successfully downloaded a song I purchased and can listen to with no probs.  do I need another app to store downloaded movies or something?

    But now I can't find the actual movie...I go to iTunes to purchases and view movies , to downloads and searched the title of the movie...I can see an icon of it and it is in a separate place from other purchases but it says downloaded in faded lettering. Where is it?
    If you can't find the movie you downloaded on your iPad, iPhone or iPod Touch, check inside your Videos App

  • HT204370 I rented a movie from the Itunes store and started watching it, but my computer jammed part way through, and now i can't find the movie to continue playing it, where can i find it?

    I rented a movie from the Itunes store and started watching it, but my computer jammed part way through, and now i can't find the movie to continue playing it, where can i find it?

    Hi brett242424,
    Welcome to the Support Communities!
    The movie would be in your iTunes library, in the Movies application.  However, if the rental period has expired, you may need to contact the iTunes Store Support about your situation:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/HT1933?viewlocale=en_US
    Cheers,
    - Judy

  • HT1657 I rented a movie on Itunes last night and I watched half of it before falling asleep. Today I tried to open the movie and watch the last half but I cannot find it. It has been less than 24 hours since I rented it. Where can I find the movie?

    I rented a movie on Itunes last night and I watched half of it before falling asleep. Today I tried to open the movie and watch the last half but I cannot find it. It has been less than 24 hours since I rented it. Where can I find the movie?

    I found my answer in another Thread and it worked... so for anyone who needs it, here it is:
    https://discussions.apple.com/message/19134562#19134562
    Had the same problem and spoke with Apple Support. They had me reset the System Management Controller:
    Shut down the computer. With the computer off, on the left hand side of the keyboard press shift+control+option along with the power button simultaneously and release. Wait 5-10 seconds and restart the computer.
    This solved my problem and I was immediately able to purchase, download, and play an HD movie from iTunes w/o any error message.

  • Windows 7 Backup "The System cannot find the path specified" - Error Code 0x80070003

    I'm having severe problems backing up my own machine to a share on our
    FILE-SERVER as \\FILE-SERVER\Backup\
    I have already backed up another PC successfully using exactly the same settings I have used on my own PC. So I presume it is nothing to do with the
    FILE-SERVER or the Backup settings.  It has to be something to do with what I'm trying to backup from my machine.
    First some background.
     This exercise all began when the Windows Server 2008 r2
    O/S fell over on one of our Servers. I tried reinstalling the O/S several times, without success. In the end I grabbed another drive and re-built the O/S. I then had problems promoting it to a Domain Controller on the network.
     In the end I renamed the Server from FILESERVER
    to FILE-SERVER.
    We routinely share four folders on what is now
    FILE-SERVER:
    \\FILE-SERVER\Backup
    - a Folder where backups from all other machines are written, so that they will be backed up with the Server
    \\FILE-SERVER\Company
    - holds all our Company data
    \\FILE-SERVER\GEM
    - this is the application folder for our own database
    \\FILE-SERVER\Install
    - holds all Install files for the software we use
    These are all held on a RAID 1 Array that is separate from the System Disk that fell over.
    Prior to the Server falling over, I had Backup working fine on my machine. 
    On my Notebook PC I had made these shared folders 'Available Offline', so that I still had everything available to me when I was out of the office. They were
    of course shared as \\FILESERVER\... not \\FILE-SERVER\...
    Having got the Server up and going again, I began to get the Backups from the Windows 7 Client PC's going again.
     I started with a Desktop, which of course did not have any Offline Files.
     That proved relatively straight-forward.
    I then started with my machine. Initially I did not make the above shared folders 'Available Offline'. I set up my Backup using exactly the same settings that
    had worked OK on the desktop machine. But when I ran the backup I got:
    The System cannot find the path specified, Error Code 0x80070003
    I tried all sorts of things to get it to work:
    I restored the system to the earliest point possible,
    I ran chkdsk,
    I defragged the drive
    All to no avail, so I tried backing up:
    with and without a system image,
    reducing the backup to a single folder, 
    a single Folder with only one .txt file in it, 
    making the Folders 'Available Offline' again.
    Nothing made any difference.
     In the end I looked in the Sync Center to look at the Offline Files Folder.
     Under Mapped Network Drives I discovered I still had the Files and Folders from
    \\FILESERVER.  In their Shortcut Menu 'Always Available Offline' was greyed out. So I deleted the Offline Copies. This deleted the Files in the Folders but not the Folders.
    Since I could find no way of deleting the old Mapped Network Drives, I decided I'd painted myself into a corner by renaming the Server.
     So I bit the bullet and re-installed my Notebook too.  This did get rid of the unwanted old Mapped Network Drives - BUT NOT THE ERROR!!
    I’ve been through all the troubleshooting procedures in: 
    http://social.technet.microsoft.com/Forums/windows/en-US/629597bb-7be0-455c-b81e-a149472d3f9b/windows-7-backup-the-system-cannot-find-the-path-specified-error-0x80070003?forum=w7itprogeneral
    Method 1
    It had none of the symptoms reported in  
    http://support.microsoft.com/kb/973455 
    but I scanned for ‘reparse’ points anyway.  Found several “Junction Points” but none that were “Mounted Volumes”, just ordinary ‘File Folders’.
    Method 2
    Check a drive for errors. 
    Looked at: 
    http://windows.microsoft.com/en-us/windows7/Check-a-drive-for-errors
    Checked
    both boxes.  I closed machine down, to check for errors when it re-started. 
    It didn’t seem to find anything. 
    I say seem, because I did not actually see it finishing checking the empty space, but stages 1-4 found no problems and Windows 7 restarted normally. 
    It did detect 66 ‘Reparse’ Points, which is more than it found when I scanned for them earlier. 
    Method 3
    Yes, I am an administrator or my own machine and, as such, I have ‘Full Access’.
    I downloaded an ran the Process Monitor, filtering for Process Name “Wbengine.exe”, but did dot get a single event. 
    So I’m not sure what’s going on.
    HELP - I'm out of ideas!
    I have a WORD Document that documents all the Settings I've used on both the Server and the Clients, together with the reasoning behind those settings, but
    I cannot find a way of uploading it.

    I am having the exact same problem with Windows 7 Professional. Out of the blue, this issue just started a few months ago when running my monthly Windows Backup where I have used a USB drive for the last 3 years, and never ever had this issue before. Most
    of the solutions listed on the Microsoft websites and answers deal with
    "Restore" functions, not the
    "Backup" itself. I have 3 folders being skipped during the backup.
    So I went and changed the Backup from "let Microsoft choose files, directories, etc" to "Let me choose". I included the files and folders that were being skipped, and ran the "Backup" again, and got the same error message,
    but the files that were skipped the first time were "Backed up" finally. This issue is somehow related to my "Libraries"?
    The 3 backup problems are:
    Backup encountered a problem while backing up file C:\Windows\System32\config\systemprofile\My Audio Books\Audio Book Recordings. Error:(The system cannot find the path specified. (0x80070003))
    Backup encountered a problem while backing up file C:\Windows\System32\config\systemprofile\My Audio Books\Audio Book CD Label-Cover Art. Error:(The system cannot find the path specified. (0x80070003))
    Backup encountered a problem while backing up file C:\Windows\System32\config\systemprofile\My Audio Books\Audio Book MP3 Tag Art. Error:(The system cannot find the path specified. (0x80070003))
    Did a "checkdisk" - no problems. Ran a program to fix registry - no problems. All updates up to date. I guess I could eliminate these folders from the Backup folders in the
    Library, and just choose them under the "Users" locations, and be done with it. But I really want to understand this, and fix it. This is within Windows 7 and may be related to Windows Media Player or
    some recent Windows update.  Thanks.

  • Could not find the main class (with every jar)

    This isn't a developer question. I get the error Could not find the main class with every jar I try to open (for example the jar downloaded from https://gjar.dev.java.net/ gives the same problems - and I don't think there is something wrong with that JAR). It isn't a problem with the jar or MANIFEST because the same jar works fine on my laptop. So there is something wrong with my JRE installation, but what?
    I tried to remove and reinstall the JRE 6 Update 18 but that didn't work. When I run the JAR with command line java -jar "file.jar" it works fine, but if I dubbelclick on it I get the error message (and it's irritating me).
    I'm a bit desperate so I hope that someone here can help me ;)
    Thanks in advanced

    hai T.B.M ... Sorry to post here... I know that i posted my question in wrong thread..but i dont have another solution to contact with you.. I had seen your answers which are really excellent and helped to do my project..
    Now i am having very less time to complete my project and i am very new to JMF.. I am not getting output in JMF video capture ..please check the code and guide me where i gone wrong.......please pardon me once again to post here.. Heres my code
    import javax.media.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.media.protocol.*;
    import java.io.*;
    import javax.media.control.StreamWriterControl;
    public class webcam implements ActionListener,ControllerListener
    boolean eomReached = false;
    boolean realized = false;
    JFrame f;
    BorderLayout bd1;
    CaptureDeviceInfo device;
    MediaLocator m1;
    Player player;
    Component videoScreen;
    JButton b1,b2;
    Processor processor;
    DataSource ds=null;
    DataSink fileWriter=null;
    JLabel status=new JLabel("");
    public webcam()
    try
    JFrame f=new JFrame();
    JPanel p =new JPanel();
    JPanel p1=new JPanel();
    device=CaptureDeviceManager.getDevice("vfw:Microsoft WDM Image Capture (Win32):0");
    m1=device.getLocator();
    System.out.println("1");
    processor.configure();
    processor = Manager.createProcessor(m1);
    processor.setContentDescriptor(new
    FileTypeDescriptor(FileTypeDescriptor.MSVIDEO));
    ds=processor.getDataOutput();
    player.addControllerListener(this);
    MediaLocator dest = new MediaLocator("file://foo.avi");
    fileWriter = Manager.createDataSink(ds, dest);
    fileWriter.open();
    ds.connect();
    ds.start();
    player=Manager.createPlayer(m1);
    player.addControllerListener(this);
    blockingRealize();
    videoScreen=player.getVisualComponent();
    b1=new JButton("START");
    b2=new JButton("STOP");
    bd1=new BorderLayout();
    p.setLayout(bd1);
    p1.add(b1);
    p1.add(b2);
    p.add("South",p1);
    p.add("East",videoScreen);
    f.getContentPane().add(p);
    f.setVisible(true);
    f.setSize(500,500);
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    b1.addActionListener(this);
    b2.addActionListener(this);
    catch(Exception e){}
    public void actionPerformed(ActionEvent e)
    if(e.getSource()==b1)
    try{
    processor.start();
    player.start();
    fileWriter.start();
    catch(Exception e1){}
    if(e.getSource()==b2)
    try{
    player.stop();
    processor.stop();
    processor.close();
    fileWriter.close();
    catch(Exception e2){}
    public static void main(String args[])
    webcam obj=new webcam();
    public synchronized void blockingRealize() {
    player.realize();
    while (!realized) {
    try {
    wait();
    } catch (java.lang.InterruptedException e) {
    status.setText("Interrupted while waiting on realize...exiting.");
    System.exit(1);
    public synchronized void controllerUpdate (ControllerEvent event) {
    System.out.println("myPlayer generated "+event.toString());
    if (event instanceof RealizeCompleteEvent) {
    realized = true;
    notify();
    } else if (event instanceof EndOfMediaEvent) {
    eomReached = true;
    }

  • HT204370 where can I find the movies I rented and downloaded last night

    i downloaded 2 movies to watch on flight, downloaded to computer.  Now have iPad with me.  I don't see the movies in library/anywhere in iTunes/cloud so tried to re-download, received message that I had already rented.  where can I find the movies?

    If you rented and downloaded them on your computer's iTunes then did you then connect the iPad to your computer and move them over to it ? If you did then they should be in the Videos app.
    Rentals are a one-time only download so they won't appear in the cloud for re-downloading.

  • I movie not finding the movies in my album

    I have all the recent updates of mac operating systmes and iphoto and imovie.  When I am in Iphoto I can see both events and albums with movies from my iphone.  When I am in the new imovie, it is not automatically generating thumbnails for them.  THere is new tab at top under libraries that says Iphoto library.  WHen I open the event, the folder does not have any of the movies - it does have photos.  When I do to events -the even with the clips is not there.  Have closed and opened both prgrams and rebooted.  Suggestions??  thank you !

    Try this, find the movie in iPhoto and select it. Go to File on the menu bar and select Reveal in Finder. See if the file can be dragged into iMovie from Finder, drop it into an event. That way you know if the file is the problem or not.

  • How do you find the movies shared on a mac?

    I know how to find the movies shared from one of my family members on the app but I don't know how to find them on a MacBook Pro.
    I don't need to find 'My Purchass' but I need to find my family-members purchases.
    Please help.

    There is no Windows side on a Mac unless you install a version of Windows in a virtual machine or use Boot Camp to partition the drive and install Win 7 (if you are using a Macbook Pro that came with OS X Lion installed).
    If you use a virtual machine you can install just about any version of Windows that you have a retail disc of and a legal license key to go with it.

  • I can't find the movie I rented from I tunes. It says it downloaded to my iPad but I can't find it and when I go to downloads on iTunes it's not there

    Where would I find the movie that I rented on iTunes... It says I downloaded it but it is not listed in my downloads... This was my first attempt at using iTunes on my iPad. Nplease help :)

    Doublechecking ... is it in your Videos app on the iPad?

  • I have purchased a ringtone in the iTunes Store for my iPad, and I cannot find the download together with my music. I have received the invoice but I have no product. I am working with iOS6, if that helps. Can anybody help me?

    I have purchased a ringtone in the iTunes Store for my iPad, and I cannot find the download together with my music. I have received the invoice but I have no product. I am working with iOS6, if that helps. Can anybody help me?

    I am confused. Do you mean you found the music, not the tones, or you can't find either?
    If the former, then this is normal. You can't redownload tones from the Cloud.

  • How do I find the phone # associated with my dryloop account?

    Customer service said they would be open til midnight but they're closed at 11:20. How do I find the phone # associated with my dryloop account so that I can pay online.

        Hi, yogaonmain!
    I'm sorry we were not available to get that information to you. Your mobile telephone number will be listed on your paper statement. It is also typically listed inside your phone under the Settings/Phone info section.
    If you need this information immediately, please call our customer service line at 800-922-0204.
    Thank you,
    AdamE_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for