The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientHtmlEditorInsertFlashCommandArguments.autoPlay Property

Determines if the target flash element will start playing automatically.


autoPlay: boolean

Property Value

Type Description

true, if autoplay is enabled; otherwise, false.


// Inserting a new flash element at the current cursor position
var args = new ASPxClientHtmlEditorInsertFlashCommandArguments(htmlEditor);
args.allowFullscreen = false;
args.autoPlay = true;
args.enableFlashMenu = false;
args.loop = false;
args.quality = "best";
args.src = "/Content/SampleFlash.swf";
htmlEditor.ExecuteCommand(args.GetCommandName(), args);
See Also