5 Replies Latest reply on Jul 31, 2007 5:44 AM by Marghoob Suleman

    https help

    ToonMariner Level 1
      Hi everyone,

      I really need some help here.

      I have an audio captcha script which is working wonderfully in the browsers I have tested on except for IE.

      The flash object is on a page under an ssl cert so url is https:....

      NOW the flash file calls a php script which concatenates some mp3's that will read out the code and fires the resultant mpe back to the flash player. I am at a complete loss as to why this will not work in IE. if anyone could possibly shed some light on the subject I would be very greatful...

      Many Thanks, Toon
        • 1. Re: https help
          Marghoob Suleman Level 1
          you can try System.security.allowInsecureDomain("https://www.yoursite.com")
          • 2. Re: https help
            ToonMariner Level 1
            Thanks for the reply - but no luck I am afraid. Is there something that IE doesn't like about https with flash???

            I am not sure if it will help but I will post my AS here...

            This code is the code runnning in frame 1...

            var active;
            CodePlayer = new Sound();
            CodePlayer.loadSound(audio, false);
            CodePlayer.onSoundComplete = function ()
            active = false;

            This is the code on the button...

            if (
            active == true
            active = false;
            active = true;

            audio is a php file that is passed to the script like so

            <object type="application/x-shockwave-flash" data="https://www.mysite.com/soundfiles/voice.swf?audio=https://www.mysite.com/soundfiles /audio.php" width="25" height="25">
            <param name="movie" value="https://www.mysite.com/soundfiles/voice.swf" />
            <parma name="audio" value="https://www.mysite.com/soundfiles/audio.php" />

            I can post the php if you think it would help....

            Really don't understand why IE has so much trouble with this...
            • 3. Re: https help
              thats unusual!!! if you post the url here we can test it. it may be your version of IE. its worth a try!!!

              • 4. Re: https help
                ToonMariner Level 1
                wish I could!!!!

                Client doesn't want the site live yet - I will try and get an alternative ready - prob won't be until tomorrow though!!! :(
                • 5. Re: https help
                  Marghoob Suleman Level 1
                  Well, you can replace you object tag with the following...

                  it should work...

                  <object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,1,1,0" width="25" height="25">
                  <param name="src" value="https://www.mysite.com/soundfiles/voice.swf" />
                  <param name="flashvars" value="audio=https://www.mysite.com/soundfiles/audio.php" />
                  <embed src="https://www.mysite.com/soundfiles/voice.swf" pluginspage=" http://www.adobe.com/shockwave/download/" width="25" height="25"></embed>