View Full Version : Get panHome & tiltHome using localConnection
Aifos
04-07-2009, 02:46 PM
Hi!
iґm trying to get panhome and tilthome using LocalConnection
iґve already got panoName... but no luck with the others...
any ideasї?
what other possibility if it is not possible with localConnection?
thanks!!!!
Aifos
04-07-2009, 07:16 PM
mmm i think i did not expressed my self very clear...
iґm making a flash file... it connects to FPP using localConnection.
when i change panorama, i need to get the new panHome and tiltHome values...
something similar than what controller.swf does with panoname...
or panorama.pano.exeternals.hotspots.panoName
thanks!
LepLep
04-08-2009, 12:03 PM
are you making plugin or its embedPano style project?
Aifos
04-09-2009, 02:45 AM
Hi!
iґm making a plugin...
LepLep
04-09-2009, 10:12 AM
i find using example from flashpanos (basic plugin architecture) much easier to write and understand later than (connecting) with localConnection
then you adress your query just panorama.something and it works fine,
problem in your case could be that you try to read panHome before panorama is fully loaded and any pan is set
try to make sure that pano.swf and cube faces finished loading (i can help you with mentioned above example but not with lc)
Aifos
04-14-2009, 06:32 PM
hi! yeah! it should be easyer using the plugin architecture, but i need this plugin to behave as a spot and connected by localConnection like controller.swf
well.. i donґt think it is posible to get the panHome and tiltHome values this way.
I get panoName with a callback, same as controller.swf... but no luck with pan/tilt Home
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.