Half of problems which users send to our support with are within positioning and scaling of flashmovies in HTML page.
If you have bought an MXP component or SWF object, keep in mind that you should to define alignment and scale of movie yourself. Otherwise, if you used the online-builder to get a component, use a code which it generates in the “HTML template” tab.

Menu positioning and scaling in HTML page

Here an explanation how to set align and scaling parameters in Flash IDE.

1. Install flash-menu component and add to the stage.


2. Place one in x = 0; y = 0 position.

Flash menu positioning and scaling. Stage 2


3. Set the size of stage.

Dimensions of stage – is a white area around the component, the place where component will be able to view on html page. Dropdown (see screen 2) menu will drop-out submenus down. So set height of a stage considering it. Set width of the stage equals width of the component with effects(shadow, blur, etc..). Also set a “Frame rate” parameter to 25-40.

Flash menu positioning and scaling. Stage 3


4. Open Publish settings window and check the “HTML” box to enable “HTML” publish settings tab.

Flash menu positioning and scaling. Stage 4


5. Set Flash aligment (Horizontal and vertical) parameters to the left-top corner. Set scale parameter to the “No scale” value, as in the screen. Necessarily click Publish button in “HTML” tab.

Flash menu positioning and scaling. Stage 5


6. That’s all.

Now you have rule cut and scaled component on html page. Go to folder with your *.fla file. Open html page, and look at the code generated with Flash IDE. There are 3 places where alignment, scale and sizes parameters are defined (AC_FL_RunContent function call, object tag and its param subtags, embed tag with its.

Flash menu positioning and scaling. Stage 6