Skip to main content
Jhon Carlo
Inspiring
March 7, 2014
Answered

Scroll swf with scroll bar

  • March 7, 2014
  • 1 reply
  • 834 views

In a swf file 1000 x 1000, can you only display 1000 x 500 and scroll through the movie with a scroll bar?

If yes how?

Thanks

This topic has been closed for replies.
Correct answer robdillon

If your .swf is 1000 X 1000 and you only want part of it to display in the browser, you can place the .swf in a div and set the height of the div to 500 pixels and then in css, set the div to overflow:scroll

Is that what you're looking for?

1 reply

robdillon
robdillonCorrect answer
Participating Frequently
March 7, 2014

If your .swf is 1000 X 1000 and you only want part of it to display in the browser, you can place the .swf in a div and set the height of the div to 500 pixels and then in css, set the div to overflow:scroll

Is that what you're looking for?

Jhon Carlo
Inspiring
March 7, 2014

Yes, thank you Rob,

but i need to do in a SWF using action script or in an html file?

robdillon
Participating Frequently
March 7, 2014

What I described above is done in the html document that holds the Flash .swf.