Re: How to use the "Flash" selector from CE outside the Editor

  •  01-24-2007, 8:49 AM

    Re: How to use the "Flash" selector from CE outside the Editor

    try
     

     <Script Language="javascript">
                function callInsertImage() 
                { 
                    var editor = obj_Editor1;
                    editor.FocusDocument(); 
                    _Format(editor,"New"); 
                    _Format(editor,"InsertFlash"); 
                    InputURL();
                    document.getElementById("imageFld").focus(); 
                    function InputURL()
                    {
                        var editdoc = editor._frame.contentWindow.document;
                        var params = editdoc.getElementsByTagName("param");
                        if(params.length>0) 
                        { document.getElementById("imageFld").value = params[0].getAttribute('value');
                        } 
                        else
                        {
                   setTimeout(InputURL,500);
                        } 
                    } 
                }
            </script>

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread