PDA

View Full Version : Scripting Help


Riksruin
24th October 2001, 12:03
Hi there people,

im having a little trouble with a script on my blue orb skin,

what im trying to do it have a script that allows me to swap controls over,

i have a display near the top that contains the thinger volume slider and vis, with a button either side, i want to have the 2 buttons showing at all times, and when the thinger is enabled to have them move the thinger icons, and when the volume/vis is showing to have them control the volume, this script worked perfectly in alpha 666 and 667,

the way it makes the buttons swap functions is by having them loaded 2 times in the xml and showing and hiding them.

the script compiles perfectly, and then when i try to load my skin wa3 crashes, what am i doing wrong?

i have attached the skin to this post the script is thingertoggle.m in the scripts folder.

YtseJam
24th October 2001, 12:20
Uhh... You atteched nothing... :)

Riksruin
24th October 2001, 12:33
the file was too big for attach, get it here, http://www.mike17.btinternet.co.uk/blue_orb_6.zip

Riksruin
24th October 2001, 20:48
i found out what was wrong, .show() and .hide() have stopped working with the new beta, thats why my skin crashed on startup, to fix it i have placed a black layer infront of the thinger which i use show and hide on

Hollow
30th October 2001, 03:01
slightly off topic but how does one script for winamp3 does it have to be a maki file? or is that something else. i am incredible ignorant so feel free to insult me to no end out this.

Lucas
30th October 2001, 03:10
Originally posted by --Rikki--
i found out what was wrong, .show() and .hide() have stopped working with the new beta

What do you mean? I'm using .show() and .hide() with Probe and it works fine with beta 1.

-L

Naamloos
30th October 2001, 05:27
It doesnt work on the VIS

Riksruin
1st November 2001, 19:15
Originally posted by Lucas


What do you mean? I'm using .show() and .hide() with Probe and it works fine with beta 1.

-L

try using show and hide on a component bucket, the script compiles but then when the skin is loaded it crashes studio, sorry for not mentioning that it was the component bucket that caused it,

not the VIS,

Naamloos
2nd November 2001, 06:06
awww man, I have the same problems with the VIS :(

lunarboy1
6th November 2001, 22:44
I also found that some of Rhino's scripts kinda screw up your skin a bit with beta1. Can be fixed with simples .hide() functions though.