Hi there,
just bought this program and i'm trying to inport the flash file i created in it into flash 8, but it just comes up with a little red box that flashes up then disapears, can i import this into flash? and if so how do i make it visible. i want to do this so i can make my own personal window to house the VT.
i saw the flash example on the website, i want to do something similar and customise the VT in flash is this possible
any help would be very much appreciated
thanks
Imorting into flash
Hi cudney,
you can find a source code of a simple VR-Tour at http://www.pano2qtvr.com/sample/flashtour/ .
Download it and change the path of the panorama-.swf´s to your .swf´s!
Taht´s it, or use this:
I hope it will help you...
you can find a source code of a simple VR-Tour at http://www.pano2qtvr.com/sample/flashtour/ .
Download it and change the path of the panorama-.swf´s to your .swf´s!
Taht´s it, or use this:
Code: Select all
var vr_full:MovieClip = _root.createEmptyMovieClip("vr_full", 600);
function loadFullscreen() {
//vr_full._lockroot = true;
// Create a Movieclip loader
var myLoader_full = new MovieClipLoader();
var myListener_full = new Object();
//create Listener--------------------------------------------
myListener_full.onLoadStart = function() {
// Set the dimentions and position of the pano
vr_full.window_width = 300;
vr_full.window_height = 200;
vr_full.window_x = 300;
vr_full.window_y = 200;
// change autorotation
vr_full.autorotate = 0;
vr_full.autorotate_delay = 20;
//set pan before you can see it
vr_full.pan = 50
};
myListener_full.onLoadProgress = function() {
};
myListener_full.onLoadComplete = function() {
};
myListener_full.onLoadInit = function() {
};
// add the Listener
myLoader_full.addListener(myListener_full);
// ... and finally load the pano!
myLoader_full.loadClip("panos_swf/12001_3600.swf", vr_full);
}
Ah thanks a lot, i'm a bit of a beginner with flash i'm used to just putting goto and stop and play lol. what i am trying to do is embed the flash movies into the final publish so i can just have a single file, is this possible or is the only way to load external files?
sorry for my ignorance and thanks so much for taking the time to write back
sorry for my ignorance and thanks so much for taking the time to write back
Currently it only works with external files.
MfG, Thomas
Excuse me for my english
I have tried to load a panoramic flash movie into a empty movie using this part of code on the first frame:
Look the result here:
http://www.realvision360.com/flashpano/carga.htm
the problem is that the loaded panoramic movie (p.swf) fits fully on the main movie windows and doesnt size to 320 x 240 pixel, as the code sets on the lines:
Can anybody tell me what part of code is wrong? why this could be happening??
Thanks folks
I have tried to load a panoramic flash movie into a empty movie using this part of code on the first frame:
Code: Select all
// Create container movieclip
var vr:MovieClip = _root.createEmptyMovieClip("vr", 1);
// prevent access to "real" root
vr._lockroot=true;
// Create a Movieclip loader
var myLoader = new MovieClipLoader();
var myListener = new Object();
myListener.onLoadStart = function () {
// Set the dimentions and position of the pano
vr.window_width=320;
vr.window_height=240;
vr.window_x=100;
vr.window_y=10;
// change initial viewing parameters
vr.pan=160;
vr.tilt=10;
// change autorotation
vr.autorotate=5;
vr.autorotate_delay=20;
};
// add the Listener
myLoader.addListener(myListener);
// ... and finally load the pano!
myLoader.loadClip("p.swf", vr);
http://www.realvision360.com/flashpano/carga.htm
the problem is that the loaded panoramic movie (p.swf) fits fully on the main movie windows and doesnt size to 320 x 240 pixel, as the code sets on the lines:
Code: Select all
vr.window_width=320;
vr.window_height=240;
Can anybody tell me what part of code is wrong? why this could be happening??
Thanks folks
rv360 wrote:Excuse me for my english
if you want to talk to the pano you need to use the following code:
if you create the movie clip upon which the pano is riding in the first frame of your flash movie then use
_root.vr.pano.window_width = 320;
thus all commands are directed to the pano which always has the same name which is pano. if you load another pano onto another movieClip like vr_2 then you talk to the pano with vr_2.pano.window_width = 320 and so on.
con gusto
baoputzi
I have tried to load a panoramic flash movie into a empty movie using this part of code on the first frame:
Look the result here:Code: Select all
// Create container movieclip var vr:MovieClip = _root.createEmptyMovieClip("vr", 1); // prevent access to "real" root vr._lockroot=true; // Create a Movieclip loader var myLoader = new MovieClipLoader(); var myListener = new Object(); myListener.onLoadStart = function () { // Set the dimentions and position of the pano vr.window_width=320; vr.window_height=240; vr.window_x=100; vr.window_y=10; // change initial viewing parameters vr.pan=160; vr.tilt=10; // change autorotation vr.autorotate=5; vr.autorotate_delay=20; }; // add the Listener myLoader.addListener(myListener); // ... and finally load the pano! myLoader.loadClip("p.swf", vr);
http://www.realvision360.com/flashpano/carga.htm
the problem is that the loaded panoramic movie (p.swf) fits fully on the main movie windows and doesnt size to 320 x 240 pixel, as the code sets on the lines:
Code: Select all
vr.window_width=320; vr.window_height=240;
Can anybody tell me what part of code is wrong? why this could be happening??
Thanks folks
Thanks baoputzy
I have tried many ways but doesnt works.
Here is the URL for download the .fla file.
http://www.realvision360.com/flashpano/example.zip
Can you download and make the corrections.. please. Send me the final file to: ideartegrafico@gmail.com
Thanks a lot
I have tried many ways but doesnt works.
Here is the URL for download the .fla file.
http://www.realvision360.com/flashpano/example.zip
Can you download and make the corrections.. please. Send me the final file to: ideartegrafico@gmail.com
Thanks a lot