Hi Sam, I just wanted to let you know that I figured out the issue with the menu dropping down behind the swf object. It was in the CSS. I have the object embedded into a div container that was ona css sheet that is shared with all the other pages. For whatever reason, I changed that container, and low and behold, it works. Thanks for all the help. I see no issues with firebug...now the other big question I have, does swfobject ever pass the W3C html code validator? Not that it has to be pristine, but you know, it would be nice to get a page with flash in it to pass the validations for once.
Thanks for all the help. It is very much appreciated. K. On Mar 27, 4:12 am, Sam Sherlock <[email protected]> wrote: > a few things see below :) > > > ok, not sure I did it 100% > > right, but it works > > get it working then improve it > > your cuurent issue can be resolved by using para.wmode transparent. > Transparent makes the flash object in page see through and enables z-index > to be altered. You have to be care with hotzones (active clickable areas) > where hotzones occupy the same page area oddd things will happen. google > 'z-index wmode transparent conflicts' to see more information on this. > > WMODE is a param you can add param.wmode = "transparent"; below params.quality > = "high"; > > also you should be able to remove > > <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script> > > <script src="Scripts/AC_ActiveX.js" type="text/javascript"></script> > > and also combine the script blocks which have the swfObject setups into a > single block which you can place in the head of your doc > > further you have > > <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" > codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#v..." > width="500" height="250" align="top"> > > <param name="movie" value="menu.swf" /> > > <param name="quality" value="high" /> > > <param name="wmode" value="transparent" /> > <embed src="menu.swf" width="500" height="250" align="top" > quality="high" > pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=..." > type="application/x-shockwave-flash" wmode="transparent"></embed> > > </object> > > the above could be replaced with alt content, which could be a css list menu > > Another issue has arisen - your new flash piece pushes your page footer out > of vision. 'Copyrights 2009 © Jack Pine Web Design. All Rights reserved' is > not fully visible with the all.swf in there :) > - S > > 2009/3/27 kip <[email protected]> > > > > > Hi Sam, > > > Thanks for the reply. It really helped. So I got the swf to play in > > the index, about, and am working ont he other pages...here is the new > > dilemma. > > > I have a web video page that I embedded flv movies into, created one > > large swf file and now am working to get the menu and the all.swf to > > play nice with each other... like true siblings, they are fighting. > > > SOOOO...I did use the swfobject.js 2.x for the menu and cleared the > > other errors from firebig. What a life saver. Thanks. Worked great > > once I figured it out. Not your directions mnd you just my brain. > > > Okay...then I hit the web_video page, and I even generated new code > > from the air generator and got it to work (ok, not sure I did it 100% > > right, but it works) they load, the menuloads, but now the drop down > > portfolio button drops down behind the all.swf. I have wmode set to > > transparent on both, the z-index is set to 1020 for the menu.swf...but > > still I can't seem to get it to show on top of the the all.swf. > > > see it at: > >http://www.jackpinewebdesign.com/web_video.html > > > Now what am I doing wrong here? > > > Thanks for the time you have taken for me...I appreciate it. > > K. > > > On Mar 26, 9:18 pm, Sam Sherlock <[email protected]> wrote: > > > Hi K, > > > > 3 things. > > > > 1) Your using swfobject 1.5 - your syntax is 1.5 > > > 2) Your missing a div with the id of flashContent > > > > <div id="flashContent"></div> > > > > 3) Your swf is in the page using object / embed - this is why you have > > > the swf displaying - > > > it does not need embed using swf object at all > > > > 4) </noscript> has no beginning tag you can remove this. > > > > correcting point two will get you page using swfobject 1.5 to embed, > > > > you may ve better off using swfobject 2.x > > > > - S > > > > 2009/3/26 kip <[email protected]> > > > > > Hi, > > > > > Okay, I finally have major success with getting my menu to finally > > > > play in FF and IE...now for the down side: I am getting an error in > > > > Firebug that states > > > > "n is null > > > > SWFObject()("flashContent")swfobject.js (line 8) > > > >www.jackpinewebdesign.com()()" > > > > > I ended up contacting the creator of the menu to help me with this as > > > > I was getting nowhere with the swfObject on my own...not sure why that > > > > is... I guess I just don't understand enough to be effective:( > > > > I know everyone here was great to help out...I just wasn't getting it. > > > > He is actually the one who put me on to swfObject...although I'm not > > > > too sure he actually used the generator for this. When posting back, > > > > can you please tell me what exactly needs to replace what? I am just > > > > now learning js in college... whew...crazy... but it is helping me to > > > > understand other coding a little better too.I think I learn more in > > > > places like this anyway. > > > > > so here is the link: > > > >http://www.jackpinewebdesign.com/ > > > > and > > > >http://www.jackpinewebdesign.com/test.html > > > > > Any help with this would be appreciated. > > > > > Thanks everyone! > > > > K. > > > > > On Mar 22, 10:06 pm, "Aran Rhee" <[email protected]> wrote: > > > > > The easiest thing to do is to post a link to your page. > > > > > > Aran > > > > > > -----Original Message----- > > > > > From: [email protected] [mailto:[email protected]] > > On > > > > > > Behalf Of kip > > > > > Sent: Monday, 23 March 2009 1:47 PM > > > > > To: SWFObject > > > > > Subject: Re: Can't view swf in html page after embedding > > > > > > Would anyone be willing to look at the falsh file to see if there is > > a > > > > > conflict with swfObject. I cannot get this to work. > > > > > > On Mar 22, 5:58 pm, kip <[email protected]> wrote: > > > > > > Yep, I got that and the standalone version as well...although I am > > > > > > using the online ATM. > > > > > > > Thank you both! > > > > > > > I now have another question. I use Dreamweaver currently...I am > > > > > > wondering if I am doing this right. I seem to be missing something > > > > > > drastic here. With the new code form the generator: > > > > > > > <script type="text/javascript" src="js/swfobject.js"></script> > > > > > > <script type="text/javascript"> > > > > > > var flashvars = {}; > > > > > > var params = {}; > > > > > > params.menu = "false"; > > > > > > params.wmode = "transparent"; > > > > > > var attributes = {}; > > > > > > swfobject.embedSWF("menu.swf", "nav_cont", > > > > "500", > > > > > "300", "8.0.0", > > > > > > "expressInstall.swf", flashvars, params, attributes); > > > > > > </script> > > > > > > > Do I still insert the .swf file like I normally would, because that > > > > > > generates new code: > > > > > > > <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" > > > > > > codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/ > > > > > > swflash.cab#version=9,0,28,0" width="500" height="300"> > > > > > > <param name="movie" value="menu.swf" /> > > > > > > <param name="quality" value="high" /> > > > > > > <embed src="menu.swf" quality="high" > > > > > pluginspage=" > > > >http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Ve > > > > > rsion=Shockwa..." > > > > > > type="application/x-shockwave-flash" width="500" > > height="300"></embed> > > > > > > </object> > > > > > > > I can now get the movie to play in the design window, but still > > zero > > > > > > success on the uploaded page. It still fails to appear. Do I need > > to > > > > > > enter code in the .FLA file Actionscript layer somewhere? > > > > > > > Am I doing this wrong? > > > > > > > Thanks in advance. > > > > > > K. > > > > > > > On Mar 22, 5:46 pm, GWLogic <[email protected]> wrote: > > > > > > > > Kip, > > > > > > > > Yeah, you need to have Adobe AIR installed as an application, but > > the > > > > > > > SWFObject AIR Generator can be found here :- > > > > > > > >http://code.google.com/p/swfobject/ > > > > > > > > Its on the right hand side under the files for download listing. > > > > > > > > The link Kyle posted is great for using when you are online ( > > thanks > > > > > > > for the link Kyle, will use that ) but I find the standalone > > download > > > > > > > of the Generator is useful for when I'm working offline. > > > > > > > > On Mar 22, 10:26 pm, "Getify Solutions, Inc." <[email protected]> > > > > > > > wrote: > > > > > > > > > Use the online > > > > > generator: > >http://www.bobbyvandersluis.com/swfobject/generator/index.html > > > > > > > > > -------------------------------------------------- > > > > > > > > From: "kip" <[email protected]> > > > > > > > > Sent: Sunday, March 22, 2009 5:22 PM > > > > > > > > To: "SWFObject" <[email protected]> > > > > > > > > Subject: Re: Can't view swf in html page after embedding > > > > > > > > > > HiSsam, > > > > > > > > > I went and download the firebug...OMG where has this been all > > my > > > > > > > > > life? > > > > > > > > > I am going to love that little plugin. Thanks for letting me > > know > > > > > > > > > about it.:) > > > > > > > > > > I am cleaning up the file structure and still not having luck > > > > with > > > > > > > > > the .swf file...but I am also downloading the AIR generator > > as > > > > Gary > > > > > > > > > says that will generate better code for me. > > > > > > > > > > I will keep you posted, just wanted to say THANK YOU! > > > > > > > > > > On Mar 22, 3:05 pm, kip <[email protected]> wrote: > > > > > > > > >> Hi Sam...Thanks for taking the time to help me out. It is > > > > > appreciated > > > > > > > > >> more than you know. > > > > > > > > > >> Okay, here is what I did, and I do have a minor > > success....but > > > > not > > > > > a > > > > > > > > >> major one. :( > > > > > > > > > >> I deleted the nav_cont before, so I put that back in... > > duh... > > > > and > > ... > > read more » --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
