Flash Web Interface
funk
Posts: 18
I don't now if this sort of topic is already discussed in the past, but I was wondering if anybody has any experience in creating a web interface with Adobe (macromedia) Flash.
The reason why I'm interested in this is, first, that the graphical possibilities would be endless, well... enormous anyway . Combine with video, animated buttons, skinnable, you name it.
Second, that the interface would be scalable to any resolution...
and Third the interface would be easily viewable on any flash capable device (phones, pocket PC's, etc.)
I have some experience in Flash programming, but don't even know where to,for example, begin to interface with the controller.
This might be a great project...
The reason why I'm interested in this is, first, that the graphical possibilities would be endless, well... enormous anyway . Combine with video, animated buttons, skinnable, you name it.
Second, that the interface would be scalable to any resolution...
and Third the interface would be easily viewable on any flash capable device (phones, pocket PC's, etc.)
I have some experience in Flash programming, but don't even know where to,for example, begin to interface with the controller.
This might be a great project...
0
Comments
This is the type of interface that one should hope AMX is developing and researching internally, not relying on independent companies to come up with the answers for the best and most reliable interface to their controllers.
The other big control company has had an Active-X solution for several years now which works absolutely great and is very simple to integrate.
Even other recent control system companies are developing applet solutions based on web
technologies that are readily available.
So why is AMX dragging their feet??????
That would be absolutely great! I'm really looking forward to get busy with something like that. Like I stated before, the possibilities with flash are awesome
VLCNCRZR:
I think there is a financial issue here. AMX has got some fantastic touchpanels with loads of functions and graphical capabilities and can be displayed on a PC with VNC. So why develop the possibility to get the awesome graphics without one. They rather sell expensive TP's I recon. I'm not trying to beat on AMX. They've got some fantastic gear, but I think that's the way it is.
But I (and I think many people) want to do without these touchpanels and yet have a more vibrant, interactive touchpanel then TPDesign 3 can give me.
what i WOULD like to see is that AMX leaves Java behind, and also starts using something like ActiveX, and developes something that let's you build PocketPC apps from TP Design
There is absolutly nothing wrong with TPDesign 4 and the touchpanels that work with it. I praise the software and the G4 series... BUT... the touchpaneldesigns from TPD4 can not be exported to a web based standard (like in TPD3), so it can not be used online/on a PC without the use of a touchpanel and VNC. And flash can do similar things as TPD4 with a bit of creativity.
So I want to use flash for 2 things
1- The graphics and interactivity like a G4 panel, but without having to by an actual touchpanel (and save a couple of thousand euro's, yep euro's, I'm from Holland )
2- The abillity to use it across a number of different platforms and resolutions (PDA, Phone, PC, Mac, etc.)
If anybody knows of another method of doing those 2 things with a single solution, I'm open to suggestions, but like I said before, I love flash and have some experience with it.
The main problems I had getting Flash to work with Netlinx was to find a design to use the same button numbers over and over and control the Page/Popups. For the button numbers I had to simulate ports in Flash such as pt02bt35, this will allow you to send the same button number but with different ports ala: TP4. As for the Page/Popups I use different layers in Flash to load the Popups as swf files in different layers. The down side is, you'll have to be good at Flash code because it's not easy to setup, but once it works it's solid.
I feel space age controlling my lights, shades and security from my telephone in my car, with two-way communication!
Myself I personnally prefer AMX solutions based on Java that is open and usable on any client platform such as linux and osx, or also Computer Control/Web Control based on open VNC than solutions of adverse company based on 100% proprietary Microsoft solution working only on that fake operating system named W*****S
Vince
And again, the scalabillity and graphical capabilities of the TP3 java output are to limited and VNC on a pocket PC or phone is crap, so flash would be the answer.
I'd also way rather have something that's compatible over multiple platforms like Java then something that's as restrictive as ActiveX.
For example way more cellphones can run Java then people who actually use PocketPC.
You could also add functionality to compile TP projects for PocketPC, PalmOS, so on, and use ActiveX for your desktop application.
It's very noble to think about (all) the people that use Linux or MacOS, but be honest, how many companies are using Linux in stead of Windows....
Yuri, I think you should get out a little more, Linux and OSX are really present on market and not so small as you think it. Unless most people on PC use a software that is not a real operating system (Windows ) some people do In france, nearly all state offices are using Linux !
I really think it's always better for everyone to use open source and multiplatform solutions than completely proprietary ones that are running only on one OS (all the more when it's not the best
Vinc
Well i think Ideally you'd want more of a web type application that works across platforms without having to compile and install an application for each individual device that is going to use it. If for example you could serve up some Java aplets off a Netlinx master that would make it way more flexible the being tied into Active X.
We find about half our clients are using Macs. Now we are a residential company so perhaps those in the commercial sphere don't run into it as much as we do. It seems that most, if not all DVR units these days need an Active X control or a WIndows application installed to use/view them over the network and this has caused lots of problems for us.
this has nothing to do with getting outside more, im fully aware of the fact that Linux and OSX are present on the market but i'm also fed up with the problems i'm having with Java. Open Source is nice and cool, but if something else works better, I prefer that, it's THAT simple.
Flash can be used on both Windows and Mac OS. Windows is most widespread in the world with Mac OS coming in second. So development should focus on these 2 systems. Also, more and more formats are supported on BOTH the Mac and PC.
Linux will still not become a big player in the near future. Specially not in big companies where you will find the most AMX systems.
I still would like people to check to startmessage of this thead though...
See Vincen j/k
but you're right funk, we got a little carried away.
for as far as i can remember i know there is someone how did Netlinx master control through PHP, and can't you invoke PHP commands using Flash?
And GSLogic, can you still post your stuff? thanks!
I'm just brainstorming here, but if the TP resides on the controller itself, it could open a socket with flash actionscript: XMLSocket.connect( host, port ), where host is 0 (the same location as the flash movie) and port is 1319 (AMX)...
XMLSocket.send( object ) could be used to send xml object commands to the controller itself that could be used by the program.
I don't have a clue if I'm in the right direction, but that would be my first guess.
I want to set it up so the Flash app is using different ports to control relays so you can see how it works upon download. As of now its controlling my home, the files are huge and it wouldn't make much sense. I should have some time this weekend and I'll try to get it done.
Mpullin's input is without a doubt correct and much appreciated, but just one step to far for me and my experience in the networking/programming/AMX combi.
SPEED!!!!! And wow factor, which is 99% of this business.
Years ago I created a Flash interface "HSFlash" for a small company called HomeSeer, a very good PC based automation system. The graphic were moving and changing... it was very cool! When I started to use TP4 I realized the limitations of the program in the graphic aspect, but like I said before TP4 is a very serious program that does much more than Flash in other fields. The whole concept of the ports is outstanding and Flash can't support ports (without some code work). And finally Flash is great! Its small is file size, runs very fast, communicates with databases and your imagination is the limit for graphic design.
With this application, I have a piece of C++ glue code handling communication between the Shockwave app and Netlinx.
I don't think creating a defined protocol between Flash and Netlinx would be a big deal...and I think this would be an awesome tool as the PC should be a key player in an automation system. Also need a form-based web tool which may be easily accomplished with servlets in Duet...haven't tried it yet. The question is, would AMX support this, or see it as a threat to TP sales?
I do agree that it's not the hardest thing to create a Flash interface for Netlinx, but it sure is strange that I've never seen one that worked.
I can't wait! But you need some kind of permission or approval or something to post te files??
http://www.amxforums.com/showthread.php?p=15083#post15083
I wanted to start a new thread just for GSFlash idea exchanges.
Hope you enjoy!
Any chance you can mail me directly or something??
Good idea, by the way, to start a new and clean thread.
I didn't even realize that I did that... sorry!
I re-posted it in the general section.
http://www.rabonesystems.com.au/modules/newbb/viewtopic.php?viewmode=flat&topic_id=8&forum=3
1) Open a socket and maintain a connection to the AMX Master and have the Master tell your device when something changes
2) Have your device periodically poll the AMX Master and build in a set of polls that allow your device to display the data you want
Each has its advantages and disadvantages. It depends on what kind of feedback you want to display, the nature of your device, network traffic, etc. GS's solution, for example, maintains a connection to the Master. If you were doing some communication based on HTTP, you would not really be able to maintain a connection seeing as how this violates the HTTP standard. So you would probably rely on polling in that case.