swfobject using the param (wmode)
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
nana <sie... @gmail.com>
Date: Mon, 12 May 2008 04:26:37 -0700 (PDT)
Local: Mon, May 12 2008 7:26 am
Subject: swfobject using the param (wmode)
Hi I use the swfobject1.5 with this scripts (from
http://www.askapache.com/css/getting-flash-to-show-up-in-front-of-con...
to achive the wmode transparent things.)
<script type="text/javascript">
var so = new SWFObject("intro.swf", "flashcontent", "700", "220", "7",
"#ffffff"); so.addParam("wmode", "transparent");
so.write("flashcontent");
</script>
but right now the swfobject is 2.0
the javascripts should look like how?
currently my code is like this:
<script type="text/javascript">
var params = {};
swfobject.embedSWF("banner.swf", "myContent", "700", "220",
"8.0.0","expressInstall.swf", params);
</script>
I have no idea how to code javascripts, any help would really
appreciate!!! thanks a lot!!!!
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
gossamermedia <ch... @gossamermedia.com>
Date: Mon, 12 May 2008 13:33:57 -0700 (PDT)
Local: Mon, May 12 2008 4:33 pm
Subject: Re: swfobject using the param (wmode)
I think, from the documentation, you would write the params the same
way you did in 1.5.
<script type="text/javascript">
var params = {};
params.wmode = "transparent";
swfobject.embedSWF("banner.swf", "myContent", "700", "220", "8.0.0",
"expressInstall.swf", params);
</script>
-g
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
nana <sie... @gmail.com>
Date: Tue, 13 May 2008 02:19:55 -0700 (PDT)
Local: Tues, May 13 2008 5:19 am
Subject: Re: swfobject using the param (wmode)
Hi Thanks for your reply.
I tried it..but it doest work.. any ideas?
On May 13, 4:33 am, gossamermedia <ch... @gossamermedia.com> wrote:
> I think, from the documentation, you would write the params the same
> way you did in 1.5.
> <script type="text/javascript">
> var params = {};
> params.wmode = "transparent";
> swfobject.embedSWF("banner.swf", "myContent", "700", "220", "8.0.0",
> "expressInstall.swf", params);
> </script>
> -g
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Bobby <bobbyvandersl... @gmail.com>
Date: Tue, 13 May 2008 05:52:08 -0700 (PDT)
Local: Tues, May 13 2008 8:52 am
Subject: Re: swfobject using the param (wmode)
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
gossamermedia <ch... @gossamermedia.com>
Date: Tue, 13 May 2008 09:22:45 -0700 (PDT)
Local: Tues, May 13 2008 12:22 pm
Subject: Re: swfobject using the param (wmode)
can you show your script?
-g
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Bobby <bobbyvandersl... @gmail.com>
Date: Tue, 13 May 2008 13:01:49 -0700 (PDT)
Local: Tues, May 13 2008 4:01 pm
Subject: Re: swfobject using the param (wmode)
Just do a "view source":
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ">
<html xmlns="
http://www.w3.org/1999/xhtml " lang="en" xml:lang="en">
<head>
<title>SWFObject v2.0 - dynamic embed params</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var flashvars = {
name1: "hello",
name2: "world",
name3: "foobar"
};
var params = {
menu: "false",
wmode: "transparent"
};
var attributes = {
id: "myId",
name: "myId"
};
swfobject.embedSWF("test6_flashvars.swf", "myContent", "300", "120",
"9.0.0", "expressInstall.swf", flashvars, params, attributes);
</script>
</head>
<body style="background-color:#ccc;">
<div id="myContent">
<h1>Alternative content</h1>
<p><a href="http://www.adobe.com/go/getflashplayer "><img
src="http://www.adobe.com/images/shared/download_buttons/
get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
</body>
</html>
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
nana <sie... @gmail.com>
Date: Tue, 20 May 2008 02:16:46 -0700 (PDT)
Local: Tues, May 20 2008 5:16 am
Subject: Re: swfobject using the param (wmode)
Hi all,
Thanks for the reply and sorry for my late reply.
Hmm..actually, my code looks the same code you post. Mayb I missed out
something ?
I paste here, maybe you guys can spot it out easily..
My code looks like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ">
<html xmlns="http://www.w3.org/1999/xhtml ">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Omnitouch</title>
<link rel="stylesheet" href="css/import.css" type="text/css"
media="screen,print" />
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript">
var params = {wmode: "opaque"};
swfobject.embedSWF("images/swf/te.swf", "header", "960", "287",
"8.0.0", params);
</script>
</head>
<body id="top">
<div id="container">
<div id="header">
<ul>
<li class=" contact"><a href="#4">Contact Us</a></
li>
<li class="terms"><a href="#3">Terms &
Conditions</a></li>
<li class="policy"><a href="#2">Privacy Policy</
a></li>
<li class="lastChild sitemap"><a
href="#1">Sitemap</a></li>
</ul>
<img src="images/common/flashmock.jpg" width="960"
height="287" alt="" />
</div>
...
...
</div>
</body>
</html>
Once again, thank you!
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
jsopra <jso... @gmail.com>
Date: Tue, 20 May 2008 06:10:31 -0700 (PDT)
Local: Tues, May 20 2008 9:10 am
Subject: Re: swfobject using the param (wmode)
this is my question too...
I´m use:
- var params = {wmode: "opaque"};
- swfobject.embedSWF("imagens/fla/BANNER.swf", "banner", "760",
"140", "8", {wmode:"transparent"});
...and nothing.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
gossamermedia <ch... @gossamermedia.com>
Date: Tue, 20 May 2008 08:07:49 -0700 (PDT)
Local: Tues, May 20 2008 11:07 am
Subject: Re: swfobject using the param (wmode)
jspora,
a couple of things jump out. you have hyphens before your param
variable. those don't need to be there. also, you are calling wmode
opaque, then calling wmode transparent. and actually where you are
calling wmode transparent you need to be calling the param variable.
you should look at nana's or bobby's examples above and follow that.
g
On May 20, 6:10 am, jsopra <jso... @gmail.com> wrote:
> this is my question too...
> I´m use:
> - var params = {wmode: "opaque"};
> - swfobject.embedSWF("imagens/fla/BANNER.swf", "banner", "760",
> "140", "8", {wmode:"transparent"});
> ...and nothing.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
gossamermedia <ch... @gossamermedia.com>
Date: Tue, 20 May 2008 08:08:05 -0700 (PDT)
Local: Tues, May 20 2008 11:08 am
Subject: Re: swfobject using the param (wmode)
nana,
I used your code and ran a test. Everything is working fine. I suspect
you may have a directory problem. A couple of things...
1. Make sure your directory structure is correct. Currently you should
have(assuming your page is named index.html)
/index.html
/js/swfobjects.js
/images/swf/te.swf
2. Make sure you are using swfobject.js v.2
3. Your Flash player is version 8 or greater.
4. This may not apply to you, but recently I couldn't get a script of
mine to work. Everything was correct except for something I couldn't
see. The line-endings were unicode instead of mac/unix or windows. I
forgot I was editing unicode scripts the night before and I left my
editor in that mode.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
jsopra <jso... @gmail.com>
Date: Tue, 20 May 2008 10:03:21 -0700 (PDT)
Local: Tues, May 20 2008 1:03 pm
Subject: Re: swfobject using the param (wmode)
please look the code:
...
<script type="text/javascript">
swfobject.embedSWF("imagens/fla/BANNER.swf", "banner", "760", "140",
"8", {wmode:"transparent"});
</script>
</head>
<body>
....
<div id="banner" class="flash"> if not run flash, download here! </
div>
<div id="programacao" class="prog"><b>ON THE AIR: xxx </div>
---
#programacao should be on top of #banner, but as the swf is not
transparent, the div #programacao don´t appears.
The z-index of containers is right, when they shot the swf of the
code, appears the div #programacao on top of div #banner correctly.
What the problem? In this case i should use the first version of
swfobject?
thanks
PS:
- sorry nana for use you topic. If you request i´m delete my posts
and create a new topic.
- sorry the bad english! hehe
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Aran Rhee" <aran.r... @gmail.com>
Date: Wed, 21 May 2008 09:21:51 +1000
Local: Tues, May 20 2008 7:21 pm
Subject: RE: swfobject using the param (wmode)
You are passing the params object as the wrong argument to the embedSWF()
function. Have a look at the docs - It specifies:
<script type="text/javascript"> var flashvars = {}; var params = {}; var attributes = {}; swfobject.embedSWF("myContent.swf", "myContent", "300", "120", "9.0.0","expressInstall.swf", flashvars, params, attributes); </script>
As you can see, the flashvars object goes first, THEN the params object.
Aran
-----Original Message-----
From: swfobject@googlegroups.com [mailto:swfobject@googlegroups.com] On
Behalf Of nana Sent: Tuesday, 20 May 2008 7:17 PM To: SWFObject Subject: Re: swfobject using the param (wmode)
Hi all,
Thanks for the reply and sorry for my late reply.
Hmm..actually, my code looks the same code you post. Mayb I missed out something ?
I paste here, maybe you guys can spot it out easily..
My code looks like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd "> <html xmlns="http://www.w3.org/1999/xhtml "> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Omnitouch</title> <link rel="stylesheet" href="css/import.css" type="text/css" media="screen,print" /> <script type="text/javascript" src="js/swfobject.js"></script> <script type="text/javascript"> var params = {wmode: "opaque"}; swfobject.embedSWF("images/swf/te.swf", "header", "960", "287", "8.0.0", params); </script> </head>
<body id="top">
<div id="container"> <div id="header"> <ul> <li class=" contact"><a href="#4">Contact Us</a></ li> <li class="terms"><a href="#3">Terms & Conditions</a></li> <li class="policy"><a href="#2">Privacy Policy</ a></li> <li class="lastChild sitemap"><a href="#1">Sitemap</a></li> </ul> <img src="images/common/flashmock.jpg" width="960" height="287" alt="" /> </div> ... ... </div>
</body> </html>
Once again, thank you!
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
jsopra <jso... @gmail.com>
Date: Wed, 21 May 2008 11:02:08 -0700 (PDT)
Local: Wed, May 21 2008 2:02 pm
Subject: Re: swfobject using the param (wmode)
and if i do not want to spend the expressinstall?
grateful for any help!
On 20 maio, 20:21, "Aran Rhee" <aran.r... @gmail.com> wrote:
> You are passing the params object as the wrong argument to the embedSWF()
> function. Have a look at the docs - It specifies:
> <script type="text/javascript">
> var flashvars = {};
> var params = {};
> var attributes = {};
> swfobject.embedSWF("myContent.swf", "myContent", "300", "120",
> "9.0.0","expressInstall.swf", flashvars, params, attributes);
> </script>
> As you can see, the flashvars object goes first, THEN the params object.
> Aran
> -----Original Message-----
> From: swfobject@googlegroups.com [mailto:swfobject@googlegroups.com] On
> Behalf Of nana
> Sent: Tuesday, 20 May 2008 7:17 PM
> To: SWFObject
> Subject: Re: swfobject using the param (wmode)
> Hi all,
> Thanks for the reply and sorry for my late reply.
> Hmm..actually, my code looks the same code you post. Mayb I missed out
> something ?
> I paste here, maybe you guys can spot it out easily..
> My code looks like this:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ">
> <html xmlns="http://www.w3.org/1999/xhtml ">
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
> <title>Omnitouch</title>
> <link rel="stylesheet" href="css/import.css" type="text/css"
> media="screen,print" />
> <script type="text/javascript" src="js/swfobject.js"></script>
> <script type="text/javascript">
> var params = {wmode: "opaque"};
> swfobject.embedSWF("images/swf/te.swf", "header", "960", "287",
> "8.0.0", params);
> </script>
> </head>
> <body id="top">
> <div id="container">
> <div id="header">
> <ul>
> <li class=" contact"><a href="#4">Contact Us</a></
> li>
> <li class="terms"><a href="#3">Terms &
> Conditions</a></li>
> <li class="policy"><a href="#2">Privacy Policy</
> a></li>
> <li class="lastChild sitemap"><a
> href="#1">Sitemap</a></li>
> </ul>
> <img src="images/common/flashmock.jpg" width="960"
> height="287" alt="" />
> </div>
> ...
> ...
> </div>
> </body>
> </html>
> Once again, thank you!
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Getify Solutions, Inc." <get... @gmail.com>
Date: Wed, 21 May 2008 13:17:09 -0500
Local: Wed, May 21 2008 2:17 pm
Subject: Re: swfobject using the param (wmode)
pass false as the value for that particular parameter, and
expressinstall will silently be disabled. :)
--Kyle
-------------------------------------------------- From: "jsopra" <jso... @gmail.com> Sent: Wednesday, May 21, 2008 1:02 PM To: "SWFObject" <swfobject@googlegroups.com> Subject: Re: swfobject using the param (wmode)
> and if i do not want to spend the expressinstall?
> grateful for any help!
> On 20 maio, 20:21, "Aran Rhee" <aran.r... @gmail.com> wrote: >> You are passing the params object as the wrong argument to the embedSWF() >> function. Have a look at the docs - It specifies:
>> <script type="text/javascript"> >> var flashvars = {}; >> var params = {}; >> var attributes = {}; >> swfobject.embedSWF("myContent.swf", "myContent", "300", "120", >> "9.0.0","expressInstall.swf", flashvars, params, attributes); >> </script>
>> As you can see, the flashvars object goes first, THEN the params object.
>> Aran
>> -----Original Message----- >> From: swfobject@googlegroups.com [mailto:swfobject@googlegroups.com] On
>> Behalf Of nana >> Sent: Tuesday, 20 May 2008 7:17 PM >> To: SWFObject >> Subject: Re: swfobject using the param (wmode)
>> Hi all,
>> Thanks for the reply and sorry for my late reply.
>> Hmm..actually, my code looks the same code you post. Mayb I missed out >> something ?
>> I paste here, maybe you guys can spot it out easily..
>> My code looks like this:
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd "> >> <html xmlns="http://www.w3.org/1999/xhtml "> >> <head> >> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> >> <title>Omnitouch</title> >> <link rel="stylesheet" href="css/import.css" type="text/css" >> media="screen,print" /> >> <script type="text/javascript" src="js/swfobject.js"></script> >> <script type="text/javascript"> >> var params = {wmode: "opaque"}; >> swfobject.embedSWF("images/swf/te.swf", "header", "960", "287", >> "8.0.0", params); >> </script> >> </head>
>> <body id="top">
>> <div id="container"> >> <div id="header"> >> <ul> >> <li class=" contact"><a href="#4">Contact Us</a></ >> li> >> <li class="terms"><a href="#3">Terms & >> Conditions</a></li> >> <li class="policy"><a href="#2">Privacy Policy</ >> a></li> >> <li class="lastChild sitemap"><a >> href="#1">Sitemap</a></li> >> </ul> >> <img src="images/common/flashmock.jpg" width="960" >> height="287" alt="" /> >> </div> >> ... >> ... >> </div>
>> </body> >> </html>
>> Once again, thank you!
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
nana <sie... @gmail.com>
Date: Sun, 25 May 2008 19:51:48 -0700 (PDT)
Local: Sun, May 25 2008 10:51 pm
Subject: Re: swfobject using the param (wmode)
Hi all, thanks for the help. (Sorry for my late reply)
Feel free to post anything in this thread :)
Hmm.. Ya.. I had make sure the path and everything is okay.. (at least
i dun see error at the bottom right corner, I have a green arrow mark)
Is that okay I post a link here to see the problems?
Once again, thank you!
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Aran Rhee" <aran.r... @gmail.com>
Date: Mon, 26 May 2008 12:55:26 +1000
Local: Sun, May 25 2008 10:55 pm
Subject: RE: swfobject using the param (wmode)
If you are still having problems after reading the solution and have a test
page, then go ahead and post the link.
Aran
-----Original Message-----
From: swfobject@googlegroups.com [mailto:swfobject@googlegroups.com] On
Behalf Of nana Sent: Monday, 26 May 2008 12:52 PM To: SWFObject Subject: Re: swfobject using the param (wmode)
Hi all, thanks for the help. (Sorry for my late reply) Feel free to post anything in this thread :)
Hmm.. Ya.. I had make sure the path and everything is okay.. (at least i dun see error at the bottom right corner, I have a green arrow mark)
Is that okay I post a link here to see the problems?
Once again, thank you!
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
nana <sie... @gmail.com>
Date: Tue, 27 May 2008 19:36:41 -0700 (PDT)
Local: Tues, May 27 2008 10:36 pm
Subject: Re: swfobject using the param (wmode)
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
nana <sie... @gmail.com>
Date: Sun, 15 Jun 2008 22:41:46 -0700 (PDT)
Local: Mon, Jun 16 2008 1:41 am
Subject: Re: swfobject using the param (wmode)
Hi! I 've got it done!!!
The reason it doest work is bcos I dun put the param sequence
correctly!
Thank you very much!!! ^^v
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Aran Rhee" <aran.r... @gmail.com>
Date: Mon, 16 Jun 2008 16:20:12 +1000
Local: Mon, Jun 16 2008 2:20 am
Subject: RE: swfobject using the param (wmode)
Um...Yes. That is what I said to you ~1 month ago! (if you check the thread
- this is what I wrote on May 21)
I'm glad you got it working anyhow.
Aran
-----Original Message-----
From: swfobject@googlegroups.com [mailto:swfobject@googlegroups.com] On
Behalf Of nana Sent: Monday, 16 June 2008 3:42 PM To: SWFObject Subject: Re: swfobject using the param (wmode)
Hi! I 've got it done!!!
The reason it doest work is bcos I dun put the param sequence correctly!
Thank you very much!!! ^^v
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
nana <sie... @gmail.com>
Date: Mon, 23 Jun 2008 02:19:34 -0700 (PDT)
Local: Mon, Jun 23 2008 5:19 am
Subject: Re: swfobject using the param (wmode)
Thank you very much!
On Jun 16, 2:20 pm, "Aran Rhee" <aran.r... @gmail.com> wrote:
> Um...Yes. That is what I said to you ~1 month ago! (if you check the thread
> - this is what I wrote on May 21)
> I'm glad you got it working anyhow.
> Aran
> -----Original Message-----
> From: swfobject@googlegroups.com [mailto:swfobject@googlegroups.com] On
> Behalf Of nana
> Sent: Monday, 16 June 2008 3:42 PM
> To: SWFObject
> Subject: Re: swfobject using the param (wmode)
> Hi! I 've got it done!!!
> The reason it doest work is bcos I dun put the param sequence
> correctly!
> Thank you very much!!! ^^v- Hide quoted text -
> - Show quoted text -
You must
Sign in before you can post messages.
You do not have the permission required to post.