SMF Support > SMF 2.0.x Support

header swf

(1/4) > >>

mayk_12:
hi

i want header swf 

Images is very simple

GIF , Its size is too large

I need this

Yesterday convert video to swf The size 900 K.B

And when you turn it into a GIF The size 8 M.B , Is a big problem




selmiak:
you'll have  to change this in the source for the index.template.php in the part Beginning on line 168. You'll want to embed the swf as an object, not an image. If you don't know what you are doing you better make backups of your files.

mayk_12:

--- Quote from: selmiak on April 25, 2012, 05:53:51 AM ---you'll have  to change this in the source for the index.template.php in the part Beginning on line 168. You'll want to embed the swf as an object, not an image. If you don't know what you are doing you better make backups of your files.

--- End quote ---

No, not this

Change in the file ,  index.css

but I need code to do this

mayk_12:
this hard ????

MrPhil:
Flash files are multimedia objects, and not in the same class as regular images (GIF, JPEG, PNG, etc.). I don't think CSS will handle a background Flash (SWF) file. Are you looking to replace a background image file (possibly defined in CSS) or a foreground image file (HTML <img> tag)? Most likely you are going to have to restructure the output HTML code to do it as an embedded object. In addition, if you want it to play as a background, you'll probably have to restructure even more code to put the Flash file at the lowest z-index and all overlying content at a higher z-index. Not a simple matter. Yes, it is very hard. It's an interesting concept to have an embedded Flash object in place of an image, but quite difficult, especially if you want to use it as a background under other items.

Navigation

[0] Message Index

[#] Next page

Go to full version