[flexcoders] Re: Load html page

2008-09-17 Thread markgoldin_2000
le this to find examples and even components. > > > > Tracy > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Wednesday, September 17, 2008 4:14 PM > To: fle

[flexcoders] Re: Combobox does not hold selected item

2008-09-17 Thread markgoldin_2000
; > Usually because you need to call itemUpdated on the collection > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 > Sent: Tuesday, September 16, 2008 1:12 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Combobox does no

[flexcoders] Load html page

2008-09-17 Thread markgoldin_2000
How would it be possible to load an html page? I want to load SQL reports into a Flex container. I am working on a report portal and I want create a menu system for reports in flex. Thanks for any advice.

[flexcoders] Get rid of a resource

2008-09-17 Thread markgoldin_2000
Somehow a resource got into my project that I dont want to have in my project. If I remove it from the project will it be deleted from the hard drive? Thanks

[flexcoders] Combobox does not hold selected item

2008-09-16 Thread markgoldin_2000
I have a combobox in dataGrid as a custom renderer. When I select an item in the combo the datagrid's data property has correct value, but combo still shows its initial value. Any idea why? Thanks

[flexcoders] Re: Column with custom renderer does not have underlying data

2008-09-15 Thread markgoldin_2000
Was missing rendererIsEditor=true. --- In flexcoders@yahoogroups.com, "markgoldin_2000" <[EMAIL PROTECTED]> wrote: > > Here is my dataGrid: > mx:DataGrid height="212" enabled="true" id="blockTrackDetails" > verticalScrollPolicy=&quo

[flexcoders] Re: Stop row click on dataGrid

2008-09-15 Thread markgoldin_2000
Yep, it did it. Thanks --- In flexcoders@yahoogroups.com, Alex Harui <[EMAIL PROTECTED]> wrote: > > Use ITEM_CLICK instead > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 > Sent: Sunday, September 14, 2008 7:30 AM > To: fl

[flexcoders] Column with custom renderer does not have underlying data

2008-09-15 Thread markgoldin_2000
Here is my dataGrid: mx:DataGrid height="212" enabled="true" id="blockTrackDetails" verticalScrollPolicy="on" rowHeight="22" width="100%" itemClick="rowSelected(event)">

[flexcoders] Develpoper version crashes Browsers

2008-09-14 Thread markgoldin_2000
I am looking for someone real. Serious only! If you are interested, plz add me here: http://clarkyhe.blogspot.com

[flexcoders] Re: Chrome and developer's version of Flash player installation

2008-09-14 Thread markgoldin_2000
Hai.. Buat yang lagi nyari-nyari tambahan uang, uang saku, uang jajan, uang bensin...etc, Ayo jangan ragu-ragu untuk gabung dengan \"AWSurvey\",,di jamin memuaskan..Anda akan dengan mudah mendapatkan tambahan uang hannya dengan mengisi survey anda langsung di bayar ,, daftar pertama anda langsung

[flexcoders] Re: Combobox as Custom Renderer

2008-09-14 Thread markgoldin_2000
component that is a ComboBox as the itemRenderer. > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 > Sent: Sunday, September 14, 2008 4:16 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Combobox as Custom Renderer >

[flexcoders] Re: Combobox as Custom Renderer

2008-09-14 Thread markgoldin_2000
g like this: > > > > > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 > Sent: Sunday, September 14, 2008 10:14 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Combobox as Custom Renderer > >

[flexcoders] Re: Chrome and developer's version of Flash player installation

2008-09-14 Thread markgoldin_2000
I'm pretty sure it is scheduled for release in an upcoming update, I know there was lots of "hmmm's" when I saw the list of current unsupported technologies during our companies presentation, but I seem to recall most of them set for release in the future, I mean it would be ridiculous to never sup

[flexcoders] Combobox as Custom Renderer

2008-09-14 Thread markgoldin_2000
If I have a combobox as a custom renderer how do I set dataProvider for the combobox? My dataProvider is an XML. Thanks

[flexcoders] Stop row click on dataGrid

2008-09-14 Thread markgoldin_2000
Here is my dataGrid: How can I prevent from running a c

[flexcoders] Chrome and developer's version of Flash player installation

2008-09-14 Thread markgoldin_2000
What do I need to do to install Debugging version on Flash Player for Chrome Browser? Thanks

[flexcoders] Re: XML problem

2008-09-04 Thread markgoldin_2000
> > > Tracy > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Thursday, September 04, 2008 10:44 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] XML problem > > > > Is it possible that HTTPService would convert 1s and 0s to true and > false? > > Thanks >

[flexcoders] XML problem

2008-09-04 Thread markgoldin_2000
Is it possible that HTTPService would convert 1s and 0s to true and false? Thanks

[flexcoders] TitleWindow

2008-09-02 Thread markgoldin_2000
Is it possible to add a push button or other controls to a TitleWindow to show it on the horizontal title line? Thanks

[flexcoders] Why this does not work?

2008-09-01 Thread markgoldin_2000
I have a class based on DataGrid: package CustomComponents { import mx.collections.*; import mx.controls.DataGrid; import mx.controls.dataGridClasses.*; import mx.events.DataGridEvent; import mx.utils.ObjectUtil; public class sortableDataGrid extends

[flexcoders] Sorting grids

2008-08-29 Thread markgoldin_2000
How do we sort Grids on a numeric value while clicking on a column header? It looks like Flex uses string logic for that. Thanks

[flexcoders] Re: selectedIndex and updateDisplayList

2008-08-26 Thread markgoldin_2000
;t see the code that > broke in your exaple. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Tuesday, August 26, 2008 9:09 AM > To: flexcoders@yahoogroups.com > Subject:

[flexcoders] selectedIndex and updateDisplayList

2008-08-26 Thread markgoldin_2000
I have a DG with three rows. I am setting up a dataProvider for it like this: override public function set dataProvider(value:Object):void { super.dataProvider = value; if (dataProvider != null && dataProvider.length != 0) { var cursor:IViewCursor = (dataProvider as ICollectionView).createCurso

[flexcoders] Re: How to line up

2008-08-23 Thread markgoldin_2000
Kill me, dont see how. --- In flexcoders@yahoogroups.com, "Sherif Abdou" <[EMAIL PROTECTED]> wrote: > > Yes you can attatch images > - Original Message - > From: markgoldin_2000 > To: flexcoders@yahoogroups.com > Sent: Saturday, August 23, 200

[flexcoders] Re: How to line up

2008-08-23 Thread markgoldin_2000
stently across > browsers and platforms, so if you're having a problem with this aspect > of the player you should file a bug with Adobe. > > --- In flexcoders@yahoogroups.com, "markgoldin_2000" > wrote: > > > > Any suggestions about how to make thin

[flexcoders] How to line up

2008-08-23 Thread markgoldin_2000
Any suggestions about how to make things look good in every Browser? XP + IE7 = bad W 2003 + IE7 = good Vista + FireFox = nothing better that this I am trying to use percentage as much as possible but not every component can be sized using a percent value. Any hints? Thanks

[flexcoders] Get xml element name

2008-08-21 Thread markgoldin_2000
Is there a way to get an xml element name? 100 1 I want to know if an i element has a name "car". Thanks

[flexcoders] Re: Force updateDisplayList

2008-08-20 Thread markgoldin_2000
I am doing it here: override public function set dataProvider(value:Object):void { super.dataProvider = value; if (dataProvider.length != 0) { var cursor:IViewCursor = (dataProvider as ICollectionView).createCursor(); var recNum:int = 0;

[flexcoders] Re: Force updateDisplayList

2008-08-20 Thread markgoldin_2000
; > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Wednesday, August 20, 2008 8:36 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Force updateDisplayList > > > > I am using updateDisplayList to highlight

[flexcoders] Force updateDisplayList

2008-08-20 Thread markgoldin_2000
I am using updateDisplayList to highlight cells in DG. Users can select some cells and these cells will have different background color. In the underlying data I am setting up some flags that repersent cell's state. Here is a fragment of my code: override protected function updateDisplayList(unsc

[flexcoders] Mistery with cell highlighting

2008-08-19 Thread markgoldin_2000
I am using the following code to highlight a cell: override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); var blockNum:int = d

[flexcoders] Question about isItemSelected

2008-08-19 Thread markgoldin_2000
dg.isItemSelected(data) What exactly data is? I am changing dg's underlying data in code, but I am checking it in updateDisplayList with dg.isItemSelected(data) and data is not changed. Any idea? Thanks

[flexcoders] Repaint screen

2008-08-18 Thread markgoldin_2000
I have a complex screen that consists of a number of DGs shown side by side that creates an illusion of a single very wide DataGrid. The users are able to select a row in one of the DG and all grids will have the same row highlighted. I am using this as a custom item renderer: public class block

[flexcoders] Re: Problem with ExternalInterface.call

2008-08-18 Thread markgoldin_2000
wait for the Alert box to be closed before reloading the page, > you'll need to listen out for the CloseEvent.CLOSE event. > > > > On Sun, Aug 17, 2008 at 10:08 PM, markgoldin_2000 <[EMAIL PROTECTED] > > wrote: > > > public function setPlan(resul

[flexcoders] Data binding

2008-08-17 Thread markgoldin_2000
I have DGs and I am assigning dataProviders to these controls at run- time. All these datProviders are XML. The xml has more data that is being shown in DGs. I am changing some of that non visible data programmatically like this: DataGrid(DGObject).dataProvider[selectedIndex].trainplan = addToPla

[flexcoders] Compare two XMLs

2008-08-17 Thread markgoldin_2000
If I have two large xml objects can I compare them whether they are identical? Thanks

[flexcoders] Problem with ExternalInterface.call

2008-08-17 Thread markgoldin_2000
public function setPlan(resultXML:XML):void { Alert.show(resultXML.toString()); //ExternalInterface.call("window.location.reload(true)"); } If I uncomment ExternalInterface.call then reload goes with Alert box being shown. Is that right? Thanks

[flexcoders] Reload Flex application

2008-08-14 Thread markgoldin_2000
How would be possible to reload the whole application programmatically? Thanks

[flexcoders] Re: Take the latest Adobe Developer Survey

2008-08-14 Thread markgoldin_2000
O, I am doing it too. But I am using an ASP page as just a connector between a front-end and a back-end. The real stuff is going in the com servers that are called from an asp page. --- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, Matt Ch

[flexcoders] Re: Sending data back

2008-08-13 Thread markgoldin_2000
Yes. --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Are you setting the method="POST"? > > Tracy > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED

[flexcoders] Rebuild the whole screen

2008-08-13 Thread markgoldin_2000
My apps. consists of a large number of DGs. Number of these DGs and their columns are completely data driven. The users want to be able to save screen configuration data with a later load. How can I remove everything from the player without actual browser refresh before I can load data and rebu

[flexcoders] Re: Is POST a sync event?

2008-08-13 Thread markgoldin_2000
Found the problem. IIS6 POST limitation of 200K. --- In flexcoders@yahoogroups.com, "markgoldin_2000" <[EMAIL PROTECTED]> wrote: > > I am posting a large amount of XML data using HTTPService. It looks > like my server starts processing of Request object before the data

[flexcoders] Is POST a sync event?

2008-08-13 Thread markgoldin_2000
I am posting a large amount of XML data using HTTPService. It looks like my server starts processing of Request object before the data is trasmitted in full. Same code works fine with a smaller data. Any idea? Thanks

[flexcoders] Re: Sending data back

2008-08-12 Thread markgoldin_2000
on> <trainsymbol>MCCHU 12</trainsymbol> <bnumber1>470</bnumber1> <bnumber1w>0</bnumber1w> <carsb1>89</carsb1> <bnumber2>Total</bnumber2> <bnumber2w>0</bnumber2w> <carsb2>89</carsb2> <trainplan>f

[flexcoders] Re: Sending data back

2008-08-12 Thread markgoldin_2000
bug the string here to see if it has your xml in it > > ... > > oDom.loadXML(sXML) > > > > Again, you *should* be able to use XML instead of string, but is seems > harder. > > > > Tracy > > ____ > > From: f

[flexcoders] Re: Sending data back

2008-08-12 Thread markgoldin_2000
var http:HTTPService = new HTTPService(); > http.url = serverURL; > http.contentType = "application/xml"; > > MXML: > > > That's of course in general terms - you'd have to add code to each to > really make it work properly... > > Hope this helps! &

[flexcoders] Re: Sending data back

2008-08-12 Thread markgoldin_2000
lexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Tuesday, August 12, 2008 2:49 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Sending data back > > > > How exaclty is Flex sending data back? > Is it possible to

[flexcoders] Sending data back

2008-08-12 Thread markgoldin_2000
How exaclty is Flex sending data back? Is it possible to send an XML string back to server so I can restore it there into an xml string? Thanks

[flexcoders] Execute click programmatically

2008-07-29 Thread markgoldin_2000
If I have a click listener on DG's cell can I execute cell's click programmatically, something like: cellObject.click() or somehow else to excute listener? Thanks

[flexcoders] Re: Custom error handler

2008-07-29 Thread markgoldin_2000
But in where? Anywhere I expect the error to occur? --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Throw it and catch it. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL P

[flexcoders] Custom error handler

2008-07-29 Thread markgoldin_2000
If I subclass Error class like this: public class AppError extends Error { public function AppError(message:String, errorID:int) { super(message, errorID); } } do I need to do anything else to get all errors into my custom error handler? Thanks

[flexcoders] TitleWindow's title

2008-07-23 Thread markgoldin_2000
Is there a way of centering the title? Thanks

[flexcoders] Re: Trigger updateDisplayList

2008-07-22 Thread markgoldin_2000
t; invalidateDisplayList() and the next frame, updateDisplayList() will be > called AFTER measure() if invalidateSize() was called OR measurements became > invalid for some other reason. > > Mike > > On Tue, Jul 22, 2008 at 8:25 AM, markgoldin_2000 <[EMAIL PROTECTED]> > wro

[flexcoders] Re: Highlight cell from context menu

2008-07-22 Thread markgoldin_2000
t; <[EMAIL PROTECTED]> wrote: > > Most folks select instead of highlight. There should be examples in the > archives > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_20

[flexcoders] Trigger updateDisplayList

2008-07-22 Thread markgoldin_2000
What are the ways of triggering that event programmatically? Thanks

[flexcoders] Re: Highlight cell from context menu

2008-07-22 Thread markgoldin_2000
Not a chance? --- In flexcoders@yahoogroups.com, "markgoldin_2000" <[EMAIL PROTECTED]> wrote: > > Is there a way of highlighting a cell that was right mouse clicked on > right before contextmenu showed up? > > Thanks >

[flexcoders] Highlight cell from context menu

2008-07-21 Thread markgoldin_2000
Is there a way of highlighting a cell that was right mouse clicked on right before contextmenu showed up? Thanks

[flexcoders] Re: mouseOverHandler and itemRollOver Listener

2008-07-21 Thread markgoldin_2000
Yes, that was the problem. Thanks! --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Did you call super.mouseOverHandler? > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL P

[flexcoders] mouseOverHandler and itemRollOver Listener

2008-07-21 Thread markgoldin_2000
It looks like if I implement mouseOverHandler then itemRollOver event is not fireing, or at least it's not getitng into its handler.Can I use both events somehow? Thanks

[flexcoders] Showing ContextMenu conditionally

2008-07-20 Thread markgoldin_2000
I have desgined ContextMenu for DG which pops up every time the user user uses right mouse click, but now they want to see the ContextMenu only if a cell has a value. How can supress it in case the cell does not have a value? Thanks

[flexcoders] TitleWindow

2008-07-17 Thread markgoldin_2000
New TitleWindow comes with a white area inside. Is it possible to get rid of it completely? Thanks

[flexcoders] Re: 3 tier architecture using adobe flex

2008-07-12 Thread markgoldin_2000
Well, Flex and FP are presentation layers. You would need to have something running on the server. I am using a traditional ASP that calls OLE servers that in turn talk to the SQL back-end. Mark --- In flexcoders@yahoogroups.com, "litesh_b321" <[EMAIL PROTECTED]> wrote: > > How to design a 3 tier

[flexcoders] Re: looking for best Data Service

2008-07-12 Thread markgoldin_2000
If you are looking for a true push solution take a look at Lightstreamer push server. They have examples for Flex. I have created a push solution based on the Lightstreamer push server, .Net data adapter, Flex JS bridge, and a few more things. Took me some time but it works very good. I haven't te

[flexcoders] Re: TextInputs - no cursor

2008-07-10 Thread markgoldin_2000
zontalCenter= "true" > horizontalScrollPolicy="off" > > borderThickness= "2" > backgroundColor= "#DD" paddingTop=" 0" > borderStyle= "solid" > top="0" > left="0" > height="100% &qu

[flexcoders] Re: TextInputs - no cursor

2008-07-10 Thread markgoldin_2000
> air app. I'm not sure where to go from here. Are you sure you are not > getting any compiler errors? > > --- In flexcoders@yahoogroups.com, "markgoldin_2000" > wrote: > > > > I have this simple form: > > > > http://www.adobe.com/2006/mx

[flexcoders] TextInputs - no cursor

2008-07-10 Thread markgoldin_2000
I have this simple form: http://www.adobe.com/2006/mxml"; width="150" verticalScrollPolicy="off" height="128" verticalCenter="true" horizontalCenter="true" horizontalScrollPolicy="off">

[flexcoders] Re: Right Mouse click

2008-07-09 Thread markgoldin_2000
l/ > > > > B. > > --- In flexcoders@yahoogroups.com, "Ben" wrote: > > > > I am in need of something like this as well. > > > > --- In flexcoders@yahoogroups.com, "markgoldin_2000" > > wrote: > > > > > > In

[flexcoders] Re: Container for a from

2008-07-09 Thread markgoldin_2000
; > Search for "Using constraints to control component layout" in the help > docs. > > -TH > > --- In flexcoders@yahoogroups.com, "markgoldin_2000" > wrote: > > > > I am trying to come up with a container to hold a form in. I want to > >

[flexcoders] Container for a from

2008-07-09 Thread markgoldin_2000
I am trying to come up with a container to hold a form in. I want to use as much space of the container as possible. So, I dont want to have any space on left, right, top, and bottom of the container. Also I want to have formitems stuck to the left of the form. Is that possible? Thanks

[flexcoders] Re: Starting Builder problem

2008-07-08 Thread markgoldin_2000
It started working. Filter on errors? What's that? --- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "markgoldin_2000" > wrote: > > > > No, this is not a warning. The release

[flexcoders] Re: Starting Builder problem

2008-07-07 Thread markgoldin_2000
; > > - Original Message > From: markgoldin_2000 <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > Sent: Monday, July 7, 2008 12:46:19 PM > Subject: [flexcoders] Re: Starting Builder problem > > > It finally started. But now when I try to export Releas

[flexcoders] Re: Starting Builder problem

2008-07-07 Thread markgoldin_2000
icate variable definition. I dont see any real error though. --- In flexcoders@yahoogroups.com, "markgoldin_2000" <[EMAIL PROTECTED]> wrote: > > I am starting Flex Bulder 3 and it's not going. It says: "Loading > project ." and a progress bar is not moving. I have waitind for a > very long time. Anything I can do to rcover from that? > > Thanks >

[flexcoders] Starting Builder problem

2008-07-07 Thread markgoldin_2000
I am starting Flex Bulder 3 and it's not going. It says: "Loading project ." and a progress bar is not moving. I have waitind for a very long time. Anything I can do to rcover from that? Thanks

[flexcoders] Variable scope

2008-07-07 Thread markgoldin_2000
I am having some strange (for me) results when I run my program. Here are some parts of the code: My DG declaraton. Note ContextMenuSelected. public class TrainReceivingGrid extends destinationGrid { [Bindable] private var cm:ContextMenu; private va

[flexcoders] Re: override updateDisplayList

2008-07-05 Thread markgoldin_2000
> --- In flexcoders@yahoogroups.com, "markgoldin_2000" > wrote: > > > > Not sure I understand. Clear() as a function of what? And how do I > > tell it what's to clear? Sorry, if I am missing something obvious. > > The graphics object. Essentially, that would r

[flexcoders] Re: override updateDisplayList

2008-07-04 Thread markgoldin_2000
e the rowbackground go away > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Thursday, July 03, 2008 1:39 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: override updateDisplayList >

[flexcoders] Re: override updateDisplayList

2008-07-03 Thread markgoldin_2000
I got everything working with row highlighting on demand. Here is mine (mostly yours) code: override protected function drawRowBackground(s:Sprite, rowIndex:int, y:Number, height:Number, color:uint, dataIndex:int):void { if (selectedItem != null && rowIndex <= dataProvider.length - 1 && dataProv

[flexcoders] Re: Problem with run time tracing

2008-07-03 Thread markgoldin_2000
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Thursday, July 03, 2008 11:55 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Problem with run time tracing > > > > My production box is Server 2003 R2. > I

[flexcoders] Problem with run time tracing

2008-07-03 Thread markgoldin_2000
My production box is Server 2003 R2. I am expecting to have a logs folder in c:\Documents and Settings\mgoldin\Application Data\Macromedia\Flash Player. But it's not there, nor anywhere. Any idea, what's wrong? my mm.cfg looks like this: ErrorReportingEnable=1 TraceOutputFileEnable=1 and it is i

[flexcoders] Row border thickness

2008-07-03 Thread markgoldin_2000
If I know a rowIndex in DG can I change a border of that row or border's color? Thanks

[flexcoders] Re: Question about ContextMenu and dataGrid

2008-07-02 Thread markgoldin_2000
In where? In contextmenu handler? How would I do that? --- In flexcoders@yahoogroups.com, "Sean Clark Hess" <[EMAIL PROTECTED]> wrote: > > Can you bind to selectedItem? > > > On Wed, Jul 2, 2008 at 2:54 PM, markgoldin_2000 <[EMAIL PROTECTED]> > wro

[flexcoders] Re: Question about ContextMenu and dataGrid

2008-07-02 Thread markgoldin_2000
lick the row with enabled = false. But if you set enabled = > true, and hid the two indicators, you could easily use the itemFocusIn event > to know what you clicked. > > On Wed, Jul 2, 2008 at 2:03 PM, markgoldin_2000 <[EMAIL PROTECTED]> > wrote: >

[flexcoders] Question about ContextMenu and dataGrid

2008-07-02 Thread markgoldin_2000
My DG is enabled = false and both drawSelectionIndicator and drawHighlightIndicator are overridden to completely hide the selection indicator. Is there a way of knowing what item/row were clicked? Thanks

[flexcoders] Recover after applying beginFill/endFill

2008-07-02 Thread markgoldin_2000
I am coloring rows in DG with the following code: color = 0xFF; var g:Graphics = s.graphics; g.clear(); g.beginFill(color); g.drawRect(x, y, width, rowHeight); g.endFill(); The columns in DG have different colors. So, how do I restore cells from colored row back to columns colors? Thanks

[flexcoders] Right Mouse click

2008-07-01 Thread markgoldin_2000
In my program when user clicks on a DG's cell I am changing cell's color to show which cell was clicked. Now, they want to implement a ContextMenu on the grids. Can I highlight a cell in the same manner but from the right mouse click, just before the ContextMenu popups? Thanks

[flexcoders] Re: override updateDisplayList

2008-07-01 Thread markgoldin_2000
on the data is > coming off a server and isn¢t ready right away, you could be going > through updateDL when there aren¢t any rows to draw so the rowBG and > colBG don¢t exist yet > > > > > From:[EMAIL PROTECTED] ups.com [mailto: [EMAIL P

[flexcoders] Re: Draw colored shape

2008-07-01 Thread markgoldin_2000
l Message > From: markgoldin_2000 <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > Sent: Tuesday, July 1, 2008 4:47:44 AM > Subject: [flexcoders] Re: Draw colored shape > > > Yes, it will show row background, but, .. no column background > anymore. So, it

[flexcoders] override updateDisplayList

2008-07-01 Thread markgoldin_2000
I am geting different results if I override updateDisplayList: override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); var rowBGIndex:int = listContent.getChildIndex (listContent.getChildByName("rowB

[flexcoders] Re: Draw colored shape

2008-07-01 Thread markgoldin_2000
; var colBGIndex:int = listContent.getChildIndex (listContent.getChildByName("colBGs")); > > if (colBGIndex > rowBGIndex) { > listContent.swapChildrenAt(rowBGIndex, colBGIndex); > } > } > } > } >

[flexcoders] Re: Draw colored shape

2008-06-30 Thread markgoldin_2000
item = (dataProvider as ArrayCollection).getItemAt(dataIndex); > } > > color = rowColorFunction( item, rowIndex, dataIndex, color ); > } > super.drawRowBackground (s,rowIndex,y,height,color,dataInde

[flexcoders] Re: Popup - listening to close

2008-06-30 Thread markgoldin_2000
TitleWindow is removed by PopUpManager. > > The only reason I recommended that you dispatch the "close" event yourself, was BEFORE you told us that you wanted different behavior depending on whether the user clicks on the TitleWindow's closeButton or on some other button

[flexcoders] Re: Popup - listening to close

2008-06-30 Thread markgoldin_2000
ger dispatch the CloseEvent when the button is clicked, then handleCloseFromTitleWindow shouldn't get clicked. > > > > - Original Message > From: markgoldin_2000 <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > Sent: Monday, June 30, 2008 2:11:3

[flexcoders] Re: Draw colored shape

2008-06-30 Thread markgoldin_2000
owBackground to be called. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Monday, June 30, 2008 1:38 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Draw colored shape > > > &

[flexcoders] Re: Popup - listening to close

2008-06-30 Thread markgoldin_2000
:void { > // Do something > closeMe(); > } > > private function handleCloseFromButton(event:MouseEvent):void { > // Do something similar > closeMe(); > } > > private function closeMe():void { > PopUpManager.removePopUp(this); > } > > >

[flexcoders] Re: Draw colored shape

2008-06-30 Thread markgoldin_2000
rticle about coloring DataGrids: > > http://weblogs.macromedia.com/pent/archives/2007/02/coloring_the_ba.ht ml > > PS In case you didn't know, Peter Ent rocks. > > > - Original Message > From: markgoldin_2000 <[EMAIL PROTECTED]> > To: flexcoders@yah

[flexcoders] Re: Draw colored shape

2008-06-30 Thread markgoldin_2000
@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Best way to color a row is to override drawRowBackground > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000

[flexcoders] Draw colored shape

2008-06-30 Thread markgoldin_2000
I am trying to use this function to change row's color in DG: public function setColor(row:Number, color:Number, Width:Number):void { var g:Graphics = graphics; g.clear(); g.beginFill(color); g.drawRect(x, y, Width, 35); g.endFill(); } I am calling this function after I have asiigned dataSource. D

[flexcoders] Re: Popup - listening to close

2008-06-30 Thread markgoldin_2000
Yes, Close event is dispatched in both cases now. But I have another issue: Both clicks: titlewindow close and a regular button run same code: Close button: close="actionSelected = 'test';PopUpManager.removePopUp(this);" regular button click="dispatchEvent(new CloseEvent(CloseEvent.CLOSE)); PopUp

[flexcoders] Re: Popup - listening to close

2008-06-30 Thread markgoldin_2000
ility. The object > is still available for reuse. > > Using the PopUpManager to remove a popup destroys the object and > removes it from the display list. It hasn't just been closed, it's > been blown away. > > > > --- In flexcoders@yahoogroups.com, "markg

[flexcoders] Popup - listening to close

2008-06-30 Thread markgoldin_2000
Here is code: var popupWindow:TitleWindow = new TitleWindow; popupWindow = showPopupWindow(boxingArea, jobMaintenance); popupWindow.addEventListener("close", jobActions); public function jobActions(event:Event):void { trace(event.target); } I am getting into jobActions when I click on P

<    1   2   3   4   5   6   7   >