Flash Applications That Can Be Used Online and Off 346
General Voltron writes "Macromedia, Inc., the same people that brought you Flash, have done it again with a new product called Central. Central will allow users to more easily interact with information on the internet by also allowing them to interact with it offline. It will also allow developers to create and sell their own applications. See the press release." I'm not a big fan of Flash myself, but I realize it has its niche. This looks like something that Flash authors have been clamoring for.
done what again? (Score:4, Informative)
nice one macro, but do we need this????
Re:this is Java's missed boat (Score:3, Informative)
This isn't technically correct. The SecurityManager in Java can be configured to allow or disallow many actions, not all of which are even enabled by the defaults you get with a standalone Java application.
Granted, for applications, you specify the security manager at JVM startup, but still, if you're not writing a networked app, your script can tell the JVM not to allow those kinds of actions. This is a key thing to do if you're accessing code from elsewhere (like allowing people to drop objects on you in RMI with their codebase elsewhere).
-Zipwow
Enabling and disabling Flash on-the-fly (Score:5, Informative)
My original solution to flash ads was to uninstall the flash plugin, but this meant that I couldn't view stuff like The Carabella Game: The Quest for Tunes [eff.org]. Then I found out that Mozilla and Phoenix can make use of plugins that are installed while the browser is running. This meant that I could load and unload the flash plugin without restarting my browser. I cooked up the following script, which was originally nicely indented:
Here's how it works: Mozilla is installed in /opt/mozilla, and Phoenix is installed in /opt/phoenix. I have a directory called /opt/plugins where I keep my plugins so they aren't lost when I install a new nightly build. When I turn Flash on, the script makes a symlink to the Flash files inside the browser's plugins directory, and when I turn Flash off, the script deletes the symlinks.
To make this even simpler, I added the following entries to my window manager (IceWM). This way I can enable or disable flash with the click of my mouse.
Obligatory Flash comment. (Score:3, Informative)
Flash has been known for its security vulnerabilities, such as this one:
Security hole in Macromedia Flash allows attack through any browser.
By editing the Flash header (SWF), it is possible to run any code on the computer of a visitor to a web page, according to an eEye Digital Security Alert [eeye.com]. The vulnerability exists in all versions of Flash and in all browsers that support Flash, making it "... trivial to bypass firewalls and attack the user at his desktop." eEye [eeye.com] says they found 17 other vulnerabilities in Flash. eEye reported a previous vulnerability [eeye.com] last May.
I've always disliked how Flash tends to be an advertisement for Flash. Visitors to a page with Flash often get upgrade notices.
When I read the above security risk announcement, I disabled Flash in Mozilla, and now I often get the Macromedia advertisement: "Click here to get the plugin." Did the owners of those web sites intend to force me to install unsafe software or go elsewhere? No, probably they just trusted a web site builder who knew that flashy graphics is cheaper than useful content.
Re:Offline apps for Flash -- dumb headline (Score:3, Informative)
You're missing the point. This will allow Flash apps to run, collect data, and then connect back to their home server later to upload the user's data and download the server's response. For example, think stock quotes: when Central runs, it would connect to the stock quote server, grab the updated quotes for the user's portfolio, and hang on to them. When the user runs that particular Central app, whether he's online or offline, he sees his most recent stock quote prices.
Then as he's sitting on the airplane, disconnected from the internet, he sees that his MSFT stock is heading south fast. He enters a Sell order for it in the Central app. The next time Central connects, it places his Sell order, and receives the confirmation. Now, obviously, you wouldn't use this for serious stock purchases, it's just an example of how the connected/disconnected model works. Central manages the data transfer, manages the synchronization, etc. That's totally different from standalone Flash movies.