At 9:37 PM +0800 10/29/02, you wrote:
 > -----Original Message-----
 From: [EMAIL PROTECTED]
 [mailto:lingo-l-admin@;mail4.fcgnetworks.net]On Behalf Of Fraser Campbell
 Sent: Tuesday, 29 October 2002 9:03 PM
 To: [EMAIL PROTECTED]
 Subject: <lingo-l> Quicktime Thumbnails

 Any ideas as to how to grab the first frame of a quicktime movie in a
 projector. Basically I want to create quicktime thumbnail images
 on the fly
Have you tried putting the quicktime into a miaw (same size as quicktime and
set to be miles off stage) then grab the image of the miaw stage?
Not sure if this will have implications on performance though as I think you
will need the quicktime set to be not DTS.
The trick above definitely works.
Here's what I've got in my MIAW to do it:

----------------------------------------
on prepareMovie
  offset = rect(-1000, -1000, -1000, -1000)
  (the activeWindow).rect = member("qt").rect + offset
  member("qt").directToStage = 0
  member("qt").pausedAtStart = 1
end

on returnImage pathFileName, whatTime
  if whatTime = VOID then
    whatTime = 0
  else
    if whatTime = "d" then
      sprite(1).movieTime = member(1).duration
    else
      sprite(1).movieTime = whatTime
    end if
    updateStage
  end if
  return (the activeWindow).image
end
----------------------------------------------

just call it from your main stage using something like this:
(I have this code within a movie called "qt_image.dir")

MIAW = window "MIAW"
MIAW.filename = (the moviePath) & "qt_Image.dir"
tell MIAW
  qtImage = getImage(pathFileNameOfTheQT)
end tell

you can then reduce that image to thumbnail size in your main movie

hth

-Buzz

My other thought is, if you know in advance what video's there are to choose
from, then simply grab images from them in authoring, store them and call as
needed.
Hope this helps

Brad


[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to