PDA

View Full Version : pano1 -> movie.flv - > pano2


yalon
07-30-2007, 02:19 PM
Hi there.
I need to make a room1 -> flash movie -> room2.
When the user clicks on an hotspot at room1 it sees a video
sequence (walking video of moving between rooms) and just after the movie ends the new room2 (panorama) is loaded.
Can you please give me some guide lines?
Thanks
Yalon

sonicoliver
07-31-2007, 01:09 AM
1) load your room panorama

2) hotspot that loads an FLV full screen, cuepoint at the end of the FLV to call actionscript to load your:

3) second room panorama.

you could even change the pan and zoom to match while the FLV stream preloads... anyway, thats how I would do it, there are many ways... some ideas to play with :)

yalon
07-31-2007, 10:25 AM
Hi
Thank you for the info. I basically understand what the logic should be - I agree to everything you wrote :)
What is that I don't know is the syntax to implement it.
I'm a flash programmer (AS2) but I really a newbie with the panorama plugin..:confused:
Can you please shade some light about the syntax?
Do I need to embed the plugin inside flash? how do I run an FLV full screen after the user press an hotspot?
Thanks again.!
Yalon

jaaaab
08-02-2007, 08:10 AM
Hi,

You should give an eye to ontransitionStart ans ontransitionEnd function in FPP doc, it allows you to create your own transitions.

You could make something like this:

ontransitionStart > video is visible so hide the current pano, then play video

ontransitionEnd > video become invisible and lets place to the next pano

++

yalon
08-05-2007, 01:37 PM
I will try it.. and let you know..10x again.;)

yalon
08-14-2007, 07:08 PM
Hi
I manage to do pano1->movie.flv->pano2
If anyone needs help I will gladly supply it.
Although I have some problems of my own :D the flv file not always shown
@ online environment.

jaaaab
08-14-2007, 09:08 PM
Can we see some demo Yalon?

thx!

yalon
08-15-2007, 07:46 AM
As I wrote..for some reason the movie.flv does not shown at the online version.
I hope I can get some help from you guys - so I also add a link to the code.
If you will run it on your local machine (click the index.html file) you should see the movie.flv

online demo
http://www.taky.co.il/panoramas/

source code and images to download
http://www.taky.co.il/panoramas/code00.rar

Thanks
Yalon

jaaaab
08-20-2007, 09:35 AM
Hi Yalon!

I tested your demo both online and offline, and it doesnt work at all!

of course, you named wrong your flvplayer file into xml script: change it from myflvplayer.swf to flvplayer.swf

then it works perftectly offline, but theres still a problem while online:

the problem is the time the video is loaded, the pano is already loaded and shown.

You have to find a trick to show pano after the video is loaded (maybe with timer, or pano.visible=0, don't know if this works) or find a way to preload the video.

Cheers!