Multiple Videostreams
i have instances of video. differ in dimension , aspect-ratio. if attache netstreams them second video displays in dimension of first video. setting video size explicit by new video (480,360) or video.width = 480; video.height = 460; not solve problem. if leave setting size second video in correec dimension display jiggered , returns wrong dimensioninfos. ideas to solve it?
if video instance name of video object, use:
function onmetadata(info:object):void {
video.width = info.width;
video.height = info.height;
}
More discussions in ActionScript 3
adobe
Comments
Post a Comment