ASPxClientHtmlEditorInsertFlashCommandArguments.autoPlay Property
Determines if the target flash element will start playing automatically.
Declaration
autoPlay: boolean
Property Value
Type | Description |
---|---|
boolean |
|
Remarks
// 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