my variable 'PlayerFrame' contains the name of a a field that marks the boundary of the player.
Code: Select all
on PDF_Show
…
pda_Media_ScaleToFrame "player",PlayerName,PlayerFrame,FilePath,false,true
…
end PDF_Show
---
on pda_Media_ScaleToFrame MediaControlType,MediaControlName,MediaFrameField,MediaFileName,ShowContr_F,LockLoc_F
do "put" && q("0,0,") & " & the FormattedWidth of" && MediaControlType && q(MediaControlName) && "&" && q( ",") ¬
&& "& the FormattedHeight of" && MediaControlType && q(MediaControlName) && "into" && MediaRect
…
end pda_Media_ScaleToFrame
According to the dictionary 'FormattedWidth' and 'FormattedHeight' have not been changed since 1.0.
Thanks
Peter