Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Scroll swf with scroll bar

Contributor ,
Mar 07, 2014 Mar 07, 2014

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

TOPICS
ActionScript
767
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Mar 07, 2014 Mar 07, 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?

Translate
LEGEND ,
Mar 07, 2014 Mar 07, 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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 07, 2014 Mar 07, 2014

Yes, thank you Rob,

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 07, 2014 Mar 07, 2014
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines