QT movie refuses to leave stage...

I have a QT movie that plays on stage with this lingo:
on timeout
go to "start"
end
property spriteNum
on exitFrame me
myMember = sprite(11).member
myDuration = member(myMember).duration
myMovietime = sprite(11).movieTime
if myDuration > myMovietime then
go to the frame
else
go to "start"
end if
end
As long as I run it from within DW9 environment, it works
fine. The
movie plays when done, exits to the "start" marker as it
should.
However, as soon as I try to play the .dir outside of DW9
(from my exe),
the movie plays, but at the end of the movie, the QT window
remains
(hangs)on stage.
This is a kiosk app...
Any ideas on this?
Thanks.
Dave

Since the movie isn't going back to 'start', is there a way
to force it
to do that based on the length of the QT? The QT clip is
5:26. So maybe
something with manually setting
myMovietime = sprite(11).movieTime - 315*60
Would that work?
property myDuration
on beginSprite me
myDuration = sprite(11).member.duration - 60
end
on exitFrame me
if sprite(11).movieTime = 315*60 then
go the frame
else
sprite(11).locV = - 1000
go to "start"
the stageColor = the stageColor
end if
end
Mark A. Boyd wrote:
> On Mon, 18 Dec 2006 19:24:16 GMT, Dave Anderson posted
in
> macromedia.director.lingo:
>
>> property spriteNum
>>
>> on exitFrame me
>> myMember = sprite(11).member
>> myDuration = member(myMember).duration
>> myMovietime = sprite(11).movieTime
>> if myDuration < myMovietime then
>> go to the frame
>> else
>> go to "start"
>> the stageColor = the stageColor
>> end if
>> end
>>
>> I've tried: "myDuration < myMovietime",
"myDuration = myMovietime", and
>> "myDuration > myMovietime"
>>
>> In each instance, the same issue with QT not exiting
the stage (the last
>> frame of the video stays visible in fact). I also
tried the transparent
>> sprite in the start frame -- no luck.
>>
>> Maybe this means that my exitFrame script is not
right?
>>
>> Dave
>
> Seems OK to me. Are you certain that it's actually going
to "start"?
>
> A couple of notes that may not help, but worth trying.
>
> You may need to provide a little slop tolerance
>
> if (myDuration - 60) <= myMovieTime then
>
> And there's no need to set the duration in every frame
loop. Add a property
> variable and set it once in a beginSprite event
>
> property myDuration
> on beginSprite me
> myDuration = sprite(11).member.duration
> -- myDuration = sprite(11).member.duration - 60
--<< if slop factor needed.
> end
>
> on exitFrame me
> if sprite(11).movieTime <= myDuration then
> go the frame
> else
> sprite(11).locV = - 1000
> go to "start"
> the stageColor = the stageColor
> end if
> end
>
>
>

Similar Messages

  • Why did the Virus known as Bing infect my computer and refuse to leave?

    A few days ago the Virus known as BING infected my computer and refuses to leave.  It has usurped my homepage and my browser and will not permit me to reset my defaults to Google.  It has stolen my computer. 
    BING is haunting me.  It appears that the common lingo is to describe BING as a semi-benign virus.  I find nothing benign about it. I called the MS Customer Service number and they refused to help.  The MAC folks were helpful, but they didn't create this problem, Microsoft did.
    Of course, I would like to know how MS can get away with this, but I would be satisfied just getting rid of the Evil BING.  I am NOT computer savvy, but I know when someone is using me surreptitious with malicious software.
    If I am overlooking something simple, please forgive.  Any suggestions would be greatly appreciated.

    One very common cause of having Bing take over as your search engine is that you have installed the InstallMac adware. The most common way to become "infected" with this adware is to download something from Softonic. See:
    Continue to boycott Softonic
    Because InstallMac is powered by the Genieo adware, you can follow the removal instructions in the link dominic23 gave you. Be aware that InstallMac does not include some of the components mentioned in that removal guide, including the Genieo application. If a particular component is missing, skip it and move on to the next one.
    Finally, note that this is in no way the fault of Bing, which is a legitimate search engine powered by Microsfot. This is probably some kind of click fraud scam, attempting to generate advertising revenue for the creators of InstallMac by sending visitors to Bing.

  • Mouse cursor refuses to leave center of monitor after awakening.

    Mouse cursor refuses to leave center of monitor after awakening.
    So it requires a hard reboot since I can't access the menus, etc.
    The cursor simply refuses to move away from a central region and if I try to move it out of this area the cursor snaps back.
    Has anyone else heard of a similar problem?
    I'm using USB Overdrive with my Logitech MX Performance mouse and OS X 10.6.5.
    Never had this problem before... ever... in over a decade of using Macs, many years in using USB Overdrive, and over a year of using my Logitech mouse and quite a while using 10.6.5.
    The only change that I made before this began happening was to install Portal... but even after not using it for over a week this still occurs.
    I have used Snow Leopard Cache Cleaner to delete the cache files and this seems to cure the problem for a day or more.
    I haven't been able to narrow it down to any specific app that might be causing the corruption/conflict since it happens so infrequently (once a day makes it hard to narrow it down).
    I've done extensive searches on the web for others having similar problems and though I've read that many people have had jumping cursor problems I haven't found anyone with a similar limited/focused area cursor problem.
    TIA for any suggestions/references.
    Ron

    I just thought of one other change that I made just before this began happening... I installed the latest Java update from Apple.

  • Dynamically adding multiple instances of a movie clip to the stage with one button

    hello,
    I was wondering if there was a way to add several instances
    of the same movie clip to the stage dynamically utilizing one
    button.
    I can do one with the following code placed on the button...
    on (release) {
    attachMovie ("filledCircle", "filled1", 5);
    filled1._x = 370;
    filled1._y = 225;
    But I want the user to be able to hit the button again and
    get yet another instance of "filledCircle" on the stage.
    I also want the user to be able to drag these instances
    around...
    Any help would be appreciated...
    Thanks,
    Muhl

    Muhl,
    > I was wondering if there was a way to add several
    > instances of the same movie clip to the stage
    > dynamically utilizing one button.
    Sure thing.
    > I can do one with the following code placed on the
    > button...
    >
    > on (release) {
    > attachMovie ("filledCircle", "filled1", 5);
    > filled1._x = 370;
    > filled1._y = 225;
    > }
    Gotcha.
    > But I want the user to be able to hit the button again
    > and get yet another instance of "filledCircle" on the
    > stage.
    You're in luck, because this isn't very hard to do. The main
    thing to
    keep in mind is that each instance must have A) its own
    unique instance name
    and B) its own unique depth. In your example, the instance
    name is filled1
    and the depth is 5. The next clip's instance name should be
    filled2 at a
    depth of 6. Then filled3, depth 7, and so on. You can use a
    single
    variable to handle the incrementation.
    // code in a frame
    var counter:Number = 1;
    // code on your button
    on (release) {
    attachMovie ("filledCircle", "filled" + counter, counter +
    4);
    With me so far? The variable counter contains the numeric
    value 1. The
    second parameter of attachMovie() is provided with a
    concatenation of
    "filled" + 1, which makes "filled1". The third parameter is
    provided with
    the sum of counter plus 4, which makes 5. Obviously, we need
    a bit more.
    The button must, in addition, increment the value of counter.
    The ++
    operator handles this perfectly.
    on (release) {
    attachMovie ("filledCircle", "filled" + counter, counter +
    4);
    counter++;
    Now, it seems you also want to position the attached movie
    clip to (370,
    225). Are they call supposed to go to the same place? If so,
    you may use a
    second variable to hold a reference to the newly attached
    clip. Look up
    MovieClip.attachMovie(), and you'll see that the method
    returns the exact
    reference you need.
    // code in a frame
    var counter:Number = 1;
    var mc:MovieClip;
    // code on your button
    on (release) {
    mc = attachMovie ("filledCircle", "filled" + counter,
    counter + 4);
    counter++;
    mc._x = 370;
    mc._y = 225;
    Make sense?
    > I also want the user to be able to drag these instances
    > around...
    Then you need to handle a few events. You're dealing with
    movie clips
    here, so your best bet is to study up on the MovieClip class,
    which defines
    all movie clips. (Note, also, that the TextField class
    defines all input
    and dynamic text fields; the Sound class defines all sounds,
    etc. This is a
    very handy arrangement of the ActionScript 2.0 Language
    Reference.)
    // code in a frame
    var counter:Number = 1;
    var mc:MovieClip;
    // code on your button
    on (release) {
    mc = attachMovie ("filledCircle", "filled" + counter,
    counter + 4);
    counter++;
    mc._x = 370;
    mc._y = 225;
    mc.onPress = function() {
    this.startDrag();
    mc.onRelease = function() {
    this.stopDrag();
    Easy as that. You're simply assigning a function literal to
    the event
    of each new MovieClip instance as you create it. Take a look
    and you'll see
    each of these class members available to you -- that is, to
    all movie clips.
    MovieClip.onPress, MovieClip.startDrag(), MovieClip._x, etc.
    Wherever it shows the term MovieClip in the Language
    Reference, just
    replace that with the instance name of your clip -- or a
    reference to that
    clip (which even includes the global "this" property).
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • My 3GS iphone refuses to leave the icon of the usb connecting to the itunes logo. I was trying to update to the latest ios. suggestions?

    my 3GS iphone refuses to leave the icon of the usb connecting to the itunes logo. I was trying to update to the latest ios. suggestions?

    http://support.apple.com/kb/ht1414
    If that doesn't work, try putting your phone to DFU mode.
    Instructions here: http://www.iclarified.com/entry/index.php?enid=1034

  • HT1449 Can I just move my movie files and leave my music files where they are?

    Can I just move my movie files and leave my music files where they are?

    Yes, but bear in mind if you move the movie files, any files, from the iTunes media folder iTunes will not know where they are and therefore cannot access them. It will be up to you to tell iTunes were they are in order to use the files.

  • How can i move Zaber T-LS stage(x-direction only) with a step increment of x microns on both directions.

    Dear friends:
    I need to move Zaber T-LS stage with step increments say 'x' micros on both directions (forward and backward).
    Further, i am using one stage (1D stage).
    Please help
    Solved!
    Go to Solution.

    Hello,
    Thanks for your inquiry about using Zaber's stages. There is a LabVIEW instrument driver available and documented here: http://www.zaber.com/wiki/Software/Binary_Labview_Driver. There are examples included in the Instrument Driver as well. I've attached another simple example for the T-LS showing how you can use the driver. With the attached example, you just need to select the COM port the stage is attached to, enter the distance in micrometers you would like to move (enter a negative number to move backwards), and run the VI. 
    Please let me know if this helps, or if there is a different example I could assist with. 
    Best,
    Mike 
    Zaber Applications Engineer
    Attachments:
    T-LS_MoveExample.vi ‏12 KB

  • Triggering rollouts when mouse leaves stage

    Ever since I can remember, I have been frustrated by the fact
    that when the users mouse leaves the stage, the flash player
    doesn't properly trigger an event. That means any buttons at the
    edge of the stage stay in a rolled over state and any custom
    cursors you've created hang around idley when the user leave the
    stage. Can we please get something to solve this problem now that
    we're on a new architecture?

    In AS3 there is a Stage Class which has a mouseLeave event.
    "Dispatched by the Stage object when the mouse pointer moves
    out of the Flash Player window area."
    Within that event you should be able to properly set the
    state of your application or any controls.
    Hope that helps,
    -Ken

  • Project Online: project will not move to next workflow stage

    Hi, another workflow question: I've created a workflow using the SPD 2013 for a Project Online PWA. When a project has gone through the portfolio analysis it should move to either the Selected or the Not selected workflow stage. The problem is that some
    projects do and some don't:
    ("Naam van werkstroomfase" = Workflow Stage Name)
    All projects were checked in when I committed the portfolio scenario.
    Does anyone else have the same experience and how did you solve it?
    Kind regards,
    Hester

    Hello All:
    I have an issue open with Premier Support and through hours of testing and tweaking, I've summarized as follows:
    The 'stalls' always happen when any of the following code is added to the SPD2013 workflow. The common thread is Project Custom Fields and the code has been inserted at various points to prove the failure.
    When a SharePoint Designer 2013 workflow attempts to access a large number (more than 10?) of Project Custom fields from the Start a process command, the workflow stalls. In this case we are adding custom field values to the
    email body for Gate Approvers.
    When accessing a large number (12 or more?) of custom fields and writing those values out to a SharePoint List as a baseline 'snapshot' of custom fields, the workflow stalls.
    When attempting to update a Project Custom field value, the workflow stalled. (i.e. Set Project Status = ‘Approved’ at Gate 3)
    We have pulled that code (and function) from this release and begin user training tomorrow.

  • Movie refuses to load variables from text file

    Hi,
    I'm sure you can solve my newbie problem in less than 1
    minute...
    I'm pulling my hair out on a template I bought 2 days ago
    from templatemonster.com
    I am using Flash 8 Pro.
    All I want to do is change an existing textfield that is
    Static to Dynamic and load variables from a text file.
    The Action Script I use to do so comes directly from
    Macromedia documentation (see attached)
    It works fine when I create a brand new movie, but doesn't do
    anything when inserted into the template.
    It doesn't even complain about not finding the text file if I
    rename or delete it!
    Here are the FLA and text file:
    Edit : Link to source file removed
    The textfield I would like to change is in the txt2 symbol.
    Here is how I proceed:
    When I open HEADER.FLA, Flash tells me I'm missing a font,
    ok, so I click on Use Default, I'll deal with this later.
    I open up the Movie Explorer, go to Layer 30, go to Frame 75
    and click once on txt2
    I name the instance "myMovie_mc" and save (converts from
    Flash MX to Flash 8)
    I double-click on the Movie Clip, select the word
    "Automobile" on the Stage, change from Static to Dynamic and call
    that instance "myText_txt"
    Still in the Movie Clip, I create a new layer I call
    "actions", and in Frame 1 I copy the attached Action Script:
    This script works when I create a new flash file, but it does
    absolutely nothing in this template.
    I know I'm doing something wrong, but I wonder what?
    Many thanks to any helping soul!
    Ferris.

    try this:
    // Load text as variable and assign it to the
    // dynamic text field
    var features_lv:LoadVars = new LoadVars();
    features_lv.onLoad = onText();
    features_lv.load("safetyFeatures.txt");
    function onText(success:Boolean) {
    if (success) {
    myText_txt.text = features_lv.safetyfeatures;
    } else {
    myText_txt.text = "unable to load text file.";
    or this
    // Load text as variable and assign it to the
    // dynamic text field
    var features_lv:LoadVars = new LoadVars();
    features_lv.onLoad = function(success) {
    if (success) {
    myText_txt.text = features_lv.safetyfeatures;
    } else {
    myText_txt.text = "unable to load text file.";
    features_lv.load("safetyFeatures.txt");

  • Movie Clips vs the Stage help me out plz

    Before i start i currently am taking a class on flash and i
    dont think we have gone terribly in depth.
    I have 2 sets of Code one in a Movie Clip and another on the
    Stage.
    the issue i have is neither one can see variables from the
    other. is there some special syntax or notation i need to pass the
    variables
    I cant see the Current Unit in the Button

    Syntactically your code is just fine. I didn’t receive
    any errors when I checked it. However I would rearrange some things
    in it. The 2 eventhandlers in the onEnterFrame function, I would
    pull these out and put them outside of the onEnterFrame function
    but on the same frame.
    “the issue i have is neither one can see variables from
    the other. is there some special syntax or notation i need to pass
    the variables”
    Inside that mc, the code that you have below “//Code in
    Button”, it is typically recommended that you don’t
    reference other movieclips by using ‘_levelX’. Use a
    relative path, such as ‘this._parent” or
    “this._parent._parent” depending on how many movieclips
    are nested into it. Also note, when you reference a movieclip from
    inside an eventHandler (onPress, onRelease, onEnterFrame, etc.) you
    are already within an object. So to reference something on the same
    tier you should use ‘this._parent’. Once you find the
    correct tier by using the code I mentioned in the last sentence,
    you then need to attach the instance name of the movieclip you are
    trying to access (that is if you are trying to access a movieclip).
    For an example, ‘this._parent.currentguy’.
    I hope this helps, I understand it may be hard to grasp
    however give it a shot and post back.
    You may be interested in this link that is from the livedocs;
    http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context= LiveDocs_Parts&file=00001220.html

  • Attaching Dynamic Movie Clips on a Stage Movie Clip

    Hi guys ,
    I am calling more images in dynamic movieclip on the stage
    from XML file and show them on the stage after that evry movieclip
    is draggable and there is lots of labels (movieclips) on which i
    have to drag the images called from xml files and placed on that
    label , label is also draggable once when i placed object on the
    label moviecli then when i drag the label all images placed in side
    the label should also move with the label .
    And there might be more labels and more images , i can place
    any images in a label or more images on different label but will
    work siimilarly described above .
    So please suggest me and help me out ASAP.

    Ok if I understand you, you have several movieclips on the
    stage that are created dynamically. Some of them are called
    "labels" and some are images. You want to drag and drop an image
    onto a label. Then when you do that you want the image to become a
    child movieclip of the label movieclip. That way when you drag the
    label movie clip and all the images inside it will move along with
    it.
    Are the images movieclips as well or are they just images?

  • Why is my HD movie refusing to download any more?

    Hello,
    I've been trying to download an HD movie from iTunes since yesterday. I left the computer running all night and the download is still stuck at 450.0 MB out of 4.44 GB.  I have  canceled the download, deleted the temporary files and started again. But once it reaches 450.0 MB it refuses to download any further. There have been no error messages.
    Any suggestions?
    -C

    It says that my storage disk (Macintosh HD) has the memory. Is that where its downloading to?

  • Rented movie will not leave "Downloads" : Error 5102

    I rented a movie several months ago, and it will not leave my iTunes > Store > Downloads.
    I can delete the item when it appears, and it will go away. However, the next time I click "Downloads" I'm presented with the message "1 iTunes Download Available". The cycle continues when I delete it.
    This wouldn't normally bother me, but since it's a 2GB movie file (presumably somewhere on my system; not sure where, as I've searched with Spotlight). I'd like it off my system if it is, indeed, on my Mac.
    Any suggestions welcome.

    I'm having the same problem. I noticed this problem after I manually cleared out my system's cashe because of an unrelated issue. I let the movie download completely but at the end of the download it errors out because of a network connection failure... obviously that really is not the issue. When I try to play the movie I get a message that states "could not play rented movie "''" because it is authorized to play on a different computer or device." Now I have an entire movie that I can not play sitting in my itunes wasting space.

  • Move Type without leaving residual type image behind

    In InDesign, like Freehand, I can select a block of type and
    hold the cursor still for a second, then move the text and see it
    while it is moving for better placement visually. The problem is,
    in Freehand, it leaves the original image of the type also in place
    where it was before I started moving it. Is this a feature that can
    be turned on and off, or, is there a way to not leave the residual
    image behind when moving a text block?
    TIA,
    Ken

    By the way, after I complete the move, after releasing the
    cursor, the original block of type disappears, as it should because
    the type block is now moved. I just would like it to never remain
    in the first place.

Maybe you are looking for