*** scrollpane component-trouble ***

okay, I have another one…

myScrollPane.getScrollPosition()

this returns an object :
if I use trace I get [object, object], no values.

I need a value that I can use with:

myScrollPane.setScrollPosition()

Can anyone clarify the use of this code? I am not much of a programmer…

I just want my movie, at certain moments, to remember the position of my scrolled movie in the scrollpane component, so users can go back and don’t have to start scrolling from the top.

Stanley

Stanley,
I just figured it out.

myScrollPane.getScrollPosition().y;

and

myScrollPane.getScrollPosition().x;

will give you the results.
-mj