2 Replies Latest reply on May 10, 2011 10:01 AM by Flex harUI

    Flex alternative content , deeplinks

    daslicht Level 2

      Hello,

      I am currently experimenting with deeplinks and Seach Engine Optimization.

       

      At the moment I store the content in a database and echo it withhelp of PHP.

      The actual location is defined by using teh php query notation:

       

      http://localhost/seo/flex-seo/bin-debug/index.php?language=en&view=content_A

       

      But how do I detect if the flash player is available, so that I can pass the proper flashvars.

       

      Do I have to create a redirect to get rid of the querystring :

      ?language=en&view=content_A

      and replace it with the anchor instead

      #language=en&view=content_A

       

      ?

       

      Regards

      Marc

        • 1. Re: Flex alternative content , deeplinks
          daslicht Level 2

          I have found the following example on the SWFAddress homepage,

          probably this is helpfull.

           

          <!-- saved from url=(0014)about:internet -->
          <html lang="en">

           

          <!--
          Smart developers always View Source.

           

          This application was built using Adobe Flex, an open source framework
          for building rich Internet applications that get delivered via the
          Flash Player or to desktops via Adobe AIR.

           

          Learn more about Flex at http://flex.org
          // -->

           

          <head>
          <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
          <title>SWFAddress Application</title>
          <script src="AC_OETags.js" language="javascript"></script>
          <script src="swfaddress/swfaddress.js" language="javascript"></script>
          <style>
          body { margin: 0px; overflow:hidden }
          </style>
          <script language="JavaScript" type="text/javascript">
          <!--
          // -----------------------------------------------------------------------------
          // Globals
          // Major version of Flash required
          var requiredMajorVersion = 9;
          // Minor version of Flash required
          var requiredMinorVersion = 0;
          // Minor version of Flash required
          var requiredRevision = 124;
          // -----------------------------------------------------------------------------
          // -->
          </script>
          </head>

           

          <body scroll="no">
          <script language="JavaScript" type="text/javascript">
             
          <!--
          // Version check based upon the values entered above in "Globals"
          var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

           


          // Check to see if the version meets the requirements for playback
          if (hasRequestedVersion) {  // if we've detected an acceptable version
                  document.write('flash player supported');
            } else { 
                  document.write("alternative content"); 
            }
          // -->
          </script>

           

          </body>
          </html>

          • 2. Re: Flex alternative content , deeplinks
            Flex harUI Adobe Employee

            I think you can get the url params via BrowserManager and/or

            ExternalInterface and replace it with the #