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
> > > > > > >> embedded the menu.swf into that.
>
> > > > > > >> The movie now plays in the html design window of Dreamweaver
> > > (success)
> > > > > > >> but not on the web page itself, and now I cannot even see the
> > black
> > > > > > >> box where the menu should reside as was showing before.
>
> > > > > > >> Also, do I need the ACrunactivex.js on the main root directory?
> > I
> > > > > > >> removed it just in case... if I need it, I will put it back but
> > > felt
> > > > > > >> it might conflict with the other .js file.
>
> > > > > > >> I cleaned up the coding and got rid of unnecessary stuff on most
> > of
> > > > > > >> the other pages, but don't understand how those files can effect
> > > this
> > > > > > >> test page...but I believe it can so I did my best there.
> > > > > > >> Please understand I am a student learning this stuff...so my
> > > > > > >> experience is limited. I have never had trouble interfacing an
> > swf
> > > > > > >> into an html file before now. I am still unsure as to why it is
> > > giving
> > > > > > >> me such a hard time now.
>
> > > > > > >> The URL to view ishttp://www.jackpinewebdesign.com/test.html
>
> > > > > > >> but I did go and clean up the html, xhtml with the tool provided
> > in
> > > > > > >> DW.
>
> > > > > > >> Thanks for your patience.
>
> > > > > > >> K.
>
> > > > > > >> On Mar 22, 2:22 pm, Sam Sherlock <[email protected]>
> > wrote:
>
> > > > > > >> > you still have excess code and your repeating bits to.
>
> > > > > > >> > I am viewing this urlhttp://www.jackpinewebdesign.com/
>
> > > > > > >> > 1) don't see why you need - check if you actually need what
> > your
> > > page
> > > > > > >> > is
> > > > > > >> > referancing get rid of what you don't
>
> > > > > > >> > <script src="Scripts/AC_ActiveX.js"
> > > type="text/javascript"></script>
>
> > > > > > >> > 2) don't have the swfobject code twice.
>
> > > > > > >> > 3) Make sure the container with the correct id IS in the page
> > > mark up
>
> > > > > > >> > 4) you have freedom to put files where ever the page can
> > source
> > > them -
> > > > > > >> > your
> > > > > > >> > using a Scripts/ dir (I keep dirs lowercase)
>
> > > > > > >> > 5) moving style upwards in source code, and script down is
> > also a
> > > good
> > > > > > >> > idea
>
> > > > > > >> > these last two points are wandering OT but might help you
> > longer
> > > term
> > > > > > >> > and
> > > > > > >> > might not be causing your troubles now but it clouds your
> > > situation ~
> > > > > > >> > but
> > > > > > >> > point 3 may solve the issue
>
> > > > > > >> > - S
>
> > > > > > >> > 2009/3/22 kip <[email protected]>
>
> > > > > > >> > > Okay, so this is what I did...
> > > > > > >> > > I moved the swfobject.js file, menu.xml file and the
> > menu.swf
> > > to the
> > > > > > >> > > main file structure in the root directory... I had them in a
> > > separate
> > > > > > >> > > file called flash.... Now they reside in the main root of
> > the
> > > site.
> > > > > > >> > > After replacing my code with your code, I now get a black
> > box
> > > showing
> > > > > > >> > > in FF, and IE... but it still will not play. At least I can
> > see
> > > the
> > > > > > >> > > area where the movie should reside and play. Progress. The
> > 404
> > > error
> > > > > > >> > > code now displays
> > > > > > >> > > /* SWFObject v2.1 <http://code.google.com/p/swfobject/>
> > > > > > >> > > Copyright (c) 2007-2008 Geoff Stearns, Michael Williams, and
> > > Bobby
> > > > > > >> > > van der Sluis
> > > > > > >> > > This software is released under the MIT License <http://
> > > > > > >> > >www.opensource.org/licenses/mit-license.php>
> > > > > > >> > > */
> > > > > > >> > > ......
>
> > > > > > >> > > Here is the new link I am now just working on getting this
> > wot
> > > work
> > > > > > >> > > in
> > > > > > >> > > an html page:
>
> > > > > > >> > >http://www.jackpinewebdesign.com/test.html
>
> > > > > > >> > > On Mar 22, 1:28 pm, Sam Sherlock <[email protected]>
> > > wrote:
> > > > > > >> > > > currently
> > > > > > >> > > > 1) your page has no swfobject.js the page can't find it
> > > > > > >> > > > 2) then your swfobject setup will look for the swf file
> > > herehttp://
> > > > > > >> > >www.jackpinewebdesign.com/menu.swf-whichitwon'tfind-see<http://www.jackpinewebdesign.com/menu.swf-whichitwon%27tfind-see>how
> > > > > > >> > > I
> > > > > > >> > > > have altered the code below
>
> > > > > > >> > > > - S
>
> > > > > > >> > > > 2009/3/22 kip <[email protected]>
>
> > > > > > >> > > > > Sorry:
>
> > > > > > >> > > > if the swfobject file is in a folder js in the root of
> > your
> > > site
> > > > > > >> > > > and the
> > > > > > >> > > > menu is where it was - firebug found both of these issues
> > ~
> > > it will
> > > > > > >> > > > help
> > > > > > >> > > you
> > > > > > >> > > > loads :) available for either OSX or windoze ~ it will
> > list
> > > js
> > > > > > >> > > > error and
> > > > > > >> > > > missing files (it has add-ons of its own but 1 step at a
> > time
> > > :] )
>
> > > > > > >> > > > or you can try various files in turnhttp://
> > > > > > >> > >www.jackpinewebdesign.com/swfobject.js=err404
>
> > > > > > >> > > > <script type="text/javascript"
> > > src="/js/swfobject.js"></script>
>
> > > > > > >> > > > > <script type="text/javascript">
> > > > > > >> > > > > var flashvars = {};
> > > > > > >> > > > > var params = {};
> > > > > > >> > > > > params.quality = "high";
> > > > > > >> > > > > params.scale = "noscale";
> > > > > > >> > > > > params.wmode = "transparent";
> > > > > > >> > > > > var attributes = {};
>
> > > > > > >> > > > swfobject.embedSWF("/flash_files/new_bounce/menu.swf",
> > > "menu_cont",
> > > > > > >> > > "500",
> > > > > > >> > > > "300", "8.0.0",
> > > > > > >> > > > "expressInstall.swf", flashvars, params, attributes);
>
> > > > > > >> > > > > </script>
> > > > > > >> > > > > On Mar 22, 12:20 pm, Sam Sherlock <
> > [email protected]>
> > > wrote:
> > > > > > >> > > > > > Have your read the documentation?
> > > > > > >> > > > >http://code.google.com/p/swfobject/wiki/documentation
>
> > > > > > >> > > > > > this is nothttp://
> > > > > > >> > > > >www.jackpinewebdesign.com/Scripts/AC_RunActiveContent.js
> > <
> > > not
> > > > > > >> > > > > > swfobject
> > > > > > >> > > > > > thishttp://
>
> > swfobject.googlecode.com/svn/tags/swfobject_2_1/swfobject.js<
> > > > > > >> > > > > > swfobject
>
> > > > > > >> > > > > > your swfobject code/vars etc I was refering to would
> > look
> > > like
> > > > > > >> > > > > > (if
> > > > > > >> > > using
>
> > > ...
>
> > > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to