TV in panorama

Specific Q&A about the new Flash export
Locked
natdem
Posts: 4
Joined: Sat Aug 09, 2008 7:42 am

Sat Aug 09, 2008 7:49 am

Good afternoon! Help the beginner. I wish to create effect of the TV which shows. I added video(*.flv) on the screen (тв) in swf a file. At movement on a panorama video moves not correctly. I can not think as to move video (*.flv) so that the present TV has turned out??

Code: Select all

var vr:MovieClip = _root.createEmptyMovieClip("vr", 1);
vr._lockroot=true;
// move the upper left corner
vr._x=0;
vr._y=-20;
var myLoader = new MovieClipLoader();
var myListener = new Object();
// remove old Hotspots
	clearHotspots();
myListener.onLoadInit = function () {
  vr.pano.setWindowSize(550,440);
  vr.pano.setFov(150);
     vr.autorotate=0.5;//скорость??
  vr.autorotate_delay=140;
  /////////video
var vhs:MovieClip=_root.attachMovie("vid","my",10100);
vr.pano.addHotspot('p2q',265,3,vhs);
		/// add hotspots to a list to clear them
hotspots.push(vhs);
 connection_nc = new NetConnection();
connection_nc.connect(null);
stream_ns = new NetStream(connection_nc);
my.my_video.attachVideo(stream_ns);
stream_ns.play("video.flv");

_root.onEnterFrame=function() {
	//moved????
}

};

myLoader.addListener(myListener);
myLoader.loadClip("tv.swf", vr);
Locked