icon Learn how to get the most out of Surmunity - read our forum tips here! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Coding and Programming » Efficiency with the comet/ajax concept?

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old February 19th, 2008, 5:38 PM   #10 (permalink)
php, wha?!
Comfy Contributor
 
Gamer.Saga's Avatar
 
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.
__________________
HD.C
I am addicted to LINUX.
Gamer.Saga is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 19th, 2008, 5:58 PM   #11 (permalink)
H
after g, before i
Super #1
 
H's Avatar
 
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.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 19th, 2008, 6:11 PM   #12 (permalink)
php, wha?!
Comfy Contributor
 
Gamer.Saga's Avatar
 
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");
I've got a legit copy of Flash CS3, I just dislike that thing in my background without knowing what it's monitoring exactly. I've been kinda high strung about what runs in my background though. Since I found out what gameguard (a 3rd party game protection software bundled with many MMORPGs) monitored exactly. It's a irremovable rootkit to boot. I stopped playing all games with gameguard. I don't use any product that has some 3rd party application or anything that can't be monitored by myself, run in my background.
__________________
HD.C
I am addicted to LINUX.
Gamer.Saga is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 19th, 2008, 6:18 PM   #13 (permalink)
H
after g, before i
Super #1
 
H's Avatar
 
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.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On