I'm trying to make a popup image open and close from an animation. I'm trying to trigger it from a button to start with.
Not surprisingly this works where id is a sound, but not when its an image. Possibly a typo in the API ref?
Code: Select all
pano.activateSound(id:String) Pop out the image or video.
I can toggle the media's visibility using action:media, type:Visibility on a button, but I want to take advantage of the built-in animation provided by a popup image.
I've also tried action:media, type: Activate Media but my image ID does not appear in the target pulldown
I've also tried click() with no success
Any tips on how to trigger a popup image from a button or animation?