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_Version=ShockwaveFlash"
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 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
> > >> > > > > > dynamic embed)
>
> > >> > > > > > <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>
>
> > >> > > > > > if the code perplexes you you can generate it usinghttp://
> > >> > > > >www.bobbyvandersluis.com/swfobject/generator/index.html
>
> > >> > > > > > hth - S
>
> > >> > > > > > 2009/3/22 kip <[email protected]>
>
> > >> > > > > > > It won't play. It uploads fine. Here is a link to the page I
> > >> > > > > > > am
> > >> > > trying
> > >> > > > > > > to put it on for right now...
> > >> > > > > > >http://www.jackpinewebdesign.com/about.html
>
> > >> > > > > > > Here is the page code.
>
> > >> > > > > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
> > >> > > > > > > Transitional//EN"
> > >> > > "http://
> > >> > > > > > >www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > >> > > > > > > <html xmlns="http://www.w3.org/1999/xhtml";>
> > >> > > > > > > <head>
> > >> > > > > > > <title>JPWD:: About</title>
> > >> > > > > > > <meta http-equiv="Content-Type" content="text/html;
> > >> > > > > > > charset=iso-8859-1" />
> > >> > > > > > > <meta name="Description" content="My name is Karen Eckstrom
> > >> > > > > > > and I
> > >> > > have
> > >> > > > > > > lived in the Hutchinson, MN. area for over 25 years. We
> > >> > > > > > > raised our
> > >> > > > > > > family here and I am currently working towards that degree
> > >> > > completing
> > >> > > > > > > my junior year. My current GPA is 3.99 and my goal is to
> > >> > > > > > > graduate
> > >> > > at
> > >> > > > > > > the very top of my class. I then want to grow my business to
> > >> > > > > > > become
> > >> > > a
> > >> > > > > > > leader in the Multimedia/Web Design industry in Minnesota."
> > >> > > > > > > />
> > >> > > > > > > <meta name="Keywords" content="Jack Pine Web Design, Karen
> > >> > > Eckstrom,
> > >> > > > > > > Minnesota, Multimedia, Web Design, Hutchinson, MN, Minnesota"
> > >> > > /><!--
> > >> > > > > > > ImageReady Styles (Untitled-2) -->
>
> > >> > > > > > > <!-- End ImageReady Styles -->
> > >> > > > > > > <link href="jpwd_main.css" rel="stylesheet" type="text/css"
> > >> > > > > > > />
> > >> > > > > > > <link href="about.css" rel="stylesheet" type="text/css" />
> > >> > > > > > > <script src="Scripts/AC_RunActiveContent.js"
> > >> > > type="text/javascript"></
> > >> > > > > > > script>
> > >> > > > > > > </head>
> > >> > > > > > > <body style="background-color:#FFFFFF;">
> > >> > > > > > > <!-- ImageReady Slices (Untitled-2) -->
> > >> > > > > > > <div id="Table_01">
> > >> > > > > > > <div id="jpwd-logo-about_">
> > >> > > > > > > <img id="jpwd_logo_about"
> > >> > > > > src="images/jpwd_logo_about.jpg"
> > >> > > > > > > width="196" height="70" alt="Jack Pine Web Design" /> </div>
> > >> > > > > > > <div id="nav-bar">
>
> ...
>
> 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