Log In · Register

 
placing a .swf counter in a top header, having trouble...
shynomi
post Jun 23 2009, 01:23 PM
Post #1


Senior Member
****

Group: Member
Posts: 123
Joined: Nov 2008
Member No: 698,881



Hey guys,
I had a band hit me up that wanted a real basic layout. they want the default myspace look but with a top header to promote their album. they have a flash countdown timer that they want put in so i just need to know the code that would embed it.

I've tried the normal div code that usually places videos, twitters, etc...and they aren't showing up.

here's the div code that usually works for me:

CODE
<div style="position:absolute; top:-500px; left:50%; margin-left:-40px;">
{"MOVIE, TWITTER GOES HERE"}
</div>


nothing is showing. I guess what i'm asking is, is there a way to embed this counter into the top header pic?

http://www.myspace.com/frucatestpage2

Here's the code I have for the page (the top pic is temporary and not linked at the moment)

CODE
<style>div div table div, div.clearfix a, input {display:none;}
div.clearfix table div div {display:block;}</style>

<style>
.profileWidth {
padding-bottom:700px !important;}
</style>

<div id="BannerUnderTopNav" style="position:absolute; z-index:2; margin-left:-374px; top: 0px; background-color:COLOR; background-image: url(http://i382.photobucket.com/albums/oo268/dygynomi/rediscover/header7.jpg); background-repeat: no-repeat; background-position: bottom center; width:826px; height:890px; overflow:no;}">
</div>



<style>
table, tr, td{background-color:transparent;}
body, body.bodycontent{background-color: e5e5e5;background-image:url(http://i382.photobucket.com/albums/oo268/dygynomi/rediscover/bg-myspace.jpg);background-position: top center;background-repeat: no-repeat;background-attachment: fixed;overflow-x: hidden;}

</style>
 
 
Start new topic
Replies
Mikeplyts
post Jun 23 2009, 01:43 PM
Post #2


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



Are you asking what's the code to display flash objects?

If so, it's right here:
CODE
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="###" height="###" id="FILENAME" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="http://www.website.com/path/to/FILENAME.swf" /><param name="loop" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#??????" />    <embed src="http://www.website.com/path/to/FILENAME.swf" loop="false" quality="high" bgcolor="#??????" width="###" height="###" name="FILENAME" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
    </object>

Alright, just replace the ### and the ?????? with the proper values. Replace the URL's (http://www.website.com/path/to/FILENAME.swf) with the URL to the .swf file. Then, replace FILENAME with the name of the file (just the name, without the .swf extension) after the id= parts. Finally, just place that in a div like you tried and position it to your liking. _smile.gif
 

Posts in this topic
shynomi   placing a .swf counter in a top header   Jun 23 2009, 01:23 PM
Mikeplyts   Are you asking what's the code to display flas...   Jun 23 2009, 01:43 PM
shynomi   yea that is exactly what i needed! thanks so m...   Jun 23 2009, 04:47 PM
Mikeplyts   no prob.   Jun 23 2009, 05:00 PM
manny-the-dino   Topic Closed and Moved   Jun 23 2009, 05:49 PM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: