Angular SWFObject
Usage
Minimal usage:
Width, height and version are required parameters for SWFObject. If these are not provided then angular-swfobject
defaults to: 800x600, version 10. You can override these.
You can also add additional parameters:
Specify flash vars:
Register a callback for swf load complete: check swfobject.embedSWF callback documentation
http://learnswfobject.com/the-basics/adobes-express-install/
Specify expressInstallSwfurl :
xi-swf-url-str="expressInstall.swf">
Also supports defining controller level callbacks if using ExternalInterface
for example:
View
Controller
angular.controller('MyCtrl', function ($scope) {$scope.myCallback = function () {console.log('Called from Flash');}});
ActionScript
ExternalInterface.call('externalCallback');