Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  


Queries load status of asset.

Component Version macOS Windows Linux Server iOS SDK
AVAsset 5.2 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "AVAsset.Loaded"; Asset )   More


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


Returns status or error.


Queries load status of asset.
Returns status like Loading, Loaded, Cancelled, Failed or Unknown.
If status starts with "Failed: ", it is followed by a reason.


Load and check status:

Set Variable [$Asset; Value:MBS( "AVAsset.OpenFile"; "/Users/cs/Desktop/test.mp4" )]
Set Variable [$Loaded1; Value:MBS( "AVAsset.Loaded"; $Asset )]
Pause/Resume Script [Duration (seconds): ,1]
Set Variable [$Loaded2; Value:MBS( "AVAsset.Loaded"; $Asset )]
Set Variable [$r; Value:MBS( "AVAsset.Release"; $Asset )]
Show Custom Dialog ["Loaded"; $Loaded1 & ¶ & $Loaded2]

See also

Created 19th June 2015, last changed 24th February 2016

AVAsset.IsReadable - AVAsset.Lyrics

Feedback: Report problem or ask question.

MBS FileMaker Plugins

Start Chat