PDA

View Full Version : Setting UIScrollBar Scroll Position


tylonius
04-10-2006, 08:52 PM
I have a SWF with a text field that uses UIScrollBar.

I have another SWF, on another level, that is my nav menu.

I want the user to be able to click on a nav item that will not only load the SWF, but also scroll down to an appropriate point in the text field.

I've tried:

function devfinancing () {
loadMovieNum("Content/TSY_Content.RestCapital.swf", 4);
_level4.BodyText.scroll = 37;
}

and several variations thereof (scrollPosition, etc.).

The movie loads fine, but it won't jump down to line 37.

I'm sure I'm missing something simple. :confused:

Can anyone please help?

Thanks,

ty

tylonius
04-10-2006, 10:03 PM
I have a SWF with a text field that uses UIScrollBar.

I have another SWF, on another level, that is my nav menu.

I want the user to be able to click on a nav item that will not only load the SWF, but also scroll down to an appropriate point in the text field.

I've tried:

function devfinancing () {
loadMovieNum("Content/TSY_Content.RestCapital.swf", 4);
_level4.BodyText.scroll = 37;
}

and several variations thereof (scrollPosition, etc.).

The movie loads fine, but it won't jump down to line 37.

I'm sure I'm missing something simple.

Can anyone please help?

Thanks,

ty