We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26656
    • 10 Posts
    I click edit content in main site and i add code for flash but not working

     <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="531" height="273" title="Flash news">
              <param name="movie" value="http://localhost/DISKO/gremonaparty.com/public_html/FLASH/News_flash.swf" />
              <param name="quality" value="high" />
              <embed src="http://localhost/DISKO/gremonaparty.com/public_html/FLASH/News_flash.swf" width="531" height="273" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
            </object>
    
     
    
    [[Ditto? &startID=`39` &tpl=`blog` &summarize=`20` &displayArchive=`0` &truncLen=`320`  &trunc=`1`  &sortBy=`menuindex`&truncChars=`1` ]]
    



    What i am doing wrong?
      • 6726
      • 7,075 Posts
      I am no expert at flash embedding thus I wouldn’t know what’s wrong here, but all I know is I mostly use SWF Object to embed flash since it’s an accessible way to do it.

      There happens to be a SWF snippet for MODx :
      http://modxcms.com/SWFObject-1815.html
      :)

      You have a few more snippets which help you embed flash and/or flash movies :
      http://modxcms.com/resource-listing.html&tags=flash
        .: COO - Commerce Guys - Community Driven Innovation :.


        MODx est l&#39;outil id
        • 32927
        • 45 Posts
        hi! I am no expert here but this is what I did and worked fine for me.

        <object width="788" height="260">
        <param name="movie" value="mpara.swf">
        <embed src="stylized/mpara.swf" width="788" height="260">
        </embed>
        </object>

        I had a flash movie (mpara.swf) I placed the above code into my template (but I am sure you can also produce a chunk). You need to change your object "width" and "hight" (first line snd third line) ,your "value" (second line), and your "embed src" to point to your object (third line).
        Hope that helps. Good luck!
          * Mathematics, rightly viewed, possesses not only truth, but supreme beauty
          • 26656
          • 10 Posts
          hi,

          problem is that code is not converted but is like string so instead of flash i see a text
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="531" height="273" title="Flash news">
                    <param name="movie" value="http://localhost/DISKO/gremonaparty.com/public_html/FLASH/News_flash.swf" />
                    <param name="quality" value="high" />
                    <embed src="http://localhost/DISKO/gremonaparty.com/public_html/FLASH/News_flash.swf" width="531" height="273" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
                  </object>
          


          URL is ok becouse i test in localhost
            • 7231
            • 4,205 Posts
            Paste the code in html mode rather than in RTE.
              [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

              Something is happening here, but you don&#39;t know what it is.
              Do you, Mr. Jones? - [bob dylan]
              • 26656
              • 10 Posts
              I try to add in HTML sorce editor but also not working.

              If i add this in blank.html page then works.
                • 26656
                • 10 Posts
                look here

                http://gremonaparty.com/

                no flash is loaded.

                If i add the same code in http://gremonaparty.com/FLASH/ in index.html then works

                EDIT: i see that problem is with <base href="http://gremonaparty.com/" />. I can not comment it, why not working with <base href

                whole code

                <script type="text/javascript">
                AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','531','height','273','title','Flash news','src','News flash','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','News flash' ); //end AC code
                </script>
                	
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="531" height="273" title="Flash news">
                	<param name="movie" value="http://gremonaparty.com/assets/flash/News_flash.swf" />
                  <param name="quality" value="high" />
                  <embed src="http://gremonaparty.com/assets/flash/News_flash.swf" width="531" height="273" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
                </object>
                
                  • 26656
                  • 10 Posts
                  i have now like you said

                  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="531" height="273" title="Flash news">
                  	<param name="movie" value="assets/flash/News_flash.swf" />
                    <param name="quality" value="high" />
                    <param name="AllowScriptAccess" value="always">
                    <embed src="assets/flash/News_flash.swf" AllowScriptAccess="always" width="531" height="273" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
                  </object>
                  


                  bust till not working

                  I search for crossdomain.xml and i found this http://twitter.com/crossdomain.xml

                  Where i must put this file?

                    • 26656
                    • 10 Posts
                    i copy crossdomain.xml in the public_html folder but still not wokring. I give <allow-access-from domain="*" /> so anyone can access.