Ok. So checking the differences:
In #1 you have: allownetworking: "none" This value is normally set in the publishing options, but you passed it in specifically in your code which stopped any loading of XML data etc. Glad it is all working for you now :) Aran -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of shapper Sent: Tuesday, 2 December 2008 12:39 PM To: SWFObject Subject: Re: SWFObject problem when using SSP Hi, I think it is a problem with my SWF Object code! It works if I use: <script type="text/javascript"> var flashvars = {}; var params = {}; params.allowfullscreen = "true"; params.allowscriptaccess = "always"; var attributes = {}; attributes.id = "Promotion"; swfobject.embedSWF("http://www.27lamps.com/Beta/SlideShowPro/Contents/ Project/Flash/Promotion.swf", "Promotion", "525", "115", "9.0.0", false, flashvars, params, attributes); </script> Please, check: http://www.27lamps.com/Beta/SlideShowPro/Views/SlideShowPro2.html Can you tell me what is wrong in my original code? http://www.27lamps.com/Beta/SlideShowPro/Views/SlideShowPro.html I would like to be able to define the params, etc ... Maybe I can't use the format I am using? Thanks, Miguel On Nov 30, 11:38 pm, "Aran Rhee" <[EMAIL PROTECTED]> wrote: > So when I view your test page in FP10 debug player, I get this error being > shown: > > SecurityError: Error #2146: Security sandbox violation:http://www.27lamps.com/Beta/SlideShowPro/Contents/Project/Flash/Pr omo... > f cannot call URLStream.load because the HTML/container parameter > allowNetworking has the value none. > at flash.net::URLStream/load() > at flash.net::URLLoader/load() > at net.slideshowpro.slideshowpro.data::XMLParser/loadXML() > at net.slideshowpro.slideshowpro::SlideShowPro/getXMLData() > at net.slideshowpro.slideshowpro::SlideShowPro/draw() > at net.slideshowpro.slideshowpro::Component/onInvalidate() > > So I think you need to change your allowNetworking settings in the publish > settings when you generate your swf. > > After that, then we can see what is up with your pathing (if anything) > > Aran > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > > Behalf Of shapper > Sent: Sunday, 30 November 2008 3:31 AM > To: SWFObject > Subject: SWFObject problem when using SSP > > Hello, > > I am using SWFObject to insert a flash movie with SlideShowPro: > > http://slideshowpro.net/http://wiki.slideshowpro.net/ > > I have the following: > > Root > Contents > Project > Flash > Promotion.swf > Root > Plugins > DeConcept > SWFObject.js > Root > Plugins > SlideShowPro > Promotion.xml > Root > Plugins > SlideShowPro > Promotion > Intro > Large > Lab.jpg > Root > Views > SlideShowPro.html > > On my XML file I have: > <?xml version="1.0" encoding="UTF-8"?> > <gallery> > <album title="Slide Show Pro" description="Slide Show Pro Testing" > lgpath="Promotion/Intro/Large/"> > <img src="Lab.jpg" /> > </album> > </gallery> > > On my Flash movie I have: > Intro.xmlFilePath = "../Plugins/SlideShowPro/Promotion.xml"; > Intro.xmlFileType = "Default"; > > The Flash movie loads but the image (Lab.jpg) inside the Flash movie > does not load! > > I had something similar like this working in SWF 1.5 but with SWF 2.1 > I can't make it work! > > I created an online example:http://www.27lamps.com/Beta/SlideShowPro/Views/SlideShowPro.html > > And I also created source for the example:http://www.27lamps.com/Beta/SlideShowPro/SlideShowPro.zip > > This is driving me crazy for days! Please, help me out! > > Thank You, > Miguel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
