Re: [flexcoders] array count?

2009-12-11 Thread Charles Parcell
Do you mean? myArray.length; Charles P. On Fri, Dec 11, 2009 at 9:46 PM, tex_learning_flex tex.learning.f...@gmail.com wrote: how do I best count items in an array? thanks, Tex -- Flexcoders Mailing List FAQ:

[flexcoders] Adobe AIR 2.0 up on Labs!

2009-11-17 Thread Charles Parcell
I saw someone else post about AIR 2.0 and Flash Player 10.1 (not 10.2) on Labs. Here are a number of useful links to AIR 2.0 information. Plus I wanted to take this opportunity to again invite all Flash/Flex developers interested in Adobe AIR to going the AIR-Tight Google Group. AIR-Tight Links

Re: [flexcoders] Re: Question for Math guys/girls

2009-10-19 Thread Charles Parcell
Does the angle of the line ever change? Or is it always 45 or 0? If the angle changes then the X coordinate will change for any points on the line. I hope that you are not scaling a MC to grow/shrink the line. Rather you should be drawing the line with every mouse move event (or whatever method

[flexcoders] [Gumbo] Gumbo equivalent of ViewStack

2009-07-14 Thread Charles Parcell
Is there an equivalent of the the Halo ViewStack? The issue is that it indicates only Halo components can be placed inside a ViewStack. So if I want to put Spark components within what should I use? Charles P.

Re: [flexcoders] How to pass Query String in Url

2009-07-04 Thread Charles Parcell
Instead of POST perhaps you want GET for your method. CP On Sat, Jul 4, 2009 at 2:50 AM, balaji mcabal...@gmail.com wrote: Hi all, I am a newbie to flex , I am trying to pass the querystring to URL but it is not working . The url : http://base_url/?login=loginnamepassword=password I

Re: [flexcoders] AIR Computer Locking

2009-06-01 Thread Charles Parcell
This was going to be my suggestion too. Charles P. On Mon, Jun 1, 2009 at 4:01 PM, Rick Winscot rick.wins...@zyche.com wrote: Is there any reason you can’t capture that point when the application starts and then re-use it for subsequent notifications?

Re: [flexcoders] AIR : how to connect and fetch xml data from oracle in AIR application

2009-05-30 Thread Charles Parcell
You will need some sort of in between communication such as PHP or other. AIR does not really play with ither applications directly as of yet. You can also try asking on the AIR-Tight list as well. Join by sending e-mail to:

Re: [flexcoders] Re: simple array?

2009-05-22 Thread Charles Parcell
Why even have the Array aspect in the second example? It stands as a pointless container for what we are seeing it used for. Unless there will be some additional items added to it that we have not seen yet. I just feel the need to point that out. :) Charles P. On Thu, May 21, 2009 at 3:49 PM,

Re: [flexcoders] Re: simple array?

2009-05-22 Thread Charles Parcell
differently. Charles P. On Fri, May 22, 2009 at 10:50 AM, Charles Parcell pokemonkil...@gmail.comwrote: Why even have the Array aspect in the second example? It stands as a pointless container for what we are seeing it used for. Unless there will be some additional items added to it that we have

Re: [flexcoders] Re: simple array?

2009-05-22 Thread Charles Parcell
payment. ]; If there are better ways, I am always happy to hear them. I am still pretty new to this Flex thing. -eric --- In flexcoders@yahoogroups.com, Charles Parcell pokemonkil...@... wrote: Additionally, utilizing a loop to locate an item can eat up cycles if the list of codes

Re: [flexcoders] Re: simple array?

2009-05-21 Thread Charles Parcell
First off, how about this then... var records:Object = new { AC: Remember to reset the station address., RN: Remember to reset the station expiration date., CP: Remember to contact contractor to remove the certificates from this station., CR: Remember to cancel the refund payment.

Re: [flexcoders] Re: simple array?

2009-05-21 Thread Charles Parcell
the refund payment.; Charles P. On Thu, May 21, 2009 at 2:37 PM, Charles Parcell pokemonkil...@gmail.comwrote: First off, how about this then... var records:Object = new { AC: Remember to reset the station address., RN: Remember to reset the station expiration date., CP: Remember

Re: [flexcoders] Re: Form layout question

2009-05-11 Thread Charles Parcell
You do not have to make a separate label tag for your form items. In addition, FormItem can be styled using labelStyleName. Your TextInput is styled as normal. mx:FormItem direction=horizontal label=Style horizontalAlign=left mx:TextInput id=style

Re: [flexcoders] Re: Anyone using Flex with LCDS ColdFusion

2009-05-09 Thread Charles Parcell
integrated with Tomcat or such... What do you want to know re: the configuration? --- In flexcoders@yahoogroups.com, Charles Parcell pokemonkil...@... wrote: I am going to go ahead and out myself. What is LCDS? Could you explain what this configuration is? Charles P. On Fri, May

Re: [flexcoders] Re: Launch Failed

2009-05-08 Thread Charles Parcell
You have the Flex 4 compiler? Not that I am complaining about hearing things about Flex 4 but isn't that NOT a public beta yet? Shouldn't this question be for the beta list and not a public forum? Charles P. On Fri, May 8, 2009 at 10:28 AM, markgoldin_2000 markgoldin_2...@yahoo.comwrote: I

Re: [flexcoders] Re: Launch Failed

2009-05-08 Thread Charles Parcell
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Charles Parcell pokemonkil...@... wrote: You have the Flex 4 compiler? Not that I am complaining about hearing things about Flex 4 but isn't that NOT a public beta yet? Shouldn't this question be for the beta list

Re: [flexcoders] Re: Launch Failed

2009-05-08 Thread Charles Parcell
Yeah, key is that it is not on Labs but in Open Source. I was checking the Labs site. :( Charles P. On Fri, May 8, 2009 at 10:51 AM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Friday 08 May 2009, Charles Parcell wrote: You have the Flex 4 compiler? Not that I am complaining

Re: [flexcoders] Does ADG work with Gumbo?

2009-05-08 Thread Charles Parcell
Could it be a professional license thing. Not sure why that would be the case for an unreleased SDK, but... Charles P. On Fri, May 8, 2009 at 12:05 PM, markgoldin_2000 markgoldin_2...@yahoo.comwrote: That's the error I am getitng: TypeError: Error #1007: Instantiation attempted on a

Re: [flexcoders] Anyone using Flex with LCDS ColdFusion

2009-05-08 Thread Charles Parcell
I am going to go ahead and out myself. What is LCDS? Could you explain what this configuration is? Charles P. On Fri, May 8, 2009 at 12:11 PM, Brendan Meutzner bmeutz...@gmail.comwrote: Hi All, I've already got another post up with a conundrum I'm facing with LCDS and ColdFusion, but

Re: [flexcoders] Re: Add items to an array list as a child

2009-05-08 Thread Charles Parcell
Going out on a limb here but try changing the one line of code that injects an child object to... Object(myCollection[0]).children= obj; Charles P. On Fri, May 8, 2009 at 3:04 PM, timgerr tgallag...@danati.com wrote: Thanks for the response, I have a question about arraycollection and

Re: [flexcoders] ASP.NET .ashx handler - POST variables not working

2009-05-08 Thread Charles Parcell
Well, if you are POSTing from Flex and your ASP.NET is looking at the query string it will of course not find it. GET puts content in the query string. Either change how Flex is sending the data (change it to GET) or change how your ASP is looking for the data (look at the POST data). I am not

Re: [flexcoders] Re: Add items to an array list as a child

2009-05-08 Thread Charles Parcell
--- In flexcoders@yahoogroups.com, Charles Parcell pokemonkil...@... wrote: Going out on a limb here but try changing the one line of code that injects an child object to... Object(myCollection[0]).children= obj; Charles P

Re: [flexcoders] cover file to ByteArray in Air.

2009-05-08 Thread Charles Parcell
Wouldn't writeUTF() work? or you can do myByteArray.toString() Charles P. On Fri, May 8, 2009 at 11:41 AM, markflex2007 markflex2...@yahoo.comwrote: Hi, I try to use File class,FileStream and ByteArray Class to convert a text file( test.txt) to ByteArray. I also need covert the

Re: [flexcoders] where does AdvancedDataGridColumn.id come from?

2009-05-08 Thread Charles Parcell
I believe there is an 'id' for every element you add via MXML. http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_10.html See the second example on this page. Charles P. On Fri, May 8, 2009 at 4:01 PM, Pan Troglodytes chimpathe...@gmail.comwrote: This puzzles me a bit.

Re: [flexcoders] scrollbar inside 100% sized background image in container?

2009-05-08 Thread Charles Parcell
This is dumb, I know, but put your Canvas (with the scrollbars) inside another Canvas and apply the background to the parent Canvas so that it never has to deal with scrollbar scaling. And set the child Canvas background to transparent. Charles P. On Thu, May 7, 2009 at 4:54 PM, gwangdesign

Re: [flexcoders] Setting currentState from a function located a child mxml file

2009-05-08 Thread Charles Parcell
Application.application.currentState = 'invoiceDetailsInfoPanel'; or parentDocument.currentState = 'invoiceDetailsInfoPanel'; Either of these work for you? Charles P. On Fri, May 8, 2009 at 4:05 PM, rdell123 rdell...@yahoo.com wrote: Is it possible to set the currentState from a function

Re: [flexcoders] VBox that scrolls without a scrollbar

2009-05-07 Thread Charles Parcell
, you have to write your own VBox Class to update the scroll position. And other thing to keep in mind is that the default mouse wheel behavior in Mac OS doesn`t work correctly, look at google for a replacement for that. Hope you enjoy! Igor On Tue, May 5, 2009 at 5:00 PM, Charles Parcell

Re: [flexcoders] which component in AIR to browser file in local pc?

2009-05-07 Thread Charles Parcell
Not a component. File Class http://livedocs.adobe.com/flex/3/langref/flash/filesystem/File.html browseForDirectory() browseForOpen() browseForOpenMultiple() browseForSave() Charles P.

Re: [flexcoders] which component in AIR to browser file in local pc?

2009-05-07 Thread Charles Parcell
Sorry my brain was thinking along a single line of thought... mx:FileSystemList / Charles P. On Thu, May 7, 2009 at 1:14 PM, Charles Parcell pokemonkil...@gmail.comwrote: Not a component. File Class http://livedocs.adobe.com/flex/3/langref/flash/filesystem/File.html browseForDirectory

Re: [flexcoders] FileFilter and browseForSave

2009-05-07 Thread Charles Parcell
Interestingly, FileFilter is listed as a see also under browseForSave() in the docs. Have you tried adding in a filter just as you would for browseForOpen() to see if it will work? There is obviously a documentation problem. Question is, is it the reference to FileFilter or the lack of the

[flexcoders] VBox that scrolls without a scrollbar

2009-05-05 Thread Charles Parcell
I have a VBox and I want it to scroll using the mouse wheel and some arrow buttons that I will build. The problem is, if I set the verticalScrollPolicy = off then the VBox does not scroll at all. How can I visually turn off the scrollbar and keep the ability to scroll? Thanks, Charles P.

Re: [flexcoders] Window Shade component

2009-05-02 Thread Charles Parcell
Indeed there is! Thanks. Charles P. On Fri, May 1, 2009 at 5:25 PM, Jeffry Houser j...@farcryfly.com wrote: I thought there was one in Flexlib. Charles Parcell wrote: I am looking for a Window Shade component to use in my application. Can someone point me in the right direction

[flexcoders] Window Shade component

2009-05-01 Thread Charles Parcell
I am looking for a Window Shade component to use in my application. Can someone point me in the right direction? Thanks, Charles P.

[flexcoders] Re: Array Inefficiencies??

2007-01-03 Thread Charles Parcell
My initial reaction is to say yes, try ArrayCollection. It uses a different accesor to get each value (GetItemAt()). In other languages, I have run across the odd performance issue where using myArray[x] performed differently than GetAt(x) or in this case GetItemAt(x). Let me know what you