Kentico CMS 7.0 Context Help

Flash properties

Flash properties

Previous topic Next topic Mail us feedback on this topic!  

Flash properties

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

When inserting flash, its properties can be specified on the following two tabs:

 

General

 

URL - URL of the attached flash file.

Width, Height - the width and height of the flash player; 300x200px is used by default.

Aspect ratio can be locked (UnlockRatio), which makes the second dimension recalculated automatically when you change one dimension, while the ratio between the two dimensions is kept.

If unlocked (LockRatio), dimensions can be entered manually into both fields, without the ratio being kept.

You can also reload the default dimensions using the Reset size (Undo) icon.

Autoplay - indicates if the video plays automatically when the player loads.

Loop - indicates if the player plays the video repeatedly in a loop.

Enables menu - indicates if flash options are available in the flash context menu. The flash context menu is displayed on right click of the flash player.

 

Advanced

 

Scale - defines how the flash player stretches, shrinks and resizes when the browser window is resized.

ID - the identifier of the flash HTML object.

Advisory title - the text displayed when mouse cursor is placed over the flash player.

Class - the flash element CSS class.

Style - flash element additional styles.

 

Flash is inserted into the output code as the Media inline control. The following code sample shows what the output code looks like:

 

<object codetype="CMSInlineControl" height="200" type="Media" width="300">

<param name="url" value="http://127.0.0.1/KenticoCMS/Files/Cube.aspx?ext=.swf" />

<param name="ext" value=".swf" />

<param name="cms_type" value="flash" />

</object>

 

Detailed information about the WYSIWYG editor can be found in the WYSIWYG editor chapter in the Content management section of the Developer's Guide.