[xray] New Flex2 version of Xray is out to try
John Grden
neoriley at gmail.com
Thu Jun 1 02:36:54 EDT 2006
Ok, wow, with an hour to spare before the deadline!
I have to say, what a kick ass experience Flex2 was!! Anyone that has dared
look at the code for Xray's interface is usually turned to stone or retired
shortely there after in pure horror. The old interface has taken many many
hours to build to it's current form. I converted it to Flex2/AS3 in about 5
days. Incredible. Now, it's not perfect, but, it IS quite a bit better
than the current interface ;) about 100% better.
Anyway, some of the feature updates/additions to the Flex2 version:
0. Resizeable interface. Yeah finally. Here's where Flex earned its
paycheck 100x's over. resize the width's of the treeview/property
inspector, resize the entire app. Have fun.
1. New Video control. I've added a new method to the xray connector called
Xray.sendMetaData(obj). Essentially, all you have to do is send along the
metaData you get back when playing an FLV. This will initialize the Flex
interface to let you scrub your movie remotely. Yes, I said "scrub your
movie remotely"!!
// in your init method
ns.onMetaData = Delegate.create(this, onMetaDataHandler);
// then define the onMetaDataHandler
public function onMetaDataHandler(obj:Object):Void
{
_global.com.blitzagency.xray.Xray.sendMetaData(obj);
}
2. Sound Control. It was in the old version, but this version actually
lets you scrub the audio, change the volume and pan.
3. Property Inspector updated with some new controls and abilities. You've
always been able to change properties at runtime, but what's new is that if
you click on a string property, Xray will inspect it to see if it's a URL.
If it's an MP3, it'll play it right there in Xray (still have to put in some
controls to turn it off- sorry). If it's a normal web URL, it'll open up a
new browser window and navigate to it. Oh and to change a boolean value,
just click on the cell - that's it! Swaps the value and updates it on
stage.
4. Fixes to the treeview - it now updates properly. Doing on-demand clicks
works great and the code went from 50 lines to something like 15.
5. HUGE textarea for doing traces and executing actionscript. Probably too
much, but hey, we're in texas now.
Ok, if you wanna give it a whirl, here's the link, BUT, you have to try it
with the Demo site I've posted OR download the new connector (v1.5)
Flex2 interface:
http://labs.blitzagency.com/wp-content/xray/flex2/Xray.html
Demo Site:
http://labs.blitzagency.com/wp-content/xray/flex2/XrayFlexDemo.html
New Connector:
http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/xray_conn_1.5.mxp?format=raw
Let me know what you think!
--
John Grden - Blitz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/xray_osflash.org/attachments/20060601/5fe90aab/attachment.htm
More information about the xray
mailing list