mcmcom
10-20-2004, 06:18 PM
Hi,
Did some reading about setFocus. But I am still having issues getting it to work
I would like my ScrollPane to receive focus once my movie has loaded.
I did this during the onLoad event of my scrollPane
Selection.setFocus(this);
however it doesn't work. Now I read about some problems and thought it MAY be the fact that the selection code runs before the pane is completely loaded but what i wanted to know is if I have a syntax problem or if it could be timing? Is the above code snippet correct? Or do I have to enclose THIS in quotes?
thanks
McM
Did some reading about setFocus. But I am still having issues getting it to work
I would like my ScrollPane to receive focus once my movie has loaded.
I did this during the onLoad event of my scrollPane
Selection.setFocus(this);
however it doesn't work. Now I read about some problems and thought it MAY be the fact that the selection code runs before the pane is completely loaded but what i wanted to know is if I have a syntax problem or if it could be timing? Is the above code snippet correct? Or do I have to enclose THIS in quotes?
thanks
McM