What's new? | Help | Directory | Sign in
Google
swfobject
SWFObject is an easy-to-use and standards-friendly method to embed Flash content, which utilizes one small JavaScript file
  
  
  
  
    
Search
for
Updated Jun 24, 2008 by bobbyvandersluis
Labels: Featured
test_suite  
SWFObject test suite (or just study/reuse the source code)

SWFObject 2.1 test suite

[ http://www.swffix.org/swfobject/testsuite_2_1/ ]

Static embed method (using option 1):

  1. Basic example [ http://www.swffix.org/swfobject/testsuite_2_1/test.html ]
  2. Parameters test page [ http://www.swffix.org/swfobject/testsuite_2_1/test_params.html ]
  3. Streaming Flash content test page [ http://www.swffix.org/swfobject/testsuite_2_1/test_streaming.html ]
  4. Browser communication test page [ http://www.swffix.org/swfobject/testsuite_2_1/test_com.html ]
  5. Embedding multiple SWFs [ http://www.swffix.org/swfobject/testsuite_2_1/test_multiple.html ]
  6. DomLoad test page [ http://www.swffix.org/swfobject/testsuite_2_1/test_domload.html ]
  7. Full browser Flash test page [ http://www.swffix.org/swfobject/testsuite_2_1/test_fullbrowserflash.html ]
  8. SWFObject 2.1 removing statically embedded SWFs [ http://www.swffix.org/swfobject/testsuite_2_1/test_remove.html ]

Dynamic embed method (using option 2):

  1. Basic example [ http://www.swffix.org/swfobject/testsuite_2_1/test_dynamic.html ]
  2. Parameters test page [ http://www.swffix.org/swfobject/testsuite_2_1/test_dynamic_params.html ]
  3. Streaming Flash content test page [ http://www.swffix.org/swfobject/testsuite_2_1/test_dynamic_streaming.html ]
  4. Browser communication test page [ http://www.swffix.org/swfobject/testsuite_2_1/test_dynamic_com.html ]
  5. Embedding multiple SWFs [ http://www.swffix.org/swfobject/testsuite_2_1/test_dynamic_multiple.html ]
  6. DomLoad test page [ http://www.swffix.org/swfobject/testsuite_2_1/test_dynamic_domload.html ]
  7. Full browser Flash test page [ http://www.swffix.org/swfobject/testsuite_2_1/test_dynamic_fullbrowserflash.html ]
  8. Full browser Flash test page including min-width, min-height and scrollbars: [ http://www.swffix.org/swfobject/testsuite_2_1/test_dynamic_fullbrowserflash_adv.html ]
  9. Example of the different Object notation methods (to define your flashvars, params and object's attributes) [ http://www.swffix.org/swfobject/testsuite_2_1/test_dynamic_notations.html ]
  10. Centered SWF (inline element) [ http://www.swffix.org/swfobject/testsuite_2_1/test_dynamic_centered_inline.html ]
  11. Centered SWF (block element) [ http://www.swffix.org/swfobject/testsuite_2_1/test_dynamic_centered_block.html ]
  12. SWFObject 2.1 removing dynamically embedded SWFs [ http://www.swffix.org/swfobject/testsuite_2_1/test_dynamic_remove.html ]

Other API methods:

  1. swfobject.getFlashPlayerVersion() [ http://www.swffix.org/swfobject/testsuite_2_1/test_api_getflashplayerversion.html ]
  2. swfobject.hasFlashPlayerVersion(versionStr) [ http://www.swffix.org/swfobject/testsuite_2_1/test_api_hasflashplayerversion.html ]
  3. swfobject.addLoadEvent(fn) [ http://www.swffix.org/swfobject/testsuite_2_1/test_api_addloadevent.html ]
  4. swfobject.addDomLoadEvent(fn) [ http://www.swffix.org/swfobject/testsuite_2_1/test_api_adddomloadevent.html ]
  5. swfobject.createSWF(attObj, parObj, el) [ http://www.swffix.org/swfobject/testsuite_2_1/test_api_createswf.html ]
  6. swfobject.createSWF and browser communication test page [ http://www.swffix.org/swfobject/testsuite_2_1/test_api_createswf_com.html ]
  7. swfobject.createCSS(selStr, declStr) [ http://www.swffix.org/swfobject/testsuite_2_1/test_api_createcss.html ]
  8. SWFObject getQueryParamValue example [ http://www.swffix.org/swfobject/testsuite_2_1/test_api_getqueryparamvalue.html?abc=123&foo=bar ]
  9. SWFObject 2.1 bookmarklet example [ http://www.swffix.org/swfobject/testsuite_2_1/test_api_bookmarklet.html ]
  10. SWFObject 2.1 create and remove SWF example [ http://www.swffix.org/swfobject/testsuite_2_1/test_api_create_remove.html ]

SWFObject 2.0 test suite

[ http://www.swffix.org/swfobject/testsuite/ ]

Static embed method (using option 1):

  1. Basic example [ http://www.swffix.org/swfobject/testsuite/test.html ]
  2. Parameters test page [ http://www.swffix.org/swfobject/testsuite/test_params.html ]
  3. Streaming Flash content test page [ http://www.swffix.org/swfobject/testsuite/test_streaming.html ]
  4. Browser communication test page [ http://www.swffix.org/swfobject/testsuite/test_com.html ]
  5. Embedding multiple SWFs [ http://www.swffix.org/swfobject/testsuite/test_multiple.html ]
  6. DomLoad test page [ http://www.swffix.org/swfobject/testsuite/test_domload.html ]
  7. Full browser Flash test page [ http://www.swffix.org/swfobject/testsuite/test_fullbrowserflash.html ]

Dynamic embed method (using option 2):

  1. Basic example [ http://www.swffix.org/swfobject/testsuite/test_dynamic.html ]
  2. Parameters test page [ http://www.swffix.org/swfobject/testsuite/test_dynamic_params.html ]
  3. Streaming Flash content test page [ http://www.swffix.org/swfobject/testsuite/test_dynamic_streaming.html ]
  4. Browser communication test page [ http://www.swffix.org/swfobject/testsuite/test_dynamic_com.html ]
  5. Embedding multiple SWFs [ http://www.swffix.org/swfobject/testsuite/test_dynamic_multiple.html ]
  6. DomLoad test page [ http://www.swffix.org/swfobject/testsuite/test_dynamic_domload.html ]
  7. Full browser Flash test page [ http://www.swffix.org/swfobject/testsuite/test_dynamic_fullbrowserflash.html ]
  8. Full browser Flash test page including min-width, min-height and scrollbars: [ http://www.swffix.org/swfobject/testsuite/test_dynamic_fullbrowserflash_adv.html ]
  9. Example of the different Object notation methods (to define your flashvars, params and object's attributes) [ http://www.swffix.org/swfobject/testsuite/test_dynamic_notations.html ]
  10. Centered SWF (inline element) [ http://www.swffix.org/swfobject/testsuite/test_dynamic_centered_inline.html ]
  11. Centered SWF (block element) [ http://www.swffix.org/swfobject/testsuite/test_dynamic_centered_block.html ]

Other API methods:

  1. swfobject.getFlashPlayerVersion() [ http://www.swffix.org/swfobject/testsuite/test_api_getflashplayerversion.html ]
  2. swfobject.hasFlashPlayerVersion(versionStr) [ http://www.swffix.org/swfobject/testsuite/test_api_hasflashplayerversion.html ]
  3. swfobject.addLoadEvent(fn) [ http://www.swffix.org/swfobject/testsuite/test_api_addloadevent.html ]
  4. swfobject.addDomLoadEvent(fn) [ http://www.swffix.org/swfobject/testsuite/test_api_adddomloadevent.html ]
  5. swfobject.createSWF(attObj, parObj, el) [ http://www.swffix.org/swfobject/testsuite/test_api_createswf.html ]
  6. swfobject.createSWF and browser communication test page [ http://www.swffix.org/swfobject/testsuite/test_api_createswf_com.html ]
  7. swfobject.createCSS(selStr, declStr) [ http://www.swffix.org/swfobject/testsuite/test_api_createcss.html ]

Source FLAs:

  1. test6.fla [ http://www.swffix.org/swfobject/testsuite/test6.fla ]
  2. test6_streaming.fla [ http://www.swffix.org/swfobject/testsuite/test6_streaming.fla ]
  3. test6_flashvars.fla [ http://www.swffix.org/swfobject/testsuite/test6_flashvars.fla ]
  4. test8_com.fla [ http://www.swffix.org/swfobject/testsuite/test8_com.fla ]
  5. test6A.fla [ http://www.swffix.org/swfobject/testsuite_2_1/test6A.fla ]
  6. test6B.fla [ http://www.swffix.org/swfobject/testsuite_2_1/test6B.fla ]
  7. test6C.fla [ http://www.swffix.org/swfobject/testsuite_2_1/test6C.fla ]


Comment by an0n1m0us, Jul 04 (2 days ago)

where is the big table I saw not a couple of days ago?


Sign in to add a comment