TheToonimator
12-21-2002, 02:06 PM
Ok, so I have a movie clip on the stage and inside the movie clip is a button. I have a text field on the stage, and its an input text field called
name
I go inside the mc to the button right click it and click actions then I click actions>set variable (becuase I like to use the normal mode, not expert mode). I set the variable to
_root.name
I set the value by click in the "value" box then i click functions>getProperty.
Well I go on and my code looks like this:
on(release) {
_root.name = "getProperty ( target, property)";
}
So I change it to look like:
on(release) {
_root.name = "getProperty ( _target, _name)";
}
So I test my movie, and I click the button and what shows up in the text field is:
getProperty ( _target, _name)
So I switch to expert mode and delete the quotations before getProperty and after the ) and what shows up in the text field when I test the movie:
The instance name of the movie clip
So I was wondering if there was a way around that, without swithcing back and forth between normal mode and expert mode or, should I try to do all my work in expert mode?
name
I go inside the mc to the button right click it and click actions then I click actions>set variable (becuase I like to use the normal mode, not expert mode). I set the variable to
_root.name
I set the value by click in the "value" box then i click functions>getProperty.
Well I go on and my code looks like this:
on(release) {
_root.name = "getProperty ( target, property)";
}
So I change it to look like:
on(release) {
_root.name = "getProperty ( _target, _name)";
}
So I test my movie, and I click the button and what shows up in the text field is:
getProperty ( _target, _name)
So I switch to expert mode and delete the quotations before getProperty and after the ) and what shows up in the text field when I test the movie:
The instance name of the movie clip
So I was wondering if there was a way around that, without swithcing back and forth between normal mode and expert mode or, should I try to do all my work in expert mode?