Your Universal Remote Control Center
RemoteCentral.com
RTI Control Systems Forum - View Post
Previous section Next section Previous page Next page Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Page 2 of 2
Topic:
Flash is here!
This thread has 21 replies. Displaying posts 16 through 22.
Post 16 made on Wednesday October 3, 2007 at 02:04
fluid-druid
Senior Member
Joined:
Posts:
June 2005
1,312
interesting idea.

Might be delay though. Don't you think. I haven't programmed in flash in a year or more. I think that Flash can create a more direct connection (ie always present communication) but not sure it works with HTTP requests.

I'm talking out of my a$$ though, because I honestly can't remember...I better get back into it for a while.
...couple a thumb tacks and a stick of double sided tape should hold this baby up...
Post 17 made on Wednesday October 3, 2007 at 08:48
The8thst
Long Time Member
Joined:
Posts:
October 2004
364
On October 3, 2007 at 02:04, fluid-druid said...
interesting idea.

Might be delay though. Don't you think. I haven't programmed
in flash in a year or more. I think that Flash can
create a more direct connection (ie always present communication)
but not sure it works with HTTP requests.


I'm talking out of my a$$ though, because I honestly can't
remember...I better get back into it for a while.

You are still a few steps ahead of me. I have never programmed in flash, but I am great at "Programming in Theory".

I am actually trying to decide if I should take up java or flash as my next programming language. Flash may become really useful for RTI, but Java is already useful for AMX...
Post 18 made on Wednesday October 3, 2007 at 09:20
CLIQK LABS
Long Time Member
Joined:
Posts:
September 2007
17
There is something else you should be aware of before starting a flash app. As a security measure, a flash movie is only allowed to communicate with the server that the SWF was downloaded from. So if you hosted the flash movie on the http server of your NAS, that movie will only be able to send http traffic to the NAS.

If you wanted to make a Flash weather app that talks to weather.com to get the current forecast, you would need to be able to also host your swf on weather.com (not likely).

There are a few ways to get around this...

1. Crossdomain XML
If you have access to the web root of both the server hosting the SWF and the server that you want to communicate with, you can put a crossdomain.xml file in the web root of both devices and Flash will see this and allow communication between the two.

More info is available from Adobe:
[Link: kb.adobe.com]

There is a good thread explaining crossdomain here:
[Link: forum.chumby.com]


2. Setup a Proxy
This is what I will be doing. I have setup an Apache server with PHP and Curl. I will host my SWF on this server, and setup a PHP proxy script. Whenever I need my flash to communicate to a device, I will point it to the URL of my apache server (same domain that the SWF was pulled from) and then have PHP forward the requests to the correct IP address. This will allow me to connect to any number of devices or web services without having to do any tricks with crossdomain.

-

Also, none of this crossdomain matters when you are running an SWF from within Flash Debugger, or if you run it as a Projector (.EXE or .HQX). When a flash movie is run locally it is allowed to communicate with any ip address. If your Flash works on your computer but not on your touchpanel, this could be why.

-CLIQK LABS
http://cliqklabs.com
Post 19 made on Wednesday October 3, 2007 at 17:46
Noodles87
Long Time Member
Joined:
Posts:
January 2007
37
cliqk, I like your PHP idea.....

very saavy!
Post 20 made on Sunday October 7, 2007 at 12:50
lolg
Lurking Member
Joined:
Posts:
October 2007
2
Being a remote newbie I was doing a search of the web and happily fell upon this thread.
So apologies up front for any remote Fau'pars..

Has anyone tried running a Flex app [Flex complies to run on the Flash player]?

Also the speck sheet for the new T3-V states; "wireless Ethernet and a built-in web browser allows the user to access web pages, IP addressable devices and utilize IP control for web based integration applications."

Does any one know which browser and weather Flash will be incorporated on the new device?

Thanks, in advance.
Err don't have one yet!
Post 21 made on Monday October 8, 2007 at 09:16
CLIQK LABS
Long Time Member
Joined:
Posts:
September 2007
17
On October 7, 2007 at 12:50, lolg said...
Does any one know which browser and weather Flash will
be incorporated on the new device?

If it's similar to the RK3 and K4, it will be: IE6 and Flash 7

-CLIQK LABS
Post 22 made on Thursday October 11, 2007 at 13:50
lolg
Lurking Member
Joined:
Posts:
October 2007
2
Thanks CLIQK LABS

>>If it's similar to the RK3 and K4, it will be: IE6 and Flash 7
Err don't have one yet!
Page 2 of 2


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse