Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 05-08-2008, 09:00 AM
Pot Pot is offline
Member
 
Join Date: Apr 2008
Location: Italy
Posts: 30
Downloads: 0
Uploads: 0
Default GlassMeter customization

Is possible to:
1. make glassMeter visible or invisible like hotspots?
2. change glassMeter position?
3. change glassMeter depth?

Thanks
Reply With Quote
  #2  
Old 05-08-2008, 04:14 PM
cheathamlane cheathamlane is offline
Senior Member
 
Join Date: Mar 2007
Location: California, USA
Posts: 773
Downloads: 0
Uploads: 0
Default

Hi there:

1,2,3: Yes!

#1: It should appear/disappear on its own, by default, when a panorama starts/ends loading.

#2: You'll need to edit the ActionScript in glassMeter.fla. I believe that it defaults to centering on the screen (a la stagewidth).

#3: Change the layer it is on, in the parameters ("layer_10=", "layer_150=" and so on).
__________________
Patrick
http://patrickcheatham.com
Reply With Quote
  #3  
Old 05-08-2008, 04:23 PM
zleifr's Avatar
zleifr zleifr is offline
Senior Member
 
Join Date: May 2007
Posts: 609
Downloads: 0
Uploads: 0
Default

Yes, yes, and furthermore, yes. But you might not like how it has to be done.

3.: It depends on how precise of control you want over the depth. You can change the respective depths of the plugins by changing their layer order: layer_1 is underneath layer_2, and so on. However, if you want to put one hotspot on top of the glassmeter and another below it, you are out of luck, because all the hotspots are on ONE layer, either all above, or all below.

2. You have to edit and recompile the actionscript, for which purpose the .fla source file is provided in the distribution. It is a really simple change though. Look for the lines that says something like, but maybe not exactly, this: meter.x = stage.stageWidth/2 and meter.y = stage.stageHeight/2, and edit them. Then export (compile) the file.

1. This one is the most complicated. You will have to add a setAttribute function to glassmeter, that will be called by hotspots.swf with XML like this: external.glassmeter.visible=0. AND then in the setAttribute function you will have to put something like:
if (name == "visible" && value == "0"){meter.visible=false}
if (name == "visible" && value == "1"){meter.visible=true}

Nota Bene: all of the above code is pseudo-code; it illustrates the logic, and might or might have accurate variable names, etc.

Zephyr
__________________
Zephyr Renner - AdvancedVirtualTours.com - zleifr @t yahoo

Improving the panoramic one mighty fine plug-in at a time: http://www.flashpanos.com
Reply With Quote
  #4  
Old 05-08-2008, 05:28 PM
izoneguy izoneguy is offline
Moderator
 
Join Date: Sep 2007
Posts: 273
Downloads: 0
Uploads: 0
Default

So can someone whip up say about 10 different versions and looks
that we could pay for??
How much would someone charge me to do a custom one??
Reply With Quote
  #5  
Old 05-27-2008, 03:03 PM
izoneguy izoneguy is offline
Moderator
 
Join Date: Sep 2007
Posts: 273
Downloads: 0
Uploads: 0
Default

?
I would love to take out the trash but I cannot
log-in as moderator?
Denis??
Reply With Quote
  #6  
Old 05-27-2008, 04:01 PM
discocandy's Avatar
discocandy discocandy is offline
Administrator
 
Join Date: Jan 2008
Location: North of Holland near the city of Hoorn
Posts: 376
Downloads: 0
Uploads: 0
Send a message via MSN to discocandy Send a message via Skype™ to discocandy
Default

Quote:
Originally Posted by izoneguy View Post
?
I would love to take out the trash but I cannot
log-in as moderator?
Denis??

no moderator can. I also asked jaaaab and Denis.

Denis did some work on the forum and will update to a new verion this week.
__________________
We are here on Earth to do good to others. What the others are here for, I don't know. Just look around 360 and see a beautiful world
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 10:15 AM.


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