Playing portions of a QT movie with Director

By using loopBounds I thought I could have a user click on a
button which would begin looping an interval in a QT movie which
had been cited in a loopBounds statement. Is that correct?
If so, why doesn't the following statement placed at the
beginning of the sprite containing the QT movie entitled "Water
1994" produce the error message "Script error: Name expected"?
on beginSprite me
sprite(me."water 1994").loopBounds[(3.00*60*60.4.50*60*60)]
end
I had hoped that it would play the 3.00 - 4.50 minute
interval in the QT movie "water 1994" repeatedly until the user
clicked a button to go somewhere else.
(Part of this is probably my difficulty in going from the the
verbose Director 2004 scripting to Director MX dot syntax format.
Do I have to use an integral number of minutes?)
Fred Tabbutt, retired faculty

When you place a behavior on a sprite, the reference to the
sprite is "me". In that behavior if you want to find the actual
sprite number, you can ask for the value of the built in property
spriteNum, as in "me.spriteNum". To aid in the speed of playback
and to make the code more readable, it is ordinary to define the
value of me.spriteNum in the behavior like this:
property thisSprite
on beginSprite me
thisSprite = me.spriteNum
end
or
property thisSprite
on beginSprite me
thisSprite = sprite(me.spriteNum)
end
then you can refer to the current sprite through that
property variable.
In the last few versions of Director you have been able to
name sprites. I personally find this just plain silly and
potentially very confusing for new users as many new users have
difficulty differentiating between cast members and sprites.
In a behavior, when you want to reference a sprite, you
usually do it by referencing its channel number as in sprite(2). If
you don't want to use the actual number, then you can use
sprite(me.spriteNum) to have Lingo get the number for you. If
you've used one of the beginSprite functions that I listed above,
then you can use sprite(thisSprite), from the first example, or,
simply thisSprite from the second example.
Having said all of that, if you will just use one of the
examples that Sean gave to you, I think that you will find that the
code will work as expected.

Similar Messages

  • Flash movies with play button don't work

    I have the 'simple' problem that everytime I see a "play" button on a web page with flash content, clicking on it won't start the movie.  However, e.g. YouTube movies work fine. So it seems it's just movies that do not start automatically after clicking on a link.
    Also, checking the flash player e.g. at the Adobe site (http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html), tells me in a flash box I have the latest flash player installed, and I see the  flash movie 'flash player is running on your system' with the red ball rolling in it.
    I have the same problem for both google Chrome and for IE.
    I still have an old Dell Inspiron 6000 notebook with Win XP (latest updates) and ATI mobility Radeon X300 graphics chip, for which I also installed the latest available drivers.
    Experimenting with Flash Player settings was unsuccessful so far (e.g. no hardware acceleration, clearing all internet data in the Flash Player global settings tool).
    My desktop (also with Win XP and with the same browsers and Flash Players/Flash Plugins installed works fine...).
    I also know that it worked at an earlier time with this NB...
    I managed to run the movie with a Linux Live CD but that is not what I want to do every time...
    Any idea is highly appreciated.....

    Hi BalusC, i have saved the datamodel (a ArrayList) in SessionBean. It can't be null. The rows of table display correct. I don't understand, why functions buttons with ObjectArrayDataProvider, but not with ObjectListDataProvider?
    I found a page with same problem: http://forum.java.sun.com/thread.jspa?threadID=549675&tstart=30

  • Movie with special features won't play

    My sister sent me a movie that she purchased on her iTunes account and it sent completely to my iTunes.  It is a movie with extended features.  When I opened it in my iTunes it goes to a page that says "play", "chapters", "features", "more".  I am able to click features and more and it shows me those features however it asks me to authorize using my apple ID (even though it was purchased on my sisters).  When I go over to play movie or even chapters it will not let me play the movie at all and it does not even give me the option to authorize the movie.  She does not have 5 computers authorized on her account so there is no reason it should not work on my computer
    could anyone help with this problem?

    See:
    iTunes: May be unable to transfer videos to iPhone, iPad, or iPod
    iTunes: Frequently asked questions about viewing and syncing videos
    Try deleting and redownloading:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • I made a movie with iMovie and cannot get the audio when I burn into dvd. I would like to transfer video to a dvd to be played in any computer and TV

    I made a movie with iMovie and cannot get the audio when I burn into dvd. I would like to transfer video to a dvd to be played in any computer and TV

    Go to the Map mode in your iDVD project and make sure the blue bin at the left is empty.  That's where you drag slideshows to if you want the DVD to open immediately to that slideshow and bypass the menu. 
    Click to view full size
    If there is an item in there drag it out.
    OT

  • What application will allow me to play movies with an external disc drive?

    What application will allow me to play movies with an external disc drive? I recently purchased an external disc drive and when testing it discovered that it only played the audio of the DVD, not the video.  Very frustrated.

    Are you referrring to a commercial DVD movie, or a disk with digital movies, such as mpeg files?

  • I'm on OS X 10.6.8 and have a .mov file which plays on QuickTime 10.0 but with choppy video and the sound is out of sync???? File details are Video Codec: DNxHD (AVdn) Resolution 1920x1080 Audio Codec: PCM S24 BE (in24) Bitrate: 1536kb/s Solutions?

    I'm on OS X 10.6.8 and have a .mov file which plays on QuickTime 10.0 but with choppy video and the sound is out of sync???? File details are Video Codec: DNxHD (AVdn) Resolution 1920x1080 Audio Codec: PCM S24 BE (in24) Bitrate: 1536kb/s.  Any ideas?

    Question: Is all the source footage shot in 16 bit audio or is some also shot in 12 bit?
    http://docs.info.apple.com/article.html?artnum=42973
    http://www.kenstone.net/fcphomepage/idvd_6stone.html
    http://docs.info.apple.com/article.html?artnum=93006
    http://docs.info.apple.com/article.html?artnum=303550
    http://docs.info.apple.com/article.html?path=iDVD/6.0/en/397.html
    http://docs.info.apple.com/article.html?artnum=61636
    http://docs.info.apple.com/article.html?artnum=302925

  • Using Lion, recent Movies with .mov extension will not play in Quicktime, but earlier ones taken with same camera (Kodak M530) will play fine.

    Using Lion, recent Movies with .mov extension will not play in Quicktime, but earlier ones taken with same camera (Kodak M530) will play fine. I have got VLC which runs them fine but cannot get movies saved in iPhoto to play in VLC...and of course its a real bugger to copy moves from iPhoto to another folder; in fact if anyone can tell me how to do that I will accept defeat!

    Hello Shad:
    Have you downloaded and installed Flip4Mac?
    http://www.microsoft.com/mac/otherproducts/otherproducts.aspx?pid=windowsmedia
    Barry

  • I have downloaded a movie with subtitle to iMovie. When playing the video, the subtitle does not show up through the entire video. It happens to my Mac Air and Mac Pro.

    I have downloaded a video with subtitle. When playing the edited video, the subtitle does not show up in the entire video. The subtitle comes and goes in the video.I have tried with my Mac Pro and Mac Air, with the same result. I have downloaded movie with subtitle before and never had this problem. Please advise.

    I'm not very knowledgable on this but subtitles are sometimes on a separate track from the main movie.  Try opening the downloaded video in Quicktime Player and saving it - you may be asked if you want to "flatten movie".  Choose to do this.  The resulting movie will probably now work OK.  Others may be able to supply more comprehensive instructions.
    Geoff.

  • What external DVD player plays commercial movies with a 2008 iMac?

    What external DVD player plays commercial movies with a 2008 iMac?
    I have a Samsung external player/writer but it will not play movies.
    Only shows data in it's finder window!

    Mr Pixel wrote:
    What are the ones that did play commercial movies then?
    Toshiba & LaCie.
    I must have spent ten hours researching this.
    What did the manufacturer tell you?
    but even VLC wouldn't play it.
    VLC plays anything you throw at it.  At least 99.999999%.  What type of file (suffix) is this movie file?  Where did you get the movie from?
    iMac 2008, OS 10.9.1
    External Samsung DVD/CD writer player
    You need to determine from the vendor if the player is compatible w/Maverick.  Have you done this yet?  If not, why not?

  • Playing rental movies with front row

    Is there any way that they can upgrade front row so that i can watch rented movies through it? I'm a very lazy person and i want to watch my rented movies from my bed without moving. I can use the remote to watch most things but it won't let me play rented movies with it.

    Unfortunately, rental movies do not appear in Front Row. I believe this is because of the inability of Front Row to alert you (and have you click "okay") to the rental agreement requirements. It may also be because Front Row does not give iTunes feedback about when you started playing the movie and/or when you're done. If you would like to see rental movies in iTunes, as do quite a few people who post in this forum, I would suggest you send Apple some Mac OS X feedback (since there's no form specifically for Front Row):
    http://www.apple.com/feedback/macosx.html
    -Doug

  • HT3775 is there a player that will play a 2.flv file movie on my macbook pro with system os x lion 10.7.5

    Is there a player that will play a 2.flv file movie on my macbook pro with os x lion 10.7.5

    http://www.videolan.org/ 's VLC

  • Am I able to get a refund with the movie I rented because the movie download was complete but only played 1/4 of the movie

    Am I able to get a refund with the movie I rented because the movie download was complete but only played 1/4 of the movie and wouldn't play the rest?

    iTunes Support (these are user-to-user forums) should either grant you a re-download or credit you if it didn't play in its entirety - try the 'report a problem' page to contact them : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How to play movies with different ext like wmv and...

    need to know how to play movies with various ext like wmv..mpeg..vlc on e7

    If the phone's built-in video player does not handle those formats, your option are:
    - find some other video player app that does, or
    - convert the videos to a supported format
    The E7 supported video formats are listed on, e.g., this page:
    https://www.developer.nokia.com/Devices/Device_specifications/E7-00/
    Hit "Expand all" and scroll down to "Video Playback Formats".

  • Play movie with JMF

    Hey,
    I just started out with JMF (I wanted to play a movie with java).
    I got this code:
    import java.applet.*;
    import java.awt.*;
    import javax.swing.*;
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import javax.media.*;
    * Demonstrate simple code to play a movie with Java Media Framework.
    * @author Ian F. Darwin, http://www.darwinsys.com/
    * @version $Id: JMFPlayer.java,v 1.9 2004/02/09 03:21:20 ian Exp $
    public class NewJApplet extends JPanel implements ControllerListener {
        /** The player object */
        Player thePlayer = null;
        /** The parent Frame we are in. */
        JFrame parentFrame = null;
        /** Our contentpane */
        Container cp;
        /** The visual component (if any) */
        Component visualComponent = null;
        /** The default control component (if any) */
        Component controlComponent = null;
        /** The name of this instance's media file. */
        String mediaName;
        /** The URL representing this media file. */
        URL theURL;
        /** Construct the player object and the GUI. */
        public NewJApplet(JFrame pf, String media) {
            parentFrame = pf;
            mediaName = media;
            // cp = getContentPane();
            cp = this;
            cp.setLayout(new BorderLayout());
            try {
                theURL = new URL(getClass().getResource("."), mediaName);
                thePlayer = Manager.createPlayer(theURL);
                thePlayer.addControllerListener(this);
            } catch (MalformedURLException e) {
                System.err.println("JMF URL creation error: " + e);
            } catch (Exception e) {
                System.err.println("JMF Player creation error: " + e);
                return;
            System.out.println("theURL = " + theURL);
            // Start the player: this will notify our ControllerListener.
            thePlayer.start(); // start playing
        /** Called to stop the audio, as from a Stop button or menuitem */
        public void stop() {
            if (thePlayer == null) {
                return;
            thePlayer.stop(); // stop playing!
            thePlayer.deallocate(); // free system resources
        /** Called when we are really finished (as from an Exit button). */
        public void destroy() {
            if (thePlayer == null) {
                return;
            thePlayer.close();
        /** Called by JMF when the Player has something to tell us about. */
        public synchronized void controllerUpdate(ControllerEvent event) {
            // System.out.println("controllerUpdate(" + event + ")");
            if (event instanceof RealizeCompleteEvent) {
                if ((visualComponent = thePlayer.getVisualComponent()) != null) {
                    cp.add(BorderLayout.CENTER, visualComponent);
                if ((controlComponent = thePlayer.getControlPanelComponent()) != null) {
                    cp.add(BorderLayout.SOUTH, controlComponent);
                // re-size the main window
                if (parentFrame != null) {
                    parentFrame.pack();
                    parentFrame.setTitle(mediaName);
        public static void main(String[] argv) {
            JFrame f = new JFrame("JMF Player Demo");
            Container frameCP = f.getContentPane();
            NewJApplet p = new NewJApplet(f,
                    argv.length == 0 ? "file:/C:/Users/Patrick Kos/Pictures/BAA.avi"
                    : argv[0]);
            frameCP.add(BorderLayout.CENTER, p);
            f.setSize(200, 200);
            f.setVisible(true);
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }but I always get a unable to handle format exception, expect with mp3 files.
    But i"ve looked up the supported formats and its says its supported so??

    i get this error
    Unable to handle format: XVID, 320x240, FrameRate=29.9, Length=230400 0 extra bytes
      Unable to handle format: unknown, 22050.0 Hz, 0-bit, Stereo, Unsigned, 8000.0 frame rate, FrameSize=9216 bits
    Failed to realize: com.sun.media.PlaybackEngine@7259da
    Error: Unable to realize com.sun.media.PlaybackEngine@7259da
    Exception in thread "main" javax.media.CannotRealizeException
            at javax.media.Manager.blockingCall(Manager.java:2005)
            at javax.media.Manager.createRealizedPlayer(Manager.java:580)
            at projectnemo.NewJApplet.main(NewJApplet.java:102)

  • Does anyone know if the Apple HDMI adaptor can play iTunes purchased movies with the latest IOS

    Does anyone know if the Apple HDMI adaptor can play iTunes purchased movies with the latest IOS. I only want to play my downloaded movie on a TV where there is no internet for Apple to unlock it and play via my AppleTV. The reviews I am reading are very mixed !

    Does anyone know if the Apple HDMI adaptor can play iTunes purchased movies with the latest IOS. I only want to play my downloaded movie on a TV where there is no internet for Apple to unlock it and play via my AppleTV. The reviews I am reading are very mixed !

Maybe you are looking for

  • Surveys synchronisation

    Hello experts, I created campaigns that generate activities with "Questionnaires". I want to replicate them to MSA, I have performance problems with DNL_SURVEY_XML (object for surveys) : in fact each time that I want to replicate the system try to re

  • Itunes sees IPOD but I cannot get a drive letter to use as a hard drive.

    I set disk use enabled but every time I unplug and replug the IPOD back in the check box is unchecked. What system does windows/IPOD use to mount the IPOD and get a drive letter? I am using a customized version of XP and I want to make sure I did not

  • SAP and TAS Connection through Web Services

    HI Experts, we are planning to Integrate SAp and another TAS system using web services (no XI/PI). Please tell me if this way is correct. XML format of iDoc will be the data format, web service technology will be used to exchange data between SAP and

  • Folder rename bug

    When I try to rename a folder, just changing the case from upper to lower I get an error. Example: Original folder name: "2008-05-31_Linley VAlley hike" New folder name: "2008-05-31_Linley Valley hike" I get the warning message "Could not rename. An

  • Flash & Vista 64bit

    Does Flash 10 work with Vista 64 bit? I am unable to view a website ending in .swf with it. Pat