Flash: width height problem

2 posts, 0 answers
  1. Shiran
    Shiran avatar
    2 posts
    Member since:
    Dec 2012

    Posted 09 Dec 2012 Link to this post

    Hello.

    There is a problem with rad telerik editor when using "Flash manager".
    after flash file upload, Width and Height are default 150x150.
    when I tried to change width and height in editor and Exit+Save, It's changed and everything is ok.
    But, Every time I getting into flash manager editor, width and height shows 150x150 by default. even after changing.

    Why height and width size did not changes after Save?
  2. Rumen
    Admin
    Rumen avatar
    14098 posts

    Posted 11 Dec 2012 Link to this post

    Hi,

    The width and height values are hardcoded in the Flash dialog and you can remove them by registering the external dialog files of RadEditor and replacing the following lines

    this._newImageWidth.value = "150";
    this._newImageHeight.value = "150";

    with

    this._newImageWidth.value = "";
    this._newImageHeight.value = "";


    I examined the code of the FlashManager.ascx file and noticed that it does not contain any code, which obtains the dimensions of the selected flash object in the content area and updates the Width and Height textboxes.

    If you would like I can log this as a future request and if possible we will implement it for a future version of the control.

    All the best,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top