[flexcoders] Does ASVM JIT compiler get rid of empty functions?

2008-08-15 Thread Boon Chew
  Does anyone know if the Actionscript Virtual Machine JIT compiler removes calls to functions with empty body?  The reason for asking this is that I am using assert calls in my code a lot, and I plan to comment out the assert function body in release build so it becomes a no-op.  Will the code 

RE: [flexcoders] Namespace issue displaying xml in Tree

2008-08-15 Thread Alex Harui
It is really @http://sevice.xxxxx::name You may have to declare a namespace and use it instead and maybe use a labelFunction From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mandy Sent: Thursday, August 14, 2008 12:43 PM To:

[flexcoders] panel with linkbutton...

2008-08-15 Thread grimmwerks
Hey all - been looking for examples of adding a custom render to a panel; found one that might work by extending the original Panel; does someone have any other way to do it or examples?

Re: [flexcoders] Re: Web-based Sync data - Flex/Air VS.NET

2008-08-15 Thread Scott Barnes
Is this a question or statement? :) All the best. On Thu, Aug 14, 2008 at 10:56 PM, Guy Morton [EMAIL PROTECTED] wrote: Oh and the way MS has stiffed SVG as a standard by refusing to support it in IE definitely pushes them into the category of evil. They even embraced and extended the

Re: [flexcoders] Re: Web-based Sync data - Flex/Air VS.NET

2008-08-15 Thread Guy Morton
Why not both? On 15/08/2008, at 4:39 PM, Scott Barnes wrote: Is this a question or statement? :) All the best. On Thu, Aug 14, 2008 at 10:56 PM, Guy Morton [EMAIL PROTECTED] wrote: Oh and the way MS has stiffed SVG as a standard by refusing to support it in IE definitely pushes them

Re: [flexcoders] Re: Web-based Sync data - Flex/Air VS.NET

2008-08-15 Thread Josh McDonald
*shakes head* This has gone waay off-topic. Way to Go(dwin) On Fri, Aug 15, 2008 at 6:45 PM, Kelly [EMAIL PROTECTED] wrote: Hahahahahahahah Silverlight is cross-platform? I don't think cross-platform means what you think it means. I tried tried to run some Silverlight apps on XP64

RE: [flexcoders] Re: writeObject() and readObject() SOLVED

2008-08-15 Thread Claudio M. E. Bastos Iorio
My Fault, sorry! I'd expected to retrieve an array, while the file stores 'DocumentFile' classes (appended one after another), that's wrong. First create array, add 'DocumentFile' object, save and later I have my array. Thanks for all your help! Have a nice day.

[flexcoders] Re: Web-based Sync data - Flex/Air VS.NET

2008-08-15 Thread nathanpdaniel
Totally - but my friends uncle's brother-in-law's dad's cousin went to one of those top secret Committee meetings once.. a few years ago.. I'm pretty sure. That's what HE said - I pretty much heard it straight from the source... and saw it on the internet - and the wealth of extremely

[flexcoders] 3rd party compiler for AIR with some extension?

2008-08-15 Thread Berkay Unal
Hi Coders, I have recently find a 3rd party tool that extends air with couple of features but i cannot remember the url Does anyone has the URL? -- Berkay UNAL [EMAIL PROTECTED]

RE: [flexcoders] Problem with OC4J and RTMP

2008-08-15 Thread Tadeu Rodrigo Becker Gois
I have on the same machine, however I stop tomcat when I started oc4j.  I tryed to solve the proble changed the port number, changed the default channel from rtmp to amf but nothing work.  Another applications that use only blazeds works fine.  thnks Silly question time, but do you have your

Re: [flexcoders] The end of ActionScript 3 as an EcmaScript 4 implementation

2008-08-15 Thread Howard Fore
Which JVM do you mean? Wouldn't you still have to have the Flash runtime engine to execute Flex? On Thu, Aug 14, 2008 at 6:47 PM, Josh McDonald [EMAIL PROTECTED] wrote: I think we're missing a very important point here. This *is* a blow to Flex. Standard ECMAScript will be on the JVM, whereas

[flexcoders] Re: Anyway to speed up draw reflection and reduce cpu usage?

2008-08-15 Thread flexaustin
Is there a way to get turn the bitmaps or bitmapdata into binary or something and keep it in a dictionary then convert it back to a bitmap later. That way I can cache what has been drawn by my reflection method? --- In flexcoders@yahoogroups.com, flexaustin [EMAIL PROTECTED] wrote: So I

Re: Re: [flexcoders] Web-based Sync data - Flex/Air VS.NET

2008-08-15 Thread Link Mckinney
Okay, first off I choose what gets the job done. that said -- you should know I am a huge fan of FLEX, especially Flex 3 and AS 3.0 My choice is ColdFusion and Flex Combination. My choice But given what Guy said, I can certainly see his point, smokey! Scott, you have not much claim in the

Re: [flexcoders] panel with linkbutton...

2008-08-15 Thread Howard Fore
Huh? What exactly are you trying to do? On Fri, Aug 15, 2008 at 2:39 AM, grimmwerks [EMAIL PROTECTED] wrote: Hey all - been looking for examples of adding a custom render to a panel; found one that might work by extending the original Panel; does someone have any other way to do it or

Re: [flexcoders] Hiring Flex Developers ASAP!

2008-08-15 Thread Dan Pride
Are you still looking for Flex developers? Dan Pride --- On Tue, 8/12/08, jhaidar21 [EMAIL PROTECTED] wrote: From: jhaidar21 [EMAIL PROTECTED] Subject: [flexcoders] Hiring Flex Developers ASAP! To: flexcoders@yahoogroups.com Date: Tuesday, August 12, 2008, 7:17 PM Hi All, My company is

[flexcoders] Re: using dynamic variables in flex?

2008-08-15 Thread Jason B
Thanks Tracy...Yes I wish to use a variable at the end then have it dynamically express the sentence. Do you know where i can find this parser you speak of? --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: That is not a dynamic variable, it is a dynamic expression.

[flexcoders] Re: Hiring Flex Developers ASAP!

2008-08-15 Thread guillaumeracine
You should post your job offering at another group: The group flexjobs was created specially for that, thank you. --- In flexcoders@yahoogroups.com, jhaidar21 [EMAIL PROTECTED] wrote: Hi All, My company is looking for Flex gurus asap. We're building out a great new enterprise widget

[flexcoders] Gumbo on AIR

2008-08-15 Thread haykelbj
Hi, is there an AIR SDK/Runtime that supports the new Gumbo/Astro features? Thanks, Haykel

Re: [flexcoders] panel with linkbutton...

2008-08-15 Thread grimmwerks
Sorry it was late... er... early. Basically create a panel that has a custom headerRenderer - ie a button and Label in the header. On Aug 15, 2008, at 7:49 AM, Howard Fore wrote: Huh? What exactly are you trying to do? On Fri, Aug 15, 2008 at 2:39 AM, grimmwerks [EMAIL PROTECTED]

Re: [flexcoders] Re: Take the latest Adobe Developer Survey

2008-08-15 Thread Jon Bradley
On Aug 13, 2008, at 7:50 PM, Amy wrote: I've been applying for Flex jobs lately and finding that, whether the posting includes .net experience or not, they pretty much automatically eliminate you if you don't have it. It would seem to me to be self- evident that if you can pick up any

[flexcoders] BlendMode help

2008-08-15 Thread Nick Collins
Is there a way to change your blendMode on a per-pixel basis. Essentially, I want the blendMode layer to be applied as a Multiply blend mode if the brightness value is greater than 20, and as a Screen blend mode if the brightness value is less than 20. I need that to be evaluated on a per pixel

RE: [flexcoders] Re: Web-based Sync data - Flex/Air VS.NET

2008-08-15 Thread Gregor Kiddie
I find the timing interesting given the previous popular thread that appears to have died as this one took off. *sinks into the white noise* Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered

[flexcoders] Re: 3rd party compiler for AIR with some extension?

2008-08-15 Thread haykelbj
don't know if this is what you meant: http://www.shu-player.com/ but this is not a compiler but a tool to wrap AIR applications in exe files. --- In flexcoders@yahoogroups.com, Berkay Unal [EMAIL PROTECTED] wrote: Hi Coders, I have recently find a 3rd party tool that extends air with couple of

[flexcoders] Spelling checker in Flex 3

2008-08-15 Thread kshah82
Is there a component that anyone has used as a spelling checker in their Flex 3 applications? If anyone has, can you please share your opinion/knowledge of the product? Thanks

[flexcoders] Difference between specifying remoteObject in mxml and in actionscript ?

2008-08-15 Thread Jim Hayes
I'm sure I'm missing something here, but It would be good if anyone could point out exactly what it is! I'm attempting to configure a remoteObject *without* the compiler option of-services \\someServer\Path\WEB-INF\flex\services-config.xml or similar I initally thought it would be a

RE: [flexcoders] Spelling checker in Flex 3

2008-08-15 Thread Jim Hayes
List of ten options here : http://www.flex888.com/506/10-spell-check-components-for-ria-application s.html I'd also appreciate any opinion /knowledge on this subject (It's on my TODO list ...) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

Re: [flexcoders] panel with linkbutton...

2008-08-15 Thread Marcelo Savioli
Panel with headerRenderer: http://blog.dclick.com.br/2007/12/03/header-customizado-em-um-panel/pt/ The post is written in portuguese but the component is all in English: Also, the component was wirtten for Flex 2. If you have problems getting it to run in Flex 3 just drop me an email. On Fri,

Re: [flexcoders] Re: Take the latest Adobe Developer Survey

2008-08-15 Thread Tom Chiverton
On Friday 15 Aug 2008, Jon Bradley wrote: I personally find it Awkward that employers are expecting server-side programming expertise along with front-end programming expertise, like Flex. I think it's just a way of making sure they get someone with serious programming skills, rather than an

RE: [flexcoders] panel with linkbutton...

2008-08-15 Thread Shah, Kumar
Is this component a spelling checker? Thanks _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo Savioli Sent: Friday, August 15, 2008 10:54 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] panel with linkbutton... Panel with

Re: [flexcoders] The end of ActionScript 3 as an EcmaScript 4 implementation

2008-08-15 Thread Cole Joplin
--- On Thu, 8/14/08, Scott Barnes [EMAIL PROTECTED] wrote: C# is an ECMA-334 standard. As to how this affects Silverlight? Cole, could you elaborate? Sure. Microsoft wants a new standard for web scripting using Silverlight's RIA framework via .NET and the Dynamic Language Runtime. They want

Re: [flexcoders] Gumbo on AIR

2008-08-15 Thread Weyert de Boer
Nope, Gumbo requires the Flash Player 10. Currently, there is no AIR version which supports this player.

[flexcoders] Re: Gumbo on AIR

2008-08-15 Thread haykelbj
--- In flexcoders@yahoogroups.com, Weyert de Boer [EMAIL PROTECTED] wrote: Nope, Gumbo requires the Flash Player 10. Currently, there is no AIR version which supports this player. Any idea when such a version will be available (alpha, beta, doesn't matter), on adobe labs perhaps?

[flexcoders] Loading Flex created SWF into Flash SWF - strange issue

2008-08-15 Thread sdl1326
I am importing a Flex created SWF into a Flash created SWF. While this probably isn't standard practice, it works nicely in my case, with one exception. In design mode the width of the Flex container is 300px. The Flex SWF is being loaded into an empty MC (in Flash) so in theory the width should

RE: [flexcoders] Difference between specifying remoteObject in mxml and in actionscript ?

2008-08-15 Thread Jeff Vroom
I think the problem here is that mx.rpc.remoting.RemoteObject does not support the endpoint property whereas mx.rpc.remoting.mxml.RemoteObject does. I believe endpoint was originally intended just to be a simple alternative to defining the ChannelSet and so not supported universally but we

[flexcoders] Accessing Java Object property in DataGrid

2008-08-15 Thread Joshua Jackson
Dear all, I want to display a Java object property in DataGridColumn's dataField. How do I this in Flex? In my dataProvider I have an object namely called member. Now from the DataGridColumn's dataField, how do I display member.firstName? This is what I meant:

[flexcoders] Maven + Flex developers: Is flex 2.0 support important to you???

2008-08-15 Thread Marvin Froeder
A few time ago I figure out how to add Flex 2.0 support for flex-mojos. Will give me some refactory (may be a lot =P), but this refactory will be required to make flex-mojos compatible with flex 3 and 4 (to explore new features). So, before I start code I wanna to know: *Is flex 2.0 support

[flexcoders] how to: custom composite components and dataproviders?

2008-08-15 Thread Derrick Anderson
hi, i am building a logic editor of sorts and I imagine it will be comprised of a bunch of custom composite components. I want to be able to use a large arrayCollection of VO's as the dataprovider for 1 composite component, and let nesting handle creating the children (pass children objects to

[flexcoders] global replace with strings

2008-08-15 Thread aceoohay
Is there a way of replacing all occurences of one string with another without using regular expressions? var strTest = this is a test trace strTest.replace(t,s); returns shis is a test I want shis is a sess. Paul

[flexcoders] Re: Take the latest Adobe Developer Survey

2008-08-15 Thread Amy
--- In flexcoders@yahoogroups.com, Jon Bradley [EMAIL PROTECTED] wrote: On Aug 13, 2008, at 7:50 PM, Amy wrote: I've been applying for Flex jobs lately and finding that, whether the posting includes .net experience or not, they pretty much automatically eliminate you if you don't

[flexcoders] Re: BlendMode help

2008-08-15 Thread Amy
--- In flexcoders@yahoogroups.com, Nick Collins [EMAIL PROTECTED] wrote: Is there a way to change your blendMode on a per-pixel basis. Essentially, I want the blendMode layer to be applied as a Multiply blend mode if the brightness value is greater than 20, and as a Screen blend mode if the

[flexcoders] How/What adds an entry for my app to the Mac KeyChain?

2008-08-15 Thread ivo
One of the testing Macs threw up an interesting message after updating my AIR app: 'ServXYZ.app wants permission to use the Adobe.APS item from your keychain. Do you want to allow this?' The app does use the EncryptedLocalStore which uses the KeyChain but I have never seen this message before

RE: [flexcoders] Difference between specifying remoteObject in mxml and in actionscript ?

2008-08-15 Thread Jim Hayes
Many Thanks Jeff, a big help and much appreciated! I was having a bit of a tired Friday afternoon mental block there... -Original Message- From: flexcoders@yahoogroups.com on behalf of Jeff Vroom Sent: Fri 15/08/2008 16:56 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders]

RE: [flexcoders] global replace with strings

2008-08-15 Thread Alex Harui
Why can't you use RegEx? A much slower way would be something like: var inString:String = strTest; while (true)) { var outString:String; outString = inString.replace(t, s); if (outString == inString) break; inString =

RE: [flexcoders] Re: Anyway to speed up draw reflection and reduce cpu usage?

2008-08-15 Thread Alex Harui
Bitmaps can be stored in bytearrays and stored elsewhere, but they may not get magically smaller. You can pngEncode/decode and save more room, but it still won't be magical. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin

RE: [flexcoders] Loading Flex created SWF into Flash SWF - strange issue

2008-08-15 Thread Alex Harui
The width of an mc includes any offscreen things and areas outside of masks. That's one reason UIComponent imposes a more traditional width/height semantic From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sdl1326 Sent: Friday, August

[flexcoders] Question about printing

2008-08-15 Thread Darren Houle
I haven't played with printing much, but I've been looking and haven't been able to find a good answer to this anywhere yet... This might be an oversimplification, but apparently when it comes to the FlexPrintJob you can either print what's displayed (visible) in your app, or else employ the

[flexcoders] Datagrid Headers provided by http service??

2008-08-15 Thread ghus32
Is it possible to have a dynamic datagrid headers that is supplied by a httpservice and mysql. so If my http service gives me 3 results there will be 3 columns with the header names of these results.. Is this possible? Thanks

[flexcoders] MXML Component Navigation

2008-08-15 Thread jimctc08
Hello All, I am a newbie to this group and using flex in general- i have a question about navigating from one component to another in a single application. I have successfully imported the yahoo maps api into my application, and am looking to offer two types of maps to the user. The

RE: [flexcoders] Does ASVM JIT compiler get rid of empty functions?

2008-08-15 Thread Gordon Smith
I'm pretty sure the call to the empty function will remain in the bytecode. I don't know whether it is optimized out by the Player's JITter or not. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Question about printing

2008-08-15 Thread Alex Harui
PrintDG just has some logic that auto-scrolls and auto-sizes and lets the PrintJob know when it has scrolled through all the rows. You can almost always make a DG look like a List by having one column with the headers invisible. So, start with temporarily replacing your list with a single

RE: [flexcoders] Datagrid Headers provided by http service??

2008-08-15 Thread Alex Harui
DG columns represent fields in a data object, There isn't a column per data object. If your http request is returning something that describes the data, you can certainly walk through your results and generate DataGridColumns yourself. From:

[flexcoders] Can we customize already existing components with our own look, feel and size?

2008-08-15 Thread anuj181
Hi I am using HBOX component and dynamically loading external SWFs file in that component. This component is providing me drag drop option on the main stage using Drag Manager with the scrolling capability within the container. My questions is that [b]Can i give my own look, feel and size to that

Re: [flexcoders] MXML Component Navigation

2008-08-15 Thread Daniel Gerep
Hi jim I'd use a ViewStack, and change its content at components click event. You use the selectedChild or selectedIndex to change the views... The documentation is a great source to understand more about these components, check it... I hope it helps...and sorry for any typos ;-) -- At.

[flexcoders] Re: Flex 3.0 ADG : vertical scroll bar does not scroll up when dragging

2008-08-15 Thread tungchau81
In summary, I meant it was impossible to scroll while dragging an item upward or downward in an AdvancedDataGrid component.

[flexcoders] Re: Flex 3.0 ADG : vertical scroll bar does not scroll up when dragging

2008-08-15 Thread tungchau81
My simple ADGTest.mxml ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ import mx.collections.ArrayCollection; [Bindable] private var dpFlat:ArrayCollection = new ArrayCollection([

[flexcoders] Re: Loading Flex created SWF into Flash SWF - strange issue

2008-08-15 Thread sdl1326
Thanks for the reply. I believe I found the answer, albeit not a solution, here (http://seeing-is-believing.blogspot.com/2007/11/flex-components-in-flash-example-with.html). Per the comments section: Apparently Flex creates an invisible layer that covers the whole stage

[flexcoders] SoundChannel in a NetStream, the audio holy grail

2008-08-15 Thread Mario Vieira
Does anyone knows the of the anatomy of the flash.media objects, and the mx SoundAsset well enough to suggest an architecture that would achieve getting the a SoundChannel out of o NetStream object? Cheers Mario

[flexcoders] Re: Anyway to speed up draw reflection and reduce cpu usage?

2008-08-15 Thread Danny Venier
If it's a reflection bitmap of a static image of some sort, why not just create the new image with reflection once, and store the bitmap in the dictionary. Every new image you get, create the image with reflection, stick it in the dictionary with the image name as the key and use grab it whenever

[flexcoders] Drag/Move inside self

2008-08-15 Thread Ryan Gravener
I have extended Tree and overridden the methods: dragOverHandler and dragDropHandler. For the mxml I set the drag/drop booleans: dragEnabled=true dropEnabled=true dragMoveEnabled=true When I drag and move within my Tree, the item I have selected and started dragging drags, but the dropFeedback

[flexcoders] AdvancedDataGrid itemRenderer focus

2008-08-15 Thread Nacho Glinsek
Hi, I have a problem with the focus behavior in the advancedDataGrid with a custom itemrenderer that is also an itemEditor. I have rows with variable height and itemrenderers that depending on the state of the object must be editable. The focus is working strange. I am overriding the DrawFocus()

[flexcoders] Method variable scoping problem with Flex compiler

2008-08-15 Thread toofah_gm
It seems to me and my co-workers that the Flex compiler is broken when it comes to local variable scoping within methods. For example: for (var i:int=0; icount; i++) { // do something } for (var i:int=0; icount; i++) { // do something else } This gives a compiler warning stating that 'i'

[flexcoders] Re: Method variable scoping problem with Flex compiler

2008-08-15 Thread Tim Hoff
I can hear Gordon now; because AS3 adheres to the ECMA standard. Er, I mean, did... :-) -TH --- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote: It seems to me and my co-workers that the Flex compiler is broken when it comes to local variable scoping within methods. For

Re: [flexcoders] Method variable scoping problem with Flex compiler

2008-08-15 Thread Maciek Sakrejda
This is variable hoisting in action: http://docs.huihoo.com/web/js/es4/core/definitions.html#hoist I can't really find a clearer explanation, but the gist of it is that variable definitions are sometimes moved to the parent block, and sometimes this results in the sort of weird behavior you're

RE: [flexcoders] Re: using dynamic variables in flex?

2008-08-15 Thread Tracy Spratt
http://www.riaone.com/products/deval/docs/user-guide/ug.html Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason B Sent: Friday, August 15, 2008 8:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: using dynamic

RE: [flexcoders] Re: Reload Flex application

2008-08-15 Thread Tracy Spratt
Alternatively you could use navigateToURL, using Application.application.url and _self. That ExternalIntrface call looks pretty easy to use, though. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dbronk Sent: Thursday,

RE: [flexcoders] Drag/Move inside self

2008-08-15 Thread Tracy Spratt
You understand that you do not need to extend Tree just to do this? You can simply implement your own handlers, and call event.preventDefault. Subclassing has its own set of headaches, so don't do it if you don't need to. If you need to subclass for other purposes, ok. Tracy

RE: [flexcoders] Question about printing

2008-08-15 Thread Darren Houle
Sorry, I'm new to printing so none of that made much sense... You can almost always make a DG look like a List by having one column with the headers invisible. So, start with temporarily replacing your list with a single column DG, work out the kinks, then shovel it off to PDG to print.

[flexcoders] Re: Flex 3.0 ADG : vertical scroll bar does not scroll up when dragging

2008-08-15 Thread tungchau81
I found out that AdvancedListBase.dragScrollingInterval is always 0 when dragEnabled=true. Therefore AdvancedListBase.dragScroll() function always returns early since it has the following condition: // sometimes, we'll get called even if interval has been cleared if

Re: [flexcoders] Drag/Move inside self

2008-08-15 Thread Ryan Gravener
It needs to be subclassed. I've been playing around with examples that work and have incorporated them with my tree, and they still work. So the culprit is still to be found... On Fri, Aug 15, 2008 at 4:49 PM, Tracy Spratt [EMAIL PROTECTED] wrote: You understand that you do not need to

[flexcoders] Re: Flex 3.0 ADG : vertical scroll bar does not scroll up when dragging

2008-08-15 Thread tungchau81
Still, I don't know how to work around this error since dragScrollingInterval is a private variable.

RE: [flexcoders] Re: Method variable scoping problem with Flex compiler

2008-08-15 Thread Gordon Smith
No comment. : ) Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Friday, August 15, 2008 12:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Method variable scoping

Re: [flexcoders] Drag/Move inside self

2008-08-15 Thread Ryan Gravener
I figured it out, a while ago I set a custom dropIndicatorSkin in the css and forgot about it. Thanks for the help. On Fri, Aug 15, 2008 at 4:52 PM, Ryan Gravener [EMAIL PROTECTED]wrote: It needs to be subclassed. I've been playing around with examples that work and have incorporated them

RE: [flexcoders] Method variable scoping problem with Flex compiler

2008-08-15 Thread Gordon Smith
Not sometimes. Local vars are always hoisted from the block where they are declared to the scope of the entire function. As Ecmascript requires! : ) Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

[flexcoders] XML Decoding

2008-08-15 Thread Richard Rodseth
What's the latest and greatest on XML Decoding? Reading the blogs and docs, it looks as though SimpleXMLDecoder + ObjectTranslator is one approach, but seems to rely on (deprecated?) XMLDocument and is not schema-aware. I've also considered defining some interfaces and providing XML-backed

[flexcoders] Re: Flex 3.0 ADG : vertical scroll bar does not scroll up when dragging

2008-08-15 Thread tungchau81
In case you are interested, somebody else in this group encountered the same not scrolling when dragging an item issue at the following thread: http://tech.groups.yahoo.com/group/flexcomponents/message/3076

[flexcoders] Identifying row index relative to node vs. ADG

2008-08-15 Thread Adrian Williams
Hi all, I have a challenge I am using an ADG in tree mode on a flat array. Everything looks great. One of the requirements is that whenever a user wants to rearrange the order of the rows under a node, I have to store that index value (display order). I.E. The 1st node of the ADG

Re: [flexcoders] global replace with strings

2008-08-15 Thread Guy Morton
I think the point is he's not aware that the way to do what he wants is to create a RegEx with the g flag. eg var strTest:String = This is a test string; var reggy:RegExp = new RegExp(t, g); trace(strTest.replace(reggy,s)); This is a sess ssring HTH On

[flexcoders] Re: Method variable scoping problem with Flex compiler

2008-08-15 Thread Tim Hoff
LMAO --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: Not sometimes. Local vars are always hoisted from the block where they are declared to the scope of the entire function. As Ecmascript requires! : ) Gordon Smith Adobe Flex SDK Team

RE: [flexcoders] XML Decoding

2008-08-15 Thread Tracy Spratt
Have you looked at the Flex 3 functionality that reads the webservice wsdl and generates code for strongly typed access? It was way too complicated for my needs but might help answer your questions. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] Deep Zoom (Silverlght) in Flex??

2008-08-15 Thread Guy Morton
Adobe should dust off XRes...that was pretty similar tech from what I recall. With broadband being so common these days there'd probably be a renewed interest in this sort of capability. On 15/08/2008, at 2:37 PM, Scott Barnes wrote: Actually not true, it's the client-side that does the

RE: [flexcoders] global replace with strings

2008-08-15 Thread Tracy Spratt
And in case he really does not want to use regular expressions, there is always the Array split/join approach. public static function replace(sString:String, sFind:String, sReplace:String):String { return sString.split( sFind ).join( sReplace ); } Tracy

Re: [flexcoders] The end of ActionScript 3 as an EcmaScript 4 implementation

2008-08-15 Thread Scott Barnes
In what way is Silverlight proposing a new standard? ECMA decision has no affect on Silverlight. C# for example is a standard today, everything we are doing or using either adheres to a standard, furthemore XAML for example falls under our (Open Specification Promise)

Re: [flexcoders] XML Decoding

2008-08-15 Thread Richard Rodseth
Not yet, though I saw a reference to that in my Googling. I think I'm just going to hold my nose gently and make static factory methods that take an XML argument. I've been experimenting with the XML-backed idea and that's not too bad either. Harder to switch between XML and AMF I guess, but KISS

Re: Re: [flexcoders] Web-based Sync data - Flex/Air VS.NET

2008-08-15 Thread Scott Barnes
Let me clarify, My background was flex, my boss's background was the Product Designer for Flex/Flash, educating us on what Flex is or should be etc, is something I'm appreciative of, but in reality, it's not something you need to spend time doing. Members of my team are from Adobe/Microsoft and

RE: [flexcoders] XML Decoding

2008-08-15 Thread Alex Harui
I recommend custom conversion whether with static factory methods or something more brute force, although it might depend a bit on whether you're round-tripping the xml. If you're not, and are going to be hitting attributes in the nodes frequently, it will probably pay to convert the node from

Re: [flexcoders] The end of ActionScript 3 as an EcmaScript 4 implementation

2008-08-15 Thread Anatole Tartakovsky
Scott, I hope you realize that this goes beyond Silverlight or any particular player - but to the heart of the browsers problems today - performance and robustness. If it was not for IE market share, ActionScript would of been de-facto ES4 standard as it is supported by Mozilla and would be

Re: [flexcoders] Web-based Sync data - Flex/Air VS.NET

2008-08-15 Thread Guy Morton
If MS had a reputation for innovation, great products and fair play instead of for abuse and misuse of market power, I would agree that you should just choose whichever tool is appropriate for the job, however, each technology choice includes an implicit acceptance of the ethical

[flexcoders] Connecting AIR to ASIO drivers

2008-08-15 Thread Jo Morano
Hi, Has anyone ever connected AIR to ASIO drivers? I want to record a speech from a microphone through ASIO drivers. The best choice I can think of is to write a C library to connect to ASIO drivers and then invoke it from AIR. Is that easy/possible? If so, would my AIR app become platform