/ Published in: ActionScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import flash.external.*; ExternalInterface.addCallback("sspToggleDisplayMode", null, sspToggleDisplayMode); ExternalInterface.addCallback("sspLoadAlbum", null, sspLoadAlbum); function sspToggleDisplayMode() { my_ssp.toggleDisplayMode(); } function sspLoadAlbum(album) { my_ssp.loadAlbum(album); }