| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
adding flash to the welcome.tpl | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
adding flash to the welcome.tpl
hi,
trying to figure out the best way to add a small flash movie to my front page. currently i'm using a static image embedded in the welcome.tpl file. here's the code: Code:
simply replacing the "{$ImagesDir}/front_page1.jpg" with "{$ImagesDir}/front_page1.swf" aint working, so what do i need to do? i did check out this thread but i couldn't really make sense of it. any help would be greatly appreciated.
__________________
Linux X-Cart 4.1.11 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: adding flash to the welcome.tpl
Quote:
You can not insert a flash as a picture. You need to use a special code to insert a flash. PHP Code:
|
|||||||||
|
#3
|
|||||||
|
|||||||
Re: adding flash to the welcome.tpl
Easy method here using SWFObject...
http://www.xcartmods.co.uk/adding-flash-x-cart-mods-pg-8.html
__________________
xcartmods.co.uk |
|||||||
#4
|
|||||||
|
|||||||
Re: adding flash to the welcome.tpl
thanks all, got this working!
__________________
Linux X-Cart 4.1.11 |
|||||||
#5
|
|||||||||
|
|||||||||
Re: adding flash to the welcome.tpl
This is an old thread, but here it goes anyway.
I added this line to my "txt_welcome.tpl" file, and got the Flash to play fine., but there is a White box around the animation, and I can't figure out where it is coming from. Hope someone can help. This is the text I added. Code:
The flash plays just fine, but I need to figure out where the White background is coming from to get rid of it. maybe "skin1.css" Heres the link. http://www.tvtechcenter.com/xcart/home.php Any help would be great. Thanks Michael
__________________
X-Cart 4.5.4 Linux CentOS 5.8 Apache 2.2.3 PHP 5.2.17 MySQL 5.0.95 CDSEOPro 1.8.8 xCMS 1.31 Easyupsale 2.3 |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: adding flash to the welcome.tpl
Can't see any Flash files, did you remove it?
__________________
XCart 4.5.4, 4.6.1, 4.64 stores Many, many mods from Altered Cart XCart Mods Reboot template The XCart Store Templates and Mods WCM CDSEO Pro BCSE Rewards Points and Gallery Mods and a few others |
|||||||||
#7
|
|||||||||
|
|||||||||
Re: adding flash to the welcome.tpl
No its still there, I did add a line to the first part. The Flash file has a Transparent Background, and that was the cause of the problem. This is what the code looks like now.
Code:
The 2 lines in RED are what I changes. The white background is now gone in FF3, but still there in IE7/8. I guess IE has a problem this the "wmode=transparent" Anyway I'm still looking for a fix for it.. If you didn't see the Flash playing on the top of the screen What Browser are you using? Michael
__________________
X-Cart 4.5.4 Linux CentOS 5.8 Apache 2.2.3 PHP 5.2.17 MySQL 5.0.95 CDSEOPro 1.8.8 xCMS 1.31 Easyupsale 2.3 |
|||||||||
#8
|
|||||||||
|
|||||||||
Re: adding flash to the welcome.tpl
If you can't get it to work, you might consider using SWFObject method for embedding flash. I have used their method for transparancy, and it worked for me.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
#9
|
|||||||||
|
|||||||||
Re: adding flash to the welcome.tpl
Or you could save yourself the grief and redo the .fla file with your background colour.
__________________
XCart 4.5.4, 4.6.1, 4.64 stores Many, many mods from Altered Cart XCart Mods Reboot template The XCart Store Templates and Mods WCM CDSEO Pro BCSE Rewards Points and Gallery Mods and a few others |
|||||||||
|
#10
|
|||||||
|
|||||||
Re: adding flash to the welcome.tpl
It's possible to randomise the flash banners ? so on every page refresh it would show new banners ?
__________________
X-Cart: 4.7.7 LIVE Skin:Ultra by xcartmods.co.uk X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9) --------------- Server: Linux php: 5.3 mysql: 5.0.89 ---------------- |
|||||||
|
|||
X-Cart forums © 2001-2020
|