New dialog similar to Flash gallery

  •  10-25-2007, 12:06 PM

    New dialog similar to Flash gallery

    I am trying to create a custom button that will open up a window and allow users to insert Flash files into the editor.  What we're trying to accomplish is having two Flash galleries, one that is the files that the user has uploaded and one that is common for all of our users to get Flash files from.  I added a custom button that opens a page in a new window, which works fine, I have it so they are able to search for and select the file they want to insert, but when I try to insert it nothing happens.  It seems as though I am losing the instance of the editor, so it doesn't know where to return the editor.PasteHTML to.
    Another issue I found, which could also solve my problems is that after you insert a Flash file, then try to use the Properties to resize it, it does not work.  It seems to change the embed part of the code, but not the object part (size is set in both).  If I look at the code, or save it, then it goes right back to the original size.

    Any suggestions?

    Thanks in advance,
    Brad

View Complete Thread