GSResourcePopupField Class
A resource popup-field allows the user to select a graphic, video or audio resource
from the specified resource folder. A selected resource is stored in the following
format:
Graphic Resource
{ name: "resource name" }
Video Resource
{ name: "resource name" }
Audio Resource
{ name: "resource name", volume: [volume in percent], rate: [playback rate in percent] }
Item Index
Properties
BindingSignal.image
Image
The current selected image object.
BindingSignal.resource
Object
The current selected resource object in the format: { name: "resource name"}.
folder
String
Folder used to load the resource from.
resourceType
String
Indicates which type of resource can be selected. Can be "graphic", "video" or "audio".