Playing Quicktime with Multiple Start End Points

Hello
I posted a message a few days which I received help on
regarding starting and ending a Quicktime movie from various points
in the movie. Now I have a new problem which I cannot fix at all..
Here is the problem:
I have a Quicktime movie on stage and 10 various buttons that
contain a generic script which allows input of start and end points
for each button to trigger the movie. Initially just doing this
with one button is successful.
However, multiple buttons all with the same generic code make
the movie freeze up completely. My guess is that they are all
fighting each other for control. Maybe I need something in the code
which allows the button that is being used to play the movie to
keep control.
Here is the code I use for each button, the movie is on frame
15.
property pQT,pStart,pEnd,pFrame, pVolume
on beginSprite me
sprite(me.spriteNum).color=rgb (255,255,255)
cursor 0
if integer(pQT).ilk=#integer then pQT=integer(pQT)
end
on mouseUp me
sound(3).volume=sprite(15).volume
sprite(15).volume=pVolume
sprite(pQT).movieTime=pStart
sprite(pQT).movieRate=1
cursor 0
end
on mouseEnter me
sprite(me.spriteNum).color=rgb (173,24,41)
sprite(me.spriteNum).cursor=280
end
on mouseLeave me
sprite(me.spriteNum).color=rgb(255,255,255)
sprite(me.spriteNum).cursor=0
end
on mouseDown me
sprite(me.spriteNum).cursor=290
end
on enterFrame me
if sprite(pQT).movieTime>=pEnd then
sprite(pQT).movieRate=0
end if
end
on getPropertyDescriptionList me
if not the currentSpriteNum then exit
vPDList=[:]
setaProp vPDList, #pQT, [#comment: "Which QT sprite",
#format: #integer, #default: 0]
setaProp vPDList, #pStart, [#comment: "Range start",
#format: #integer, #default: 0]
setaProp vPDList, #pEnd, [#comment: "Range end", #format:
#integer, #default: 0]
setaProp vPDList, #pVolume, [#comment: "Volume", #format:
#integer, #default: 0]
return vPDList
end getPropertyDescriptionList
Any help is much appreciated. (not a lingo expert)
Andy

Many thanks Mike
Works fantastically.
I just thought I would post the finished code - well, tweaked
ever so slightly from Mike's orginal for anybody wanting a nice
little behaviour for controlling a Quicktime movie.
(watch out for page breaks etc - should be 68 lines)
property pQT,pStart,pEnd,pFrame,
pVolume,pMyControl,pReturnMarker
on beginSprite me
sprite(me.spriteNum).color=rgb (255,255,255)
cursor 0
if integer(pQT).ilk=#integer then pQT=integer(pQT)
pMyControl=0
end
on mouseUp me
sound(3).volume=sprite(pQT).volume
sprite(pQT).volume=pVolume
sprite(pQT).movieTime=pStart
sprite(pQT).movieRate=1
pMyControl=1
cursor 0
end
on mouseEnter me
sprite(me.spriteNum).color=rgb (173,24,41)
sprite(me.spriteNum).cursor=280
end
on mouseLeave me
sprite(me.spriteNum).color=rgb(255,255,255)
sprite(me.spriteNum).cursor=0
end
on mouseDown me
sprite(me.spriteNum).cursor=290
end
on enterFrame me
if pMyControl then
if sprite(pQT).movieTime>=pEnd then
sprite(pQT).movieRate=0
pMyControl=0
go pReturnMarker
end if
end if
end
on getPropertyDescriptionList me
if not the currentSpriteNum then exit
vPDList=[:]
setaProp vPDList, #pQT, [#comment:"Which QT sprite",
#format:#string, #default:0]
setaProp vPDList, #pStart, [#comment:"Range start",
#format:#integer, #default:0]
setaProp vPDList, #pEnd, [#comment:"Range end",
#format:#integer, #default:0]
setaProp vPDList, #pVolume, [#comment:"Volume",
#format:#volume, #default:0]
setaProp vPDList, #pReturnMarker, [#comment:"Return to
Marker", #format:#marker, #default:0]
return vPDList
end getPropertyDescriptionList

Similar Messages

  • FCP Audio Clips in Soundtrack Pro - Marking the Start & End Points

    When I double click on an audio clip that I've sent from FCP into Soundtrack Pro I seem to open up the entire media file.
    How do I lock off or at least mark the clip start & end?
    I don't see any markers that tell me which part of the clip is actually used in the imported FCP sequence.
    I only want to make (non-destructive) changes to the clip.
    I don't want to alter the original media file.
    And I just want to work on the part that's used in the FCP sequence.
    It makes sense that there's a way to show the start & end points of the clip but I'm just not seeing it.

    I am a bit of a newb here, so pardon if my explanation is a little unpolished, but I have been working on some of my projects like you are and this is what i figured out. I select my sequence in FCP and send to stp as a multitrack project. The whole audio timeline shows up just as it looks in fcp, and the video track shows as one large clip that is made up of all my cuts put together. Now, my audio tracks are all on one line, and i can see all the clips with their cuts on the sequence. I click the first one and open it up to work on in the waveform editor. At that point i see the entire audio clip, including the part before and after my cut that i am using in my sequence, but i also see, up near the playhead, gray markers that show the actual part of the clip i am using in my edit. It is easest to hit shift-z to look at the entire clip on screen, and then find the grey markers. Also, if you play audio before the in marker, you will hear it but you will see that the video is not playing anything, then once you enter into the in-out section the video will play along, and when you pass the out marker the video freezes as the audio keeps playing. Hope this helps.

  • Refresh Callable Object if changes are made to VC Start/End points

    Looking for some guidance on how to refresh a callable object once I have already brought it into my application.
    I have a VC application that I can use as a callable object during my GP process.  During design time, I can select it and see the start and end points.   I then can map those values and use them in the GP.
    If I go back and change the VC application (make a change to the start or end point ... like a new variable or name change) how do I get my GP to recognize that there is a new version of the VC application?   Currently I have had to delete the CO and rebuild it...Id rather the tool tell me the version has changed and that I need to remap/group my values.
    Note that if I change anything between the start or end point in the VC application there is no problem, since all the GP cares about are those start/end points and how they relate to the rest of the process.

    Hello Mike,
    It´s a pitty but there is no way to "update" VC based callable objects in GP, (in webdynpro callable objects there is an "update" button that allows to do that) , but with Visual Composer Callable Objects the only way is to create a new one.
    Regards,
    Marco.

  • Start-End points not working when sent to Encore

    Hello all, I tried to send a project to Encore but I got an error and Encore closed, I did it again and it worked but the start-end points didn't work, I got the whole project. I have since gone back to a former project which I had previously outputted small segments for YouTube and no matter where you set the Start-End points you get the whole project. Is Encore now corrupt or have I changed something ?

    I don't quite know what you mean, I opened a project that I left set to output a small portion for You Tube. I clicked dynamic link send to Encore, when Encore opens the whole timeline is there,or am I getting confused ? do you always get the whole timeline start to finish when you send to Encore or are you supposed to get just the part between the start-end points ?

  • Is It Possible To Snap The Start/End Point Of Gradient Tool To Edges Of An Object?

    When I am modifying a gradient on an object, I would like to snap the starting point and the ending point of the gradient to the edges of the object I am working on. Is there a way to do this? I tried just using Smart Guides, as well as the grid and regular guides with no luck. Any ideas?

    Krisler,
    Select your Inline graphic. Then click on the center of the graphic and drag the mouse's pointer into the text. When you get your pointer into the text you will see the insertion cursor (vertical bar) just at the tip of the mouse arrow. When you let go of the mouse button the insertion point for the graphic will be where the insertion bar was at that time. The key point is to concentrate on the position of your arrow tip as you attempt to reposition the insertion point.
    Jerry

  • Set video start end points- trim

    I brought a short .mov into my keynote and want to trim the start/stop points but the ability to do so is crude in keynote unless I'm missing something... All I can see is to move the start/stop points with the mouse in the inspector... but very crude movement if I want to catch a certain endpoint. Is there a better way? i.e. keyboard control of endpoints or such?

    Hi Robert,
    I don't think there is. I'd suggest taking the clip into iMovie (or Quicktime) and cropping it more finely that way.

  • Moved media files relink with different start/end times

    Hi all,
    I'm really stuck here so any help would be greatly appreciated.
      I've got a number of FCP projects which use media from one drive.
    The drive containing this media is soon to be in use by another project so I have done a direct copy of all the media onto another drive using finder. Literally a drag and drop copy of the files.
    However, when I re-open the project and relink to the 'new' files on the new drive I am getting multiple "different start/end times" errors causing all the edited clips to play from the wrong times.
    How can I stop it changing the time code when doing this?
    Thanks
    YD

    On closer inspection, this only seems to be affecting BWavs, if that helps at all?

  • How do I update a waveform chart with multiple plots one point at a time?

    Hi,
    I am updating multiple plots one point at a time.  That is, every time I update the chart I have a value for one of the plots.  If I put in a cluster with NaN for each of the charts except the one with the data I can only get individual points on the chart.  I would rather have them connected.
    Any clues?  The only thing I can think of is to delay the update and do interpolation between samples - too complicated for me.
    Thanks

    Are the points within a given plot equally spaced in time?  If so, perhaps you need to maintain your own history of the data and used a waveform graph rewriting the history data to the graph each time.  If the points are unequally spaced, then you will need to do it as an XY graph.

  • Export to Quicktime with multiple Audio Tracks?

    Hi all --
    I am on a tight deadline (48 hrs!) to deliver a Quicktime Prores file with 6 audio tracks: ch 1+2 dialog, ch 2+3 music&effects, ch 4+5 stereo mix. I'm working with FCP 6.
    Now, I have figured out how to export the FCP 6 project to a Quicktime file with multiple audio tracks (in the Project settings, I specify 3 stereo channels, then I assign each audio track to one of the channels and export everything to a Quicktime file).
    However, how can I send a stereo mix to channels 4+5?? FCP only allows me to assign each audio track one but not multiple output channels, and I didn't see a way where I could create a bus.
    Can anyone help?
    Thanks!

    Something is being miscounted here. You say you have dialog on 1+2 and then say you have M&E on 2+3? I think you meant to say 3+4 and the stereo mix will be on 5+6. The easiest way to do this is to copy tracks 1-4 to tracks 5-8 by shift-option-dragging them there. Holding option will copy the tracks instead of moving them and holding shift will insure that the tracks will not move earlier or later. Then send 5+6 (dialog) to the 5+6 output (using the info in the above referenced discussion) and send 7+8 (music&effects) also to the 5+6 output. Done.

  • Can't play game with multiple CD's in Classic

    I am running OS 10.4 on my iBook G4 (one that cannot run OS9 native).
    I successfully installed and played for about an hour a game called "Obsidian" (1996). About an hour into the game, I was asked to "Please insert Disc 2." However, Disc 1 was not automatically ejected, and manually pressing the eject button also did nothing.
    I have heard that some OS9 applications do not run in Classic very well, especially those expected to interact with the hardware (like the disc drive). And this problem is posted to the support page here: http://support.apple.com/kb/TA22250 . But the only solution listed is starting up in OS9, which I can't do on my iBook.
    Is there ANY way to get this to work? The game is old, mostly before copywrite protection, and I have had success getting the data from other old games' CDs onto my computer, but they still look for the information in the disc drive.
    Any help would be greatly appreciated

    Hello Dr. Ace,
    I would start by checking the Extensions Manager to see if you have the proper CD/media extensions enabled. Also, if you could access the CD from the Mac OS X desktop and drag it to the trash to eject it by using Exposé or using control-click/eject or Right Click/eject to get it ejected.
    There may be some preferences you need to apply for this game or special set up settings that need to be altered.
    good luck!
    -Mike

  • Single Chart Series with multiple color data points

    I am developing an application using the flex chart component
    and I am binding data to 3 different chart series which is pretty
    intense processing. I was wondering can I use only one chart series
    and when I bind the data points just to change the color per data
    point which meet certain criteria?
    Here one method from my application where I am dynamically
    binding data to my series.
    private function loadSeries(data:XMLList, yAxis:String):void
    seriesAdd.yField = yAxis;
    seriesAdd.xField = "Date";
    //seriesDelete.yField = yAxis;
    //seriesDelete.xField = "Date";
    //seriesChange.yField = yAxis;
    //seriesChange.xField = "Date";
    seriesAdd.dataProvider = data.Trade.(A == 'Add');
    seriesAdd.//Can I change the color per each data point if I
    have multiple data sets?
    //seriesDelete.dataProvider = data.Trade.(A == 'Delete');
    //seriesChange.dataProvider = data.Trade.(A == 'Change');
    Thank you

    I think I found something to get me started:
    http://livedocs.adobe.com/flex/3/html/help.html?content=charts_displayingdata_09.html
    My next question is if I have the following function to fill
    my data points:\
    private function myFillFunction(element:ChartItem,
    index:Number):IFill {
    var c:SolidColor = new SolidColor(0x00CC00);
    var item:ColumnSeriesItem = ColumnSeriesItem(element);
    var sales:Number = Number(item.yValue);
    if (sales >= 50000) {
    return c;
    } else {
    // They have not met their goal.
    c.color = 0xFF0000;
    return c;
    How can I access values that pertain to the specific chart
    item, but are not plotted on the x and y axis. Something similar to
    the checking on the above function, but check if value that is not
    plotted but still exists on the data provider.
    Thanks in advance.

  • Transitions - setting start/end points for a Title

    Hello,
    just started using iMovie & I have 2 clips that I want to super a title over through the edit. Clip one fades to black, while clip 2 fades up from black. I would like to have a title appear as clip 1 is starting its fade, continue while clip 2 is fading up to full picture.
    When I attempt this, the title starts where I place the play head at the end of clip 1, but clip 2 does not start until the title ends. The title ends up completely over black (NOT selected)... Is the program capable of this effect?
    thanks
    Josh
    PB G4   Mac OS X (10.4.7)  

    Hi Matt,
    Glad to hear its a supported function. I have a hard cut between clip 1 & 2. The clips have fades out/in built in already & there is audio as well. I am trying to place the title over the fade out of clip 1 through the fade up in clip 2.
    And you say "Over black" is not checked when you add
    your title?
    YES! over black is unchecked.
    I did NOT use Edit>Split Video Clip at Playhead. however, after deleting the no-working effect... I see the clip was split.
    Josh

  • Last Played Data with Multiple devices

    All:
    My household has 2 iPod Classics used for playing music and they're both synced to the same iTunes library.  I've got a ton of smart playlists that are dependant on the "last played" and "last skipped" fields to keep fresh stuff in them.  Most are set to include ratings greater than 3 stars and exclude songs played or skipped in the last 3 weeks.  If I listen to a track on Monday at work and sync iPod #1 that night, it'll seem to update fine with what was played that day.  Then at some period later (say Wednesday) I'll sync my wife's iPod (#2).  The next day at work, I'll hear the songs I heard on Monday back in my playlists.
    So does the sync from iPod # 2 just flat out overwrite the existing play data from iPod #1 in iTunes even if the dates in iTunes are more recent?
    Thanks!

    Well I've found a workaround on some guy's blog page.  It's here:
    http://jimcofer.com/personal/?p=8775
    I tried this and it works for the problem I was describing above.  What I did isn't exactly what he was shooting for, but it works nonetheless.  Here's what I did:
    1.  Played a few tracks on iPod #1 to create some data.
    2.  Played about 30 seconds of a Podcast on iPod #1.
    3.  Plug in iPod #1 and sync.  Verify that play data is there by viewing all music sorted by Last Played field.
    4.  Play a few different songs on iPod #2.
    5.  Play about 30 seconds of a Podcast on iPod #2.
    6.  Plug in iPod #2 and sync.
    7.  Look at all music sorted by Last Played and note that tracks played by iPod #1 before the sync of iPod #2 are still showning the play data from a few minutes ago.
    So apparently, you have to play a non-song item for it to "close" the database or something along those lines.  Whatever.  Seems hoaky, but if that's what it takes to get my smart playlists to keep ticking, I guess I do it.

  • Timesheet formulas in numbers '09 with multiple Start/Stop columns

    Hi there you amazing people
    I am creating a timesheet which will have the date, start time, stop time but also 3/4 start/stop times for breaks.
    I would like to have formulas that allow me to enter as many or as little info as I need (sometimes there are no breaks and sometimes there will be several) and still give me total hours works in that day.
    Apoliges if my quiery isn't clear or this has been answered before, I have had a good look!

    Hi Lil,
    Numbers '09 will think for you. Start with an empty table with one Header Row and enter the headings for your work day:
    In Cell A2, enter the Start Time as 8 am (not 8am)
    In Cell B2, enter Morning Coffee as 15 m (not 15m)
    In Cell C2, Lunch is 1 h (not 1h)
    In Cell D2, Afternoon Tea is 15 m (not 15m)
    In Cell E2, Stop Time is 5 pm (not 5pm)
    Please note the spaces (for example, 8 am, not 8am) then the cells will automatically format as Date-and-Time or Duration.
    Formula in F2 (and copy down) is
    =E2-A2-B2-C2-D2
    Tip: When you enter a Time, it carries a Date with it. The Date-and-Time format in Numbers is exactly that. A Date and a Time from 1 January 1904 (the starting date that Apple uses as the base date).
    Call back if this does not help.
    Regards,
    Ian

  • Including a photo when Auto Play not clicked (Preferences Start/End)

    Captivate 8, Windows 7.
    I've included a photo to show behind the PLAY button when Auto Play is not checked. I've used this before in previous Captivate versions with great success. But now when I publish it, the photo shows up as an ugly red background. What happened to the photo? Are there photo limitations for this action?

    If the photo was a PNG it could be that the transparency setting in the graphic is causing the red background.  Try a JPG instead.

Maybe you are looking for