PDA

View Full Version : tooltips


JacekVR
12-02-2008, 09:44 PM
Hi,

What is the best way of implementation of static tooltips invoked by distorted boxes inside the panorama?

I try to use Zephyrs tooltips.swf, starting with copying of his code: <spot id="mySpot" url"HSLabel.png" alt="tooltip text" altFont="Geneva" altSize="24" altColor="0xFF0000" altFill="0x0000FF" altStroke="0x00FF00" altAlpha="0.5"> to my xml file. I receive following error message:

Error: Error #1090: XML parser failure: element is malformed.
at Error$/throwError()
at flash.xml::XMLDocument/parseXML()
at PanoController/parseXML()
at PanoController/completeDatafile()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()

Can it depend on my png file?
regards

JacekVR
12-02-2008, 09:47 PM
of course i paste: <spot id="mySpot" url="HSLabel.png" alt="tooltip text" altFont="Geneva" altSize="24" altColor="0xFF0000" altFill="0x0000FF" altStroke="0x00FF00" altAlpha="0.5">

JacekVR
12-02-2008, 10:41 PM
Sorry again:

I do not need tooltips. I need a steady text box which fills with different texts depending on the rollover (on/out) on hotspots within the panorama. What is the best way of implementation?

Regards

discocandy
12-03-2008, 05:41 AM
Various
You can use a special flashfile that loads on a mouseover or you could use a png file with your info and with mousover come up?, slide in, or whatever transition you would like?

onOver="textbox1.visible=1;"
onOut="textbox1.visible=0;"