This is a migrated thread and some comments may be shown as answers.
Flash: width height problem
1 Answer 11 Views
This is a migrated thread and some comments may be shown as answers.
Shiran
Top achievements
Rank 1
Shiran asked on 09 Dec 2012, 07:10 AM
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?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 11 Dec 2012, 12:43 PM
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.
Asked by
Shiran
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or