tbsweb Posted July 9, 2007 Share Posted July 9, 2007 Hi I have recenlty purchased a flash header for my site however when I change the code in header.tpl to ></p></td> to header.swf where I have uploaded it to also it does not work just get the red cross white box could someone please assist. Thanks 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted July 9, 2007 Share Posted July 9, 2007 uh, maybe because flash isnt an image? you need to do some googling on inserting flash into your page or pay someone to do it for you. 0 Quote Link to comment Share on other sites More sharing options...
uberhost Posted July 9, 2007 Share Posted July 9, 2007 Here's the best method of embedding Flash that I've found: blog.deconcept.com/swfobject/ If you have any questions about making it work, just post here and I'll be glad to assist. 0 Quote Link to comment Share on other sites More sharing options...
tbsweb Posted July 9, 2007 Author Share Posted July 9, 2007 I have read that address thanks will try it out but it seems to be that wsof is for a html doc! but whmcs does not seem to have html documents... 0 Quote Link to comment Share on other sites More sharing options...
Joweb Posted July 9, 2007 Share Posted July 9, 2007 Here is how I did it <embed src="https://yourdomainname.com/flash/headernosound.swf" width="766" height="302"></embed> works for me 0 Quote Link to comment Share on other sites More sharing options...
tbsweb Posted July 9, 2007 Author Share Posted July 9, 2007 Ok well it sort of works I know have no red cross but the header does not load but it is there. Here is what I have edited in templates/default/header.tpl <td id="mainheader"> <embed src="tbswebhosting/flash/header.swf" width="755" height="222"> </embed> please check it out @ tbswebhosting.com/whmcs Thanks I know I am missing h t t p but Im not allowed to post until 15 posts 0 Quote Link to comment Share on other sites More sharing options...
Joweb Posted July 9, 2007 Share Posted July 9, 2007 Have you uploaded the header.swf to your directory on the server? 0 Quote Link to comment Share on other sites More sharing options...
SpookedOut Posted July 9, 2007 Share Posted July 9, 2007 I don't think you have actually. Make sure the header.swf Is uploaded! There should be no reason as to why flash (.swf) wouldn't work! 0 Quote Link to comment Share on other sites More sharing options...
Joweb Posted July 9, 2007 Share Posted July 9, 2007 I see 2 urls 1. tbswebhosting/flash/header.swf 2. tbswebhosting/Flash/header.swf 2 diff directories. This is where it is http://tbswebhosting.com/Flash/header.swf not http://tbswebhosting.com/flash/header.swf 0 Quote Link to comment Share on other sites More sharing options...
tbsweb Posted July 9, 2007 Author Share Posted July 9, 2007 Im not that daft well I dont think I am atleast its in root/public_html/flash. I dont know why its not showing neither doing me head in now. Yesterday was showing red cross as wrong code now right code and not loading... 0 Quote Link to comment Share on other sites More sharing options...
Joweb Posted July 9, 2007 Share Posted July 9, 2007 try this in header.tpl <embed src="http://tbswebhosting.com/Flash/header.swf" width="766" height="302"></embed> 0 Quote Link to comment Share on other sites More sharing options...
tbsweb Posted July 9, 2007 Author Share Posted July 9, 2007 thanks guys sorted now just think the code/address was not right. Thanks very much Joe... happy now!! Now just have to cofigure flash buttons. 0 Quote Link to comment Share on other sites More sharing options...
Joweb Posted July 9, 2007 Share Posted July 9, 2007 No problem 0 Quote Link to comment Share on other sites More sharing options...
trine Posted July 9, 2007 Share Posted July 9, 2007 Instead of using embed, I would use the object tag and call the swf movie with param. Some browsers will give you a warning when embedding, or require you to click the movie to start it. 0 Quote Link to comment Share on other sites More sharing options...
uberhost Posted July 10, 2007 Share Posted July 10, 2007 Instead of using embed, I would use the object tag and call the swf movie with param. Some browsers will give you a warning when embedding, or require you to click the movie to start it. Yep, that's why I recommended SWFObject. 0 Quote Link to comment Share on other sites More sharing options...
trine Posted July 10, 2007 Share Posted July 10, 2007 Agreed ... but I don't think they understood why 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.