Difference between revisions of "Flash"

From BC$ MobileTV Wiki
Jump to: navigation, search
Line 12: Line 12:
 
* FMA - Flash Media Manifest File Format Specification (.fma): http://opensource.adobe.com/wiki/display/osmf/Flash+Media+Manifest+File+Format+Specification
 
* FMA - Flash Media Manifest File Format Specification (.fma): http://opensource.adobe.com/wiki/display/osmf/Flash+Media+Manifest+File+Format+Specification
  
 +
 +
 +
=== Cross-Domain Policy File ===
 +
 +
In 2003, Flash Player 7 software introduced a channel of client-server communication that was new to the web: direct cross-domain data loading, authorized by policy files. This was done via files of the name "crossdomain.xml" loading in the root of a given domain (i.e. [https://www.adobe.com/crossdomain.xml]), stored in the [[XML]] format, this became a "''de facto''" standard for cross-domain requests (see [[same-origin]] section of [[AJAX]]). Before their existence, it was very tough if not impossible for web applications to communicate across servers without an intermediary server-side script, however now by using a '''crossdomain.xml''' file it is possible to make Flash direct requests or Flash-backed AJAX requests across domains and ports (origins).<ref>Policy file changes in Flash Player 9 and Flash Player 10: http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html</ref>
 +
<ref>Policy file changes in Flash Player 9 and Flash Player 10 (WORKFLOWS -- i.e. what to do to ensure forward-compatibility): http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_05.html</ref>
 +
 +
<?xml version="1.0"?>
 +
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
 +
<!-- Policy file for xmlsocket://socks.example.com -->
 +
<cross-domain-policy>
 +
  <!-- This is a master-policy file -->
 +
  <site-control permitted-cross-domain-policies="master-only"/>
 +
  <!-- Instead of setting to-ports="*" (all) administrators can use commas and ranges (hyphens) to limit access to specific trusted Domains/IPs/Ports -->
 +
  <!-- This will allow access to ports 123, 456, 457, and 458 -->
 +
  <allow-access-from domain="swf.example.com" to-ports="123,456-458" />
 +
</cross-domain-policy>
 +
 +
* '''Cross-domain policy file specification: http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html'''
 +
* Setting up a socket policy file server: http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html
 +
* EXAMPLE -- BCmoney MobileTV ''crossdomain.xml'': http://bcmoney-mobiletv.com/crossdomain.xml
 +
* EXAMPLE -- YouTube ''crossdomain.xml'': http://www.youtube.com/crossdomain.xml
 +
* EXAMPLE -- WebServiceX ''crossdomain.xml'': http://www.webservicex.net/crossdomain.xml
 +
* JavaScript: Use a Web Proxy for Cross-Domain XMLHttpRequest Calls: http://developer.yahoo.com/javascript/howto-proxy.html
 +
* '''Cross domain policy files explained''': http://www.moock.org/asdg/technotes/crossDomainPolicyFiles/
 +
* Cross Domain Policy Issues with Flash loading remote data from Amazon s3 cloud storage: http://onegiantmedia.com/cross-domain-policy-issues-with-flash-loading-remote-data-from-amazon-s3-cloud-storage
 +
* Calling Cross Domain Web Services in AJAX: https://www.simple-talk.com/dotnet/asp.net/calling-cross-domain-web-services-in-ajax/
  
  
Line 19: Line 46:
  
 
* [[wikipedia: Local Shared Object]]
 
* [[wikipedia: Local Shared Object]]
 +
 +
 +
 +
 +
 +
  
 
== Tools ==
 
== Tools ==
  
 +
* Adobe/Macromedia -- Flash privacy settings: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager06.html (page that shows your browser-specific whitelisting for websites you've allowed to run Flash)
 
* '''AnimateCC: https://www.adobe.com/ca/products/animate.html''' (formerly Flash Studio Professional)<ref>Welcome Adobe Animate CC, a new era for Flash Professional: https://blogs.adobe.com/creativecloud/welcome-adobe-animate-cc-a-new-era-for-flash-professional/</ref><ref>Flash Studio Professional: https://adobe.com/mt/products/flash.html</ref><ref>Animation with Scripting for Adobe Flash Professional CS5 Studio Techniques (BOOK): https://www.amazon.com/Animation-Scripting-Professional-Studio-Techniques/dp/0321683692</ref><ref>Video with Adobe Flash CS4 Professional Studio Techniques: https://www.kobo.com/us/en/ebook/video-with-adobe-flash-cs4-professional-studio-techniques-1</ref><ref>Flash MX Studio (BOOK): http://www.apress.com/us/book/9781590591888</ref>
 
* '''AnimateCC: https://www.adobe.com/ca/products/animate.html''' (formerly Flash Studio Professional)<ref>Welcome Adobe Animate CC, a new era for Flash Professional: https://blogs.adobe.com/creativecloud/welcome-adobe-animate-cc-a-new-era-for-flash-professional/</ref><ref>Flash Studio Professional: https://adobe.com/mt/products/flash.html</ref><ref>Animation with Scripting for Adobe Flash Professional CS5 Studio Techniques (BOOK): https://www.amazon.com/Animation-Scripting-Professional-Studio-Techniques/dp/0321683692</ref><ref>Video with Adobe Flash CS4 Professional Studio Techniques: https://www.kobo.com/us/en/ebook/video-with-adobe-flash-cs4-professional-studio-techniques-1</ref><ref>Flash MX Studio (BOOK): http://www.apress.com/us/book/9781590591888</ref>
 
* FlashBuilder: http://www.adobe.com/products/flash-builder.html
 
* FlashBuilder: http://www.adobe.com/products/flash-builder.html

Revision as of 00:29, 2 January 2019

Flash: Industry-leading rich web-content rendering platformFlash started out as a proprietary animation solution by Macromedia, inc. as a software studio which enabled animators and developers alike to collaborate on rich, interactive media objects which could in turn be embedded in a web page and displayed within a standard web browser.

The Flash technology has almost always since its inception enjoyed a strong niche following on the web, with a loyal developer, contributor and user base, however it was Adobe's 2005 acquisition of Macromedia [1] which infused the Flash technology with new life, as it re-emerged as an entire rich media platform of its own, still designed for delivery over the web and standard browsers, but with many more capabilities and a larger scope. Entire applications could now be created using the Flash and Adobe ColdFusion combination, as could multimedia presentations including local video playback and remote video streaming using Flash's VP6 (.flv) video codec, or MP4 which was supported shortly after.


Specifications


Cross-Domain Policy File

In 2003, Flash Player 7 software introduced a channel of client-server communication that was new to the web: direct cross-domain data loading, authorized by policy files. This was done via files of the name "crossdomain.xml" loading in the root of a given domain (i.e. [1]), stored in the XML format, this became a "de facto" standard for cross-domain requests (see same-origin section of AJAX). Before their existence, it was very tough if not impossible for web applications to communicate across servers without an intermediary server-side script, however now by using a crossdomain.xml file it is possible to make Flash direct requests or Flash-backed AJAX requests across domains and ports (origins).[3] [4]

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
  <site-control permitted-cross-domain-policies="master-only"/>
  <allow-access-from domain="swf.example.com" to-ports="123,456-458" />
</cross-domain-policy>


Local Shared Objects

A Local Shared Object (commonly abbreviated as LSO) is the Flash-equivalent of a cookie. An LSO on a given domain is accessible only within the Flash application or object that created it.




Tools


Resources


Tutorials

External Links

References

  1. Adobe Acquires Macromedia: http://www.adobe.com/aboutadobe/pressroom/pressreleases/200504/041805AdobeAcquiresMacromedia.html
  2. http://www.adobe.com/content/dam/Adobe/en/devnet/swf/pdf/swf_file_format_spec_v10.pdf
  3. Policy file changes in Flash Player 9 and Flash Player 10: http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html
  4. Policy file changes in Flash Player 9 and Flash Player 10 (WORKFLOWS -- i.e. what to do to ensure forward-compatibility): http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_05.html
  5. Welcome Adobe Animate CC, a new era for Flash Professional: https://blogs.adobe.com/creativecloud/welcome-adobe-animate-cc-a-new-era-for-flash-professional/
  6. Flash Studio Professional: https://adobe.com/mt/products/flash.html
  7. Animation with Scripting for Adobe Flash Professional CS5 Studio Techniques (BOOK): https://www.amazon.com/Animation-Scripting-Professional-Studio-Techniques/dp/0321683692
  8. Video with Adobe Flash CS4 Professional Studio Techniques: https://www.kobo.com/us/en/ebook/video-with-adobe-flash-cs4-professional-studio-techniques-1
  9. Flash MX Studio (BOOK): http://www.apress.com/us/book/9781590591888
  10. Convert Flash Ads to HTML5: http://helpx.adobe.com/animate/how-to/convert-flash-ads-to-html5.html
  11. Adobe demos Flash-to-HTML5 conversion tool: http://blogs.adobe.com/jnack/2010/10/adobe-demos-flash-to-html5-conversion-tool.html
  12. Adobe Converts Flash to HTML5 With Wallaby: http://www.htmlgoodies.com/beyond/webmaster/toolbox/adobe-converts-flash-to-html5-with-wallaby.html
  13. “Wallaby” Flash-to-HTML5 conversion tool now available: https://blogs.adobe.com/jnack/2011/03/wallaby-flash-to-html5-conversion-tool-now-available.html
  14. Google display ads go 100% HTML5: https://plus.google.com/+GoogleAds/posts/dYSJRrrgNjk
  15. Update your Flash ads: https://support.google.com/adwords/answer/6249073
  16. Swiffy -- convert SWF files to HTML5: http://googlecode.blogspot.ca/2011/06/swiffy-convert-swf-files-to-html5.html
  17. OGG in Flash? Yes you can. Now how about WMA?: http://bcdef.org/2009/05/13/ogg-in-flash-yes-you-can-now-how-about-wma/
  18. wikipedia: Tamarin (JavaScript engine)
  19. Adobe Flash just took another step towards death, thanks to Google: https://thenextweb.com/apps/2015/09/01/adobe-flash-just-took-another-step-towards-death-thanks-to-google/#.tnw_I94YgjKt
  20. Flash Embedding Cage Match: https://alistapart.com/article/flashembedcagematch
  21. Flash Satay & communication with Flash: https://forums.adobe.com/thread/211024
  22. Satay Method -- Embedding Flash in xHTML Site: https://www.webmasterworld.com/forum104/790.htm
  23. Flash wmode="transparent" not working in IE: http://forums.adobe.com/message/4097264
  24. You Deleted Your Cookies? Think Again: http://www.wired.com/epicenter/2009/08/you-deleted-your-cookies-think-again
  25. Create and publish HTML5 Canvas documents in Animate CC: https://helpx.adobe.com/animate/using/creating-publishing-html5-canvas-document.html
  26. ActionScript® 3.0 Reference docs for the Adobe® Flash® Platform - ColorExample.as: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/motion/Color.html


See Also

Adobe | ActionScript | Flex | HTML5 | Silverlight | JavaFX