Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 05-31-2008, 09:13 PM
djsegler djsegler is offline
Member
 
Join Date: Apr 2008
Posts: 67
Downloads: 0
Uploads: 0
Default Hotspot next to pano??

Is there a way to place a hotspot object next to the pano image instead of on top of it?

It would be nice to be able to set the size of the pano portion within the flash movie such that the hotspot could be loaded next to it...

I've been trying to figure out how this might be possible if I use the embedPano technique. Since the hotspots are applicable only to the pano, then any hotspots have to be located within the pano...

I'm ultimately wanting to have a "map" that has different highlights based on the present hotspots that are visible from mouseover within the pano... If I run my mouse over something in the pano and let's say it glows, I would want an equivalent spot to glow on the map. I'd also like to be able to click on either one of the equivalent spots to make the pano do something...

This must be possible - I'm just able to figure our all of the pieces just yet...

Any ideas?
Reply With Quote
  #2  
Old 06-03-2008, 01:25 PM
djsegler djsegler is offline
Member
 
Join Date: Apr 2008
Posts: 67
Downloads: 0
Uploads: 0
Default How to talk or listen to hotpots?

Gotta repost...

I have my pano sucked into flash using the embedPano template and all is well with that... I can make a hotspot do something as a result of a click action in my main movie, but I'm having difficulty making it do something with mouseOver events.

I'm also not getting anything to happen going the other way - having a hotspot mouseOver action from within the pano get heard by the main movie so it can react accordingly...

I have listeners set up as follows:

spotObject = panorama.externals.hotspots.hotspots_obj.getSpot(" spot_id");
spotObject.addEventListener(MouseEvent.MOUSE_OVER, onOverFunction);

function onOverFunction(event:MouseEvent) {
//do something here //
// change visibility of a movieclip in the main movie, etc//
}

What am I doing wrong?

How do I talk to and listen to hotspots!!??
Reply With Quote
  #3  
Old 06-03-2008, 01:44 PM
AxeCrazy AxeCrazy is offline
Member
 
Join Date: May 2008
Posts: 45
Downloads: 0
Uploads: 0
Default

you can define these actions within the XML of the pano
eg.
<box url="box.jpg" onOver="rotation+=90,800" onOut="rotation-=90,800" /> (rotates the hotspot by 90 degrees for every mouse roll over, and back on roll out, is 800 milliseconds)

All is explained in the hotspot tutorial
Reply With Quote
  #4  
Old 06-03-2008, 01:53 PM
djsegler djsegler is offline
Member
 
Join Date: Apr 2008
Posts: 67
Downloads: 0
Uploads: 0
Default

You're missing my question.

I can use XML all day to do stuff... per the tutorial. That's not what I'm asking for help for...

I need FLASH to communicate to the hotspots since FPP is now embedded into a flash movie.

That is the only way that I can have the hotspot actions interact with other flash components that are OUTSIDE of FPP.
Reply With Quote
  #5  
Old 06-03-2008, 04:22 PM
AxeCrazy AxeCrazy is offline
Member
 
Join Date: May 2008
Posts: 45
Downloads: 0
Uploads: 0
Default

a, ok
I use the code as available in the embedPano example.
works with me...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 04:36 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.