Kahlil
08-01-2002, 02:46 AM
ok this is a simple stuff that I seem I am missing.
I got two pair of text fields. One pair is input data and the other is dinamic data.
First I tried to type on one input text fields and be displayed on the dinamic fields. So far so good.
I put did code on the symbol containign the input text pair.
onClipEvent (enterFrame){
var a= _root.input.title.text;
var b= _root.input.body.text;
_root.output.writetitle.text = a;
_root.output.writebody.text = b;
}
Now the next step is that instead of being passed the data on real time. I want the data to be displayed with the click of a button.
so I took out the actual output of the variables and put it into a button like this.
on (release){
_root.output.writetitle.text = a;
_root.output.writebody.text = b;
}
This however didnt work... so I want to know why it didnt and how can I make it work.
did I miss something??
I got two pair of text fields. One pair is input data and the other is dinamic data.
First I tried to type on one input text fields and be displayed on the dinamic fields. So far so good.
I put did code on the symbol containign the input text pair.
onClipEvent (enterFrame){
var a= _root.input.title.text;
var b= _root.input.body.text;
_root.output.writetitle.text = a;
_root.output.writebody.text = b;
}
Now the next step is that instead of being passed the data on real time. I want the data to be displayed with the click of a button.
so I took out the actual output of the variables and put it into a button like this.
on (release){
_root.output.writetitle.text = a;
_root.output.writebody.text = b;
}
This however didnt work... so I want to know why it didnt and how can I make it work.
did I miss something??