One more thing: Why then does LPS allow during local development in .lzx the fetching of data and when compiling into flash of dhtml there is a problem (in SOLO)? Do big websites like Walmart then run their Tomcat and actually use .lzx files all the time??!
Duke2010 -- Sent from Ubuntu Duke2010 wrote: > See below in response. > > > > Max Carlson wrote: > > The Flash security policy is to only allow requests to the same server > > the swf was loaded from. HTML5 apps have the same limitation. > > > > :: I have read a bit about this before. What wounders me is, that pix > from the different server have no trouble at all to get loaded every > time unlike the RSS. > > Funny enough, the RSS usually failing also comes from there ;( > "AND" both have the very same domain exactly.. (?!) > > > > You can work around this in Flash by placing a security policy file at > > the root of your web server. More on this here: > > http://www.adobe.com/devnet/flash/articles/fplayer_security.html > > :: Boy, your link contains a whole load of stuff!! So, I would then put > such a file in the root lps folder of my tomcat for it to get compiled > into SOLO Apps?! > > I want my Apps to load from certain other domains and also interact in > the future via .php, if that needs a different line.. > > > > <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM > > "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"> <!-- > > Policy file for http://www.mysite.com --> <cross-domain-policy> > > <allow-access-from domain="*.mysite.com" /> <allow-access-from > > domain="www.myothersite.com" /> </cross-domain-policy> > > > > :: mysite = hosted site where swf is retreived for html wrapper > :: myotherside.com = where XML data and RSS is taken from during startup > :: CORRECT ?! > > :: Does this fit also for dhtml this way?! My iphone App is to go dhtml > in order to show up on Safari Browser there. > > > > > > > We work around these issues by including an HTTP proxy in the LPS. That > > proxy is only used for proxied applications. I hope this clarifies the > > issue! > > :: So how will this affect SOLO deployment? THX 4 helping me getting my > feet wet here in all this ;) > > Duke2010 > > > > > On 11/18/10 12:39 PM, Founder wrote: > > > Hi, > > > > > > My App is to get one official RSS feed and then also 2 personal xml > > > files to load. Apart from it it loads pictures on a different server > > > in any setting without trouble: > > > > > > <view align="left" resource="http://Server.png" valign="top" /> > > > > > > Dataset init: > > > > > > <dataset name="rt" request="true" > > > src="http://Server2/ranking.xml"/> > > > > > > Viewing it with: > > > <text fgcolor="#303030" datapath="rt:/data/item/detail/text()"/> > > > > > > in Flash8 the RSS feed does not work. > > > In dhtml rather the other way round. > > > > > > I feel it has something to do with the proxied setting since when I > > > develop it > > > locally in the Tomcat Server via .lzx extension, all works just fine. > > > > > > Debugging says in flash8 security setting for flash does not allow sort > > > of getting the > > > files?! Well it does the pix and the other other xml files?! > > > > > > Any insights?!?! > > > > > > Best, > > > Duke2010 > > > > > > PS: Where again do I find plugins so that I can use my editor to > > > understand the lzx markup? > > > I run Linux. > > > > > > > > > >
