پخش flv در حالت باقی ماندن در 1 فریم

mohammad.sub7

کاربر فعال
سلام . این کد باعث میشه فیلم ما تا زمانیکه به اتمام برسه تو 1 فریم بمونه :

PHP:
property pFLVsprite -- the FLV sprite channel
property pFLVduration -- duration of the FLV cast member
property pWhichFrame -- the frame or marker to go to when the FLV movie plays to the end
--------------------------------------------------------------
--------------------------------------------------------------
on beginSprite me
pFLVsprite = sprite(me.spriteNum)
pFLVduration = pFLVsprite.duration
end
on getPropertyDescriptionList me
list = []
addProp list, #pWhichFrame, [#comment "Marker to go to when video is finished playing", #format #marker, #default ""]
return list
end
on exitFrame me
if sprite(pFLVsprite).currentTime < pFLVduration then
-- stay on the current frame
_movie.go(_movie.frame)
else
-- go to specified frame
_movie.go(pWhichFrame)
end if
end
 

جدیدترین ارسال ها

بالا