Re: [flexcoders] TypeError in ListBase.as when using setStyle() in custom TreeItemRenderer

2007-09-03 Thread bjorn -
Ah, ok sounds like a better route :-) Thanks for your help Alex! :) On 01/09/07, Alex Harui [EMAIL PROTECTED] wrote: Yeah, Tree doesn't like having styles set on it during a scroll, especially from a renderer. You might actually be setting up an infinite invalidation loop. You're

RE: [flexcoders] runtime css

2007-09-03 Thread Alex Harui
ttry putting dispatcher as an instance var, not a local var. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Chang Sent: Sunday, September 02, 2007 5:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] runtime css Hello,

Re: [flexcoders] WEBORB config for remote hosting

2007-09-03 Thread Montse
Thanks Graham. Montse candysmate wrote: --- In flexcoders@yahoogroups.com, Montse [EMAIL PROTECTED] wrote: Thanks candysmate. I've been surfing seeking Mark's explaination, but did'nt find it. Do u have a link? Also, downloaded .NET and RoR Weborb zips in order to have docs

[flexcoders] how to embed buttons into datagrid

2007-09-03 Thread aasif_onnet
i am trying to embed buttons or perhaps just button into each row of the datagrid.i want the button to be generated in the last column of the datagrid.i am not able to find a solution.Please help me in this both dynamically and statically...

[flexcoders] Re: how to embed buttons into datagrid

2007-09-03 Thread sher_ali2004
You need to implement a custom cell renderer class. You can find a relative and an excellent article on this topic at: http://www.adobe.com/devnet by Peter Dehan

[flexcoders] Customizing the selected tab in a tab bar

2007-09-03 Thread Roy Tang
Hi, I've been trying to see if there's a way to customize further the selected tab in a tab bar. From what I see, the current style only allows me to change the tab's text styles. I want to do something like have the selected tab be a different height. Can this be done? Thanks, Roy

[flexcoders] Re: Changing text color of item renderer in datagrid

2007-09-03 Thread lhy90936
Hi Alex, Yes, it works fine now! Thanks Regards, hy --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: override updateDisplayList It should look something like this: override protected function updateDisplayList(w:Number, h:Number):void { if

[flexcoders] Global include file

2007-09-03 Thread lhy90936
Hi, I've created a global include file which contains some const definition: GlobalColors.as public static const RED:Number = 0xff; public static const ORANGE:Number = 0xFFA500; .. When I tried to include the file into another class: myRenderer.as package myClass.renderer { include

[flexcoders] Migrating to J2EE LiveCycle + Cairngorm - help!

2007-09-03 Thread jamiebadman
Hi, I wonder (yet again!) if someone here can help: I'm currently trying to migrate an existing application to LiveCycle DS 2.5 + Cairngorm. Here's the deal so far... The existing app is Cairngorm 2.1 based, using WebServices. I've written a basic app in a J2EE environment using LCDS to

[flexcoders] DoubleClick together with Mouse_Down and Mouse_Up

2007-09-03 Thread flashcrow2000
Hi all, I have a custom made thumbnail class, and I must allow the user to either drag and drop the thumbnail, or double-click it in order to do whatever it is the thumb does. Now...I have the drag and drop all figured out (I'm not using DragManager, I'm catching the mouse_down and mouse_up

[flexcoders] Re: how to embed buttons into datagrid

2007-09-03 Thread aasif_onnet
thanks sher_ali...i had done that..i had to use to classes..that is i had to use cross class reference..by calling the buttonrenderer class from an action script file as event listener..and i am able to do it..thanks for your help... --- In flexcoders@yahoogroups.com, sher_ali2004 [EMAIL

[flexcoders] swapchildren error: The supplied DisplayObject must be a child of the caller

2007-09-03 Thread flashcrow2000
Hi again. I have the following sequence of code: if (this.parent.getChildIndex(this) this.parent.numChildren-1) { trace(this.parent+ should swap the following items:) trace(this+ on level +this.parent.getChildIndex(this)) trace(this.parent.getChildAt(this.parent.numChildren-1)+ on level

[flexcoders] Making datagrid column editable via actionscript?

2007-09-03 Thread candysmate
How do I address a datagrid column in AS in order to make it editable please?

[flexcoders] Re: Help

2007-09-03 Thread Marcio Napoli
Hey Alex, Bug key is: SDK-12499 Thanks, Marcio N. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I finally found time to look into this. I would like you to file a bug with your test case and send me the bug number. I'm not sure we can actually fix this given the

[flexcoders] Re: Flex 3 with Multiples Axis (Visual Error) BUG?

2007-09-03 Thread Rodrigo Pereira Fraga
Hi!! Sorry but I don't understand. Today, I remove the axis from chart.verticalAxisRenderer with splice. What I perceived, is that the Flex don't update why it is a Renderer!! I am arriving the conclusion that is a BUG!! I work in the ItaipuBinacional, (www.itaipu.gov.br) and I need this to

[flexcoders] LCDS on CF8 - Where's the wrapper coming from?

2007-09-03 Thread Oliver Merk
If I run an mxml file directly from the address bar, such as http://mysite.com/index.mxml, where does the wrapping html come from? There is no Flex Builder on the machine and there's no SDK folder. I'm thinking the code is embedded in one of the Flex server-side jar files (which would suck). I'd

[flexcoders] How to tell when a control is no longer being drawn?

2007-09-03 Thread Mark Ingram
Hi, does anyone know how you can tell when a control is no longer being drawn? e.g. If I change from Tab0 to Tab1 on a TabNavigator control, the original canvas is no longer drawn (but obviously it's visible property is still set to true). So how does that canvas know not to draw? I would like to

[flexcoders] Re: Migrating to J2EE LiveCycle + Cairngorm - help!

2007-09-03 Thread jamiebadman
Hi again! This problem is a little different from expected. Turns out the actual problem is when I use the Cairngorm 2.2 instead of 2.1 - this error appears as a result - so it looks like Cairngorm 2.2 breaks my existing codeline. Any clues?! Jamie. --- In flexcoders@yahoogroups.com,

Re: [flexcoders] runtime css

2007-09-03 Thread David Chang
Thanks Alex, I tried that too but it didn't work either. Anyways I've been looking into another approach for detecting style changes. Alex Harui wrote: ttry putting dispatcher as an instance var, not a local var.

[flexcoders] how to count the values of a column...

2007-09-03 Thread aasif_onnet
i have a set of values in a column..i want to add the value and get the result to the last cell..something like a bill payment done via grid..please share your ideas...

[flexcoders] Re: how to count the values of a column...

2007-09-03 Thread candysmate
--- In flexcoders@yahoogroups.com, aasif_onnet [EMAIL PROTECTED] wrote: i have a set of values in a column..i want to add the value and get the result to the last cell..something like a bill payment done via grid..please share your ideas... Step through the grid's dataprovider array to add

[flexcoders] List of checkboxes control - help handling events

2007-09-03 Thread arieljake
I have a list of checkboxes just like the one posted on alex h's blog. I am trying to modify it so I get an event when a checkbox is clicked so I can POST to the server. The trouble is asking for the right event, because none seem to work right. Though the CLICK and CHANGE events on the LIST do

[flexcoders] Working with dates from MS SQL database

2007-09-03 Thread candysmate
I'm returning a date from a MS SQL database. The date held in the database (datetime field) is: 26/03/2007 00:00:00 However my function (below) returns: 117486720 private function dateTest():void { connectServer(); var headerRetrieveResult:ArrayCollection = new

[flexcoders] Re: Working with dates from MS SQL database [SOLVED]

2007-09-03 Thread candysmate
--- In flexcoders@yahoogroups.com, candysmate [EMAIL PROTECTED] wrote: I'm returning a date from a MS SQL database. The date held in the database (datetime field) is: 26/03/2007 00:00:00 However my function (below) returns: 117486720 private function dateTest():void {

[flexcoders] Re: ObjectTranslator

2007-09-03 Thread booleanbetrayal
I submitted some code to the project that does this sort of recursive translation. I never experienced any describeType() lag, but I never really extensively profiled it, either. Hope this helps. You can find it here: http://code.google.com/p/as3corelib/issues/detail?id=22 - Brent --- In

Re: [flexcoders] Re: FlexMouseEvent stop propagation

2007-09-03 Thread Patrick Driggett
Can I make the outer edges not make a hazed out gray layer? As in, clear? On 9/2/07, Alex Harui [EMAIL PROTECTED] wrote: I would still go modal and close the dialog on mouseDownOutside. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On

[flexcoders] Change Color of Column in Chart When Clicked

2007-09-03 Thread Daniel Kim
How would I change the color of a column in a ColumnChart when the column is clicked?

[flexcoders] Unicode Problem in Flex

2007-09-03 Thread pangdev
Dear helper, I have just working with flex for a short period of time. now I meet one problem about unicode. I want to make my textInput to be able to enter any unicode like Chinese unicode, Khmer Unicode (Khmer OS) and other unicode. But I only fine that it shows only ? in the textInput. If

[flexcoders] need Flash Player Standalone 9r28 Win/Mac NON-debug, cant find on adobegoogle

2007-09-03 Thread tctommm
can someone please provide me the Flash Player Standalone 9r28 Win/Mac NON-debug version. already tried the adobe customer support Since newer versions than 9r29 of the Flash Player make our Flex DVD product crash when executed as a projector (created directly though the standalone player) when

Re: [flexcoders] retrieving object property names.

2007-09-03 Thread Higashi
Try var array:Array = new Array(); for (var str:String in obj) array.push(str); On 9/2/07, yms0411 [EMAIL PROTECTED] wrote: How do you retrieve object property names? for example, i create an object var obj:Object = new Object(); obj[id]=000; obj[phone] = 0202020; obj[name] =

[flexcoders] springgraph - implementing a labeled edge

2007-09-03 Thread jhau
Hi, I am trying to implement a simple labeled edge renderer for the springgraph component. The code is very simple, just trying to add a label in between the source node and destination node, also update the label's position everytime the nodes are moved. i manage to get the label to show on

[flexcoders] Re: ObjectTranslator

2007-09-03 Thread booleanbetrayal
Here's something I wrote and submitted to the project, not too long ago. I haven't noticed any describeType() lag, but then again I haven't extensively profiled it. Hope this helps. http://code.google.com/p/as3corelib/issues/detail?id=22 - Brent --- In flexcoders@yahoogroups.com, Richard

[flexcoders] Creatin' Charts

2007-09-03 Thread figo2324
Hi coders, i have a little problem, im creating a barchart using AS, i dont have any problem with that, but i wanna create a columnchart too with same dataprovider that had the barchart, i did two functions, one to create a barchart and other to create a columnchart, first i call to create a

[flexcoders] springgraph - implementing a labeled edge

2007-09-03 Thread jhau
Hi, I am trying to implement a simple labeled edge renderer for the springgraph component. The code is very simple, just trying to add a label in between the source node and destination node, also update the label's position everytime the nodes are moved. i manage to get the label to show on

[flexcoders] Re: LCDS on CF8 - Where's the wrapper coming from?

2007-09-03 Thread psyked_james
--- In flexcoders@yahoogroups.com, Oliver Merk [EMAIL PROTECTED] wrote: If I run an mxml file directly from the address bar, such as http://mysite.com/index.mxml, where does the wrapping html come from? There is no Flex Builder on the machine and there's no SDK folder. I'm thinking the code

[flexcoders] useCapture(event)

2007-09-03 Thread Sherif Abdou
I am pretty puzzled to how the useCapture works in the addEventListner, i tried reading and i think i understand what it does but i never found an example of it in action or what it could be used for. so can anyone enlighten me

[flexcoders] Webservice issue

2007-09-03 Thread rahul_mainkar
Hi All, I am trying to use some standard Webservices offered by SAP and build a flex application. The webservice accepts the following parameters 1. MaterialBasicDataSelectionByID 2. MaterialInternalID Code below is the SOAP body which is passed to the server. I got this from the webservice

[flexcoders] Closable Tabs

2007-09-03 Thread Tom Preet
Hi, In my App I used the Tab Navigator control and placed some tabs in my App. When I run the app the tabs are overlaping. am having doubt when I click for second tab the first tab has to be closed, when I click on third tab the before tabs are to be closed... can suggest me how to implement

[flexcoders] springgraph - implementing a labeled edge

2007-09-03 Thread Kaibutsu3
Hi, I am trying to implement a simple labeled edge renderer for the springgraph component. The code is very simple, just trying to add a label in between the source node and destination node, also update the label's position everytime the nodes are moved. i manage to get the label to show on

[flexcoders] Can't see app in html

2007-09-03 Thread Guillermo Villasana Cardoza
I am having problems viewing my flex app in IE7. I am running Windows XP and I have installed the latest version of the flash player (also I have all my windows updates) but still I get the following: Alternate HTML content should be placed here. This content requires the Adobe Flash Player.

Re: [flexcoders] Can't see app in html

2007-09-03 Thread Peter Connolly
I ran into this. Make sure you specify an explicit 'height' and 'width' (in pixels) on the mx:Application tag, otherwise it does not show on the page. On 9/3/07, Guillermo Villasana Cardoza [EMAIL PROTECTED] wrote: I am having problems viewing my flex app in IE7. I am running Windows XP

[flexcoders] Re: ObjectTranslator

2007-09-03 Thread booleanbetrayal
Hooray for 10 hour yahoo groups posting lag! =] --- In flexcoders@yahoogroups.com, booleanbetrayal [EMAIL PROTECTED] wrote: I submitted some code to the project that does this sort of recursive translation. I never experienced any describeType() lag, but I never really extensively profiled

[flexcoders] newbie - adapting flexstore

2007-09-03 Thread g07m5064
Hi, I am new to flex. I would like to adapt the flexstore example such that the filtered results are displayed in a grid (this is definitely inspired by home locator). Anyway, after the filtering, I don't quite comprehend how the datagrid will be updated. Any ideas?

Re: [flexcoders] Closable Tabs

2007-09-03 Thread Willy Ci
sounds like you are only need one button to go forward, why not using ViewStack, and put one button click go to next. Willy On 9/3/07, Tom Preet [EMAIL PROTECTED] wrote: Hi, In my App I used the Tab Navigator control and placed some tabs in my App. When I run the app the tabs are

Re: [flexcoders] setting tab order?

2007-09-03 Thread grimmwerks
Nevermind; dope. On Sep 3, 2007, at 11:17 PM, grimmwerks wrote: I've got two states that are based on another state which has 2 TextInputs. Since the other states ALSO have TextInputs, but physically above the other TextInputs, the tabbing order is screwed up -- it tabs correctly through

RE: [flexcoders] useCapture(event)

2007-09-03 Thread Alex Harui
Look in our source code for stage.addEventListener, or in the FocusManager. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Sunday, September 02, 2007 4:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

[flexcoders] TitleWindow close calling Application.application.currentstate?

2007-09-03 Thread grimmwerks
I'm trying to have a close window call upstream to the main application to switch the currentstate; is this possible? I keep getting: Access of undefined property Application... close={Application.application.currentState='start'}

RE: [flexcoders] Re: FlexMouseEvent stop propagation

2007-09-03 Thread Alex Harui
The styles: modalTransparencyBlur and modalTransparency should make a difference From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Driggett Sent: Sunday, September 02, 2007 12:42 PM To: flexcoders@yahoogroups.com Subject: Re:

RE: [flexcoders] List of checkboxes control - help handling events

2007-09-03 Thread Alex Harui
Do you mean that the .selected property isn't set right? or the data object isn't updated? It should be set by the time the Checkbox (not the List) dispaches CHANGE. If you're referring to the data object, you're responsible for updating it. It is better to work from that than from the

Re: [flexcoders] Re: Flex 3 with Multiples Axis (Visual Error) BUG?

2007-09-03 Thread guna samba
Please send ur sample code, so that i will make an analysis on that !! Thank's Regards, Gunasekaran Sambandhan - Original Message From: Rodrigo Pereira Fraga [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, 30 August, 2007 3:59:15 PM Subject: [flexcoders] Re: Flex

RE: [flexcoders] How to tell when a control is no longer being drawn?

2007-09-03 Thread Alex Harui
The main container in each tab is set to visible=false, so SHOW/HIDE events should work there. They don't work the first time you go to that tab though. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: Monday, September