Rob Gonda's Blog

Impressive Flex Demos

Check out the demos on this blog (this links are on the bottom).

My favorites are this drillDown charts, and the simple and icon based random walk demos. Pay attention to the fact that the back button works / bring you back one level in the random walk demos. The best part is that he included source for everything.

Gotta love Flex.

scary or neat: Flash Full Screen Mode

A new update in Flash 9 allows the flash player to switch to full screen mode triggered by ActionScript. This is neat, but scary at the same time... can you image how many flash banners will unsolicitedly occupy your entire screen? I can see where this can be handy for RIA's, in fact, very handy! But I can predict much abuse ... Thus far it has been hard to overtake the user full browser, and it's common sense not to allow this to happen. Flash Player 9,0,20,0 will change that. With a single line inside your actionscript: Stage["displayState"] = "fullScreen"; you will accomplish every marketers dream.

Adobe did add some security to try to prevent abuse, for example, requiring an additional parameter in the embed tag, preventing banners from doing it w/o the sites permission. here's the full list:

  • To enable full-screen mode, developers must add a new <object> and <embed> tag parameter, allowFullScreen, to their HTML. This parameter defaults to false, or not allowing full screen. To allow full-screen, developers must set allowFullScreen to true in their <object>/<embed> tags.
  • An overlay dialog box will appear when the movie enters full-screen mode, instructing the user how to exit and return to normal mode. The dialog box appears for a few seconds and then fades out.
  • The ActionScript that initiates full-screen mode can be called only in response to a mouse click or keypress. If it is called in other situations, it will be ignored (in ActionScript 2.0) or throw an exception (in ActionScript 3.0).
  • Users cannot enter text in text input fields while in full-screen mode. All keyboard input and key-related ActionScript is disabled while in full-screen mode, with the exception of the keyboard shortcuts that takes the viewer out of full-screen mode.
You can read more about it @ Adobe Labs

Flash Tracer Extension: see what's inside

I just found a Firefox Extension that allows you to see the Flash traces from within your browser. This is the best extension I've installed in a while.

Flash allows you to trace text, kind of like a print line, cfoutput, writeline, you name it... it just outputs to a debugging window in the Flash IDE... the problem is, once you export it and run it into an html page, you can't get those traces anymore...

To overcome this problem, we created a tracing class that detects if you're running the swf from the Flash IDE or through a browser and either uses regular trace methods or uses a custom trace_lc() -- trace local connection -- method. The local connection method connects to a standalone swf we use as the debugging output window. This method will connect the swf movie in the browser with our standalone swf, allowing us to see all the debugging strings.

No more! Developers can install a Flash debug player version, which is really just some extended version of the regular plugin. Then you can install this Firefox extension to see all traces right there in your browser. You do not have to export the movies as Flash 9, all you need is the player and the extension. Can't say how useful this is.

Google Code Search

Google has released Code Search, a new service, again, geared towards developers. They added a special search that only looks through source code. It would find anything inside JavaScript, HTML, License files, or other text based code. It would even look inside zip files. It's easier now to track down who's using your code :) , or find examples of code you're looking to use... really nice!

This blog is running version 5.9.003. Contact Blog Owner