FORUMS: list search recent posts

flv reflection

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
gschmidt
flv reflection
on Jan 17, 2007 at 11:56:20 pm

I have a flv movie with dimensions 836 pixels x 336 pixels playing with a reflection. The flv player is contained within a MovieClip (vidwdrv). The reflection actionscript code is:

import flash.display.BitmapData;

var bmd:BitmapData = new BitmapData(vidwdrv._width,vidwdrv._height);
ref.attachBitmap(bmd,1);

ref._yscale = -100;
ref._y += ref._height;

this.onEnterFrame = function() {
bmd.draw(vidwdrv);
}

I have a buffer actionscript in place within the vidwdrv MovieClip that looks like this:

wdrv.contentPath = "http://www.mattabron.com/clients/BIC/BIC2007/flv/BIC2007_WDRV_1-300.flv";
wdrv.bufferTime = 40;
this.onEnterFrame = function(){
if(wdrv.buffering){
bufferClip2._visible = true;
}else{
bufferClip2._visible = false;
}
}

The problem that I am encountering is that when the video plays with the reflection, frames are dropped and the video stutters a bit, despite the buffer that I have in place. As a comparison, I have the same flv playing without the reflection and it plays smoothly.

Any advice on how to make the flv with the reflection play more smoothly?
Online examples here: http://www.mattabron.com/bic2007/chicago_ex.html
The WDRV link shows the flv with the reflection.
The WILV link shows the same flv without the reflection.

Any ideas?



Return to posts index

thumbslinger
Re: flv reflection
on Jan 29, 2007 at 4:29:19 pm

Though it will be bigger, why not just copy the video, flip it vertically and take down the opacity within AE or Premier or something and export it all as one video?

Or, just flip and take down opacity of a duplicate file, render that out as an flv and place them both on the stage at the same time... add maybe 5 frames of black before and they should stay in sync.



Return to posts index

brian wiltshire
Re: flv reflection
on Dec 12, 2008 at 11:13:29 am

You can find source here for exactly what you want to do. Check out the tutorial - http://www.brianwiltshire.net/lab/?p=49



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]