Easy question (again)

: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+:

try this :wink:

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

thanks but…
You check it’s work?
because it doesnt work to me…

nope… i didn’t :stuck_out_tongue:
it should work though :-\

is the instance name of the movie clip box correct?

yup… it works. :wink:

thanks…
But why it isnt work in my file?

stupid addressing from buttons… :hair:
that’s why i always put all my scripts in the timeline :stuck_out_tongue:

use this one :wink:

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

K, thanks you very much!

no problem :wink: