How to make a Flash SWF file auto-fit into the screen or web browser?

After you have included the Flash SWF file to your HTML page, you can open the HTML page with your HTML editor and edit the HTML code.

Look for the code that embeds the Flash Movie. It should look similar to this:

http://flashmovie.swf

To make the Flash auto zoom and auto fit into its container, you should change the code as following. The changes are shown in red.

http://flashmovie.swf

Click the button below to view the example. You may adjust the size of the popup window, the Flash will auto zoom and auot fit into the web browser.

To make the Flash auto zoom and auto fit into its container without distortion, that’s, keep the aspect ratio, you should change the code as following. The changes are shown in red.

http://flashmovie.swf

Click the button below to view the example. You may adjust the size of the popup window, the Flash will auto zoom and auot fit into the web browser.

Artikel ini saya copy dari : http://www.aleosoft.com/flashtutorial_autofit.html

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s