[flexcoders] Re: Object name from a mouse click

2008-06-11 Thread markgoldin_2000
> > > Gordon Smith > > Adobe Flex SDK Team > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Friday, June 06, 2008 11:52 AM > To: flexcoders@yahoogroups.com &g

[flexcoders] Re: Object name from a mouse click

2008-06-12 Thread markgoldin_2000
ldren > listen for? > > > > Gordon Smith > > Adobe Flex SDK Team > > > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Wednesday, June 11, 2008 6:41 PM >

[flexcoders] Class library

2008-06-17 Thread markgoldin_2000
Can I create a class library that would look like this: package modulecode { public class Classes { public function Classes() { } public function Function1():void { } pub

[flexcoders] Minimize / Maximize Browser Window

2008-06-18 Thread markgoldin_2000
I am creating an application that is hosted in an HTA page. My main Flex container is a TitleWindow with a close button that actally closes the HTA page. Is there a way of min/max the HTA page from the Flex app? Thanks

[flexcoders] Re: Class library

2008-06-18 Thread markgoldin_2000
us what errors you get. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Tuesday, June 17, 2008 10:27 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Class library > > > > Can

[flexcoders] Row border override

2008-06-21 Thread markgoldin_2000
Is it possible to override a border of a row in a dataGrid? I want to show a row with a ticker border then other rows. Thanks

[flexcoders] Context menu

2008-06-21 Thread markgoldin_2000
How can I remove all builtin items? Thanks

[flexcoders] Re: Context menu

2008-06-21 Thread markgoldin_2000
uot; <[EMAIL PROTECTED]> wrote: > > hideBuiltInItems > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Saturday, June 21, 2008 1:08 PM > To: flexcoders@yahoogroups.

[flexcoders] Access a cell in dataGrid

2008-06-22 Thread markgoldin_2000
Can I access a cell in the dataGrid using its coordinates: columndIndex, rowIndex? Or I need a custom renderer? Thanks

[flexcoders] Change cell's background

2008-06-22 Thread markgoldin_2000
Here is my context menu handler: private function contextMenuHandler(e:ContextMenuEvent):void { DataGridItemRenderer(e.mouseTarget).setStyle("backgroundColor", 1000); } But I dont see any changes on the screen. What am I doing wrong? Thanks

[flexcoders] Re: Selection in dataGrid

2008-06-22 Thread markgoldin_2000
> drawHighlightIndicator > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Monday, June 02, 2008 3:28 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] S

[flexcoders] Re: Change cell's background

2008-06-23 Thread markgoldin_2000
n article by Peter Ent > <http://weblogs.macromedia.com/pent/archives/2007/02/coloring_the_ba.h tm\ > l> , that has a lot of DataGrid background color info. > > -TH > > --- In flexcoders@yahoogroups.com, "markgoldin_2000" > wrote: > &

[flexcoders] Question about drawSelectionIndicator

2008-06-24 Thread markgoldin_2000
Here is mmy code: override protected function drawSelectionIndicator(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint, itemRenderer:IListItemRenderer):void { super.drawSelectionIndicator(indicator, x, y, width, height, color, itemRenderer); }

[flexcoders] Re: Question about drawSelectionIndicator

2008-06-24 Thread markgoldin_2000
ahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Tuesday, June 24, 2008 7:26 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Question about drawSelectionIndicator > > > > Here is mmy code: > override protected funct

[flexcoders] Re: Question about drawSelectionIndicator

2008-06-25 Thread markgoldin_2000
hic and not call super. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Tuesday, June 24, 2008 10:02 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Question about drawSelectionIndicator >

[flexcoders] Re: Question about drawSelectionIndicator

2008-06-25 Thread markgoldin_2000
X to start the fill from. Almost there :) --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Var g:Graphics = indicator.graphics > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL P

[flexcoders] dataGrid - hightlight row

2008-06-29 Thread markgoldin_2000
I have seen some examples of this and these samples I've seen all are implementing drawRowBackground which works fine but not in my case. I need to change row's background after I have applied columns background. But drawRowBackground runs at a time dataGrtid is created so my row background tha

[flexcoders] Re: dataGrid - hightlight row

2008-06-29 Thread markgoldin_2000
ly supported, but some sort of > > > > getChildByName("lines") and getChildByName("rowBGs") and testing > getChildIndex and using setChildIndex might allow you to switch the z > order. > > > > > > Fro

[flexcoders] Re: dataGrid - hightlight row

2008-06-29 Thread markgoldin_2000
wrote: > > Should work. Debug into it. Make sure it has been created. You might > be asking too soon. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Su

[flexcoders] Re: dataGrid - hightlight row

2008-06-30 Thread markgoldin_2000
t; wrote: > > Not the DG, the actual displayObject with the name "rowBG". Please read > up on the component lifecycle. Things are often created on demand. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

[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

[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] 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] 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: 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] 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: 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
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
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: 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: 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: 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] 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
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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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: 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-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] 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] 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] 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] 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-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] 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: 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] 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] 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: 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] 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: 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: 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] 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] 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] 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] 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] 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: 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] 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
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] 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] TitleWindow's title

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

[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] 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] 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] 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] 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] 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
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
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] 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: 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] 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: 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] 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] Reload Flex application

2008-08-14 Thread markgoldin_2000
How would be possible to reload the whole application programmatically? 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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: 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] 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

  1   2   3   4   5   6   7   >