> Is it posible to scale Avi-Movies like Quicktime?
Just use the rect property of the sprite. I�ve made a behavior for making
the video like the stage size on mouseUp and restoring it to its
previous size on the next click:
----------------------
property pRectOriginal
----------------------
---------------------------------------------------
on beginSprite me
--Y, ya que estamos tiene que ser rápido.
sprite(me.spriteNum).member.directToStage = TRUE
--permitir que las medidas no sea proporcionales
sprite(me.spriteNum).member.crop = FALSE
--toma el rectángulo del stage
pRectOriginal = sprite(me.spriteNum).rect
end -----------------------------------------------
---------------------------------------------------
on mouseUp me
--agrandar el video al mismo tamaño que el stage
--o restaurarlo a su tamaño y posición anteriores
--si el video tiene un tamaño distinto que el stage
if sprite(me.spriteNum).rect = pRectOriginal then
--acomodarlo en base a la ubicación del stage
offsetV = the stageTop
offsetH = the stageLeft
newRect = the stage.rect
newRect.left = the stageLeft - offsetH
newRect.right = the stageRight - offsetH
newRect.top = the stageTop - offsetV
newRect.bottom = the stageBottom - offsetV
--que sea igual que el stage
sprite(me.spriteNum).rect = newRect
updateStage
else --si el video ya está a full screen
--volverlo a su tamaño y posición originales
sprite(me.spriteNum).rect = pRectOriginal
updateStage
end if
end -------------------------------------------------
Hope that helps,
--
Agust�n Mar�a Rodr�guez
http://cablemodem.fibertel.com.ar/agustinmr/ (en construcci�n)
[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!]