[flexcoders] Re:Do I *REALLY* need Flex Data Services for WebServices?

2007-03-31 Thread iilsley
Is there a workaround using Flex-WS with a PHP-Soap server ? I don't have the budget for FDS - even the free one [:)]

Re: [flexcoders] Re: Flex access to cookies

2007-03-31 Thread Carlos Rovira
Hi, You should take into account that the SharedObject API provide a better functionality than old cookies. just fyi. Best, C. 2007/3/28, Clint Tredway [EMAIL PROTECTED]: you can also reference them like this: this.parameters.paramName. I typically bind these to bindable vars in my

[flexcoders] Re: Looking for a Wizard custom component

2007-03-31 Thread simonjpalmer
Not quite that sophisticated, but I have a framework which has a prev, next, cancel and finish button and into which you can drop any controls. I'd happily share it with you and you can probably extend it for your purposes. Send me an email to simon.palmer @ gmail.com and I'll send you the code.

[flexcoders] directory tree lister

2007-03-31 Thread paranoid_santhosh
how do i recursively list a directory tree that is given a directory ,..it should display all files and directories in it.. and if i click on the subdirectory ..it should show its contents thanks

[flexcoders] Re: Is anybody else getting duplicate messages?

2007-03-31 Thread Yaison Alcantara
ya, and i can tell: ITS ANOYING

[flexcoders] pass parameter to a component instantiated via popupmanager

2007-03-31 Thread Mauricio Zuniga
I have an upload file component which I instantiate through popup manager with this code: public function uploadFiles():void { // PopUpManager var upWindow:IFlexDisplayObject = PopUpManager.createPopUp(this, panel_multfileupload, false); upWindow.move(100,140);

[flexcoders] Lazy-loaded tree examples

2007-03-31 Thread Justin Makeig
Does anyone know of a public Flex 2 implementation of a lazy-loaded tree that I could reference (e.g. loading children dynamically from the server upon expanding a node)? From my searching I've seen a lot of dead ends and frustration, but no solid examples. I'd hate to (clumsily) reinvent

[flexcoders] Accessing the parent component properties

2007-03-31 Thread stephen50232
Hi, I have a system which I'm building using a series of components, all called from within the Main.mxml file. What is the best method for components to access the properties of the Main.mxml file. For example if I change the state or amend the selected section of a viewstack? Is it best to

[flexcoders] Help with finding days between a start and end date

2007-03-31 Thread Mark
I'm having some problems with my, I think, math for getting all the days into an arrayCollection. It works well on items with less time between start and end dates such as a few days or months apart. But when it gets up to about 200+ days something strange happens, it changes from Date Sun

[flexcoders] Interfaces in Library Projects

2007-03-31 Thread Adam Pasztory
I have a library project that gets compiled into an SWC file, and includes shared code for several Flex Apps I'm working on. While I can access all the Classes within the library from Classes in my applications, Interfaces are only accessible by other Classes within the library. I was wondering

[flexcoders] Re: RegExp Help

2007-03-31 Thread scott_flex
Instead of using the \w which is short hand for word characters, just insert your own charactar ranges you consider valid word characters. \w is does not always include the same character sets across all the different implementations of regular expressions. Hope that helps... probably good

[flexcoders] Re: RegExp Help

2007-03-31 Thread jmfillman
They sure are confusing. I spent several hours reading various sites last night and everything I tried didn't work; they gave me nothing. Seems not everything works with Flex.

[flexcoders] FlexBuilder Keyboard Not Responsive on the Mac

2007-03-31 Thread Adam Pasztory
I've been thinking about switching a lot of my development work over to the Mac, but the performance of FlexBuilder has been disappointing. I'm comparing FB on my new Mac Mini (1.83ghz core duo, 1 gig RAM) against a more than 3-year-old PC (3.1 ghz P4, 1 gig RAM). Startup and compile times are

[flexcoders] Re: pass parameter to a component instantiated via popupmanager

2007-03-31 Thread iilsley
Hi , This is how I did it , do not know if this is the 'best practice way' but it seems to work .. public function doPopUp():void { var pop:Object = PopUpManager.createPopUp(this,myInfo,true); pop.userName = Fred; pop.Age= 39;

Re: [flexcoders] Interfaces in Library Projects

2007-03-31 Thread Robert Cadena
Hi Adam, It sounds like flex builder is not including your interface in the swc. Go into your library's properties, select Flex Library Build Path on the left. On the right, select the Classes tab. Look through the tree and make sure that the checkbox for your interface is checked. If it's

RE: [flexcoders] Re: pass parameter to a component instantiated via popupmanager

2007-03-31 Thread Alex Harui
I would recommend: var pop:Object = new myInfo(); pop.userName = fred; pop.age = 39; PopUpManager.addPopUp(pop, this, ...) This pattern follows regular AS instantiation patterns and you are only replacing addChild with addPopUp. Otherwise, createPopUp will finish validating the popup and

RE: [flexcoders] Accessing the parent component properties

2007-03-31 Thread Alex Harui
Many folks prefer a model/view or model/view/controller architecture and use databinding to hook up to a central model or controller. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of stephen50232 Sent: Saturday, March 31, 2007 5:08 AM To:

RE: [flexcoders] Toggling Menu Item?

2007-03-31 Thread Alex Harui
The dataDescriptor has an isToggled method that is passed the data item and returns true or false. By default, it looks for a toggled=true From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sascha Sent: Friday, March 30, 2007 11:48 PM To:

[flexcoders] Re: RegExp Help

2007-03-31 Thread scott_flex
[A-Za-z_] is the same as \w so if you want to include dashes and ' your pattern would be [A-Za-z'_-] Surround that by \b for word bounderies and you've got what you need. Try this: // mySourceText is just my source text i'm checking... put whatever you want. var wordPattern:RegExp =

[flexcoders] Re:Do I *REALLY* need Flex Data Services for WebServices?

2007-03-31 Thread klotzw
FDS is not required to use WebServices. My application uses a J2EE 5 EJB 3 backend and defines a JAX-WS to create a set of WebService API's to access my backend. I then load my J2EE 5 beans and WebService into the opensource Glassfish container project. My Flex application is created using

[flexcoders] Re:Do I *REALLY* need Flex Data Services for WebServices?

2007-03-31 Thread iilsley
My requested was phrased badly , sorry .. I'm looking for a 'work-around' to the issue with using WebServices where the contents of a SoapFault ( because the http status code for a soap-fault is 500 ) is not available to the flex application. I'm specially looking for a work-around in

[flexcoders] Re: RegExp Help

2007-03-31 Thread jmfillman
I had been playing with this: var pattern:RegExp = /\b[A-Za-z0-9-']+/gi; In your example, what does the \b at the end do that the one at the beginning doesn't?

Re: [flexcoders] Warning/Error Hints

2007-03-31 Thread André Rodrigues Pena
A status bar would be good for me too :) On 30 Mar 2007 10:40:29 -0700, Tracy Spratt [EMAIL PROTECTED] wrote: I created a status bar for one app. Tracy -Original Message- From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto: flexcoders@yahoogroups.com

[flexcoders] Loading animated gifs

2007-03-31 Thread André Rodrigues Pena
Hey all, How can I load an animated gif within my application? I searched google and the reference and didn't find a free solution. thanks -- André Rodrigues Pena LOCUS www.locus.com.br Blog www.techbreak.org

[flexcoders] Re: RegExp Help

2007-03-31 Thread scott_flex
nothing really, i'm also not sure why the - after the 9 doesn't need to be escaped, but it does seem to work property without it. --Scott --- In flexcoders@yahoogroups.com, jmfillman [EMAIL PROTECTED] wrote: I had been playing with this: var pattern:RegExp = /\b[A-Za-z0-9-']+/gi; In

Re: [flexcoders] Re:Do I *REALLY* need Flex Data Services for WebServices?

2007-03-31 Thread Alex MacCaw
Dunno if this http://www.eribium.org/?p=101'll help, but it lets you see status codes. On 31 Mar 2007 12:43:20 -0700, iilsley [EMAIL PROTECTED] wrote: My requested was phrased badly , sorry .. I'm looking for a 'work-around' to the issue with using WebServices where the contents of a

[flexcoders] Re: RegExp Help

2007-03-31 Thread Paul Whitelock
Actually, Flex does a pretty good job of supporting Regular Expressions. They can be tricky, however, and all it takes is one character in the wrong place to give you a totally unexpected result. A good book to get your feet wet with is Regular Expressions in 10 Minutes by Ben Forte. Some other

[flexcoders] FileReference.upload() and IIS 6.0 (Windows Server 2003)

2007-03-31 Thread bsausser
Upload Progresses, then fails at the end of the POST. Flex Error Text: Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error. HTTP Sniff Result: (and below) http://www.dendera.com/dir/fr_upload_snif_result.xml Multiple IIS configurations did not change the result. •

[flexcoders] visual effect of mouse over using dispatchEvent

2007-03-31 Thread dantmcgowan
Hi, I have a button that has skins: mx:Button id=myButton...overSkin=@Embed(source='media/over.jpg')... This works fine and I get the image display on mouse over. Now I would like the same visual effect using dispatch event. So I have registered a handler through an addEventListener call:

[flexcoders] remote xml file not loaded via localhost

2007-03-31 Thread giladozer
Hi, I could not find an answer while crawling thru messages here :)…so: My app uses http service to get xml files. It all works flawlessly while I load the main SWF file locally; however, when I try to load it thru http://localhost (apache server installed on my development machine). The xml is

[flexcoders] Re: RegExp Help

2007-03-31 Thread jmfillman
Scott, thank you, it seems to be working just the way I want it. Of course, that leads me to the next thing. I'd like to capture the words position in the text to the array as it's splitting out each word.

[flexcoders] Set columnchart widths?

2007-03-31 Thread ba.chase
I am using a column chart to represent a histogram of test scores. Is there a way to set the widths of each bar to correspond to a bin width of a histogram? I am currently using a linear x-axis and have been unable to change the widths of the bars. Thanks for any help.

RE: [flexcoders] Re: RegExp Help

2007-03-31 Thread Sascha
I recommend RegExBuddy . http://www.regexbuddy.com/ . not free but very useful if you have to deal with RE's a lot. Sascha From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Whitelock Sent: Sunday, April 01, 2007 07:50 To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Toggling Menu Item?

2007-03-31 Thread Sascha
Thanks for pointing me in the right direction Alex! But how do you access the specific menu item from there on? I can't figure out how the menu item in the XML is reached by the isToggled or setToggled method. Would be great if you can give me a small example. Sascha From:

[flexcoders] Re: FlexBuilder Keyboard Not Responsive on the Mac

2007-03-31 Thread umumpaul
Hi I am also a Flex developer under Mac. Mine is a iMac 2.0 Duo 2 Core with 2.0 GB of ram. It is very much the same speed in Bootcamp WinXP and under Mac OS X. I would say OS X is a ram-dependent OS. Once you upgrade your Mac to 2 GB you are in a different world I promise. I have a 1.25 GB 1.33

RE: [flexcoders] Toggling Menu Item?

2007-03-31 Thread Alex Harui
From AS, you use E4x to change the toggled attribute in the XML. When the menu is created it will read the new toggled property. If you're still stuck, post what you have so we can see how you're thinking about the problem. From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: List dragMoveEnabled problem?

2007-03-31 Thread Alex Harui
This appears to be a known limitation of using drag/drop with XML and move. XML objects have parent pointers that mess up the XMLList. You have to remove from the source before adding to the destination. The default code does the opposite. This seems to work for me. private function