Navigation example

There are answers to your most asking questions:
1. Flash Panorama Player 2.0 is not released yet.
2. You will get it to your e-mail.
3. Soon.

Please, be patient. I need to finish some documentation before I can distribute the new player version package. You are unable to use new player features without documentation anyway. :)

Meanwhile you can test a new one example:
http://flashpanoramas.com/player/test/salute/

This is a good demonstration how to build a custom navigation bar (I will place it into the player package as a template). Forget about hardcoded or build-in navigation bars. Now you can create your own unique navigation controls to make your panorama applications eminent.

As usual, you do not need to know Flash to work with this application. Any graphic editor and a simple text editor are enough to create a navigation bar of your dream. :)

Click “read more” to see this panorama source. It should be understandable for you if are working with Hotspots plugin already.


pano.xml file:


<?xml version = '1.0'?>
<params>

	<param name="panoName" value="salut_p" />
	<param name="loaderText" value="" />
	<param name="loaderBackColor" value="#000000" />
	<param name="loaderConsecutive" value="1" />

	<param name="panHome" value="-155" />
	<param name="tiltHome" value="10" />
	<param name="zoomHome" value="0.9" />

	<param name="layer_10" value="loadMeter.swf" />
	<param name="layer_2" value="hot_spots.swf" />
	<param name="layer_5" value="autorotator.swf" />

</params>

spots.xml file:


<?xml version = '1.0'?>

<hotspots onStart="change:0,autorotator,0;loadPano:salut.swf,alpha,400">

	<spot id="info" static="1" staticAlign="BC" staticX="-300" staticY="-50"  

url="black_i.png" alpha="0.7"

	onOver="change:-,alpha,1,200;"
	onOut="change:-,alpha,0.7,1000;"
	onPress="changeRel:-,staticX,1;	changeRel:-,staticY,2;"
	onRelease="changeRel:-,staticX,-1; changeRel:-,staticY,-2;"
	onClick="changeRel:infoscreen,visible"

	/>

	<spot id="left" static="1" staticAlign="BC" staticX="-225" staticY="-50"  

url="black_l.png" alpha="0.7" blockMouse="1"

	onOver="change:-,alpha,1,200;"
	onOut="change:-,alpha,0.7,1000;"
	onPress="changeRel:-,staticX,1;	changeRel:-,staticY,2; change:0,panKey,-0.5,500"
	onRelease="changeRel:-,staticX,-1; changeRel:-,staticY,-2; change:0,panKey,0"

	/>

	<spot id="right" static="1" staticAlign="BC" staticX="-150" staticY="-50"  

url="black_r.png" alpha="0.7" blockMouse="1"

	onOver="change:-,alpha,1,200;"
	onOut="change:-,alpha,0.7,1000;"
	onPress="changeRel:-,staticX,1;	changeRel:-,staticY,2; change:0,panKey,0.5,500"
	onRelease="changeRel:-,staticX,-1; changeRel:-,staticY,-2; change:0,panKey,0"

	/>

	<spot id="down" static="1" staticAlign="BC" staticX="-75" staticY="-50"  

url="black_d.png" alpha="0.7" blockMouse="1"

	onOver="change:-,alpha,1,200;"
	onOut="change:-,alpha,0.7,1000;"
	onPress="changeRel:-,staticX,1;	changeRel:-,staticY,2; change:0,tiltKey,-0.5,500"
	onRelease="changeRel:-,staticX,-1; changeRel:-,staticY,-2; change:0,tiltKey,0"

	/>

	<spot id="up" static="1" staticAlign="BC" staticX="0" staticY="-50"  

url="black_u.png" alpha="0.7" blockMouse="1"

	onOver="change:-,alpha,1,200;"
	onOut="change:-,alpha,0.7,1000;"
	onPress="changeRel:-,staticX,1;	changeRel:-,staticY,2; change:0,tiltKey,0.5,500"
	onRelease="changeRel:-,staticX,-1; changeRel:-,staticY,-2; change:0,tiltKey,0"

	/>

	<spot id="zoomOut" static="1" staticAlign="BC" staticX="75" staticY="-50"  

url="black_m.png" alpha="0.7" blockMouse="1"

	onOver="change:-,alpha,1,200;"
	onOut="change:-,alpha,0.7,1000;"
	onPress="changeRel:-,staticX,1;	changeRel:-,staticY,2; change:0,zoomKey,-0.5,500"
	onRelease="changeRel:-,staticX,-1; changeRel:-,staticY,-2; change:0,zoomKey,0"

	/>

	<spot id="zoomIn" static="1" staticAlign="BC" staticX="150" staticY="-50"  

url="black_p.png" alpha="0.7" blockMouse="1"

	onOver="change:-,alpha,1,200;"
	onOut="change:-,alpha,0.7,1000;"
	onPress="changeRel:-,staticX,1;	changeRel:-,staticY,2; change:0,zoomKey,0.5,500"
	onRelease="changeRel:-,staticX,-1; changeRel:-,staticY,-2; change:0,zoomKey,0"

	/>

	<spot id="auto" static="1" staticAlign="BC" staticX="225" staticY="-50"  

url="black_a.png" alpha="0.7" blockMouse="1"

	onOver="change:-,alpha,1,200;"
	onOut="change:-,alpha,0.7,1000;"
	onPress="changeRel:-,staticX,1;	changeRel:-,staticY,2;"
	onRelease="changeRel:-,staticX,-1; changeRel:-,staticY,-2;"
	

onClick="changeRel:0,autorotator;change:0,pan_v,0;change:0,tilt_v,0;change:0,zoom_v,0;"

	/>

	<spot id="full" static="1" staticAlign="BC" staticX="300" staticY="-50"  

url="black_f.png" alpha="0.7"

	onOver="change:-,alpha,1,200;"
	onOut="change:-,alpha,0.7,1000;"
	onPress="changeRel:-,staticX,1;	changeRel:-,staticY,2;"
	onRelease="changeRel:-,staticX,-1; changeRel:-,staticY,-2;"
	onClick="fullscreen:http://flashpanoramas.com/player/test/salut/"

	/>

	<spot id="infoscreen" url="logoInfo.png" static="1" visible="0" onClick="change:

-,visible,0"/>


</hotspots>

This entry was posted on Monday, February 5th, 2007 at 2:10 am and is filed under Flash Panorama Player, Panoramas. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

13 Comments so far

  1. Things are looking better and I like it! ;)
    There is a lot of “code” to write for the hotspots plugin… soon I think it will be required to have a visual tool that will help us to generate automatically the code for this plugin.

    What about the partial panos? I left a message on the forum but didn’t get a reply yet. I think it’s very important to have support for partial panos, I mean to be able to restrain the pan and tild within a certain range.
    I have some partial panos on my blog and look strange without those limits…

    Keep up the good work! :)

  2. Please, Please, Please, Please, Please, Please, Please, Please, Please, Please, Please, Please, Please, Please, Please, Please, hurry up. lol

    Loos fantastic Denis

  3. Hey there:

    Just checking in!

    Any updates as to the next update…? :)

    Thanks!

    Patrick

  4. Patience is a virtue (i think)… hehehe

    When is the new version due?

  5. I am waiting, waitung and waiting……..

  6. Hi Denis :-) Any news?

  7. Say, in Saturday :)

  8. Sometimes it’s really that simple, isn’t it? I feel a little stupid for not thinking of this myself/earlier, though.

  9. Marek . . .
    Those are really cool panos of rocks, snow, and sky (and a few people). I loaded them all at once and that slowed the fourth one down considerably. (I need more machine . . . ha!) Really beautiful choice of subjects and great picture quality.

  10. strongzz I was recommended this blog by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my difficulty. You are wonderful! Thanks!

  11. I like what you guys are up too. This kind of clever work and coverage! Keep up the fantastic works guys I’ve added you guys to blogroll.

Have your say

Fields in bold are required. Email addresses are never published or distributed.

Some HTML code is allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
URIs must be fully qualified (eg: http://www.domainname.com) and all tags must be properly closed.

Line breaks and paragraphs are automatically converted.

Please keep comments relevant. Off-topic, offensive or inappropriate comments may be edited or removed.