5 Replies Latest reply: Apr 20, 2006 2:54 PM by RSS

    ActiveX Issue in PHP

    rezun8 Community Member
      I'm trying to implement the new ActiveX detection that MM put out and am having trouble getting it to work correctly ( at all )
      Would having a PHP page versus the HTML that is documented make any difference? I'd think it wouldn't

      Help
        • 1. Re: ActiveX Issue in PHP
          sorry I can not help you, I just wanted to chime in that i also want to add the fix to php pages that have Flash embedded, I have no idea how to do it. I have easily gotten the adobe js fix to work in html pages though, pretty simple.

          Hopefully someone will know but I think this may need to be taken to a PHP forum. If you find out can you post the answer though

          Jac
          • 2. Re: ActiveX Issue in PHP
            rezun8 Community Member
            Jacq, did you use the Adobe code fix or the MXP extension to make it work? I nearly never use the default HTML publishing from Flash as we like to customize most pages.

            here's the page I'm testing it on
            http://www.skyworkscapital.com/demo/company/senioractive2.php

            take a look if you see something let me know. I'm also using the .js script Adobe/MM here
            http://www.macromedia.com/devnet/activecontent/articles/before_after.html

            thanks

            Russ
            • 3. Re: ActiveX Issue in PHP
              rezun8 Community Member
              ok, I got it by luck. it's no different then doing it HTML wise, just took some jockying of the code to fit inside the table we built.

              Thanks
              • 4. Re: ActiveX Issue in PHP
                Hey Rezun8 - I never use the Flash published HTML either. I just insert the swf files into my html pages in Dreamweaver. When I do this the swf creates its own object embed tags with all the parameters. Then in Dreamweaver I can also add parameters to the swf file.

                I am not a PHP guy at ALL, but I use a PHP commerce store called OSCommerce and I manipulate the php around a little to customize the store. There is a part in the php page where I can add an image or flash object but the php inserts it. Here is the code from the PHP page, but I can not figure where to put the call for the js and where to put the script? The part where the flash object is inserted is at the bottom of the code example.

                I am using the Adobe js code fix.

                By the way, in your page sample it still has the dreaded box, is that file already done?

                • 5. Re: ActiveX Issue in PHP
                  Now that I look at your page I see that you have inserted the code from adobe right after the <body> tag. That bit of script code needs to REPLACE all the code between the <object> tags where the ACTUAL swf code currently is, not just at the top by the <body> tag.

                  So insert this in the head:

                  <script src="AC_RunActiveContent.js" type="text/javascript"></script>

                  and here is the before and after of the replacement of the code where the actual swf is.

                  NOTE: THIS SAMPLE INCLUDES THE TRANSPARENT WMODE, JUST DELETE THAT PART IF YOU DO NOT WANT TRANSPARENT BACKGROUND. IT ALSO INCLUDE THE "NOSCRIPT" FEATURE

                  Note: that you must change the name of the swf file and the sizes in the new adobe code to match your swf