# FLV Reflection synchronization problems

**URL:** <https://forum.kirupa.com/t/flv-reflection-synchronization-problems/259228>\
**Category:** flash\
**Created:** [May 2, 2008, 9:08am UTC](https://forum.kirupa.com/t/flv-reflection-synchronization-problems/259228 "2008-05-02T09:08:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nasir1123](https://avatars.discourse-cdn.com/v4/letter/n/6bbea6/32.png) [@nasir1123](https://forum.kirupa.com/u/nasir1123)\
**Post date:** [May 2, 2008, 9:08am UTC](https://forum.kirupa.com/t/flv-reflection-synchronization-problems/259228/1 "2008-05-02T09:08:02Z")

</div>

Hi there,

I succeeded in ‘adding’ a reflection to a FLV movie by using this code:  
(as explained in the tutorial [http://www.communitymx.com/content/article.cfm?page=2&cid=1352C](http://www.communitymx.com/content/article.cfm?page=2&cid=1352C) )

```auto
mcGradient.cacheAsBitmap= true;
mcVideo.cacheAsBitmap = true;
mcVideo.setMask(mcGradient); mcGradient.cacheAsBitmap= true;
mcVideo.cacheAsBitmap = true;
mcVideo.setMask(mcGradient);

```

Where mcVideo is in instance of an empty movieclip with a FLV that gets loaded into that using an empty movie in the library.

```auto
var nc : NetConnection = new NetConnection();
nc.connect(null);
var ns : NetStream = new NetStream(nc);
myVideo.attachVideo(ns);
ns.play("Acid.flv"); 

```

My problem is as simple as frustrating: sometimes the main movie starts earlier than the reflection, or vice versa. Since the timing changes, I assume it has something to do with the streaming and the use of the CPU. Offline I find no synchronization problems though, only when its online.

I really hope someone can help me, thanks in advance.
