What do you mean by relative path? Unless you can see an issue with my code I pasted, this is not the answer. My directory path and location are accurate. Does my AS3 file have to point to the external file through SWFObject flashvarsor something? Or can I have it load images and XML through AS3 like I have it set now? Like I said it plays on the server, just not through the SWFObject script.
On Dec 11, 10:09 pm, Aran Rhee <[email protected]> wrote: > Most likely it is a relative pathing issue in loading the XML file. > SWFObject (or UFO for that matter) have no problems with flashvars vs. > direct request of images etc. > > Can you post a link to a test page? It is a lot easier to help if we can see > exactly what is going on (http traffic etc) > > Also, make sure you read the SWFObject 2.x docs, as it is recommended to > place all SWFObject code in the <head> of the page rather than inline like > 1.x or other embedding methods. > > Cheers, > Aran > > > > On Sat, Dec 12, 2009 at 4:42 AM, cnicoletti <[email protected]> wrote: > > I am having a major issue with having my flash file not showing up on > > a server page. > > > I was using UFO, but recently switched to SWFObject 2 because of the > > same issue. > > > The file plays fine on the server, just not with the JavaScript. Other > > flash files play fine also. > > > Does this have something to do with my external XML or gallery images > > not playing nice with the SWFObject?? (/xml/gallery.xml) The xml is > > being loaded from Flash AS3, not a flashvar. > > > Thanks in advance for all your help! > > > Here is the code from the .ascx file: > > > <div style="width:974px; height:300px; margin:auto; text- > > align:center;"> > > <script type="text/javascript" src="/js/swfobject.js" > > language="javascript"></script> > > <script type="text/javascript"> > > swfobject.embedSWF("/ContactUS/_Swf/EN/main_Home.swf", > > "flashmedia", "974", "300", "9.0.0" , "expressInstall.swf", > > {menu:"false"}); > > </script> > > <div id="flashmedia"> > > > -- > > > 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%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/swfobject?hl=en.- Hide quoted text - > > - Show quoted text - -- 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.
