Announcement

Collapse
No announcement yet.

Flash Using a XML control file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Flash Using a XML control file

    Hi im having some problems using a .swf file that requires a .xml file list, i can get it to appear in site preview but when uploading it says move not loaded and cant see anything, i have looked through the forums and cant seem to come up with an answer.
    any ideas would be good.
    thanks

    code using in my fragment
    !!<<center>
    <object width="567" height="315">
    <param name="movie" value="flashmo_237_touch_slider.swf">
    <embed src="flashmo_237_touch_slider.swf" width="567" height="315">
    </embed>
    </object> </center>>!!

    i have also tried

    !!<<center>
    <object width="567" height="315">
    <param name="movie" value="flashmo_237_touch_slider.swf?xml=flashmo_237_photo_list.xml">
    <embed src="flashmo_237_touch_slider.swf?xml=flashmo_237_photo_list.xml" width="567" height="315">
    </embed>
    </object> </center>>!!

    #2
    Is the swf file uploaded to the server? If not add it to the additional files list.

    Comment


      #3
      thanks duncan,
      i have got that in the additional file section, but when i do an upload i am getting a diff file checksum error, also when i check the acatalog on the server it does not upload it, i have put it there manually to test it but it doesnt make and difference ? ? ?

      Comment


        #4
        What's the URL?

        Comment


          #5
          the website URL is http://www.premier-solutions.uk.com

          Comment


            #6
            Try this 'old fashioned' method:

            Code:
            !!<<center>
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="567" height="315" >
              <param name="movie" value="http://www.premier-solutions.uk.com/acatalog/flashmo_237_touch_slider.swf">
              <param name="quality" value="high">
              <embed src="http://www.premier-solutions.uk.com/acatalog/flashmo_237_touch_slider.swf" width="567" height="315" align="top" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
            </object>
            </center>>!!

            Comment


              #7
              For any method to work you must be able to 'see' the swf file on the server in your browser.
              The file should be uploaded to:
              http://www.premier-solutions.uk.com/...uch_slider.swf

              and that seems a bit strange in the browser. Is the flash file ok, does it work on your desktop?

              Comment


                #8
                Hi, have just tried that code, am now getting the flash up but seems to be without the xml input ( i adjusted the high and width of the code provided hope this didn't mess with the out put )
                ???

                yes i have had the flash file work on my desktop and all was okay with the file,
                i thought that this could have been the problem and have created multiple file with different export setting from adobe flash.

                Comment


                  #9
                  Where is the xml file located, is it also uploaded to the same place/folder?

                  Comment


                    #10
                    You will need to replicate the same code for all the flash elements on the page.

                    Comment


                      #11
                      have just updated the flash code for other elements also yes i have just attempted to add the SWF and XML file though the additional files section in the actinic software so should all be in same place.

                      Comment


                        #12
                        I guessing this is from Flashmo - have you followed the installation instructions on the their website?

                        Comment


                          #13
                          hello, yes working from a flashmo template, trying to work with there instructions but obviously its not going well,
                          the code i am attepting now is

                          HTML Code:
                           <head>
                          <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
                          <title>flashmo_237_touch_slider</title>
                          <script language="javascript">AC_FL_RunContent = 0;</script>
                          <script src="AC_RunActiveContent.js" language="javascript"></script>
                          </head>
                          <body bgcolor="#000000">
                          <!--url's used in the movie-->
                          <!--text used in the movie-->
                          <!--
                          loading image 00 of 00
                          -->
                          <!-- saved from url=(0013)about:internet -->
                          <script language="javascript">
                          	if (AC_FL_RunContent == 0) {
                          		alert("This page requires AC_RunActiveContent.js.");
                          	} else {
                          		AC_FL_RunContent(
                          			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
                          			'width', '567',
                          			'height', '315',
                          			'src', 'http://www.premier-solutions.uk.com/acatalog/flashmo_237_touch_slider.swf',
                          			'quality', 'high',
                          			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
                          			'align', 'middle',
                          			'play', 'true',
                          			'loop', 'true',
                          			'scale', 'showall',
                          			'wmode', 'window',
                          			'devicefont', 'false',
                          			'id', 'flashmo_237_touch_slider',
                          			'bgcolor', '#000000',
                          			'name', 'flashmo_237_touch_slider',
                          			'menu', 'true',
                          			'allowFullScreen', 'false',
                          			'allowScriptAccess','sameDomain',
                          			'movie', 'flashmo_237_touch_slider',
                          			'salign', ''
                          			); //end AC code
                          	}
                          </script>
                          <noscript>
                          	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="567" height="315" id="flashmo_237_touch_slider" align="middle">
                          	<param name="allowScriptAccess" value="sameDomain" />
                          	<param name="allowFullScreen" value="false" />
                          	<param name="movie" value="http://www.premier-solutions.uk.com/acatalog/flashmo_237_touch_slider.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" />	<embed src="http://www.premier-solutions.uk.com/acatalog/flashmo_237_touch_slider.swf" quality="high" bgcolor="#000000" width="567" height="315" name="flashmo_237_touch_slider" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
                          	</object>
                          </noscript>
                          </body>
                          </html></center>>!!
                          still not working online but working on system okay guess there may be some files missing of the server ?

                          Comment


                            #14
                            You shouldn't be adding the below into a fragment:

                            Code:
                            <head>
                            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
                            <title>flashmo_237_touch_slider</title>
                            <script language="javascript">AC_FL_RunContent = 0;</script>
                            <script src="AC_RunActiveContent.js" language="javascript"></script>
                            </head>
                            <body bgcolor="#000000">
                            The 2 scripts should be in the head area of your template, the rest should be deleted as the actinic template includes those for you already.

                            Comment


                              #15
                              thanks feel i may be over confusing things now
                              i can seem to get it to work in a standard html file on another section of ther server
                              Here
                              but cant get it to work in actinic very confused now,

                              Comment

                              Working...
                              X