Slider and setValue
Posted: April 9th, 2009, 2:02 pm
Hiiii
Return with a new (minus) evil script problem.
I need for my script to setValue of Slider during the execution of the script.
I want to use slider value in order to "memorized" size of some text, calculated during the script execution.
Maybe it's impossible, but i think that's i've just made some mistakes.
Thanks.
Return with a new (minus) evil script problem.
I need for my script to setValue of Slider during the execution of the script.
I want to use slider value in order to "memorized" size of some text, calculated during the script execution.
Code: Select all
NewL = Math.floor(Math.abs(myVertices[0][0]-myVertices[3][0]));
NewH = Math.floor(Math.abs(myVertices[0][1]-myVertices[1][1]));
Largeur = myText.Effects.addProperty("Paramètre glissière");
Largeur.name = "Largeur";
this solution //myText.effect("Largeur")("Curseur").value = NewL
Hauteur = myText.Effects.addProperty("Paramètre glissière");
Hauteur.name = "Hauteur";
an other technique //myText.property(1).setValue(NewH);
Thanks.