If you build your app with Flex 2 and then use AIR to package it, you will have the best of both worlds without having to add or re-factor the existing code.
-sam On Jul 11, 2007, at 8:46 PM, dave wrote: > > Thank you so much for your tips. > To further elaborate my prev email, I found that > swfmill seem to have lot of bugs and is not very well > supported. Same is the case with DENG. That was the > reason I was hesitant to choose them for a serious > enterprise grade application. > > I did find that SVG can be embedded inside mxml using > Flex 2. It did render the SVG well. This was just an > off line prototype I did. But Flex 2 documentation > seem to say that they don't support SVG interactivity > though. I do have some mouse and keyboard events in my > SVG. Just wanted to confirm if this is the case. I > didn't get any clarification in Flex forum. > > I also found about Adobe AIR. With some quick reading, > I still think Flex is the way to go(But not Sure!). > AIR is a runtime for desktop apps using web technology > that do not require to access the network > often(although AIR does provide socket+http services). > Is my understanding right? On the other hand, my > application always requires network access(for network > mgmt) and uses html/jsp/javascript extensively. Am I > not better of using both AIR and Flex so that my > application can be run inside a browser OR AIR? > In other words, same code can be run as both desktop > and web app using Flex+AIR? Need to look at cost > though. > > > +D > --- Dan Shryock <[EMAIL PROTECTED]> wrote: > >> Personally, if you want an actual swf file to >> represent the graph, and >> the SVG's aren't extremely complicated, I would be >> pretty comfortable >> letting swfmill do the work. Otherwise, I would >> probably use the Flex >> 2 SDK (runs as a command line compiler on linux) to >> build a swf file >> that can take a custom format of xml from your >> server, and draw the >> graphs using actionscript 3. The flex sdk can be >> downloaded from >> Adobe, and the language and api docs are there as >> well. This is a >> reasonable tutorial to get you started using the sdk >> compiler to draw >> to the stage: >> > http://www.senocular.com/flash/tutorials/as3withmxmlc/ >> . >> The only difference would be the command line >> differences from >> windows to linux. If you need more user interface >> than just the >> graphs, thats where mxml, and the other features of >> Flex 2 will help >> out quite a bit for productivity (Button controls, >> layout containers, >> etc). >> >> On 7/11/07, dave <[EMAIL PROTECTED]> wrote: >>> >>> Looks like both these are done on experimental >> basis >>> on and off. I am trying Flash for a serious >> enterprise >>> application. Are there any commercial >> tools/libraries >>> available to accomplish either 'SVG to Flash >> format >>> conversion'(this would be great!) OR rewrite the >>> entire SVG generation code using Flash(on Linux)? >>> In case of latter, where do I start? >>> >>> +D >>> --- Dan Shryock <[EMAIL PROTECTED]> wrote: >>> >>>> I believe that you can use a library like DENG >> to >>>> display svg files in >>>> flash. If you wanted to convert the svg >> directly to >>>> a swf on the >>>> server side, you could also use swfmill. Hope >> that >>>> one of those might >>>> be of use to you. >>>> >>>> Dan Shryock >>>> >>>> On 7/11/07, dave <[EMAIL PROTECTED]> wrote: >>>>> >>>>> Currently I generate SVG on the web server >> side >>>> for >>>>> topology. I guess I need to rewrite entire >> code to >>>> fit >>>>> Flash. >>>>> >>>>> --- Samuel Agesilas <[EMAIL PROTECTED]> >> wrote: >>>>> >>>>>> There are various charting packages for >> Flash. >>>> The >>>>>> best one I believe >>>>>> so far is probably Flex Charting. However >> for >>>>>> topology charts you >>>>>> have to go the custom route for that. In >> your >>>> case I >>>>>> don't think you >>>>>> need to consider AJAX as Flash can suite >> your >>>> needs >>>>>> in that >>>>>> department. Flash has a pretty extensive >> vector >>>>>> drawing API and a >>>>>> pretty robust displayList API as well. If >> your >>>>>> coming from an >>>>>> environment like QT on Linux it should be a >>>>>> no-brainer to port some >>>>>> of your code. In the past I've been able to >>>>>> successfully port QT >>>>>> graphics code from linux API's to >> Actionscript 3 >>>>>> with very little >>>>>> effort. Hope this helps... cheers! >>>>>> >>>>>> -sam >>>>>> >>>>>> On Jul 11, 2007, at 2:17 PM, dave wrote: >>>>>> >>>>>>> >>>>>>> Am trying to explore Flash for the first >> time >>>> for >>>>>> my >>>>>>> current application(draws some >>>>>> charts/topology/etc). >>>>>>> >>>>>>> Here is my setup: >>>>>>> application runs in web server(Jboss) on >>>> Linux >>>>>>> supported client: IE/FF browsers on >> Windows >>>>>>> >>>>>>> Can you please provide me some good >> starting >>>>>> pointers >>>>>>> before I dig thro' Google further. >>>>>>> >>>>>>> Here are some findings so far: >>>>>>> I came across Adobe Flex 3 as well as >> AIR. I >>>>>> guess I >>>>>>> may need to explore Flex 3? Is there a >> better >>>>>>> alternative? >>>>>>> >>>>>>> I may need to educate more on integrating >>>>>> Flash,http, >>>>>>> and Ajax may be? This should cover my >>>> application >>>>>>> setup above. >>>>>>> >>>>>>> Are there any special Linux >>>> libraries/apis(c++ or >>>>>>> java) for charting, and drawing topologies >> of >>>>>> various >>>>>>> layouts using Flash technology? >>>>>>> >>>>>>> appreciate your help. >>>>>>> +D > > > > > ______________________________________________________________________ > ______________ > Choose the right car based on your needs. Check out Yahoo! Autos > new Car Finder tool. > http://autos.yahoo.com/carfinder/ > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
