
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
angular-swfobject
Advanced tools
Minimal usage:
<swf-object swf-url="my-swf.swf"></swf-object>
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.
<swf-object
swf-url="my-swf.swf"
swf-width="100%"
swf-height="100%"
swf-version="10.2"></swf-object>
You can also add additional parameters:
<swf-object
swf-url="my-swf.swf"
swf-params="{
wmode: 'opaque'
}"></swf-object>
Specify flash vars:
<swf-object
swf-url="my-swf.swf"
swf-vars="{
user: 'alice'
}"></swf-object>
Register a callback for swf load complete: check swfobject.embedSWF callback documentation
<swf-object
swf-url="my-swf.swf"
swf-load="onLoadHandler(evt)"
></swf-object>
Specify expressInstallSwfurl :
<swf-object
swf-url="my-swf.swf"
<!--- optional expressInstall.swf packaged with swfobject -->
xi-swf-url-str="expressInstall.swf"
></swf-object>
Also supports defining controller level callbacks if using ExternalInterface
for example:
View
<swf-object
swf-url="my-swf.swf"
swf-id="my-swf-id"
swf-callbacks="{'externalCallback': myCallback}"></swf-object>
Controller
angular.controller('MyCtrl', function ($scope) {
$scope.myCallback = function () {
console.log('Called from Flash');
}
});
ActionScript
ExternalInterface.call('externalCallback');
FAQs
SWFObject directive for AngularJS
The npm package angular-swfobject receives a total of 57 weekly downloads. As such, angular-swfobject popularity was classified as not popular.
We found that angular-swfobject demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.