[flexcoders] Re: RegExp Help

2007-04-01 Thread jmfillman
This is the function I've been working on. public function toWords():void{ var str:String = myRTA.text; var pattern:RegExp = /\b[A-Za-z0-9'-]+\b/gi; var result:Array = pattern.exec(str); while (result != null) { trace (result.index, result); result

[flexcoders] OS X spotlight component

2007-04-01 Thread sgrace99
Has anyone seen a 'OS X spotlight' style list component on net? Not a full window style but the mini list that results are loaded to in OS X (cmd+space). It's a kind of 'grouped list'. I don't think it will be too hard to create but just thought I would ask before reinventing the wheel.

[flexcoders] Re: Question about Flex WebService

2007-04-01 Thread athavan_raja
http://192.168.0.200:8200/sap/bc/srt/rfc/sap/zGet_Alert_Number? sap-client=800 you cannot use IP address to access the webservice. SAP system requires you to provide url with FQDN - Fully qualified domain name the url should be in the form of http://bwhost.domain.com:porta/. Shibli : - the

[flexcoders] Re:OS X spotlight component

2007-04-01 Thread Simon Barber
Are you looking for something that extends the List control?

RE: [flexcoders] Toggling Menu Item?

2007-04-01 Thread Sascha
Alex, using E4x from there on sounds good but I still haven't figured it out complety. Here's something similar to the XML I'm using for my menu .. private var _menuXML:XMLList = menuitem label=File

[flexcoders] Re:OS X spotlight component

2007-04-01 Thread sgrace99
Yes, something that extends the list component. --- In flexcoders@yahoogroups.com, Simon Barber [EMAIL PROTECTED] wrote: Are you looking for something that extends the List control?

[flexcoders] Accessing nested DisplayObjects programatically

2007-04-01 Thread Alen Balja
Hi list, Is there a way to access nested children of the Application object programatically? I have an app: Application object and inside I have HDividededBox (id=topFrame) and inside of this I have two more elements with ID properties. These are VBox (id=leftPane) and VBox (id=rightPane). If I

[flexcoders] Re: CheckBox Validator

2007-04-01 Thread ajudah987
--- In flexcoders@yahoogroups.com, ajudah987 [EMAIL PROTECTED] wrote: Hi, I have a checkbox i need to force people to tick before accessing the next step in the checkout process. I was looking at using a validator to do this but i can't get this to work. Is this possible? Cheers, AJ

[flexcoders] Re: Accessing the parent component properties

2007-04-01 Thread simonjpalmer
I favour events. I have just spent the weekend switching from a (solely) central controller model to an event driven model and here's why. Every time anything happened through a user gesture which changed the state of something in the controller, every binding got updated (as you would

[flexcoders] Labelling the bubbles of a bubble chart

2007-04-01 Thread simonjpalmer
I want to put a data value alongside the bubbles on my bubble chart. Anyone know how? Ideally I would have something that was a cross between a tooltip and the flyout labels on a pie chart. Any clues?

[flexcoders] is there a simple way to center a loaded image?

2007-04-01 Thread herklano
hi, i'm kinda noob at coding in general, but i'm trying to work my way to get a image that is loaded in a Canvas to center to it after it has been loaded to it. i'm trying this but it doesn't work: mx:Canvas x=10

[flexcoders] Retrieving an item in an xml.

2007-04-01 Thread ivansebastiansurya
Hi everyone, I'm a newbie programmer in Flex and I need your help to fix an issue that I face regarding XML reading. It seems that I've got a problem accessing an element from XML if the XML only has one item. For example: if the xml is as follows: ?xml version=1.0 encoding=utf-8? iteration

Re: [flexcoders] Retrieving an item in an xml.

2007-04-01 Thread Hilary Bridel
Hi Ivan, Take a look here: http://tech.groups.yahoo.com/group/flexcoders/message/67928 Hilary -- On 01 Apr 2007 17:14:05 -0700, ivansebastiansurya [EMAIL PROTECTED] wrote: Hi everyone, I'm a newbie programmer in Flex and I need your help to fix an issue that I face regarding XML

Re: [flexcoders] is there a simple way to center a loaded image?

2007-04-01 Thread Bjorn Schultheiss
try this override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList( unscaledWidth, unscaledHeight ); if ( _image ) { _image.width =

Re: [flexcoders] is there a simple way to center a loaded image?

2007-04-01 Thread Doug McCune
What about using a VBox or a HBox instead of Canvas and using the horizontalAlign=center attribute? horizontalAlign isn't available for canvas, but it is for the box containers. Doug On 01 Apr 2007 18:03:31 -0700, Bjorn Schultheiss [EMAIL PROTECTED] wrote: try this override protected

Re: [flexcoders] remote xml file not loaded via localhost

2007-04-01 Thread Bjorn Schultheiss
A filesystem swf cannot load files or data via localhost. A Security issue. You need to put your swf on your localhost or set up the flash player security options. On 01/04/2007, at 2:52 AM, giladozer wrote: Hi, I could not find an answer while crawling thru messages here :)… so: My app

Re: [flexcoders] is there a simple way to center a loaded image?

2007-04-01 Thread Bjorn Schultheiss
That would align the image container but not its contents. the Image object is essentially a container for its content. On 02/04/2007, at 11:20 AM, Doug McCune wrote: What about using a VBox or a HBox instead of Canvas and using the horizontalAlign=center attribute? horizontalAlign isn't

Re: [flexcoders] Accessing nested DisplayObjects programatically

2007-04-01 Thread Bjorn Schultheiss
Type it as a Container Object. Can DisplayObject even contain children??? On 02/04/2007, at 7:52 AM, Alen Balja wrote: Hi list, Is there a way to access nested children of the Application object programatically? I have an app: Application object and inside I have HDividededBox

Re: [flexcoders] visual effect of mouse over using dispatchEvent

2007-04-01 Thread Bjorn Schultheiss
when you dispatch an Event that way does your handler still fire? You may have to manually switch the normalskin to the value of the overskin. This would be nasty tho. Good question, perhaps Ely or Alex can elaborate? On 01/04/2007, at 3:46 AM, dantmcgowan wrote: and I use dispatch

Re: [flexcoders] visual effect of mouse over using dispatchEvent

2007-04-01 Thread Doug McCune
So this is a little shady, but should work. You can set the phase attribute of a button with Actionscript. It's marked as mx_internal, so the usual disclaimer goes along with doing this: it's subject to change in future releases, yadda yadda... But if you want something that works, here you go.

[flexcoders] Re: Getting the RichTextEditor to do some dancing in a database... to XML file

2007-04-01 Thread shawn.gibson
Hi Tracy, thanks very much. Sorry for the delayed response, my server is in the shop. It seems Windows Server 2003SBS didn't like my PNY Quadro, so now I gotta split it up, have a web/email/database server and I guess I'm getting a power laptop for developing and photography (i.e., Flex and

[flexcoders] pushing a database update/data management services

2007-04-01 Thread Steve Gilchrist
Hey guys, I'm a bit lost with Flex Data Management Services with Coldfusion. I understand client set up with fill() to pull data down from the server using assemblers and dao's. I think :) What happens if I have a separate scheduled coldfusion process that updates the database on the server

[flexcoders] data binding limitations?

2007-04-01 Thread iko_knyphausen
Hello everyone, I am experiencing some very strange behavior regarding data binding. First off, would anyone know why the following XMLListCollection does not bind successfully to its source, mx:XMLListCollection id=xlcUsers filterFunction=filterUser source={xmlSetup.lastResult.USER}/ The

[flexcoders] How do I do this effect?

2007-04-01 Thread Nate Pearson
I'm trying to figure out how the slide in slide out effect is done. Here is an example in an apollo app: http://www.finetune.com/desktop/ (pretty cool app by the way!) When you start finetune desktop up and click the arrows left an right you see how one things slides in and one slides out?

Re: [flexcoders] How do I do this effect?

2007-04-01 Thread Andrew Muller
Nate How about this: http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/ On 01 Apr 2007 22:28:28 -0700, Nate Pearson [EMAIL PROTECTED] wrote: I'm trying to figure out how the slide in slide out effect is done. Here is an example in an apollo app:

[flexcoders] Re: How do I do this effect?

2007-04-01 Thread iko_knyphausen
I did not want to install the app, but I have done some sliding in and out... I used a combination of MOVE effects and RESIZE in some cases. So for example if you want to slide a Canvas (with its children) you can approach as follows... mx:Move id=moveEffect xTo=1 duration=500 target=myCanvas /