Skip to main content

ASPxClientHtmlEditorInsertFlashCommandArguments.loop Property

Defines if the target flash element repeats indefinitely, or stops when it reaches the last frame.

Declaration

loop: boolean

Property Value

Type Description
boolean

true, to loop playback; otherwise, false.

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