Author Topic: Flash movie using ZEND AMF framework.  (Read 1376 times)

0 Members and 1 Guest are viewing this topic.

Offline waverider303Topic starter

  • Enthusiast
  • Posts: 62
    • View Profile
Flash movie using ZEND AMF framework.
« on: March 31, 2009, 01:32:12 AM »
Hi im using the Zend AMF framework to display database entries in my flash website. The problem is that the ZEND AMF connects only when I dont use the www. prefix before my website...

Example that doesnt work: http://www.stleo.biz/awards_external.html

Example without the www: http://stleo.biz/awards_external.html

Its the box on the right.

any help?
« Last Edit: March 31, 2009, 01:32:49 AM by waverider303 »

Offline xylex

  • Enthusiast
  • Posts: 256
    • View Profile
Re: Flash movie using ZEND AMF framework.
« Reply #1 on: March 31, 2009, 03:28:10 AM »
Flash considers www.domain.com a separate server than domain.com, so there's a check to prevent XSS or spoof type attacks.  You either need to remove the prefix part of the full URL - "http://www" -  where you're point the Flash to the server and use a relative path, or you need to allow www.domain.com to share information cross domain with domain.com by adding a crossdomain.xml file to your webroot.
The greatest inefficiencies come from solving problems you will never have.  -Rasmus

PHP Development Blog

Offline waverider303Topic starter

  • Enthusiast
  • Posts: 62
    • View Profile
Re: Flash movie using ZEND AMF framework.
« Reply #2 on: March 31, 2009, 12:43:19 PM »
how do i make a crossdomain.xml and where do I put it?