[flexcoders] Bar graph question

2009-02-08 Thread Vik
Hie I have the data like Date Country production 5-feb-09 IND 20 5-feb-09 US 15 4-Feb-09 IND 30 4-Feb-0 IND 40 I have to show this data as a bar char. Where horizontal axis should be date. Vertical axis will show production and chart will show 2 pillar per date (one for ind and another for US).

[flexcoders] Re: opposite of parentDocument

2009-02-08 Thread johndoematrix
am a little confused. can you please clarify on that. maybe make it clearer. thanks

Re: [flexcoders] Re: opposite of parentDocument

2009-02-08 Thread Manish Jethani
On Sun, Feb 8, 2009 at 3:23 PM, johndoematrix johndoemat...@yahoo.com wrote: am a little confused. can you please clarify on that. maybe make it clearer. thanks The way you access objects in an MXML document is by using their IDs. That's the opposite of 'parentDocument'. Maybe I misunderstood

Re: [flexcoders] Re: ColorPicker - without the picker!

2009-02-08 Thread Harish Sivaramakrishnan
I have used the SwatchPanel.as for my implementation. I will share the code tomorrow (today being sunday) On Sat, Feb 7, 2009 at 2:16 AM, Alex Harui aha...@adobe.com wrote: The source code is out there. SwatchPanel.as Alex Harui Flex SDK Developer Adobe Systems Inc.

[flexcoders] Re: opposite of parentDocument

2009-02-08 Thread johndoematrix
ok what am trying to do is, am using the change event of a tilelist in the parentDocument to refresh an array which is a dataprovider of a datagrid in the child document.

Re: [flexcoders] Bar graph question

2009-02-08 Thread Brendan Meutzner
Depending on how you'd like the data grouped on the y axis (ie, date or country), then you should restructure/group your data slightly to achieve. For example: Date India US feb 5 20 15 feb 4 30 40 Then use mx:verticalAxis mx:CategoryAxis categoryField=date/ /mx:verticalAxis

[flexcoders] tilelist HighlightIndicator effects

2009-02-08 Thread stinasius
hi i would like to define fade or move (or a combination of both) effects for a tilelist's HighlightIndicator so that instead of just appearing or disappearing it moves and fades in when mouse is over an item in tile list and moves and fades out smoothly when mouse roll's out and is over another

[flexcoders] Re: I'm missing something

2009-02-08 Thread iloveyouwisconsin
--- In flexcoders@yahoogroups.com, iloveyouwisconsin stpra...@... wrote: Maybe I'm just misstating my question or maybe I'm just not understanding. I'm just trying to make it so that the following PagableArrayCollection is populated dynamically (i.e. via an HTTPService): [Bindable]

[flexcoders] Can't use ImageSnapshot.captureBitmapData with a rotation matrix

2009-02-08 Thread skuteboarding
Hi, does anyone have an example of using the ImageSnapshot.captureBitmapData function with a rotation matrix? This is the code I'm using: var matrix:Matrix = new Matrix(); matrix.rotate(degreesToRadians(90)); var bitmapData:BitmapData = ImageSnapshot.captureBitmapData(textInput, matrix); But

[flexcoders] Re: Flex + RSS samples

2009-02-08 Thread nathanpdaniel
http://code.google.com/p/as3syndicationlib Try that - there's examples as well --- In flexcoders@yahoogroups.com, cool buddy hydcoo...@... wrote: HI all, I am developing a small website, where i want to post all the news on a page. I am thinking of using RSS with flex. Can anyone please

[flexcoders] [SebCoverFlow] Enablinghand cursor when user mouse overs an item/picture?

2009-02-08 Thread fotis.chatzinikos
Hello all, I am trying to do what the subject suggests, ie enable the hand cursor when a user mouse overs an item/picture in Seb's CoverFlow component. Any ideas? TIA, Fotis PS: I extended It to provide a new event coverClicked, because the click event did not fire every time and i needed to

[flexcoders] why don't create AdvancedDataGrid in new window

2009-02-08 Thread lehaianh1986
I have a main window and want to create a new window to show result. Result exist in the AdvancedDataGrid. I don't know although it run but I can't see anything. Here is my code import ... var options:NativeWindowInitOptions = new NativeWindowInitOptions(); var newWindow:NativeWindow = new

[flexcoders] Scrollbar in nested swf losing mouse event.

2009-02-08 Thread Dave Kong
Hi every! Would really appreciate some help on this issue. It has been driving me nuts. So I have a nested swf loaded via the loader. In contains a List. When I mouseDown on the scrollbar inside that list, I can drag it as usual. But when I hold down the mouse key and move the pointer outside of

[flexcoders] Need Help for LCDS installation for web sphere 6.1!!

2009-02-08 Thread markflex2007
Hi, I try to install LCDS on websphere. I follow the steps in the URL http://help.adobe.com/en_US/livecycle/es/lcds_installation.html#websph I confuse the step 5 and step 6 5 From the WebSphere Administrator, define a WorkManager for use by your application. From the admin, choose Resources

[flexcoders] Re: Need Help for LCDS installation for web sphere 6.1!!

2009-02-08 Thread markflex2007
I get the following error when I try to deploy lcds.war. can not find Target Resource JNDI Name. Mark

Re: [flexcoders] Flex RegExp issues

2009-02-08 Thread Manu Dhanda
So, how can I exactly match . OR - character correctly? Guy Morton wrote: In regexp syntax, . means match any character On 06/02/2009, at 1:37 PM, Manu Dhanda wrote: Hi Guyz, I am having this particular issue and at the moment not able to come out with a solution. Any help or

Re: [flexcoders] Flex RegExp issues

2009-02-08 Thread Manu Dhanda
So, how can I exactly match . OR - character correctly? Guy Morton wrote: In regexp syntax, . means match any character On 06/02/2009, at 1:37 PM, Manu Dhanda wrote: Hi Guyz, I am having this particular issue and at the moment not able to come out with a solution. Any help or

Re: [flexcoders] Flex RegExp issues

2009-02-08 Thread Sam Lai
Escape them by doing \. instead of . You might also have to escape the escape character too, i.e. \\. instead. 2009/2/9 Manu Dhanda manuraj.dha...@gmail.com: So, how can I exactly match . OR - character correctly? Guy Morton wrote: In regexp syntax, . means match any character On

Re: [flexcoders] Flex RegExp issues

2009-02-08 Thread Manu Dhanda
Is this correct way to do that: var someStr:String = 12-88; var str:String = 12.88; anotherStr = str.replace(/\([.|-])/gi, \\$1); var bool:Boolean = someStr.match(new RegExp(anotherStr ,'i'); Am too much confused with RegExp now. Sorry for all the trouble. Sam Lai wrote: Escape them by

Re: [flexcoders] Flex RegExp issues

2009-02-08 Thread Guy Morton
I doubt it. Explain what you are trying to do and it'd be easier to help you. [] is for defining a set of matching characters. You shouldn't be trying to use | in there. On 09/02/2009, at 11:34 AM, Manu Dhanda wrote: Is this correct way to do that: var someStr:String = 12-88; var

Re: [flexcoders] Flex RegExp issues

2009-02-08 Thread Guy Morton
\. will match a literal full stop. \\ will match a backslash. - will match normally without being escaped, so long as it's not in the context of a character range (ie [a-z] means match any character from a to z, to match a, - or z you'd do [a\-z]) Guy On 09/02/2009, at 11:24 AM, Sam Lai

Re: [flexcoders] Flex RegExp issues

2009-02-08 Thread Sam Lai
anotherStr = str.replace(/\([\.-])/gi, \\$1); That should match either a . OR a - I forgot about regexp literals - thinking about passing a string, in which case you have to escape the escape character. 2009/2/9 Guy Morton g...@alchemy.com.au: I doubt it. Explain what you are trying to do and

Re: [flexcoders] Flex RegExp issues

2009-02-08 Thread Manu Dhanda
The problem is: I am trying to filter an arraycollection(labels) against the text. Using a filter function and in there I am trying to use RegExp. More specifically, whenever I enter a text like 12.0, it returns me results with - character as well like 12-0 etc. So I want that whenever I enter

RE: [flexcoders] Re: I'm missing something

2009-02-08 Thread Tracy Spratt
Succesfully importing the package and declaring the variable typed as PagableArrayCollection should be all you need to do. Then as Jeffrey says, in a result handler, assign the results from your data service call to that var. Binding will do the rest Tracy Spratt Lariat Services Flex

[flexcoders] Problem with Accordion Component resizing.

2009-02-08 Thread brucewhealton
Hello all, I have a form that I setup with 4 different accordion panes. The container type for the Accordion is a Form component. I am finding it hard to get the containers to expand to accommodate additional content that cannot fit on the current form pages or the accordion panes. I

RE: [flexcoders] Re: opposite of parentDocument

2009-02-08 Thread Tracy Spratt
Where are you confused? Let me restate the principle generally: Specifying a value for the id attribute in an mxml tag causes the compiler to create an instance variable with the name specified, with the type defined by the tag, and containing a reference to the component instance. You

[flexcoders] Re: Problem with Accordion Component resizing.

2009-02-08 Thread brucewhealton
Hello, I meant to include the link to the code. I guess you cannot help me without having the code to see. It's not too long. The code is here: http://futurewavedesigns.com/QuoteForm/QuoteForm.mxml Thanks, and sorry for the mix-up/confusion. bruce --- In flexcoders@yahoogroups.com,

RE: [flexcoders] Re: Problem with Accordion Component resizing.

2009-02-08 Thread Tracy Spratt
Bruce, can you explain further what you want to see but are not seeing? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of brucewhealton Sent: Sunday,

RE: [flexcoders] Making the impossible possible, something odd is happening

2009-02-08 Thread Tracy Spratt
Yes, Nate, I had the same question. Certainly there is a loss in readability with the more terse syntax, since that syntax will also work for null references. bad practice is such a general characterization that it can and should be challenged regularly. Tracy Spratt Lariat Services

RE: [flexcoders] Re: I'm missing something

2009-02-08 Thread Tracy Spratt
Ah, ok. First, make sure you have set resultFormat=e4x. then, in the handler, use an e4x expression to return the XMLList containing your data. Loop over the list, and in each loop, create a new Object with the desired property=value pairs, and addItem(object) to the ArrayCollection. But,

[flexcoders] ActionScriot file in Componet

2009-02-08 Thread cool buddy
HI all, I am trying to include an actionscript file in a MXML component file by including the whole path of the file. But it gives me an error saying Unable to open the included file.. When i include the file in main application file there is no error. is there any that i need to change.

[flexcoders] data (array collections) in main application and components available to each other...how?

2009-02-08 Thread David Kramer
All, I created the DropLabel.mxml component (that is attached for reference) for my AIR project, so now I can drag and drop item from a Grid on to the Label of the List item (and not add to the list) Awesome. Once I had that solved, I added some code to handle what I wanted to happen in SQLite

[flexcoders] Re: How to cancel HTTPRequest?

2009-02-08 Thread Dmitri Girski
Thanks, Marc! --- In flexcoders@yahoogroups.com, hu22hugo hu2h...@... wrote: Once you sent a HTTP request, you cannot cancel it any more from the client side. You could send a second request to the server to cancel the previous request but that can lead to very unpleasant effects, e.g. when

RE: [flexcoders] data (array collections) in main application and components available to each other...how?

2009-02-08 Thread Alex Harui
Try parentDocument.currentAC Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of David Kramer Sent: Sunday, February 08, 2009 8:31 PM To:

RE: [flexcoders] Scrollbar in nested swf losing mouse event.

2009-02-08 Thread Alex Harui
Which version of Flex? Please post a simple test case or file a bug and post the bug# Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dave Kong Sent:

RE: [flexcoders] tilelist HighlightIndicator effects

2009-02-08 Thread Alex Harui
Override drawHighlightIndicator and set up a tween of some sort. You can see tween code for selectionindicators in listbase.as Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

[flexcoders] Re: tilelist HighlightIndicator effects

2009-02-08 Thread stinasius
http://listbase.as/ is broken. any step by step on how to archive this. here is my code for the highlightIndicator, how can i apply a tween effect to it. override protected function drawHighlightIndicator(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint,

[flexcoders] Re: Problem with Accordion Component resizing.

2009-02-08 Thread brucewhealton
Tracy, Ok, when I setup the accordion to display a 4 part form (kind of like a wizard style) I chose certain dimensions for the height and width. Those dimensions, the height and width, apply to the Application, the Panel, the Accordion and the display area on the accordion, which is based

RE: [flexcoders] Re: tilelist HighlightIndicator effects

2009-02-08 Thread Alex Harui
That wasn't a link. mx.controls.listClasses.LIstBase.as is a file in the open source for Flex. Look for selectionTween Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]

[flexcoders] Memory consumption by the browser

2009-02-08 Thread Dmitri Girski
Hi everybody, I am trying to solve the problem when my application consumes a lot of memory. When application starts in the browser, Windows/Mac reports the size of browser process around 150Mb. Then, if you start opening/closing the same popup window (which is actually being cached by

[flexcoders] Re: tilelist HighlightIndicator effects

2009-02-08 Thread stinasius
any small example on how to this will be great. am new to actionscript. thanks

[flexcoders] Re: LCDS : Managed associations - creating/deleting new Items

2009-02-08 Thread vdeprojects
It seems that adding a DataConflictEvent.CONFLICT event handler and a DataServiceFaultEvent.FAULT event handler to the data service can prevent the uncaught 'undefined' exception. In my case I simply have to type quickly to run into a data conflict (each keystroke seems to be sent to the

Re: [flexcoders] Flex RegExp issues

2009-02-08 Thread Haykel BEN JEMIA
The dot character matches any character, so that the regex 12.0 will match 12-0, 12x0, 12P0 etc. If you want to match the dot itself, you have to escape it, i.e. 12\.0. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Mon, Feb 9, 2009 at 1:54 AM, Manu Dhanda