http://www.vrhotwires.com/rtw/rtw/Bills_Movies.html
I have an example ladybug shot I'm working on. It's just a walk down a hallway to a node where I want hotspots to go left or right along a street...
all the files and movies are there...
Pano2VR - Flash 9 API
oki, now in a AS3, I try to load Flash 9.0 movies made with Pano2vr beta 6.. I try to change the window size in Pano, but the size is always the same when loaded in flash. can anyone show me the code to change the size of the pano movie, when loaded inside another flash movie (100% flash website), PS, I am using CS3.
I have tried to use the code found on this site, but I can not make it change the size.
best regards,
Sverre
I have tried to use the code found on this site, but I can not make it change the size.
best regards,
Sverre
Upps, this was a bug in beta6. Beta6a is now available that should fix this.rakkenes wrote:oki, now in a AS3, I try to load Flash 9.0 movies made with Pano2vr beta 6.. I try to change the window size in Pano, but the size is always the same when loaded in flash. can anyone show me the code to change the size of the pano movie, when loaded inside another flash movie (100% flash website), PS, I am using CS3.
I have tried to use the code found on this site, but I can not make it change the size.
MfG, Thomas
-
- Posts: 1
- Joined: Mon Sep 10, 2007 6:45 pm
Has anyone managed to integrate a Pano2VR Flash 8 or 9 pano into a Flex 3 project? I'm a bit at a loss for how to do anything beyond loading a pano (using SWFLoader component).
Very need working prototype with source files... I have already tired to experiment... overframe don't place correct position...
Last edited by hum@no.id on Mon Apr 28, 2008 2:03 pm, edited 1 time in total.
Gumir J | VR Panoramic Photographer | mobile: +77055717171 | skype: gumirj
website: gumirj.com | google.com/+gumirj | facebook.com/gumirj | twitter.com/gumirj
website: gumirj.com | google.com/+gumirj | facebook.com/gumirj | twitter.com/gumirj
-
- Posts: 2
- Joined: Fri Apr 18, 2008 5:24 pm
Hi Thomas,
I'm working with the trial version and it works fine, except that I've problems to remove pano movies. I'm using the following code to remove a pano before loading a new one:
var panoMovie:MovieClip = MovieClip(loader.content);
panoMovie.pano.cleanup();
panoramaViewer.removeChild(loader);
loader.unload();
Still it consumes more and more memory as new panos are loaded. Have I forgotten something?
Greetings,
Chris
I'm working with the trial version and it works fine, except that I've problems to remove pano movies. I'm using the following code to remove a pano before loading a new one:
var panoMovie:MovieClip = MovieClip(loader.content);
panoMovie.pano.cleanup();
panoramaViewer.removeChild(loader);
loader.unload();
Still it consumes more and more memory as new panos are loaded. Have I forgotten something?
Greetings,
Chris
it seems to be a bug in flash ...
i´ve the same problem and i have not found a answer to this yet ...
you can`t remove a movieclip completely when there are still instances like enterframe or variables reffering to it ... try this:
make one movieclip with an enterframe-command that traces "hello world" and a shape on the timeline
load this movieclip into a secounf movieclip ... "hello world" wold be traced an the shape would be visible ... now remove the movieclip ... the shape disappears, but "hello world" wold be traced longer and wouldn´t disappear ...
the unload-movie stays in the memory - you can´t see it ... there is no instance of it ... but it is there .... strange ...
here a famous article about that:
http://www.gskinner.com/blog/archives/2 ... _unlo.html
and now we are not able to solve this, cause of no skills about the flash-source-code of p2vr ... i hope for a quick solution (cause of a huge panoramaproject with over 50 high-quality panoramas and a complex framework in as3 to present this ... my client should be angry ...so I am)...
if someone finds a solution ..... pleaaaaaase post it ....
i´ve the same problem and i have not found a answer to this yet ...
you can`t remove a movieclip completely when there are still instances like enterframe or variables reffering to it ... try this:
make one movieclip with an enterframe-command that traces "hello world" and a shape on the timeline
load this movieclip into a secounf movieclip ... "hello world" wold be traced an the shape would be visible ... now remove the movieclip ... the shape disappears, but "hello world" wold be traced longer and wouldn´t disappear ...
the unload-movie stays in the memory - you can´t see it ... there is no instance of it ... but it is there .... strange ...
here a famous article about that:
http://www.gskinner.com/blog/archives/2 ... _unlo.html
and now we are not able to solve this, cause of no skills about the flash-source-code of p2vr ... i hope for a quick solution (cause of a huge panoramaproject with over 50 high-quality panoramas and a complex framework in as3 to present this ... my client should be angry ...so I am)...
if someone finds a solution ..... pleaaaaaase post it ....
-
- Posts: 2
- Joined: Fri Apr 18, 2008 5:24 pm
grafgarf, thanx for that information and the link to the article. So, a work-around might be to load all panoramas into the library, which results in a big flash movie. In our case this is ok, since it is not a web application.
- Olivier MARTINET
- Posts: 2
- Joined: Thu Mar 06, 2008 4:15 am
- Location: France
- Contact:
Hello,
Have you ever work on the alpha of a pano? I need this and if any one know how to do...
Thank you and best regards, Olivier
Have you ever work on the alpha of a pano? I need this and if any one know how to do...
Thank you and best regards, Olivier
What do you mean? A panorama with transparent parts or change the alpha channel of the whole pano? If the later you can just change the standard Flash object vr.pano.alpha value and the whole pano should be transparent.Olivier MARTINET wrote:Hello,
Have you ever work on the alpha of a pano? I need this and if any one know how to do...
Thank you and best regards, Olivier
MfG, Thomas
-
- Posts: 14
- Joined: Wed May 14, 2008 10:23 am
- Location: Chiba-central, JP
Hello.
I want to control Flash Panoramaic Video with AS3.
So I try to load Flash 9.0 movies(movie.swf) made with Pano2vr beta 7.
And bind a Flash Panoramic video(panorama.flv) with API code.
But I cannt.Only load&play movie.swf.
I'm using the following code
var vr:MovieClip;
vr = MovieClip(loader.content);
var VideoUrl:String = "panorama.flv";
vr.attachVideo(VideoUrl);
trace(vr.pano.video.stream.time); //output No video property.
Best regards, Soupstudio
I want to control Flash Panoramaic Video with AS3.
So I try to load Flash 9.0 movies(movie.swf) made with Pano2vr beta 7.
And bind a Flash Panoramic video(panorama.flv) with API code.
But I cannt.Only load&play movie.swf.
I'm using the following code
var vr:MovieClip;
vr = MovieClip(loader.content);
var VideoUrl:String = "panorama.flv";
vr.attachVideo(VideoUrl);
trace(vr.pano.video.stream.time); //output No video property.
Best regards, Soupstudio
You have to attach the movie after init so
should do the trick.
Code: Select all
import flash.display.*;
import flash.net.URLRequest;
import flash.events.Event;
var loader:Loader;
loader = new Loader();
var url:String = "park.swf";
var urlReq:URLRequest = new URLRequest(url);
var vr:MovieClip;
// This is done after the swf is loaded.
function finished_loading (e:Event) {
}
function initHandler(event:Event):void {
trace("initHandler: " + event);
vr = MovieClip(loader.content); // cast 'DisplayObject' to 'MovieClip'
var VideoUrl:String = "panorama.flv";
vr.attachVideo(VideoUrl);
trace(vr.pano.video.stream.time); //output No video property.
}
// Tell the loader to call 'finished_loading' after the swf is loaded.
loader.contentLoaderInfo.addEventListener(flash.events.Event.COMPLETE, finished_loading);
loader.contentLoaderInfo.addEventListener(Event.INIT, initHandler);
loader.load(urlReq);
addChild(loader); // add your swf directly to the stage
MfG, Thomas
-
- Posts: 14
- Joined: Wed May 14, 2008 10:23 am
- Location: Chiba-central, JP
Thank you Thomas.thomas wrote:You have to attach the movie after init so
I try your code...but I cannt.
※And perhaps I tried the same thing before....
Needs change html souce?