PDA

View Full Version : Easy question (again)



Idan
April 3rd, 2003, 05:59 AM
:cowboy:
ok, I make input text and gave him the var "Roc"
I created box and give him the name "box"

Now, I made button with the action:

on (release) {
setProperty("box", _rotation, "???");
}

What I need to write instead of the ??? for get the value of the input text?

thanks! :battery:

and sorry about my english :A+:

kode
April 3rd, 2003, 08:17 AM
try this ;)

on (release) {
_parent.box._rotation = _parent.Roc;
}

Idan
April 3rd, 2003, 08:30 AM
thanks but...
You check it's work?
because it doesnt work to me...

kode
April 3rd, 2003, 08:34 AM
nope... i didn't :P
it should work though :-\

is the instance name of the movie clip box correct?

kode
April 3rd, 2003, 08:41 AM
yup... it works. ;)

Idan
April 3rd, 2003, 08:45 AM
thanks...
But why it isnt work in my file?

kode
April 3rd, 2003, 08:55 AM
stupid addressing from buttons... :hair:
that's why i always put all my scripts in the timeline :P

use this one ;)

on (release) {
box._rotation = roc;
}

Idan
April 3rd, 2003, 08:59 AM
K, thanks you very much!

kode
April 3rd, 2003, 09:00 AM
no problem ;)