Gary, I think I found the generator I am looking for...can you look to see if this is right?
http://get.adobe.com/air/ Thanks in advance, K. On Mar 22, 3:53 pm, kip <[email protected]> wrote: > Hi Gary, Thanks for the response... > I did go and look for the AIR generator you mentioned but couldn't > find it for download. I keep removing the AC_runactivex file from the > main root, but it keeps getting thrown back into it. The link I found > for the Air Generator was for a mobile device...that can't possibly be > right. > > I also watched the tutorial you sent and you were correct in that it > helped, but I used the html generator for the code I am currently > using becuase I can't find the AIR generator down load. > > Thanks again.... it is greatly appreciated. > > On Mar 22, 3:43 pm, GWLogic <[email protected]> wrote: > > > Kip, > > > Looking at your code and assuming you are using SWFObject to embed the > > Flash and nothing else on the page you are linking us to depends on > > any Javascript, you should not require ACrunactivex.js in there and > > you should get rid of it. > > > Quick question, did you give the AIR Generator a go that I mentioned > > earlier?. > > > It should generate some nice clean code for you that will work off the > > bat. Just drop the swfobject.js into the root of your site then drop > > the actual movie swf you want to display into the same root folder of > > your site. Use the AIR Generator to generate the code required then > > within the Dreamweaver window either code or split mode, click exactly > > on the part of the page you want the Flash to appear in. Then paste > > the code in there that the AIR Generator has given you. > > > Now, that will get everything working if you follow it right but as > > one of my previous threads here shows, it's not exactly the perfect > > method. Your SWF code that the AIR Generator comes up with should be > > placed within your <head></head> elements of your site. > > > I haven't done that yet nor worked out how to do so but thus far I've > > managed to integrate Flash into a good few site pages using my kinda > > "borked" method. :) > > > Also, where your Flash ends up on your page that you are linking to > > will also depend on the design and construction of your site as far as > > the layout goes. I haven't looked at that on your site so cannot > > comment. > > > Let me post a screenshot link to the AIR Generator in action, the code > > it generates for a specific site of mine and then what I copy and > > paste and where in the site I actually place it. That might at least > > give you an idea of where to go next with your own thing. > > > Regards, > > > Gary. > > On Mar 22, 8: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 > > ... > > 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 -~----------~----~----~----~------~----~------~--~---
