Rise-Vision/widget-flash — pull request #5 by stulees (2014-05-27 23:59:58+00:00)
Title: Code Review for SWF File Type Logic

- Ensuring SWF existence by waiting until value of PercentLoaded is not equal to "undefined"
- Polling SWF status to ensure the SWF is fully loaded by checking PercentLoaded
- Polling SWF state to determine if SWF is playing or not and subsequently send done event
- Removed unnecessary _cache function as the only element to be cached is flashContent which swfobject can retrieve instead
- Adding global swfobject as an encapsulated param to the module

@donnapep Only a code review. Let me know. Thanks