|
|
#10 (permalink) |
|
php, wha?!
Comfy Contributor
Joined in Feb 2008
117 posts
Gave thanks: 3
Thanked 4 times
|
Well, flash action script 2.0 has something know as policy files. It's an XML file containing the information on which domains the flash file can reside on and make a connection to the requested stuff. I've decided to use Flash Actionscript 2.0 + the XMLsocket functions to play median between user and server updated information. This will make everything actually life. I'll use the flash to act out the javascript accordingly with the data sent to it and javascript will also tell flash to send data as well. <3 fscommand. Though, I still need to find out if I may have a constant remote MySQL connection made... just one... so, I'm waiting for a surpass staff response to a ticket I opened earlier.
|
|
|
|
|
|
#11 (permalink) |
|
after g, before i
Super #1
Joined in Jul 2004
Hosted on Gojira
7,870 posts
Gave thanks: 44
Thanked 127 times
|
Yeah, Flash Player itself has the sandbox on domain access on several function calls. Unless this is different from the crossdomain.xml file I've used in a few cases since Flash 7.
I'm not sure if it's Flash or just Flex, but ExternalInterface and the JavaScript/Flash bridge is pretty powerful. Yahoo used it for quite a while to let AS3 apps communicate with an AS2 Yahoo Maps SWC. It sucked in some ways as the api calls weren't native from within your AS3 code, but it showed you could do a lot. Oh -- and if you're really tempted to play with AS3, there's a 90-day beta trial for Flex Builder 3 available. I can assure there's no licensing server with it... it's basically a very customized build of eclipse. |
|
|
|
|
|
#12 (permalink) |
|
php, wha?!
Comfy Contributor
Joined in Feb 2008
117 posts
Gave thanks: 3
Thanked 4 times
|
crossdomain.xml is the default policy file. You can use a file under a different name like so.
Code:
System.security.loadPolicyFile("http://www.site.com/policy.xml");
|
|
|
|
|
|
#13 (permalink) |
|
after g, before i
Super #1
Joined in Jul 2004
Hosted on Gojira
7,870 posts
Gave thanks: 44
Thanked 127 times
|
Ahh ok. So we're talking the same thing. Cool.
Yeah, I only suggested Flex Builder because I'm 100% positive it doesn't have that monitoring crap in the background. |
|
|
|