Re: [flexcoders] How to pass data to popup window?

2008-11-01 Thread Paul Andrews
- Original Message - From: markflex2007 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, November 01, 2008 3:27 AM Subject: [flexcoders] How to pass data to popup window? Hi , I need pass data from main window to popup window(mx:titlewindow).Please give me a idea how

[flexcoders] Re: Center Checkbox in DG Column

2008-11-01 Thread markgoldin_2000
I even changed it to this: selected = ( selected == false ? true: false); When I click on a checkbox then all visible rows in the DG get checkbox checked except the one I have clicked on. Also with trace here: override public function set data(value:Object):void { if(value != null) {

[flexcoders] Data Transfer choices...?

2008-11-01 Thread spinglittery
My first post on this marvellous but bewildering resource... I am a designer/art director heading in the direction of development - and I am presently baffled by the number of varieties of possible data transfer, and don't know what to use. Almost all the data that I wish to display is visual

[flexcoders] Re: How to pass data to popup window?

2008-11-01 Thread Louise Rains
I need to pass data back from a popup window. How is this done? The data consists of 2 numbers. Thanks, Louise

[flexcoders] Re:How to pass data to popup window?

2008-11-01 Thread Louise Rains
Oh, never mind about passing data back - I can see it in the example. It just seems a bit inelegant to poke it back in the parent window. Louise

Re: [flexcoders] Re:How to pass data to popup window?

2008-11-01 Thread Paul Andrews
You can send a custom event and use that to transport your data.. - Original Message - From: Louise Rains To: flexcoders@yahoogroups.com Sent: Saturday, November 01, 2008 3:16 PM Subject: [flexcoders] Re:How to pass data to popup window? Oh, never mind about passing data

[flexcoders] Extending Datagrid dynamically

2008-11-01 Thread donvoltz
Hi Everyone, can someone point me in the right direction for accomplishing the following. I have a value object that contains a username and an array of assignments for each day of the week vo public var username:String; public var assignments:Array (also a vo with date = 2008-10-02, assignment

Re: [flexcoders] Data Transfer choices...?

2008-11-01 Thread Mike Chabot
It isn't clear why you are considering using Flex or what it is you are trying to accomplish. Maybe rephrase your question to make it more targeted. Your primary question seems to be how to transfer data, with data being in the form of images, sounds, and videos. These would be more accurately

Re: [flexcoders] Re: finding out if a child is in view with the current scroll location of a Canvas

2008-11-01 Thread Aaron Miller
A good suggestion, but I'm not sure if this will work for my purposes. I do have a reference to the child object in question, but I first need to determine if it even needs to be scrolled. All I need to do is scroll it enough so the child object is in view. So for instance, if there is 100px

[flexcoders] Re: finding out if a child is in view with the current scroll location of a Canvas

2008-11-01 Thread Tim Hoff
Something along these lines: var hiddenArea:int = myCanvasChild.height - (myCanvas.height - myCanvasChild.x); if (hiddenArea 0) myCanvas.veticalScrollPosition += hiddenArea; -TH --- In flexcoders@yahoogroups.com, Aaron Miller [EMAIL PROTECTED] wrote: A good suggestion, but I'm not sure if

[flexcoders] Re: finding out if a child is in view with the current scroll location of a Canvas

2008-11-01 Thread Tim Hoff
In thinking about this more, you're going to have to find the localToContent point x value for myCanvasChild; to see if it's in the viewable area of the canvas. If it is, then do something like the last post; replacing myCanvasChild.x with the derived x value. -TH --- In

[flexcoders] Disable Right-Click during Drag

2008-11-01 Thread jmfillman
Is there a way to disable the right-click menu while dragging? If not, how do I formally request this? It's pretty annoying to accidently hit the right menu button while dragging. On a laptop, this is a pretty common ocurrence. The drag object can get separated from the cursor, or the drag

[flexcoders] Re: finding out if a child is in view with the current scroll location of a Canvas

2008-11-01 Thread Tim Hoff
Of course, looking at y values would certainly make more sense for vertical scrolling. :( -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: In thinking about this more, you're going to have to find the localToContent point x value for myCanvasChild; to see if it's in

RE: [flexcoders] Re:How to pass data to popup window?

2008-11-01 Thread Tracy Spratt
Not even a custom event. Dispatch an ordinary Event, with a specific name. In the handler, use the event.target reference to access the value in a public property. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews

RE: [flexcoders] Re: Center Checkbox in DG Column

2008-11-01 Thread Tracy Spratt
Why are you using the label property? That property is not on your item object. You should do something like this: super.data = value; var xmlData:XML = XML(value); trace(xmlData.Includeintoreport.text()) selected = (xmlData.Includeintoreport.text() == true ? true: false); Tracy

RE: [flexcoders] Extending Datagrid dynamically

2008-11-01 Thread Randy Martin
So, what you want is: 10 11 12 etc. Joesickworkplay Bill workworkwork John playplaywork You need to check out the OLAPDataGrid. It's specifically designed to support this kind of data. In Excel, you'd call this a pivot table. ~randy

[flexcoders] Flex builder 2 standalone - plugin wouldn't show up

2008-11-01 Thread rviswanathan
Hi I am new to plugin development and I startded off by creating a sample plugin using flex builder 3 plugin version. These are the steps that I followed a) Installed eclipse 3.2 and Flex Builder 3 plugin version (trial) b) Created a sample plugin and packaged it c) extracted the plugin to a

[flexcoders] Flex builder 2 standalone - plugin wouldn't show up

2008-11-01 Thread rviswanathan
Hi I am new to plugin development and I startded off by creating a sample plugin using flex builder 3 plugin version. These are the steps that I followed a) Installed eclipse 3.2 and Flex Builder 3 plugin version (trial) b) Created a sample plugin and packaged it c) extracted the plugin to a