Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Queries actual time for image.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVAsset 6.5 Yes No Yes, macOS only No Yes
MBS( "AVAsset.ImageActualTime"; Asset )   More


Parameter Description Example value
Asset The reference number of the asset. Please use AVAsset.OpenContainer, AVAsset.OpenFile or AVAsset.OpenURL function to get asset reference. $asset


Returns number or error.


Queries actual time for image.
After a call to AVAsset.Image, this returns the time of the picture you got.
Returns number of seconds.


Query image and time:

Set Variable [ $a ; Value: MBS( "AVAsset.OpenFile"; "/Users/cs/Desktop/" ) ]
Set Field [ test::Image ; MBS( "AVAsset.Image"; $a; 5; "JPEG"; "frame.jpg" ) ]
Show Custom Dialog [ "Image requested at 5 seconds and got image from:" ; MBS( "AVAsset.ImageActualTime"; $a ) ]
Set Variable [ $r ; Value: MBS( "AVAsset.Release"; $a ) ]

See also

Blog Entries

Created 20th October 2016, last changed 25th November 2017

AVAsset.Image   -   AVAsset.IsComposable

Feedback: Report problem or ask question.

MBS Xojo Plugins