Add a Flash Banner?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Watson
    Senior Member
    • May 2004
    • 281

    Add a Flash Banner?

    How would I go about doing this, I am relaunching my site, and have installed cmps in it also, but I wanna know how to make the main forums banner a flash banner instead of just a jpg/gif

    Any help appreciated

    Watson
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    You would need to remove the HTML code for the title image from the header template, and replace it with an embed tag to call the flash object:

    Code:
    <embed src="URL OR PATH TO FLASH OBJECT" />
    Here is a site that details some of the other attributes of the embed tag.

    Comment

    • ncangler
      Senior Member
      • Dec 2004
      • 192
      • 3.0.6

      #3
      Embed Flash with HTML link for header?

      I have embedded a flash movie in my header file. I'd like to be make a link from the flash movie to the main page of my forum. Any ideas how to add an html link to the flash file or within the header file? Thanks!

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        I don't know if it works with flash objects, but this is how you would normally "link" something:

        Code:
        [color=red]<a href="index.php">[/color]<embed src="URL OR PATH TO FLASH OBJECT" />[color=red]</a>[/color]

        Comment

        • Vtec44
          Senior Member
          • Jan 2005
          • 1555
          • 3.7.x

          #5
          ...or you can turn the entire Flash movie into a clickable button.
          So Cal Sportbike forum - So Cal Moto - Kawasaki Ninja 250R Forum - Custom vinyl decals - Southern California camping forum

          Comment

          • ncangler
            Senior Member
            • Dec 2004
            • 192
            • 3.0.6

            #6
            Thanks for the reply guys. Jake, I tried the code link you suggested, which made sense, but apparently doesn't work with a flash object.
            VTech44, how do I make the flash movie a clickable button. That is what I'm looking for. Thanks.

            Comment

            • Vtec44
              Senior Member
              • Jan 2005
              • 1555
              • 3.7.x

              #7
              I'm not sure how to do it through HTML, but I usually do it through Flash itself. Instead of creating your animation sequense on the main scene, you create a new movie symbol in your library, then add an action script to it when you insert it to the main scene. The action script will be an onclick action, and getURL to where ever you want it to go.
              So Cal Sportbike forum - So Cal Moto - Kawasaki Ninja 250R Forum - Custom vinyl decals - Southern California camping forum

              Comment

              • Estad
                Senior Member
                • Jul 2002
                • 271
                • 3.8.x

                #8
                If I want to control on flash size
                hight and width

                How I can make it ??
                Kuwait sun

                Comment

                • Jake Bunce
                  Senior Member
                  • Dec 2000
                  • 46598
                  • 3.6.x

                  #9
                  You can specify height and width attributes in the embed tag:

                  Code:
                  <embed src="URL OR PATH TO FLASH OBJECT" height="Y" width="X" />

                  Comment

                  • tool2
                    New Member
                    • Aug 2009
                    • 8

                    #10
                    sorry to hijack this thread

                    your code worked
                    but i want the flash movie to go to the right side of the header page

                    thanks any ideas

                    Comment

                    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                    Working...