View Full Version : GlassMeter customization
Is possible to:
1. make glassMeter visible or invisible like hotspots?
2. change glassMeter position?
3. change glassMeter depth?
Thanks
cheathamlane
05-08-2008, 03:14 PM
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).
zleifr
05-08-2008, 03:23 PM
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
izoneguy
05-08-2008, 04:28 PM
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??
izoneguy
05-27-2008, 02:03 PM
?
I would love to take out the trash but I cannot
log-in as moderator?
Denis??
discocandy
05-27-2008, 03:01 PM
?
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.
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.