Controlling An Embedded Device Using Flash 174
JimCricket writes "Art & Logic has just released a web server toolkit based on the open source GoAhead WebServer. The cool part is that it can communicate with Flash presentations using XML-RPC. The idea is to create GUI's to control embedded devices using Flash in addition to (or instead of) HTML. They've posted a little demo running on Windows, but in the real world the server would run on a low-power device. Seems like a great idea for the embedded world, given that Flash interfaces _can_ be very low-memory (as long as Flash designers stick to the vector-based graphics and ActionScript)."
Re:oh really? (Score:1)
- HeXa
Um.... (Score:1)
Re:Um.... (Score:2)
Re:Um.... (Score:1)
If only Macromedia... (Score:5, Interesting)
Macromedia doesn't fix them.
To make things worse, the German product manager basically tells us "we don't have to fix this. We don't care. Without us, your site wouldn't exist. You better be grateful."
If only there was an alternative to Flash to escape this.
(Yadda, yadda, closed source, I know, I know. Trouble is, there is no alternative to Flash at this time.)
Re:If only Macromedia... (Score:2)
I presume you guys have tried the forums and bug reporting on the Macromedia.com website haven't you? They at least answer you there sometimes.
Re:If only Macromedia... (Score:2)
There are several, including Java and (more recently) SVG. Most sites don't benefit from Flash anyway and it just scares users away.
Re:If only Macromedia... (Score:1, Interesting)
Yes.
Did you compare the file size of an animation created in Java with a similar animation in Flash?
Java is as small or smaller, depending on which representation you choose.
Did you compare the speed?
The speed of what? Java is generally much faster than Flash scripting.
Did you compare the authoring tools?
There are many more Java authoring tools than for Flash, and Java supports many more styles of authoring. Of course, if you have already made up your mind that it has to look like Macromedia's applications, there is nothing that can be done.
Re:If only Macromedia... (Score:2)
Have you heard of building a website using HTML? Used thoughtfully, it works really well, loads quickly, and is usable on nearly every modern computer. Leaving out JavaScript, Flash, and big images might even allow people to enjoy your website driving up sales tremendously. Try it today! [w3.org]
Re:If only Macromedia... (Score:3, Informative)
Synchronized Multimedia Integration Language (SMIL): http://www.xml.com/pub/a/2002/05/29/smil.html
Scalable Vector Graphics (SVG):
http://www.w3.org/TR/SVG/
Re:If only Macromedia... (Score:1)
We're a small company and Macromedia does an incredible job responding to us. In fact, I've never worked with a company that is more responsive to their customers. With every product, they have large customer advisory boards who are involved for the entire length of the product cycle. I've personally watched them add feedback from this board into feature lists and have seen them generate fixes off of bug reports.
SWF *is* open source (Score:1)
That said, Adobe [adobe.com] makes a SWF program, GoLive [adobe.com]. There is also SWiSH [swishzone.com]. While they're both less advanced (inevitably, since Macromedia was the pioneer of the SWF format), they're good starting points, especially for basic Flash programmers. There was also a 3D Flash program (before Flash 6), but the name escapes me at the moment.
Re:If only Macromedia... (Score:1)
Moonfruit [moonfruit.com] needs this. Build your own website in a wysiwyg interface. Drag and drop interface elements, scale/rotate images and text etc etc.
Geocities etc do java wysiwyg editors, but they are extremely limited in comparison, take longer to download and are frustrating to use
And before you start going on about homesite/dreamweaver/arachnophilia/vim/whatever, make a site that looks anywhere near as good in anywhere near the amount of time it takes in moonfruit, then come back.
Re:If only Macromedia... (Score:2)
When I'm researching products online and get a stupid flash animation MERKATING their product I get out of there as fast as I can. I learned this a couple of years back, FLASH = NO INFORMATION just MARKETING. It's just a waste of my time.
Re:If only Macromedia... (Score:2)
Re:If only Macromedia... (Score:2)
Well, entertainment sites, like http://www.heavy.com, http://www.edgar.de or http://www.k1010.de - sure, nobody needs these sites. But such sites need these technologies.
Flash is used to build applications as well. (Score:2)
need titles that are more clear! (Score:4, Informative)
the first thing i thought when i read this was "controlling blah blah using sector-programmable EEPROM"... sigh; been in the hardware side too long.
side point: flash programs themselves are small and neat -- but the actual client (that reads, processes, and displays the animations and all that) always have seemed quite processor intensive to me, though... so besides being fancy and neat -- i am sure there are more power-saving interfaces you can use if that's really what you are after.
Re:need titles that are more clear! (Score:2)
Good Lord, no. Flash's "programming language" is a joke and even worse is what most Flash designers to with it - since they are designers, not programmers. I'm having a hard time explaining fellow designers what Boolean algebra is - again and again and again.
Re:need titles that are more clear! (Score:1)
hopefully we will get a real programming language to write in using this framework (haven't read the specifics yet) so we may use flash more productively.
Re:need titles that are more clear! (Score:1)
Re:need titles that are more clear! (Score:1)
[...] plus, you would need programmers to make the interfaces not interface designers.
maybe that is the very problem: this language is so easy that it makes designers think they can actually do things that are ment for programmers to do. Trying to make complex things simple has been cause for most of the bad things out there today...
Re:need titles that are more clear! (Score:1)
Re:need titles that are more clear! (Score:1)
That is almost the exact definition of vector graphics, which Flash uses. You can save a lot of storage space, but you loose out in display efficiency...the computer has to figure out where each pixel goes, instead of just being told. All in all, it is a very good format for some things...I wonder when the patent will come out...
Re:need titles that are more clear! (Score:1)
An instructor in a classroom is pointing to a diagram of a simple toggle switch, with one side labeled "on", and the other side "off". One student has his hand raised and is asking "Can we go over that again?"
Re:need titles that are more clear! (Score:2)
Surely the deficiencies of the language contribute to the brain-dead nature of some of the code. For example, after I'd written something in Flash 5, but then realized that we needed to support Flash 4, I had to rewrite it -- but it used arrays, etc. So the code ends up looking like a nightmare because lots of useful stuff was being done with dynamically generated variables.
I really think Flash suffers due to its designer-bias, as well -- the GUI is a nightmare and the scripting language remains, oh, about 75% of the way there.
Re:need titles that are more clear! (Score:2)
Tell that to my clients.
Re:need titles that are more clear! (Score:3, Funny)
Re:need titles that are more clear! (Score:2)
I do believe flash is a good "language" to describe such UI interactions. There are lot's of designers that are quite familiar with creating flash animations. Remember that the flash is just the "skin" the inner working will be activated by the web server and would probably be writen in C or assembler just like it always have been.
Re:need titles that are more clear! (Score:2)
Now what's this vector-graphics stuff about?
Re: (Score:1)
Re:Slashdot effect record... (Score:1)
Re:Slashdot effect record... (Score:1)
Re:Slashdot effect record... (Score:1)
All I got was (Score:4, Insightful)
on the little demo page. Too bad I removed FLASH due to it's abuse by web advertisers. I hope Macromedia will put out a player that can be set by default to not play flash. HINT HINT! I'm not going to install it to watch a demo and remove it for the rest of my browsing. Is a play button too much to ask?
Re:All I got was (Score:2, Insightful)
on the little demo page. Too bad I removed FLASH due to it's abuse by web advertisers. I hope Macromedia will put out a player that can be set by default to not play flash. HINT HINT! I'm not going to install it to watch a demo and remove it for the rest of my browsing. Is a play button too much to ask?
Two quick questions:
(1) If you knew you didn't have the plugin installed, why did you bother clicking through? The demo was clearly described as being Flash.
(2) What the fuck good would a Flash plugin be that, by default, doesn't play Flash? Does your web browser, by default, not render HTML?! (I'm sure there's a Netscape joke in there somewhere, but I'm generally not one to make cheap shots.)
If you're so worried about ads, do yourself a favor and install Guidescope [guidescope.com]. It's a little proxy that sits in your system tray, bound to port 8000 of (only) your localhost interface, and you tell IE that localhost:8000 is your proxy for HTTP content. It then replaces known ads with a gray box the same size as the ad, so it won't break the layout of pages. (Optionally you can have it nuke them altogether.) It can optionally block some or all cookies, too.
Re:All I got was (Score:1)
Macrodedia should at least give users the choice to run Flash content on a page.. not make them choose between watching every offensive Flash ad or uninstalling the plugin entirely.. I made my choice to be rid of Flash some time ago, and couldn't be happier.
And to the reply of "just filter it out!", would that work for the 85% of the population who are not as computer saavy as the typical /.er?
Re:All I got was (Score:2)
Well, it would be good for not consuming every resource on my computer, good for not booming unsolicited sound throughout my office, and good for increasing the overall reliability of my browser (Flash ain't bug-free!).
However, it would also be good for manually allowing those few Flash animations that actually add value to a web site. The key word, here, is "few".
An opt-in Play button would be an excellent feature for Flash. Without it, I am much more inclined to simply leave the Flash plugin sitting by itself and unloved in a subdirectory called "disabled".
Re:All I got was (Score:2)
The problem is with clicking three play buttons on a page I'd like to see that has several SWFs on it, then watching them play out of sync.
Re:All I got was (Score:2)
Not with my connection.
Re:All I got was (Score:1)
Re:All I got was (Score:2)
Re:All I got was (Score:2)
Grrrr.
Re:All I got was (Score:2)
Re:Write your own. (Score:2)
Re:Write your own. (Score:2)
Re:All I got was (Score:1)
Re:All I got was (Score:2)
Re:All I got was (Score:1)
There is a PLAY buton in the drop down menu (right click). You can't set it to be in STOP by default though.
Re:All I got was (Score:2)
True, It is supposed to be there. Unfortunately some advertisers abused the control given them and I had too many ads that provided a right menu of one item;
"About Macromedia Flash"
That is why I mentioned advertiser abuse.
This abuse led to the removal of flash on my system. Those ads were worse than blinking banners. The normal way to stop blinky flashly distracting things won't stop those flash ads. The only way found was remove flash. Another post recommends upgrading IE to 6 to get the ability to change Active X from enabled to prompt. I'll have to look into that. Is there a Netscape equivelant? I don't usualy use IE at home.
Re:All I got was (Score:1)
It has nothing to do with this plugin software. Instead, it has to be in the preferences of your Mozilla browser along with "Javascript" and "Popup" options.
You have low chances to force Macromedia to abandon their own player.
You have good chances (if you are a good programmer) to add such patch to Mozilla as this browser is available in the source code.
Of course I don't care about IE as I abandoned IE as a closed proprietary software.
Re:All I got was (Score:1)
Send an email to wish-flash@macromedia.com
what's the big deal? (Score:1)
it can communicate via xml. that is good, but not really special. if it can communicate via xml, of course it can communicate with flash.
so... what's it about?
We are using flash for HTPC's... (Score:2, Interesting)
So... many of us are using what we call Home Theater PC's (HTPC) to play DVD's in Progressive scan mode to feed our DLP projectors, using MP3/Ogg/Wav files for our home audio collections, HDTV decoder cards, etc. The problem is that all this stuff needs to be easily controlled with a remote. Many people have designed interfaces using flash/webserver and they tie it into an IR controll system. Maybe this will make it easier to hide the computer-ness of our HTPC and make them more appliance-like.
If interested, avsforum.com has some nice forums for discussion in the realm of HTPC's.
info on flash on devices (Score:2, Informative)
macromedia has a mobile device development center for flash
http://www.macromedia.com/desdev/mobile/ [macromedia.com]
and there is this book:
http://www.amazon.com/exec/obidos/ASIN/0735711771
Actually very useful (Score:1)
The company I work for have been mixing php and flash for quite some time to achieve the same effects. I has always felt a little hacky to mix php and flash since flash doesn't really like to talk to a database. Hopefully this framework will help out in making our solutions more clean.
I haven't read their entire description of their framework yet (I am going to) but it sounds very promising. Having /. propose new software packages for my company is actually quite nice :)
Advantages (Score:3, Interesting)
Strange. (Score:1)
as a hardware designer (Score:2, Insightful)
why goto the trouble/expense of including a vfd or a full color lcd. then emulating all the things flash needs to run. vs making a custom lcd/vfd display with your buttons on it (even if it looks just like the flash) and use that.
oh morphing interfaces you say. the answer... do we really need a remote control with skins. do we need a tv that has some silly panasonic movie running on it all day.
Look at all the crap thats gotten into car stereo head units these days. I mean the rice-boys love it but i still cant find a decent nice sounding stereo system for under 500 bux that has all the outputs and FUNCTIONAL abilities i want. Instead to get (rca) instead of line leads off a device you have to goto the $700 (cdn) range and end up gettin these stupid pixel usually like 320x100 displays and they distract the hell out of you while driving... I DONT NEED A GRAPHIC EQUALIZER...
oh yes you can turn the crap off but at the end of the day you've paid an extra 200 for the stupid display.
leave hardware alone, keep it away from macromedia and microsoft. embedded linux is nice because its just so barebones simple when it gets to that level. flash would seriously gum it up.
keep hardware devices simple. provide functionality not flash. its not a website they're not sitting there for the purpose of that site. With hardware you want to use the damned thing not have it look pretty.
The ONLY exception might be in the intergrated appliance market eg a microwave that has a vfd display that is a picture on the wall for example (like in anti-trust the movie).
in which case however flash still isnt the answer. a custom application is. faster better and most importantly designed to do the job specifically.
flash really is bloat ware when it comes to the stuff needed to properly impliment it and short of a specialty product from macromedia trying to adapt it is just plain silly.
Flash: Remote, not local, interface (Score:2, Insightful)
UI (Score:1)
Re:UI (Score:1)
Flash? UGH! (Score:1)
I have a bad feeling about this
Java applets are probably better than Flash here (Score:2)
Note that it doesn't matter whether the Flash player is smaller than the Java runtime because that part of it runs in the web browser, not the embedded system. From the point of view of the embedded system, what matters is the footprint of the Flash or application specific class files, and Java is probably competitive there.
Re:Java applets are probably better than Flash her (Score:1)
embedded system programmers shouldn't make the interfaces anyway. interface designers should, and they are much more likely to feel comfortable with flash.
the reason why people can't set the clock on their vcr is that technical people make the interfaces, not interface designers.
Re:Java applets are probably better than Flash her (Score:2)
the reason why people can't set the clock on their vcr is that technical people make the interfaces, not interface designers.
Yeah, right: if your VCR were designed by interface designers, like Microsoft Word, it would have 200 buttons, be bigger than the TV set, crash with regularity, and cost $500. The reason why VCR clocks are hard to set is because there isn't much room for buttons or much money for fancy software. It's called an "engineering tradeoff". Get used to it. If you want a better VCR, pay more: the high end ones are simpler to use or set themselves automatically.
Re:Java applets are probably better than Flash her (Score:1)
that's if you hire a bad interface designer. see below.
The reason why VCR clocks are hard to set is because there isn't much room for buttons or much money for fancy software. It's called an "engineering tradeoff". Get used to it.
my cheapo vcr has an on screen menu. there is plenty of room.
If you want a better VCR, pay more: the high end ones are simpler to use or set themselves automatically.
they are simpler to use because they were designed by better interface designers.
the vcr clock thing was supposed to be an example. it seemed to be common knowledge people can't set the clock on their vcrs. maybe it's not true. i hope it's not true.
the good thing about using flash for interfaces is that interface designers can implement the interfaces. at least if it's not a dynamic interface, you don't need real programmers. that way you avoid communication problems and the designer knows what's possible, what has certain advantages/disadvatnages and so on.
engineers often even write the manuals.
Blinking 0:00 phenomenon (Score:1)
I'm sorry, I'm an IT guy...I know how to change the clock on my VCR. It blinks on 0:00 anyway and you know why? I don't care, I just use it for playback anyway and each time there is a power outage (we recently got quite a few) I'd have to set it back to the right time again. Not to mention summer and winter time. No thanks, let it blink... (Same for the clock on my HiFi btw...never understood why they can't put a rechargable battery in those things)
Back in my young days I couldn't understand the blinking 0:00 phenomenon, now I do...
Re:Blinking 0:00 phenomenon (Score:1)
i don't even know what the clocks are good for. i get the time by the push of a button on my tv (teletext, so no programming required). i set the vcr clock to anything to keep it from nagging, because i'm to lazy to put a tape over it. i generally mistrust hifis with a clock.
the windows desktop colors are set to be the least annoying (contrary to the way the windows appear, btw). but quite frankly, i doubt joe user knows how to change it (if he heared it was possible at all).
observe non-techies use interfaces if you get the chance. you will be amazed.
Re:Blinking 0:00 phenomenon (Score:2)
* Make 12:00 blink annoyingly on the VCR, so you end up with setting it or leaving the VCR on (with a tape in) to get it to not do that.
* Going even farther, the folks who design GE microwave ovens feel so strongly that the clock is an important feature that they device cannot be used at all for its main purpose, without first setting the clock (time/date) which has nothing to do with that purpose.
Re:Java applets are probably better than Flash her (Score:1)
I'm the Chief Architect of the DMF. The problem that we find with Java is the same one encountered by everyone using client-side Java: Write Once, Debug Everywhere. Flash works identically on every platform, and the files are significantly smaller.
Of course, since it's using XML-RPC under the hood, we don't care what language sits at the other end. I did all my testing using Python's xmlrpclib, and xmlrpc.com lists client implementations in just about every language that's widely used (except COBOL and FORTRAN...)
You want to talk to a device running our DMF from a Java (or C++, or LISP) client, that's cool. Dave Winer could control his router from inside Radio Userland. Whatever.
The important thing (to me, as a designer) is that we've implemented a clean, open, simple protocol that lets us and our customers build richer monitor and control interfaces than we can using just HTML.
Re:Java Blows Too (Score:1)
No Java.
Take a look at XWT (Score:3, Interesting)
For a lightweight interface system that talks XML-RPC/SOAP and is easy to port to other platforms.
It's written in Java, but natively compiles on Linux/Win32. None of the speed problems of Java (thanks to a different design tack with Box rendering).
Of course, the obvious advantage over Flash is the fact it's open source (GPL).
Why not use Mozilla/XUL (Score:1)
GPL? (Score:1)
GPL is not advantage, it is rather a problem. Use BSD-like licenses for application you may want to use in the business.
Frankly speaking - use Mozilla and XPCOM, which is, by the way, much better designed, much better implemented and is completely a cross platform thing.
I've tried XWT on Linux/PPC - it doesn't work. I think that XWT guys think "Linux" about "Linux/x86" sub-platform.
Pros and cons (Score:4, Informative)
Do what you can do? (Score:1)
When Flash is used to control micro-devices, I'm going to use assembler for movie-making.
Please switch on the brain before programming.
That word doesn't mean what you think it means (Score:2, Informative)
Problem 1: Flash is a very common kind of memory chip used in embedded devices. In fact, it's a multi-billion dollar industry. And it has nothing to do with Shockwave or Macromedia.
Problem 2: There's no embedded computer in the example - it's a Windows box.
Re:That word doesn't mean what you think it means (Score:3, Interesting)
Solution 2: Yeah we know, it says so right there where JimCricket submitted it and Hemos posted it.
Re:That word doesn't mean what you think it means (Score:1)
fair enough... (Score:1)
What a lot of people seem to think is that Flash is an unnecessarily bloaty platform for such interfaces. To a large extent, that's true. But what the average end user 'wants', above a friendly, functional interface, is one that looks good. I'm trying to avoid using the phrase "looks flash", but it is just too appropriate here.
Ultimately, it would be very nice if the interface of choice were not Flash, and there will be many others who could enlighten everyone as to what the better option would be. It doesn't matter if things aren't standardised across the board either, but I don't think I'd like to see things go the way of Flash at the moment - apart from anything else, I find anything that's controllable with a keyboard - even if it is just shortcut keys for menus - far easier and quicker to use, and I've not seen that implemented in Flash.
While this is neat and everything... (Score:1)
I'm having a hard time seeing the impact on my life.
Playstation (Score:1)
The rationale being that Flash is simple and works out-of-the box for creating interactive screns of this type. Once the actual designs are done it is literally an afternoon's work to tie the screens and buttons together. The Playstation Flash Player communicates with the the game engine through an API and so can be integfrated with any game relatively quickly.
XML-RPC? (Score:2, Insightful)
I mean,
<?xml version="blah"?>
<methodCall>
<methodName>eat_cheese</methodName>
<params>
<param>
<name>amount</name>
<value>lots</value>
</param>
</params>
</methodCall>
just seems like overkill to me when you could just do:
action=eat_cheese&amount=lots
I guess I'm just behind the times...
Re:XML-RPC? (Score:2)
If you want to see overkill, look at SOAP.
OBMJ (Score:1)
So this was a real-world test? I'm confused...
Flash is proprietary (Score:2)
Market infrastructure should not be based on monopolistic proprietary technologies.
Re:Flash is proprietary (Score:2)
Okay, a little google search later and: http://www.openswf.org/spec.html
This is very interesting. Questions though, is the spec updated to reflect changes that Macromedia creates? And would a player be restricted by patents that Macromedia controls or licenses? Has anyone really created a new swf player?
Re:Flash is proprietary (Score:1)
Re:Flash is proprietary (Score:2)
No clue as to with what version of MM's flash it's compatible though. I'm guessing 4, but I've never looked into it.
Re:Flash is proprietary (Score:1)
I have looked at the SVG spec. What does that have to do with Flash being open?
Like to see (Score:2)
Maybe a Over Temp on a CPU could play the "FIRE BAD! FIRE BAAAADDD" clip from the Metallica/Napster flash movies.
That's be so funny.
Flash microwave? (Score:2)
Re:Flash microwave? (Score:1)
Don't laugh, it's probably coming. Just look at the horrid interfaces on stereos, both home and in-car these days.
The ideas people have about "good" interfaces these days is amazing. Yesterday I went to a restaurant web site and it was almost all flash. To get a listing of stores I had to install Flash and wait 4 minutes for the page to load. Then I needed to get an email address from Cox Cable and instead of a few bytes needed to show the email address, I got a 10 minute download and a form instead. The JavaScript and Flash code in it was 99.something percent of the page.
In what way is this better than just giving me an email address?
With examples like those in mind, I don't see a lot of benefit in embeded Flash except the hoarde of monkeys who make purchases based on what is the shiniest.
Flash Blows (Score:1)
What does it blow, you ask?
It blows sheep, goats, and other farm animals.
If you really want a solution that will work for multiuser stuff, as well as handle MORE THAN 2 FREAKING MINUTES OF VIDEO, you should definitely go with Shockwave. Director rules all.
Here's a toy! [facethecrowd.com]
Hope we can get off our Flash high horse and start pushing towards better things. There are but a handful of people who know how to use Flash properly, and you're not one of them
I quote:
"Everyone in the universe has a hardon for Flash. There are aliens
visiting Earth right now trying to get Flash. Beings from other
dimensions are extruding into our four just to have access to Flash.
Bacteria are evolving into eukaryotic symbiotes so they can form more
complex colonial creatures which eventually specialize and
differentiate, developing eyespots and a notochord, eventually
transforming into a vertebral column and enlarged anterior ganglion
-- developing musculature, skeletal structure and so on, just so they
can have fingers so they can use them to work with Flash.
That said, the only practical use anyone has actually found for Flash
is those "Skip Intro" pages that everyone skips with a grunt of mild
irritation.
Korean Arse Shooter (Score:2)
That's simply not the case. There are some compelling Flash applications, such as the...
Korean Arse Shooter [meehawl.com] .
Thanks Naysayers! (Score:1)
Cheers! Everytime I read some dumb-assed opion about how the web should be HTML forever, I know that's one less person I have to worry about competing with for a job. Have fun writing your useful web based applications in HTML.