How to put .swf on top |
How to put .swf on top |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 8 Joined: Nov 2009 Member No: 751,765 ![]() |
Hi everybody,
I'm from Italy, I hope you understand me... So, I made a flash banner and I want to put it on the top of myspace. The problem is that myspace blocks embed code. Any idea or solution? Thx in advance! Ciao! |
|
|
![]() |
![]()
Post
#2
|
|
![]() Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 ![]() |
What kind of profile are you using?
|
|
|
![]()
Post
#3
|
|
Newbie ![]() Group: Member Posts: 8 Joined: Nov 2009 Member No: 751,765 ![]() |
Hi, at the moment profile 1...
|
|
|
![]()
Post
#4
|
|
![]() Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 ![]() |
Place your <embed> codes inside <div> tags and position them around, like this:
CODE <div style="position: absolute; top: #px; left:50%; margin-left:#px; z-index: 9;"> Insert <embed> codes here. </div> Replace the pound symbols with appropriate values and that should do it. |
|
|
![]()
Post
#5
|
|
Newbie ![]() Group: Member Posts: 8 Joined: Nov 2009 Member No: 751,765 ![]() |
Oh good, I will try soon but one question...
My swf is hosted here: http://megaswf.com/view/aa7ab55895d7decd00...3ff58e722f.html How can put it into your code? Ok works but I've a problem with values: CODE <div style="position: absolute; top: 0px; left:50%; margin-left:-443px; z-index: 9;"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="885" height="500"> <param name="movie" value="http://myurl/banner.swf" /> <param name="quality" value="high" /> <embed src="http://myurl/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="885" height="500"></embed> </object> </div> If I want to put it on the top at the center of my space what's value I must put? Dimensions are 885x500px
Reason for edit: Please use the Edit button instead of double-posting. - Mike
|
|
|
![]()
Post
#6
|
|
![]() Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 ![]() |
Posts merged.
|
|
|
![]()
Post
#7
|
|
Newbie ![]() Group: Member Posts: 8 Joined: Nov 2009 Member No: 751,765 ![]() |
So, no, look the image attachment...swf appears in the middle of the page...thx for your help :)
|
|
|
![]()
Post
#8
|
|
Newbie ![]() Group: Member Posts: 8 Joined: Nov 2009 Member No: 751,765 ![]() |
But I'd like to display the flash banner upon the myspace menu.
With this code it appears in the middle.... And I don't understand why it appears with trasparent background... So go here www.myspace.com/newrebelidol now on top there is jpg banner I want to replace it with this http://www.unitalsi.altervista.org/archangel/archangel.html but doesn't work :( |
|
|
![]()
Post
#9
|
|
![]() Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 ![]() |
To make it black like on the page you linked, give the container DIV a black background. However you will need to first replace the URL of the object you're trying to embed with this:
CODE http://www.unitalsi.altervista.org/archangel/banner.swf Therefore, your code should look something like this: CODE <div style="position: absolute; top: 0px; left:50%; margin-left:-443px; z-index: 9; background: black;"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="885" height="500"> <param name="movie" value="http://www.unitalsi.altervista.org/archangel/banner.swf" /> <param name="quality" value="high" /> <embed src="http://www.unitalsi.altervista.org/archangel/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="885" height="500"></embed> </object> </div> If you want to push it down, replace the top value with a higher value. The bigger it is, the lower it will go. |
|
|
![]()
Post
#10
|
|
Newbie ![]() Group: Member Posts: 8 Joined: Nov 2009 Member No: 751,765 ![]() |
To make it black like on the page you linked, give the container DIV a black background. However you will need to first replace the URL of the object you're trying to embed with this: CODE http://www.unitalsi.altervista.org/archangel/banner.swf Therefore, your code should look something like this: CODE <div style="position: absolute; top: 0px; left:50%; margin-left:-443px; z-index: 9; background: black;"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="885" height="500"> <param name="movie" value="http://www.unitalsi.altervista.org/archangel/banner.swf" /> <param name="quality" value="high" /> <embed src="http://www.unitalsi.altervista.org/archangel/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="885" height="500"></embed> </object> </div> If you want to push it down, replace the top value with a higher value. The bigger it is, the lower it will go. Oh yes it was only an example.. Now the black bg works..but look the problem: http://img17.imageshack.us/img17/5479/senzatitolo1iy.jpg Flash banner isn't upon the myspace menu. I try to change values but nothing.. |
|
|
![]()
Post
#11
|
|
![]() Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 ![]() |
I probably should've mentioned, the value I underlined is the one you need to change:
CODE <div style="position: absolute; top: 0px; left:50%; margin-left:-443px; z-index: 9; background: black;"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="885" height="500"> <param name="movie" value="http://www.unitalsi.altervista.org/archangel/banner.swf" /> <param name="quality" value="high" /> <embed src="http://www.unitalsi.altervista.org/archangel/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="885" height="500"></embed> </object> </div> Replace 0 with 190 and it should go down by a reasonable length enough for the navigation to show. |
|
|
![]()
Post
#12
|
|
Newbie ![]() Group: Member Posts: 8 Joined: Nov 2009 Member No: 751,765 ![]() |
So, thx very much for help me...appreciate it!
Look now: http://img25.imageshack.us/img25/2504/senzatitolo1ii.jpg |
|
|
![]()
Post
#13
|
|
![]() Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 ![]() |
Topic closed & moved.
|
|
|
![]() ![]() |