简体   繁体   中英

Flash fullscreen projector

Is there a way to do a projector fullscreen in flash but retain the proper size and tile a pattern background? Much like an HTML page with a pattern background and main content area.

Thanks.

you can register for an event to be notified when flash enters and exits fullscreen mode when Stage.displayState is changed, then adjust your background images scaling/tiling appropriately for each instance.

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/events/FullScreenEvent.html

Also, you can set the Stage.scaleMode to change the scaling behaviour when going to fullscreen mode. Play with these options and you should be able to do what you need.

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