Hi  i'm lloydie and i'm new to director and have director 7 & using lingo.
I need to knoew how to play in a single frame in the score & and then lave the frame 
once it has played all in the one single frame and then going onto play the next 
frames..this includes sound as well that i need to loop.

What lingo code would you use thanks out there.

>>> Rodrigo Peres <[EMAIL PROTECTED]> 04/23/01 05:21pm >>>
Hi list,

I'm trying for day to make the movietime changes the position of a streamed
quicktime, but it didn't work, the movie enter in "negotiating" and never
leaves. This is my code, please, what am i doing wrong?

on startmovie
  argumentos = externalParamValue("url") -- this parameters came from the
browser in this format
rtsp://200.201.138.60/mtv/sample.mov,00:00:09,00:00:34,01:09:00
  global 
gDir,gTstart,gTfinal,gTimecode,gTSConv,gTFConv,gTimecodeConv,gSomaTempo
  put item 1 of argumentos into gDir
  put item 2 of argumentos into gTstart
  put item 3 of argumentos into gTfinal
  put item 4 of argumentos into gTimecode
  put HMStoFrames(gTstart,1,0,0) into gTSConv
  put HMStoFrames(gTfinal,1,0,0) into gTFConv
  put HMStoFrames(gTimecode,1,0,0) into gTimecodeConv
put (gTSConv+gTimecodeConv) into gSomaTempo
  carrega
end

on carrega
  global 
gDir,gTstart,gTfinal,gTimecode,gTSConv,gTFConv,gTimecodeConv,gDuracao,gFlagS
tart
  caminho = string(gDir)
  member("fundo").filename = caminho
  put member("fundo").duration/60 into gDuracao
  member("nome_fita").text = gFita & RETURN & string(framesToHMS(gDuracao,
1,0,0))
  member("descricao").text = string(gDescrClip)
  gFlagStart = 1
end

on exitFrame
  global 
gDir,gTstart,gTfinal,gTimecode,gTSConv,gTFConv,gTimecodeConv,gDuracao,gFlagS
tart,gSomaTempo
  if (gFlagStart = 1) then
    if member("fundo").mediaReady = TRUE then
      sprite(4).movietime = HMStoFrames(string(gSomaTempo),60,0,0)
        sprite(4).movierate = 1
      gFlagStart = 0
    end if
  end if
  go to the frame
end

Thank's in advance

Rodrigo Peres


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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/LUJ/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/LUJ/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