Hello there,
I just started playing with scripting and here is a question i got.
I got 1 button.
A movie with containts 3 graphics , graph1 , graph2 , graph3
Each graphic contains a Dynamic Text field.
The var of that field within graph1 = text1, graph2 = text2 etc.
On release should put the text “test” in each of the textfields
and should play the whole movie wich contains the graphics with the textfields.
this is the code i made
on (release) {
set ("_root.movie.graph1.text1", test);
set ("_root.movie.graph2.text2", test);
set ("_root.movie.graph3.text3", test);
movie.play();
}
Nothing happends.
I know its verry basic but im trying to learn the basic scripting.
Did almost all of the beginner turtorials but still i cant fix this.
When this works i wanna make a menu.
When you realese a button a little movie starts wich contains the name of the section wich was choosen.
The movie will be the same for every button but the text must be differend.
Could do this with tweening but i wanna learn scripting
also did this.
tryed to most basic thing
on ( release) {
_root.text4="test"; }
just 1 button and 1 text field works fine.
As soon as i put the text field into a graphic/movie ( graph4 ) it doesn work.
on ( release) {
_root.graph4.text4="test"; }
btw , i got flash5.
well , gonna try some more.
Clemens