have you tried the online generator? http://www.bobbyvandersluis.com/swfobject/generator/index.html
have you got a link so others can point out your errors in the mean time there is a great deal of information on the swfobject wiki - but being a noob this may not be to your taste. http://code.google.com/p/swfobject/wiki/documentation checkout http://learnswfobject.com/the-basics/ ---- I would compare your current markup with that created by the generation tool (first link) swf or *S*hock*W*ave *F*lash are the end results of exporting *FLA*sh projects. You don't change it but export the fla document to a swf (flash IDE can output to other formats too) you want the following in the <head> of you html document before it closes is a ideal <!-- for a script tag that *S*ou*RC*e's an external javascript file - then calls to setup you desired swfobject(s)--> <script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" type="text/javascript"></script> <script type="text/javascript"> // what goes here depends on the type of swfobject you using in the page - see links 2 & 3 for to scoop on this </script> -- post back if you have any further questions. links would be helpful if you can or at least some sample code with an explanation of what your hoping to achieve hth - S On 31 July 2010 17:07, JayABee <[email protected]> wrote: > Hi > > Please excuse me but I am a complete amateur to Javascript. I do want > to learn how to code it eventually, but for now I am on this. > > So apparently swfobject is a cool gizmo for adding flash to a Web page > using JavaScript. > > I have a flash movie file prepared , it was originally saved with > a .fla extension, but I am not sure whether I should change this to > a .swf extension ? > > So using MS Expression Web 2.0 software i inserted my flash movie file > to my page and I have copied the swfobject code found at the following > link: http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js > to within the <head> section of that page and surrounded it with > <script = text/javascript> and </script> tags. > > Well the flash movie doesn't play as I expected to. I have tested > this using the same file with .fla extension and a .swf extension, > neither worked. > > Please may I have a pointer on where I am going wrong. > > Thanks In Advance for help much appreciated > > Kind Regards > JayABee > > -- > 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]<swfobject%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > > -- 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.
