Hello
I want to make a site with Flash Panoramic Video(FPV). I have two questions.
1)How can I play only one time of FPV?
※This sample FPVhttp://gardengnomesoftware.com/pano2vr_ ... =timelapse is looping, too.
2)When FPV is finished, I want to goto other page (or open other swf).
One time flash panoramic video
You can do this if you embed the Panorama into a container. Then you can access the video object directly an trigger actions. I will add that information later to the Flash API wiki page,
MfG, Thomas
-
- Posts: 14
- Joined: Wed May 14, 2008 10:23 am
- Location: Chiba-central, JP
Thank you for your advice. Thomas.thomas wrote:You can do this if you embed the Panorama into a container. Then you can access the video object directly an trigger actions. I will add that information later to the Flash API wiki page,
I saw Flash API WiKi(http://gardengnomesoftware.com/wiki/Pan ... _API#Video).
And I tried it, but cannot test it because FPV did not move.
I tried is as below.
My test.fla 's first frame AS3 is here. ※It's same as API.
Code: Select all
import flash.display.*;
import flash.net.URLRequest;
import flash.events.Event;
var loader:Loader = new Loader();
var url:String = "movie.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'
vr.pano.setWindowSize(480,360);
}
// 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
I can go ahead earlier if I understand it.
-
- Posts: 14
- Joined: Wed May 14, 2008 10:23 am
- Location: Chiba-central, JP
I tried AS3 coding at last weekend.
However, it was not Flash Panorama Video(FPV) only in a Single Frame Panorama that it was displayed. .
Can you help me about that?
My AS3 is below.
However, it was not Flash Panorama Video(FPV) only in a Single Frame Panorama that it was displayed. .
Can you help me about that?
My AS3 is below.
Code: Select all
import flash.display.*;
import flash.net.URLRequest;
import flash.events.Event;
import flash.media.Video;
import flash.net.NetConnection;
import flash.net.NetStream;
//vrの読込み設定
var loader:Loader;
loader = new Loader();
var url:String = "movie.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'
vr.pano.setWindowSize(640,480);
var VideoUrl:String = "panorama.flv"
vr.attachVideo(VideoUrl);
}
// 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);
-
- Posts: 14
- Joined: Wed May 14, 2008 10:23 am
- Location: Chiba-central, JP
I tried it in any ways, but video is not displayed.
※So can't video control, too.
Will it be really possible when I use API?
If there is the person who was able to do it, please help me.
※sorry in poor English.
※So can't video control, too.
Will it be really possible when I use API?
If there is the person who was able to do it, please help me.
※sorry in poor English.
Hello,
How do I contact Karyn Laudisi, who does the Garden Gnome Software Tutorials. I would like GGS to produce a tutorial on how to create a panoramic video. I need some basic instruction on the basic steps. What programs are required? How do I load consecutive frames, or is it just as simple as loading a video file like an .avi or .mov, or etc. If I load a equirectangular image file that has been constructed from two back-to-back hemispherical fisheye image video files, can I specify that Pano2VR 2.0 auto convert it into a cylindrical or cubic format for viewing?
Thanks,
KUrtis
How do I contact Karyn Laudisi, who does the Garden Gnome Software Tutorials. I would like GGS to produce a tutorial on how to create a panoramic video. I need some basic instruction on the basic steps. What programs are required? How do I load consecutive frames, or is it just as simple as loading a video file like an .avi or .mov, or etc. If I load a equirectangular image file that has been constructed from two back-to-back hemispherical fisheye image video files, can I specify that Pano2VR 2.0 auto convert it into a cylindrical or cubic format for viewing?
Thanks,
KUrtis
There is already a (crappy) tutorial at http://gardengnomesoftware.com/tutorial.php?movid=video . Basically you need single frames that are already stitched. If you just have a video you can extract those frames with software like QuickTime or VirtualDub.KUrtis wrote:Hello,
How do I contact Karyn Laudisi, who does the Garden Gnome Software Tutorials. I would like GGS to produce a tutorial on how to create a panoramic video. I need some basic instruction on the basic steps. What programs are required? How do I load consecutive frames, or is it just as simple as loading a video file like an .avi or .mov, or etc. If I load a equirectangular image file that has been constructed from two back-to-back hemispherical fisheye image video files, can I specify that Pano2VR 2.0 auto convert it into a cylindrical or cubic format for viewing?
MfG, Thomas