problem with API. Please help.

Specific Q&A about the new Flash export
Locked
filepark
Posts: 8
Joined: Mon Oct 05, 2009 4:45 am

problem with API. Please help.

Post by filepark » Mon Oct 05, 2009 4:53 am

Hi.
I have made flash panorama with Pano2QTVR 1.6.6 and container in Adobe Flash CS4. I have just copied code from http://gardengnomesoftware.com/wiki/Pano2VR_-_Flash_API and add couple strings:

Code: Select all

var vr:MovieClip = _root.createEmptyMovieClip("vr", 1);
vr._lockroot = true;
var myLoader = new MovieClipLoader();
var myListener = new Object();
myListener.onLoadInit = function() {
	vr.pano.setTilt(180);			
	vr.pano.moveTo(100,100,100,1000);
	trace(vr.pano.getTilt());	
};
myLoader.addListener(myListener);
myLoader.loadClip("zzz.swf",vr); 
The trace returns the changed value of tilt correctly, but the actual tilt does not change. There is no panorama movement too. Please help.
Attachments
test.zip
Zip archive includes fla (CS4) and swf panorama
(1.01 MiB) Downloaded 260 times

Locked

Who is online

Users browsing this forum: No registered users and 4 guests