You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

nex

Beginner

  • "nex" started this thread

Posts: 5

Location: Paris

  • Send private message

1

Sunday, December 1st 2013, 9:19pm

set angle-fov on radar

Hello
everyone!

Well,
I have a problem with my plugin (radar modified), I wish I could change the
angle of the radar via an action in the xml . I have already changed the code
of the plugin, but I do not have enough power to go further.

Example
xml code :

Source code

1
2
3
4
<plugin name="map" url="map.jpg" align="center " x="0" y="0" scale=" 0" handcursor="false" zorder="100" scalechildren="true" /><plugin name="mapmask" url="map_mask.png" parent="map" enabled="false" />
<plugin name="radar" url="plugins/radar.swf" alturl="plugins/radar.js" parent="mapspot0" mask="mapmask" align="lefttop" edge="center" x="22.5" y="26.5" linecolor="0x000000" linewidth="0.5" scale="10.0" heading="103" headingoffset="0" fillcolor="0xff5a00" fillalpha="0.65" editmode="true" angletir="5"  />
<plugin name="buttonup" url="button.jpg" align="center" x="0" y="0" handcursor="false" zorder="110" ondown="set (plugin[radar].angletir,+0.2);" onup="set(plugin[radar].angletir,0); "/>
<plugin name="buttonup" url="button.jpg" align="center" x="0" y="0" handcursor="false" zorder="110" ondown="set (plugin[radar].angletir,-0.2);" onup="set(plugin[radar].angletir,0); "/>



And
here is the file radar.as
link : closed


Should be able to change the "number" that this is line 246 (var angletir :Number = 8 ;)

For a long time I'm looking for a solution, but nothing up here...
I really hope you can give me your help!

This post has been edited 1 times, last edit by "nex" (Dec 3rd 2013, 12:40pm)


Similar threads