how do i put a flash banner onto my site?

  • 2
  • Question
  • Updated 7 years ago
  • Answered
I have my flash banner but its .swf how can i put it on my site?
Photo of John McCarthy

John McCarthy

  • 1292 Posts
  • 99 Reply Likes

Posted 9 years ago

  • 2
Photo of Ed-a-Torials @ Honey Bear Playhomes

Ed-a-Torials @ Honey Bear Playhomes, Champion

  • 2582 Posts
  • 279 Reply Likes
Yes, you can add flash to your site. (But unfortunately not to your main banner)

If you have a swf flash file you can add it as follows:

1) Upload your .swf file. You can do this by clicking on the File Manager button.
2) Drag and drop an HTML widget onto your site, where you would like to see your flash presentation, and paste the following HTML inside it:

<object width="200" height="400">
<param name="movie" value="resources/myswffile.swf">
<embed src="resources/myswffile.swf" width="200" height="400">
</embed>
</object>

3) Then substitute "myswffile.swf" in the code above - in both places, with the name of the file you uploaded, and you should see the flash movie appear when you close the HTML editor. You'll need to play around with the width and height values in the text above, to suit your movie's needs.
4) Remember to include any folder names in the file path if your file is stored in a folder in the File Manager. For example: "resources/Flash folder/myswffile.swf"

If you have any further questions, please let us know.

Happy site building
Ed

You can check out my updated site here...

You can find many of my threads here... Just look for the light bulbs

Here is a great other thread of mine about flash that I posted some time ago...
http://getsatisfaction.com/yola/topic...
Photo of John McCarthy

John McCarthy

  • 1292 Posts
  • 99 Reply Likes
thanks so much this worked perfectly,
would this code also work for flash games?
Photo of Ed-a-Torials @ Honey Bear Playhomes

Ed-a-Torials @ Honey Bear Playhomes, Champion

  • 2582 Posts
  • 279 Reply Likes
Any flash that you have it should work for but don't quote me on that ;)
Photo of John McCarthy

John McCarthy

  • 1292 Posts
  • 99 Reply Likes
ok thanks
Photo of Ed-a-Torials @ Honey Bear Playhomes

Ed-a-Torials @ Honey Bear Playhomes, Champion

  • 2582 Posts
  • 279 Reply Likes
I am glad that it all worked out for you John. Wonderful job so far my friend keep it up... By the way great name you have there... It's my middle name ;)
Photo of stars143

stars143

  • 1 Post
  • 0 Reply Likes
i had created blog website in that i want to insert my images as a slideshow display in flash

how to insert images as a flash

eg:-when others open my site ask pluginmissing to download

sry for bad english
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello stars143,
Can you tell us if you are wanting to do something different than what this thread goes through in terms of instructions for adding flash to your site. The steps that Ed gave above will step you through adding flash to your site.

Kind Regards,
Emmy
Photo of Amar

Amar

  • 201 Posts
  • 14 Reply Likes
Hello,
Is there a way to add a flash file to the banner?

Kind Regards,
Amar
Photo of Andi North, Mangopear Media

Andi North, Mangopear Media

  • 782 Posts
  • 111 Reply Likes
Hi Amar,

There is no way to physically add a Flash banner to the banner area, what you can do instead is the following:

1. Insert a column divider at the top of the page.
2. Move the centre bar to the far left.
3. Insert another Column Divider into the right section of the first column divider.
4. Move the centre bar of this column divider to the far left.
5. Insert a HTML Widget into the right section of the SECOND Column Divider.
6. Insert the following code into the HTML Widget:

(Without <!--- and --->)

<!---

<object width="200" height="400">
<param name="movie" value="resources/myswffile.swf">
<embed src="resources/myswffile.swf" width="200" height="400">
</embed>
</object>

--->

7. Edit the variables - the object width and height; the value and embed src aswell as the other width and height variables.
8. Click on the margin button of the SECOND column divider, and set the top value to -100.
9. Preview the site and see where the flash banner is in relation to the banner.
10. Edit the margins of the second column divider so that the Flash banner and the website banner match up.

A few tips...
Ensure that you have an image in the banner area aswell so that users who do not have Flash installed can still view something! This is good for your website's accessibility.

Also, use text in your Flash file instead of graphics of text so that Google Bots can read your site. This will improve your Google ranking.

Hope this helps you,

If you need any more assistance please do not hesitate to reply.

Andi
Photo of diane

diane

  • 1238 Posts
  • 121 Reply Likes
Thanks, Andi.
Amar, Andi has given a great solution. Please let us know if you have any other questions.
Photo of Andi North, Mangopear Media

Andi North, Mangopear Media

  • 782 Posts
  • 111 Reply Likes
No problem Diane,

I have done it before on my websites, make sure that the banner image is about 5 px smaller all around because different browsers render the margin properties of the Column Dividers differently and this 5 px will stop the banner underneath showing through.

Andi