简体   繁体   中英

How to create ScrollBar for SWF file

I am trying to build a AS3 only project and I ran into a problem that when I turn some MC's visible on...they are out of my browser window and there is no scrollBar for browser to scroll down.....Are there anyways around this?? Thanks for the reply...

The problem is that the HTML container is not big enough. The flash content will crop to fit the DIV container.

If you are using SWFObject to embed your SWF in your HTML page (I seriously recommend you should be) then I suggest using SWFFit . You can use it to change your SWFs container dynamically at runtime, by calling a method with your SWFs new height and/or width. This means that the default browser srollbars will show if needed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM