4 Replies Latest reply on Dec 6, 2011 9:13 AM by gandalf458

    Lost the control bar

    gandalf458 Level 1

      I have created a video with a control bar in Flash 8. When I run the .swf file by itself (in Flash player or IE) the control bar is there but when I add it to my web page the control bar is missing. Can anyone help please?


      My embedding code is:


              <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="492" height="360" title="Samaritans">

                <param name="movie" value="docs/video1.swf" />

                <param name="quality" value="high" />

                <embed src="docs/video1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="492" height="360"></embed>


        • 1. Re: Lost the control bar
          Ned Murphy Adobe Community Professional & MVP

          That is old-style embedding code which might not work for all browsers.  So if you want to address that aspect then you should consider looking into making use of swfObject embedding which is available thru the following link...




          Aside from that, since you are loading the swf from a different folder than where the html page is, that could be the source of your problem if you have not coded the swf to work in that file structure.  When you embed an swf into an html page, the html page becomes the reference basis for any files that the swf tries to load.  So if you have not done so, your swf needs to target any files it loads as if it is sitting in the same folder as the html page... it does not have to be in that folder, but it does have to act like it is since when it is loaded into that html page it is as good as living there anyways.

          1 person found this helpful
          • 2. Re: Lost the control bar
            gandalf458 Level 1

            Ned - many thanks for your helpful reply. I know the code isn't ideal but I ran into difficulties with swfobject too.




            • 3. Re: Lost the control bar
              iFlashAppsToo Level 3

              is the control bar a skin?


              if so, did you upload it to the webpage into the same location of your directory structure?

              • 4. Re: Lost the control bar
                gandalf458 Level 1

                It wasn't obvious but yes it is a skin. Having moved the control bar from the directory containing the .swf file to the directory containing the HTML file it works a treat...