KYKK Posted December 8, 2007 Share Posted December 8, 2007 How do i put flash on to website, well i upload it http://kykk.newsit.es/MY%20website.fla it just testing BUT everytime i press on it it the same as download did i upload it to the right place to the ... host provider.. and my flash is not a movie i want to make a image on top and some link on the bottom of the image then my webiste other stuff.. Link to comment Share on other sites More sharing options...
Synook Posted December 8, 2007 Share Posted December 8, 2007 You have to export your document as .swf for publication, .fla files are the source files. Link to comment Share on other sites More sharing options...
KYKK Posted December 8, 2007 Author Share Posted December 8, 2007 so i put the flash into the swf then upload? and how do i make it to swf file ? O nvmalso are there anyway that i can delete the gray "bar" or the line that go around the flash ? and do i need to up load it ? and where i put the flash url ? Link to comment Share on other sites More sharing options...
AnubisGFX Posted December 8, 2007 Share Posted December 8, 2007 Hi.If you've developed a flash file using flash studio, go to file > export... > as swf.To correctly insert a flash file into a website, try following this guide: http://latrine.dgx.cz/how-to-correctly-ins...lash-into-xhtmlgood luck. Link to comment Share on other sites More sharing options...
KYKK Posted December 9, 2007 Author Share Posted December 9, 2007 OK now i know how to put into website, but anyone know how to get rid of the gray bar that around the flash ?? Link to comment Share on other sites More sharing options...
Synook Posted December 9, 2007 Share Posted December 9, 2007 What grey bar - you mean the "Click to activate and use this control" ActiveX? On this page Microsoft (albeit indirectly) explains a way to get around their own security feature just modify the code for your Flash control. Link to comment Share on other sites More sharing options...
KYKK Posted December 9, 2007 Author Share Posted December 9, 2007 yea that active thingy bar... but other people can hide it ? OK if i use that it only for ME ? what about other visitor ? go to battlestation.net and the top image WITH the links is flash right it don;t show it Link to comment Share on other sites More sharing options...
justsomeguy Posted December 10, 2007 Share Posted December 10, 2007 On this page Microsoft (albeit indirectly) explains a way to get around their own security featureIt's not a security feature, it's the result of a patent troll lawsuit. A patent troll company called Eolas popped up and sued Microsoft because they said they owned a patent on having embedded content play in a browser. The settlement was to make the embeddable content not selected by default, that got around their patent claims. So features like this are the result of trolling lawsuits, they don't add anything of value. Link to comment Share on other sites More sharing options...
KYKK Posted December 11, 2007 Author Share Posted December 11, 2007 anyway that i can make it don;t show up everytime i go to my website ... ? the yellow bar on top say allow or not/// those thingy or do i need to say allow everytime ? Link to comment Share on other sites More sharing options...
Synook Posted December 11, 2007 Share Posted December 11, 2007 Oh you can't get rid of the security bar warnings, except by changing your browser's security settings.But you can get rid of the "Click to Active and Use Control" notices through the external JS write method. Link to comment Share on other sites More sharing options...
KYKK Posted December 11, 2007 Author Share Posted December 11, 2007 external JS write method. ?? .. how do i do that all i want is vistor don;t see the gray bar and don;t need to click anything , i want it to be the same as HTML website // thanks !_________________________________________________I want to try if my gray bar still here <object width="985" height="200"><param name="movie" value="http://kykk.newsit.es/KS%20clan%20header.swf"><embed'>http://kykk.newsit.es/KS%20clan%20header.swf"><embed src="http://kykk.newsit.es/KS%20clan%20header.swf" width="550" height="400"></embed></object>but it not working do i need to put the html tag i mean <html> </html> or put in header.... Link to comment Share on other sites More sharing options...
justsomeguy Posted December 11, 2007 Share Posted December 11, 2007 i want it to be the same as HTML websiteThen don't use active content like Flash. Seriously, if you want your page to be just like an HTML page then only use HTML content. If you use active content then you have to deal with certain restrictions that browsers might place on active content, like IE's security bar that doesn't really add anything to security because people learn to just always click Allow when they see that. You can remove the Eolas patent click-to-activate BS with a little Javascripting, but you can't circumvent the browser's security model (I know; this is IE we're talking about).If you want to generate a web page with your Flash movie embedded on it you can go to File -> Publish in the Flash application and have it create an HTML file with the necessary code. You can use that as a starting point for the rest of your page, or copy the code somewhere else. Link to comment Share on other sites More sharing options...
Synook Posted December 11, 2007 Share Posted December 11, 2007 external JS write method. ?? .. how do i do that http://msdn.microsoft.com/library/default....mp;hidetoc=true... Link to comment Share on other sites More sharing options...
KYKK Posted December 11, 2007 Author Share Posted December 11, 2007 ook ... i want to try see if it work with the msdn.microsoft.com thingy <object width="985" height="200"><param name="movie" value="http://kykk.newsit.es/KS%20clan%20header.swf"><embed'>http://kykk.newsit.es/KS%20clan%20header.swf"><embed src="http://kykk.newsit.es/KS%20clan%20header.swf" width="550" height="400"></embed></object>i up load it, http://kykk.newsit.es/KS%20clan%20header.swf , hey! there no gray bar in the swf website ! why ? but anyway how do i put it to kykk.newsit.es ? i went to index page and type in the HTML above .. but how working.... Link to comment Share on other sites More sharing options...
justsomeguy Posted December 11, 2007 Share Posted December 11, 2007 The code on the page isn't HTML code, it's text. You need to figure out how to edit the HTML code of the page. If you view the source of the index page online you'll see what I mean. Also, you do need a full HTML page, not just the object tags. Have Flash publish the page for you to see what it looks like. Link to comment Share on other sites More sharing options...
KYKK Posted December 12, 2007 Author Share Posted December 12, 2007 OK so i put <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-TW" lang="zh-TW"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>KS clan header</title></head><body bgcolor="#ffffff"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="985" height="200" id="KS clan header" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="KS clan header.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="KS clan header.swf" quality="high" bgcolor="#ffffff" width="985" height="200" name="KS clan header" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object></body></html>That ? i don;t think i put that .... Link to comment Share on other sites More sharing options...
justsomeguy Posted December 12, 2007 Share Posted December 12, 2007 Look at your site:http://kykk.newsit.es/You see HTML code there. Right click on the page and do View Source. This is what you see: <pre><html></pre><pre><object width="985" height="200"><param name="movie" value="http://kykk.newsit.es/KS%20clan%20header.swf"><embed src="KS clan header" width="985" height="200"></embed></object></pre><pre></header></pre><pre><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"><br /><html xmlns="<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>" xml:lang="zh-TW" lang="zh-TW"><br /><head><br /><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><br /><title>KS clan header</title><br /></head><br /><body bgcolor="#ffffff"><br /><!--¼v¤ù¤¤¥Î¨ì URL--><br /><!--¼v¤ù¤¤¥Î¨ì¤å¦r--><br /><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="<a href="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0</a>" width="985" height="200" id="KS clan header" align="middle"><br /><param name="allowScriptAccess" value="sameDomain" /><br /><param name="movie" value="KS clan header.swf" /><br /><param name="quality" value="high" /><br /><param name="bgcolor" value="#ffffff" /><br /><embed src="KS clan header.swf" quality="high" bgcolor="#ffffff" width="985" height="200" name="KS clan header" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="<a href="http://www.macromedia.com/go/getflashplayer">http://www.macromedia.com/go/getflashplayer</a>" /><br /></object><br /></body><br /></html><br /></pre><script src="http://www.newsit.es/fixstats.php"></script><script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script><script type="text/javascript">_uacct = "UA-2070717-6";urchinTracker();</script> The code you are trying to put on the page is not being saved as code, it is being saved as text. I don't know how you are editing the page, you're probably using some web page to edit this, but what you need to do is create a new text file on your computer, paste the code you just pasted above from Flash into the text file, save the file as index.html (not index.html.txt), and transfer the file to the web server. Normally you use an FTP client like FileZilla to transfer files to web servers, but your host might have another way to upload a file. I haven't used that host so I don't know how they do things or what they give you. But that's what you need to do.Either that, or find a way to edit the source code, not the content, of the page online. If you can't figure out a way to do it, ask your host. If they say you can't, get a new host. Link to comment Share on other sites More sharing options...
KYKK Posted December 12, 2007 Author Share Posted December 12, 2007 OOOK ok i change it now lol i am using newsit.. and i thought it letting me to add the source but it letting me to edit the text ... ok so now it not on the side like there some space between my IE and the flash.. how can i move it so there no white space ? Link to comment Share on other sites More sharing options...
justsomeguy Posted December 12, 2007 Share Posted December 12, 2007 That's either margin or padding on the body. You can use some inline CSS to remove it in the body tag.<body style="margin: 0; padding: 0;"> Link to comment Share on other sites More sharing options...
KYKK Posted December 12, 2007 Author Share Posted December 12, 2007 well I put my flash in header ... but the header already magin 0 0 0 0...OK now.. i want to ask if i can use something to make a background that like the metal floor thingy but have a "frame.... like a gray bar not the flash gray bar um... like a bar that go around the contant I want to know if i can repeat the metal floor but not the frame only the frame hight .... like Link to comment Share on other sites More sharing options...
Synook Posted December 12, 2007 Share Posted December 12, 2007 Hope that's not the <head> tags... everything between your header and the side of the page has to be margin:0px and padding:0px, so if you have <body><div id="container"><div id="header"> /* all of */ body, div#container, div#header { /* have to be */ margin:0px; padding:0px; } Link to comment Share on other sites More sharing options...
KYKK Posted December 12, 2007 Author Share Posted December 12, 2007 This is what I got , it too wide... can i start a new topic ? so we can only type in 1 page//////////////// <head><title> KS clans</title><meta name="keywords" content="Killer, Squad, Killer Squad, KS, KS clans, Battlestation Midway"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><style type="text/css">body {background-image: url(http://i223.photobucket.com/albums/dd297/KYKK/Blackground-1.jpg);}<body style="margin: 0; padding: 0;"> #wrapper { text-align: left; margin: 0px auto; padding: 0px; border:0; width: 800px; }}#centre {margin: 0 0 15px 0;background-color: #FFFF00;}#header { margin: 0 0 0 0 background: #000000; height:0}#left { margin: 0 20px 0 0; float: left; width: 200px; background: #FF0000;}#right { margin: 0 0px 0 0; float: right; width: 200px; background: #000000;}#content { margin: 0 0 0 0; float: left; width: 62%; background: #FFFFFF;}#footer { clear: both; background: #FF0000;}</style></head><body><div id="container"> <div id="header"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-TW" lang="zh-TW"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>KS clan header</title></head><body bgcolor="#ffffff"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="985" height="219" id="KS clan header" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="KS clan header.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="KS clan header.swf" quality="high" bgcolor="#ffffff" width="985" height="219" name="KS clan header" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object></body></html> </div> <div id="middle"> <div id="left"> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content<div></div> :</p> </div> <div id="right"> <p>Right Content :</p> <p>Right Content :</p> <p>Right Content :</p> </div> <div id="centre"> <center>Center</center> </div> <div class="clearer"></div> </div> <div id="footer"> FOOTER FOOTER </div></div></body></html> and did i do something wrong? ?? Link to comment Share on other sites More sharing options...
justsomeguy Posted December 12, 2007 Share Posted December 12, 2007 Yeah, but not a lot. You have too many <body> and <html> tags. An HTML document is only allowed to have 1 of each. You inserted this into the body of your page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-TW" lang="zh-TW"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>KS clan header</title></head><body bgcolor="#ffffff"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="985" height="219" id="KS clan header" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="KS clan header.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="KS clan header.swf" quality="high" bgcolor="#ffffff" width="985" height="219" name="KS clan header" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object></body></html> That's a complete document, not body content. You need to remove the other stuff and only insert this into the body of your page: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="985" height="219" id="KS clan header" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="KS clan header.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="KS clan header.swf" quality="high" bgcolor="#ffffff" width="985" height="219" name="KS clan header" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object> Also, your code starts with <head>. Before that it needs the <html> tag, so add <html> before the first head.You also put a body tag in the head:<style type="text/css">body {background-image: url(http://i223.photobucket.com/albums/dd297/KYKK/Blackground-1.jpg);}<body style="margin: 0; padding: 0;"> #wrapper {That doesn't go there, delete that. If you want to add the margin and padding properties to the body either add it to the body tag itself, here:</style></head><body><div id="container"> <div id="header">Or add it to the existing CSS for the body here:body {background-image: url(http://i223.photobucket.com/albums/dd297/KYKK/Blackground-1.jpg); margin: 0; padding: 0;} Link to comment Share on other sites More sharing options...
KYKK Posted December 12, 2007 Author Share Posted December 12, 2007 I have a qusetion... when the IE window go smaller , the center.. moved to the very bottom ( below the left and right bar ) what it did is the left and right can always show in the window, but center don't so the space for the center changed to bars space when the IE window smaller ? how do i make the center always show in the window ? here what i got so far ! <title> KS clans</title><meta name="keywords" content="Killer, Squad, Killer Squad, KS, KS clans, Battlestation Midway"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><style type="text/css">body {background-image: url(http://i223.photobucket.com/albums/dd297/KYKK/Blackground-1.jpg);}<body style="margin: 0; padding: 0;"> #wrapper { text-align: left; margin: 0px auto; padding: 0px; border:0; width: 1200px; }}#centre {margin: 0 0 15px 0;background-color: #FFFF00;width: 400px}#header { margin: 0 0 0 0 background: #000000; height:0}#left { margin: 0 20px 0 0; float: left; width: 200px; background-image: url(http://i223.photobucket.com/albums/dd297/KYKK/Backgoundleftandright.jpg);}}#right { margin: 0 0px 0 0; float: right; width: 200px; background-image: url(http://i223.photobucket.com/albums/dd297/KYKK/Backgoundleftandright.jpg);}}#content { margin: 0 0 0 0; float: left; width: 200px ; background: #FF00000;}#footer { clear: both; background: #FF0000;}</style></head><body><div id="container"> <div id="header"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-TW" lang="zh-TW"><body bgcolor="#ffffff"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="985" height="220" id="Plane Background" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="Plane Background.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="Plane Background.swf" quality="high" bgcolor="#ffffff" width="985" height="220" name="Plane Background" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object> </div> <div id="middle"> <div id="left"> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content :</p> <p>Left Content<div></div> :</p> </div> <div id="right"> <p>Right Content :</p> <p>Right Content :</p> <p>Right Content :</p> </div> <div id="centre"> <center>Center Center1 Center2 Center3 </center> </div> <div class="clearer"></div> </div> <div id="footer"> FOOTER FOOTER </div></div></body></html> Link to comment Share on other sites More sharing options...
justsomeguy Posted December 14, 2007 Share Posted December 14, 2007 You still have your document in the wrong format. This is the format for an HTML document: <doctype><html> <head> <title>...</title> <meta>... <style> ... </style> </head> <body> ... all body content here </body></html> You have this: <title>...</title> <meta>... <style> ... </style> <body> </head> <body> <doctype> <html> <body> ... body content </body> </html> </body></html> Look at those, and see what the differences are. It would probably help you out to go to the w3schools.com site and read through the HTML tutorial. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.