- assigned_to: nobody --> fredck
- status: open --> open-fixed
The hard part is being able to get the default width
and height for a flash file (at least it was for me
under asp, I had to develop a custome ActiveX component).
But then it's very useful to give that data back to the
Flash Dialog (I'm trying to port out old editor to
FCKeditor).
Just change in editor\dialog\fck_flash\fck_flash.js
from
function SetUrl( url )
{
GetE('txtUrl').value = url ;
UpdatePreview() ;
window.parent.SetSelectedTab( 'Info' ) ;
}
to
function SetUrl( url, width, height )
{
GetE('txtUrl').value = url ;
if (width) GetE('txtWidth').value = width ;
if (height) GetE('txtHeight').value = height ;
UpdatePreview() ;
window.parent.SetSelectedTab( 'Info' ) ;
}
so if the FlashBrowser gives the info then this dialog
is able to use the data.
Hope this is useful for anyone else.
Log in to post a comment.