This is G o o g l e's cache of http://www.flashsandy.org/forum/index.php?act=Print&client=printer&f=17&t=436 as retrieved on 1 Aug 2007 10:01:30 GMT.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
This cached page may reference images which are no longer available. Click here for the cached text only.
To link to or bookmark this page, use the following url: http://www.google.com/search?q=cache:xv6pr-BrmzUJ:www.flashsandy.org/forum/index.php%3Fact%3DPrint%26client%3Dprinter%26f%3D17%26t%3D436+act%3DPrint+%22index+php%22+-lofiversion+site:www.flashsandy.org&hl=en&ct=clnk&cd=39


Google is neither affiliated with the authors of this page nor responsible for its content.
These terms only appear in links pointing to this page: act print index php

Printable Version of Topic

Click here to view this topic in its original format

Sandy's Forum _ AS2 1.x versions _ domain change problems ?

Posted by: cultured Apr 2 2007, 12:46 PM

Hi,

I used sandy to create a simple page turning effect on a site.

I developed this on my own web space with no problem.

the flash files run from a html page and are all in the same folder.

but upon copying the folder containing all the same files to a different domain the sandy effect stopped working.

I have no idea why.

I have even re-made and uploaded the files to the new domain, they did not work.

but when copying these exact files back to the original domain i developed them on, the sandy elements worked again!!!!

does anyone have any experience similar to this?

i feel a bit silly because it sounds more like a simple web design problem that something to do with using sandy.

but having explained it as above i'm sure that i have ruled out the possibility of any web/file configuration problems.

could it be to do with the settings on the new domain from the hosting provider?

any help would be greatly appreciated because i am stuck sad.gif

thanks,

Rob

Posted by: zeusprod Apr 2 2007, 01:39 PM

Perhaps it is as simple as setting the MIME type for SWF files on the server.

You can use the HTML output by Flash's Publish feature to set the type of the embed, so even if the server isn't configured, it will still be recognized.


This is the type attribute of the embed tag:

type="application/x-shockwave-flash"

Does any SWF work from the problematic server?

If not, then it is a general configuration issue and not Sandy-specific.

The other likely cause is cross-domain security. Maybe you're missing some SWF or trying to load some SWF or asset from another domain.

Cheers,
Bruce

Posted by: Petit Apr 2 2007, 02:18 PM

QUOTE(cultured @ Apr 2 2007, 12:46 PM) *

I have even re-made and uploaded the files to the new domain, they did not work.
but when copying these exact files back to the original domain i developed them on, the sandy elements worked again!!!!

If it is not the MIME type setting on the server, it may be another domain specific problem.
I don't know exactly what you want to do, but I've had a cross domain problem, and it goes like this:
You upload your SWF to domain 1 and run it from there.
The SWF loads images from domain 2 and use them as textures on a Sandy Object3D, like a Plane3D.

Result: No visible images.
Cause: You may be able to load the images from another domain than the one hosting the SWF,
but you are not allowed to change it, for example by doing BitmapData.draw( the Image );
This is the Flash sandbox.

To make this situation work, you have to use a proxy on server 1, where your SWF resides, and let the proxy get the images from domain 2. Often this will be a PHP cross domain proxy.

Just a thought wink.gif

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)