[flexcoders] Re: Cairngorm2 SequenceCommand

2006-08-21 Thread Tim Hoff
I agree Bjorn. This is one area that I've been struggling with to determine best practices. I'm sure that as more examples are developed this will get cleared up. Thanks, Tim --- In flexcoders@yahoogroups.com, Bjorn Schultheiss [EMAIL PROTECTED] wrote: Thats a cool attitude. I also

[flexcoders] Re: Centering a titleWindow when opener is DataGrid itemRenderer

2006-08-21 Thread Tim Hoff
Hi Barry, Sorry that the code isn't working out-of-the-box. My popup is being launched from a Cairngorm command (see below). I remember having to fiddle with the references quite a bit. This example isn't really good Cairngorm coding since I'm referencing the application from the command, but

[flexcoders] Re: Centering a titleWindow when opener is DataGrid itemRenderer

2006-08-21 Thread Tim Hoff
Make sure that mainCanvas exists and is a DisplayObject; a canvas in my case. Also, make sure that the id=mainCanvas and the namespace is correct. Mine is Application.application.mainView.mainCanvas; -TH --- In flexcoders@yahoogroups.com, barry.beattie [EMAIL PROTECTED] wrote: actually,

[flexcoders] Re: Centering a titleWindow when opener is DataGrid itemRenderer

2006-08-21 Thread barry.beattie
YAHOO (... ahemforgive me...) Tim, thankyou very much. that got it... and it looks just right. cheers barry.b -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: FDS 2.0

2006-08-21 Thread Tom Chiverton
On Friday 18 August 2006 21:32, Shannon Hicks wrote: So the same applies to quad-core CPU's (due out later this year)? Still one processor as far as the licensing goes? Can't see why CPU is defined as a central processing unit in *a* hardware device wouldn't mean that. -- Tom Chiverton

[flexcoders] Flex Booleans and SQL bit data types

2006-08-21 Thread Mike Anderson
Hello All, I am not quite sure how to handle this, and wanted to see if you all could shed some light on this topic. In SQL Server, there is no such thing as a Boolean data type, there is simply a Bit data type which can be represented by either a 0 or 1. Of course, this translates quite nicely

Re: [flexcoders] Re: WebService - What's wrong with this code?

2006-08-21 Thread Tom Chiverton
On Sunday 20 August 2006 16:55, Samuel D. Colak wrote: why - Its obvious that actionscript has taken a significant leap in development, so why is everyone here talking about a 3rd product (FDS) to do what you can really easily achieve under AS. There are some use cases, where what FDS gives

Re: [flexcoders] Re: ASDoc now available on Labs

2006-08-21 Thread Tom Chiverton
On Friday 18 August 2006 22:17, Brian Deitte wrote: I have an idea on the issue. When you use doc-sources, the compiler point to the main MXML class that you would compile in order to document all of the AS and MXML classes in that application. This idea is That is great ! Just point asdoc

[flexcoders] Re: sending user selections back from TitleWindow to itemRenderer (parent) - how

2006-08-21 Thread bhaq1972
is the datagrid item editor instance still alive when you close the popup. if so just set that with the data. if(dg.itemEditorInstance) { var yr:YourRenderer = YourRenderer(dg.itemEditorInstance); yr.AcademicText = newAcademic; } . or you can always pass a reference of the datagrid into your

[flexcoders] Re: how to create a dynamic reference to a parent (custom control)

2006-08-21 Thread bhaq1972
accountBalance is the name of the dataField. so you can do the following in your renderer override public function set data(value:Object):void { var myListData:DataGridListData = DataGridListData(listData); var myDataField:String = myListData.dataField; trace (data[myDataField]); --- In

[flexcoders] AMFPHP: Mapping date objects between PHP and Flex

2006-08-21 Thread Stefan Schmalhaus
Is it possible to map date objects between PHP and Flex directly? I need a working solution that supports sending date objects in both directions (Flex - PHP, PHP - Flex). At the moment I'm converting dates to strings and vice versa. Stefan -- Flexcoders Mailing List FAQ:

Re: [flexcoders] AMFPHP: Mapping date objects between PHP and Flex

2006-08-21 Thread Marcelo de Moraes Serpa
Take a look at amfphp.org, on the docs section, the part about class mapping explains it all.If you´re using RemoteObjectAMF0, just take a look at the samples Renaun provides. If you´re using CakePHP, you can also have your Cake models typemapped. There´s a TypeMapper written by Martin on

Re: [flexcoders] AMFPHP: Mapping date objects between PHP and Flex

2006-08-21 Thread Marcelo de Moraes Serpa
Sorry, I didn´t read your post subject´s clearly. If it´s only about the date type, I guess you shouldn´t have problems converting, take a look at amfphp.org documentation. Never did it though. On 8/21/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: Take a look at amfphp.org, on the docs

RE: [flexcoders] Can Flex handle mixed-content XML?

2006-08-21 Thread John Mazzocchi
Thanks. -Original Message-From: Michael Schmalle [mailto:[EMAIL PROTECTED]Sent: Monday, 21 August 2006 1:02 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Can Flex handle mixed-content XML?Hi,That is an XMLList(), I don't know what you are doing but, you

[flexcoders] Problem in opening the CSV file as Excel file in the browser

2006-08-21 Thread yasovardhan [EMAIL PROTECTED]
I had a problem with flex.The problem is that I have .CSV file, which I want to display as Excel file in the new browser on clicking a button.I tried with the following code.function button_click() { var filePath = "C:\test.csv"; var objLoadVars:LoadVars = new LoadVars();

[flexcoders] Re: Flex 1.5 AMF Error:... (not of the binary AMF protocol)

2006-08-21 Thread edeustace
--- In flexcoders@yahoogroups.com, Brian Deitte [EMAIL PROTECTED] wrote: Hi Ed, I've never heard of this problem before. All requests that come from RemoteObject should be of the AMF protocol of course... and there should be no problem with creating a request of that size, as I've create

RE: [flexcoders] Instantiating object in MXML

2006-08-21 Thread Daniel Thompson
From Programming ActionScript 3.0: If you use Flex, you should know that Flex defines many component display object classes, and these classes override the display list access methods of the DisplayObjectContainer class. For example, the Container class of the mx.core package overrides the

[flexcoders] Genrate Children.

2006-08-21 Thread Kumar
Hi All, I have a canvas and in that canvas I have number of children. That children can have childrens again And this process can go up to n times. I want to get all child names and store them in string variable. in proper format like root canvas id=can1 label id=lbl1

Re: [flexcoders] Re: WebService - What's wrong with this code?

2006-08-21 Thread Samuel D. Colak
Is it thus by implication that FDS become some form of flash Hibernate ? Because personally id like to know if that were the case. In terms of data-sync, this is not part of any webservice specification and as for poll-less server push - well that's just against the whole notion of webservices in

[flexcoders] addEventListener quirk?

2006-08-21 Thread coldfusionpaul
we're building some functions that will interact w/an image to measure some stuff (areas, linear distances, angles, etc.) so we need to handle mouse events. if we point at an event listener from the mxml component things work as expected (ie like js which is where the original functions are being

[flexcoders] Re: AMFPHP: Mapping date objects between PHP and Flex

2006-08-21 Thread Stefan Schmalhaus
--- In flexcoders@yahoogroups.com, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: If you´re using RemoteObjectAMF0, just take a look at the samples Renaun provides. Yes, I'm using Renaun's RemoteObjectAMF0. But in the sample he provides the date mapping doesn't work either. The published

[flexcoders] what is the difference between flex1.5 XML and flex2.0 XML

2006-08-21 Thread santharao246
Hi What is the equivalent for flex 1.5 xml tag in flex2.0 Example: excerpt of the flex1.5 code mx:XML id=_configParams source=/com/dorado/generated/configParams.xml / what is equivalent for above code in flex2.0 This is urgent, please help me Thanks, Santa rao. --

[flexcoders] flex vector map zooming (viewable area zoom)

2006-08-21 Thread thiru vengadam
Hi I am working on zooming the vector map, using a slider control, zoom works fine, if you are not pannning , when the user starts panning and stars zooming the map zooms out of control, some times moves out of visible area, I am using the zoom class to zoom, my initial orginx and

[flexcoders] weather web service

2006-08-21 Thread Robin Burrer
Hi there, Does anybody know if there is free weather forecast web-service? I went to the yahoo website but all I could find is an RSS feed, which seems to be a bit buggy. Plus it only gives you the forecast the next day. Thanks Robin __._,_.___ -- Flexcoders

[flexcoders] Cairngorm on Labs

2006-08-21 Thread Daniel Harfleet
Hi, As many of you are aware, Cairngorm now has space at Adobe Labs. We are hoping to soon update the content on Labs in order to give people more resources to become productive with Cairgorm. We'd really like to hear from you if you have any ideas or opinions on the type of thing we should be

Re: [flexcoders] Re: AMFPHP: Mapping date objects between PHP and Flex

2006-08-21 Thread Marcelo de Moraes Serpa
Hmm.. I haven´t ran the login sample app. For dates, I always used unix timestamps and converted the timestamp to string on the server before returning it to flash. For my purposes it always worked well as I never had to do any date math on the client side. Take a look at this

[flexcoders] Re: WebService - What's wrong with this code?

2006-08-21 Thread ben.clinkinbeard
Samuel, I am not sure why you're comparing FDS and web services so closely. They are 2 different technologies meant to do 2 different things. That is, 2 different ways of getting data to your clients. As for your statement that web services are fully implemented in Flex, that is certainly not the

[flexcoders] Re: Problem in opening the CSV file as Excel file in the browser

2006-08-21 Thread ben.clinkinbeard
All the sources I found via Google show the header as application/vnd.ms-excel HTH, Ben --- In flexcoders@yahoogroups.com, yasovardhan [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I had a problem with flex. The problem is that I have .CSV file, which I want to display as Excel file in

RE: [flexcoders] flex2 final - popup autosizing question (re-post)

2006-08-21 Thread Mika Kiljunen
Hi! I have the same problem. I was so happy with B3 when it autosized correctly all my popups, especially when I changes states... Now all popups are too small and no autosizing... This is very frustrating! Is this a bug or feature on final Flex 2 release and if it is why was this beautiful

RE: [flexcoders] Genrate Children.

2006-08-21 Thread Andrew Trice
Look at the flash.utils.describeType function at: http://livedocs.macromedia.com/flex/2/langref/flash/utils/package.html#describeType() I believe it is exactly what you are looking for. -Andy _ Andrew Trice Cynergy Systems, Inc.

RE: [flexcoders] flex2 final - popup autosizing question (re-post)

2006-08-21 Thread Mika Kiljunen
HEY, I managed to solve this one!! I just noticed, that if you have (like I did) layout=absolute on TitleWindow, removing that causes the popups to resize automatically!! Ahh, Im happy again J Still I wonder why this has changed from Beta 3? -Mika From:

[flexcoders] scrolling issue in flex

2006-08-21 Thread bhargavi L
Hi, I have few columns of the data grid editable. Whenever I edit the value in those columns, i do some calculations and rebind the data to the datagrid. My problem is the scroll moves to the starting of the grid. Is there any way I can make the scroll to remain at the row where I do the

[flexcoders] ComboBox with empty String label

2006-08-21 Thread Csík Norbert
Hi!This code works strange. The first item in the model has an empty String label. It works fine at the first look: there's an ampty item at the first place in the combo box. But if I scroll down and up some item's label disappear temporary. Is this a bug? Having a '_' character instead of the

[flexcoders] Re: flex2 final - popup autosizing question (re-post)

2006-08-21 Thread bhaq1972
i'm not using layout=absolute so my problem still exists. thanks anyway -bod --- In flexcoders@yahoogroups.com, Mika Kiljunen [EMAIL PROTECTED] wrote: HEY, I managed to solve this one!! I just noticed, that if you have (like I did) layout=absolute on TitleWindow, removing that

RE: [flexcoders] Cairngorm on Labs

2006-08-21 Thread Dirk Eismann
Hi, some thoughts: 1) update the manifest file and add all Cairngorm classes to it 2) add the DestinationLocators provided by Peter Martin 3) update the library project so the SWC compiles against the Flex 2 framework without linking it (i.e. set the link type of the external Flex 2 SWCs to

[flexcoders] addEventListener quirk? (repost)

2006-08-21 Thread Paul Hastings
yahoo groups disabled my regular email (though it's still sending me email) the copy/paste from tbird messed up the formatting something fierce, so here we go again: we're building some functions that will interact w/an image to measure some stuff (areas, linear distances, angles, etc.) so we

[flexcoders] rollOver outline box for DataGrid?

2006-08-21 Thread djbrown_rotonews
Is there a way to create a rollOver rectangle/outline box in the DataGrid, as opposed to the solid rectangle that currently exists? I'm able to create an outline box over a specific cell that is rolled over, but can't seem to extend it to the entire row. -- Flexcoders Mailing List FAQ:

[flexcoders] preventDefault() with KeyboardEvent

2006-08-21 Thread Sergey Kovalyov
Hi All! Is it possible to call preventDefault() method of KeyboardEvent instance effectively? I'm trying to listen to Ctrl+Enter combination on TextArea and it works. But after that new line is added into TextArea instance. Is there any way to fix it without workarounds, like deleting last symbol

Re: [flexcoders] Instantiating object in MXML

2006-08-21 Thread Sergey Kovalyov
Yes, you are right. But I implemented IMXMLObject interface. My class instantiates in the root of the component, but nowhere else. On the other hand native RadioButtonGroup that is also inherited from EventDispatcher, not UIComponent, could be instantiated even inside nested containers. Why so?

[flexcoders] rubber banding on canvas

2006-08-21 Thread jeremyrichman
I see one earlier post about this back in 2004 the the response pointed him to a website that is now out of date. I want to find out how to do a rubber-banding selection of a rectangle area in a canvas, can anyone point me to a sample somewhere? I also want to figure out how to put a

Re: [flexcoders] Re: AMFPHP: Mapping date objects between PHP and Flex

2006-08-21 Thread Oriol Gual
Hi, I had the same problem, I always got a Coercion error, and my solution was to implement the getter and setter for the date var:private var _date : Date;public function get date():Date{ return _date; }public function set date(value:*):void { _date = new Date(value);}I'm also using unix

[flexcoders] [Flex2, FlexBuilder] bun confirmation...?

2006-08-21 Thread Thomas Rühl
Hi, can anyone either confirm or deny if this is a bug? In a project, create some mxml-applications - also try to use subfolders please. Then right-click the project, select «Properties» and «Flex Applications», for the compiler to build the swf's. Try to add the (sub-)applications - for me,

[flexcoders] Disabling a nested menu item in a menu bar?

2006-08-21 Thread jeff tapper
Anyone have a clue how to disable a menu bar item, when it is not the top level? Given a structure like this: menuItem label=File menuItem label=New / menuItem label=Open / menuItem label=Save / /menuItem I can easily get a handle on the root node (File), by accessing

[flexcoders] Is it possible to add ControlBar container runtime?

2006-08-21 Thread Sergey Kovalyov
Hi All! I'm adding ControlBar container to Panel runtime via myPanel.addChild(new ControlBar()), but it looks not like a native control bar. Just more space below the content area. How to fix that? Sergey. -- Flexcoders Mailing List FAQ:

[flexcoders] Re: AMFPHP: Mapping date objects between PHP and Flex

2006-08-21 Thread Renaun Erickson
Oriol, My example is a little misleading, I will have to update it. The issue at hand is a limitation of PHP. You have to handle the manual conversion your self and your method below is a perfect fit. As far as the 1000 issue it is related to Flash date. Flash dates are mapped to Unix

[flexcoders] Popped Up Menu

2006-08-21 Thread huhgawz
How to know when a menu is popped up? Which property indicates it? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the

[flexcoders] Problem in Texbox while populating from Grid

2006-08-21 Thread Renee
In the attached screen , update the name , give some very big name now try to navigate through records by clicking on the row. Notice valuse populating in name textbox is invisible. The problem is when we updated name with longer one cursor(pointer ) moves to  right most position. Now the cursor

[flexcoders] Upgradation to flex 2.0

2006-08-21 Thread Renee
Hi, We have developed a big applicaiton using flex , java j2k tech. We have developed it using flex 1.5. Now we want to upgrade our application so that we can run it using flex 2.0. Can anybody help me in this area? What all I need to do to upgrade the whole application from 1.5 to 2.0 ver of

RE: [flexcoders] Upgradation to flex 2.0

2006-08-21 Thread Pottavathini, Sathish
I went through this conversion for my medium range application. The only issues that I faced was with events. Some of the events are changed, for example - click event to itemClick event in some controls etc. Good luck. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] Re: AMFPHP: Mapping date objects between PHP and Flex

2006-08-21 Thread Oriol Gual
And why dates are multiplied by 1000?2006/8/21, Renaun Erickson [EMAIL PROTECTED]: Oriol,My example is a little misleading, I will have to update it.Theissue at hand is a limitation of PHP.You have to handle the manualconversion your self and your method below is a perfect fit. As far as the

[flexcoders] Problem in populating data in textboxes from grid.

2006-08-21 Thread Renee
In the attached screen , update the name , give some very big name now try to navigate through records by clicking on the row. Notice valuse populating in name textbox is invisible. The problem is when we updated name with longer one cursor(pointer ) moves to right most position. Now the cursor

Re: [flexcoders] Re: AMFPHP: Mapping date objects between PHP and Flex

2006-08-21 Thread Marcelo de Moraes Serpa
And why dates are multiplied by 1000?That´s a good question :)Marcelo.On 8/21/06, Oriol Gual [EMAIL PROTECTED] wrote: And why dates are multiplied by 1000?2006/8/21, Renaun Erickson [EMAIL PROTECTED]: Oriol,My example is a little misleading, I will have to

[flexcoders] Re: ComplexType in WSDL with webservice not sending arguments

2006-08-21 Thread kaleb_pederson
Thanks Franck! Seth (at Adobe) responded here: http://groups.yahoo.com/group/flexcoders/message/47803 It looks like most of the problems I have been experiencing are because of the Document/Literal wrapped format that I'm using -- and given Seth's comments I would expect everything to work

[flexcoders] Upgradradation to flex 2.0

2006-08-21 Thread Renee
Hi, We have developed a big applicaiton using flex , java j2k tech. We have developed it using flex 1.5. Now we want to upgrade our application so that we can run it using flex 2.0. Can anybody help me in this area? What all I need to do to upgrade the whole application from 1.5 to 2.0 ver of

[flexcoders] Problems interpolating a BarChart

2006-08-21 Thread ben.clinkinbeard
I have a BarChart that is displaying its data correctly. I also have a combobox that, upon its change event, calls a function that repopulates the BarChart's dataProvider. The BarChart updates its display as expected, but if I try to set the showDataEffect attribute of any of the child BarSeries

[flexcoders] Re: Disabling a nested menu item in a menu bar?

2006-08-21 Thread Tim Hoff
Hi Jeff, You can handle this with binding. Something like this: menuItem label=File enabled={model.FileMenuEnabledFlags(0)} menuItem label=New enabled={model.FileMenuEnabledFlags(1)}/ menuItem label=Open enabled={model.FileMenuEnabledFlags(2)}/ menuItem label=Save

[flexcoders] Re: Disabling a nested menu item in a menu bar?

2006-08-21 Thread jeff tapper
unfortunately not, its populated dynamically at run time. Any other ideas on how to address a nested child of the menu? --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi Jeff, You can handle this with binding. Something like this: menuItem label=File

[flexcoders] multi-swf Flex 2 application. How to do it?

2006-08-21 Thread Marcelo de Moraes Serpa
With Flash, I used to develop my RIA in the following way:- Each ARP form in it's own .SWF file;- Each common/shared class library in it's own SWF file- MTASC Exclude files applied to every SWF file being compiled but the class libraries SWF files; - RSL to share common visual controls and

[flexcoders] Re: AMFPHP: Mapping date objects between PHP and Flex

2006-08-21 Thread Renaun Erickson
Ask the people that created Flash (the Date class), maybe they have a good reason for it. Renaun --- In flexcoders@yahoogroups.com, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: And why dates are multiplied by 1000? That´s a good question :) Marcelo. On 8/21/06, Oriol Gual [EMAIL

[flexcoders] Re: Disabling a nested menu item in a menu bar?

2006-08-21 Thread Tim Hoff
Bummer - sorry, Probably need to look at MenuBar.getMenuAt(index). -TH --- In flexcoders@yahoogroups.com, jeff tapper [EMAIL PROTECTED] wrote: unfortunately not, its populated dynamically at run time. Any other ideas on how to address a nested child of the menu? --- In

[flexcoders] Re: RE:comboBoxes with dynamic data as datagrid itemRenderers?

2006-08-21 Thread livinginswitzerland
I'm being bit by this same situation. Many of my datagrids will contain columns which need to be edited/rendered using a custom comboBox control. I want to create a reusable comboBox control that does what I think the comboBox should already do for me but doesn't. It seems to me the way to go

RE: [flexcoders] Re: Cairngorm2 SequenceCommand

2006-08-21 Thread Darren Houle
Thanks Tim, that's very cool. Quick question though... it looks like all it's doing is broadcasting an event... is there any difference between... 1. Defining the nextEvent and calling executeNextCommand to broadcast it... and 2. Creating a new CairngormEvent and dispatching it from the

RE: [flexcoders] Instantiating object in MXML

2006-08-21 Thread Daniel Thompson
Yes, you are right. But I implemented IMXMLObject interface. My class instantiates in the root of the component, but nowhere else. On the other hand native RadioButtonGroup that is also inherited from EventDispatcher, not UIComponent, could be instantiated even inside nested containers. Why

[flexcoders] Migration Action Script 2.0 and ActionScript

2006-08-21 Thread gubbi_manju
Hi I have requirement to build TreeTable using Flex 2.0. I found following blog http://www.cayambe.com/wordpress/?p=37, which has example written in Flex 1.5. I am having issues migrating code. can you please advise what are equivalent classes for mx.controls.listclasses.SelectableRow and

[flexcoders] Re: Disabling a nested menu item in a menu bar?

2006-08-21 Thread jeff tapper
Sadly, thats where the problems started for me. I'm able to get at the top level items, using getMenuAt or even using the menuItems array, but sadly, i cant seem to get a handle on the first child menu var myMenu:MenuBar = myMenuBar; var nextLevel:* = myMenu.getMenuAt(0); // throws error

Re: [flexcoders] multi-swf Flex 2 application. How to do it?

2006-08-21 Thread Carlos Rovira
Hi Marcelo,The best resource (I think) is Roger Gonzalez at:http://blogs.adobe.com/rgonzalez/This is a very needed topic when plan to build large applications. So it's imperative to continue researching the best way to get multi-module apps in a productive and easy way. Hope you get that link

[flexcoders] Re: Tree drag drop: how to get node where item is dropped

2006-08-21 Thread thunderstumpgesatwork
I'm glad it's not just me! So, were you able to get something working for your scenario? Anyone from the Adobe team want to confirm this and/or offer alternative solutions? thanks, Thunder --- In flexcoders@yahoogroups.com, Jason Y. Kwong [EMAIL PROTECTED] wrote: I've running into this

RE: [flexcoders] weather web service

2006-08-21 Thread Darren Houle
Don't know if they have *exactly* what you're looking for, but www.xmethods.net lists a bunch of web services. I quickly counted 9 different weather services (but didn't read them in any detail.) Darren From: Robin Burrer [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To:

RE: [flexcoders] Referencing ActionScript Project

2006-08-21 Thread Daniel Thompson
OK, I found a solution. The documentation reads: Projects within a workspace can refer to other Projects. [...] When you refer to other projects, dependencies are created that affect how your application is compiled. The Flex Builder compiler manages these dependencies for you and compiles each

RE: [flexcoders] Getting started with Cairngorm

2006-08-21 Thread Darren Houle
Not sure if this is it, but when I create my ModelLocator I always rename like public class AppModelLocator implements ModelLocator { so that my class and the Cairngorm base class aren't both named ModelLocator Like I said, not sure that would cause a circular reference or if there's

[flexcoders] Re: Cairngorm2 SequenceCommand

2006-08-21 Thread Tim Hoff
Hi Darren, Not really any difference. In fact the SequenceCommand is doing just that - broadcasting a new CairngormEvent. The only advantage from using executeNextCommand may be readability. The word Next implies a synchronous action. Besides that you're absolutely correct. -TH --- In

Re: [flexcoders] multi-swf Flex 2 application. How to do it?

2006-08-21 Thread Marcelo de Moraes Serpa
Thanks a lot for the link Carlos! That´s just what I needed :)Marcelo.On 8/21/06, Carlos Rovira [EMAIL PROTECTED] wrote: Hi Marcelo,The best resource (I think) is Roger Gonzalez at:http://blogs.adobe.com/rgonzalez/ This is a very needed topic when plan to

[flexcoders] Re: Is it possible to add ControlBar container runtime?

2006-08-21 Thread thunderstumpgesatwork
You're going to need to set some properties on the ControlBar I think... Are you actually putting anything in the control bar? Set the size appropriately (either percentage or explicit) Possibly set some styles... either by CSS using .styleName or by .setStyle() Also might try calling

RE: [flexcoders] How to set EventListeners to undrawn components on a ViewStack?

2006-08-21 Thread Gordon Smith
If you feel that it is important to separate MXML and ActionScript, I suggesting writing MXML event attributes like this mx:Button id=okButton label=OK click=okButton_click(event)/ and then implementing okButton_click() in a separate .AS file that you bring in using

[flexcoders] Re: Getting started with Cairngorm

2006-08-21 Thread ben.clinkinbeard
This is what mine looks like: [Bindable] public class ModelLocator implements com.adobe.cairngorm.model.ModelLocator { protected static var modelLocator:com.domain.projects.PSA.model.ModelLocator; And then my getInstance() method: public static function

RE: [flexcoders] How to cast a WebService lastResult when CFC returnType=xml

2006-08-21 Thread Darren Houle
Bump?? Darren From: Darren Houle [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] How to cast a WebService lastResult when CFC returnType=xml Date: Fri, 18 Aug 2006 23:08:44 -0400 I have a ColdFusion Component (web service) that

Re: [flexcoders] Re: Tree drag drop: how to get node where item is dropped

2006-08-21 Thread Jason Y. Kwong
I had posted a request to Adobe's wish form, asking that the drop data be made available. I got a very quick response (within 10 minutes!):Yes, we discovered this very soon after shipping that this data should have been exposed. We have a bug for this already logged internally, sowe will work

[flexcoders] Re: Disabling a nested menu item in a menu bar?

2006-08-21 Thread Tim Hoff
I see what you mean Jeff. There used to be a getMenuItemAt() function (myMenu.getMenuAt(0).getMenuItemAt(1).enabled = false), but it looks like it has been depreciated. Sorry for wasting your time. You can always modify the enabled attributes in the dataProvider, after the xml has loaded.

[flexcoders] Re: Issue with dates from Flex to MySQL

2006-08-21 Thread gotgoose09
I checked and it is set to SYSTEM. My timezone is EST while the server's is CST, so I don't think that could set it off by a day. (CST is one hour behind EST) --- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote: Have you checked the default time zone setting in the database ?

[flexcoders] Searching for a Flex Developer with UI experience

2006-08-21 Thread ben kaplan
Hello, I am looking for an engineer/ developer with experience with Flex, as well as UI development experience. The company is a leader in the SOA industry with tier one venture capital backing and a great, proven management team. Much of the software has been coded in Java, and they are looking

[flexcoders] Sending DataGrids data (columns) as POST variable - HOW TO?

2006-08-21 Thread kwdowicz
How to send DataGrids Columns as POST variable in case this method ?: dgTodo is instance of DataGrid reqTodos is instance of HTTPService mx:Model id=alldone root actionalldone/action alldone{dgTodo.columns}/alldone /root /mx:Model reqTodos.send(alldone); in my $_POST

RE: [flexcoders] How to cast a WebService lastResult when CFC returnType=xml

2006-08-21 Thread Amy
Try:web service name.method.lastResult.methodResult.top xml.xml childrenThis works for me with .NET web services that return XML. Darren Houle [EMAIL PROTECTED] wrote: Bump??DarrenFrom: "Darren Houle" [EMAIL PROTECTED]comReply-To: [EMAIL PROTECTED]ups.comTo: [EMAIL

[flexcoders] Re: Issue with dates from Flex to MySQL

2006-08-21 Thread gotgoose09
Through further investigation, I have found the reason why the dates are stored wrong. When I first go in my Flex App to create select a date, I set my DatePicker's selectedDate to {new Date()}. This causes today to be selected and the current time to be in the selectedDate variable. If I don't

[flexcoders] Re: Issue with dates from Flex to MySQL

2006-08-21 Thread gotgoose09
Oops, I meant to say DateField. --- In flexcoders@yahoogroups.com, gotgoose09 [EMAIL PROTECTED] wrote: I checked and it is set to SYSTEM. My timezone is EST while the server's is CST, so I don't think that could set it off by a day. (CST is one hour behind EST) --- In

[flexcoders] FlexBuilder2 - errors and crashes with internal help/docs

2006-08-21 Thread Barry Beattie
it looks like the same error as this: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg37191.html but sadly the fix didn't work It's sometimes so bad that I get no response or errors and shuts down stand-alone version of FB2 Flex Builder 2 Core Version: 2.0.143459 Flex Builder 2

Re: [flexcoders] Searching for a Flex Developer with UI experience

2006-08-21 Thread ryanm
I am looking for an engineer/ developer with experience with Flex, as well as UI development experience. The company is a leader in the SOA industry with tier one venture capital backing and a great, proven management team. Much of the software has been coded in Java, and they are looking to

RE: [flexcoders] scrolling issue in flex

2006-08-21 Thread Dimitrios Gianninas
Save the value of the vPosition property in a variable and reset it once done. Dimitrios Gianninas Optimal Payments -Original Message- From: flexcoders@yahoogroups.com on behalf of bhargavi L Sent: Mon 8/21/2006 7:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] scrolling

[flexcoders] Choice of backend systems - which provides best functionality

2006-08-21 Thread rhlarochelle
I am new to Flex 2, and have the opportunity to develop a new application. Given all of the choices of back end technology out there (J2EE, Coldfusion, PHP), which will provide for the richest user experience? It seems that leveraging J2EE and Java gives the best potential for sharing objects

[flexcoders] BUMP: any work-arounds? (DateField... BUG with DateChooser (picker) control)

2006-08-21 Thread barry.beattie
it *tries* to displays it but disapears, so I'm hoping there might be a work-around (apart from moving the datagrid layout and/or size around) --- In flexcoders@yahoogroups.com, barry.beattie [EMAIL PROTECTED] wrote: well, I reckon it's a bug: when using DateField as an itemRenderer in a

[flexcoders] Re: RE:comboBoxes with dynamic data as datagrid itemRenderers?

2006-08-21 Thread livinginswitzerland
Well, i think i understand why the undefined property message appears. The compiler creates a class during compilation to represent the itemRender for the dataGridColumn, and any properties you set in the inline mxml code get placed in this class, but this class has no reference to the

[flexcoders] Re: Searching for a Flex Developer with UI experience

2006-08-21 Thread ben kaplan
--- In flexcoders@yahoogroups.com, ben kaplan [EMAIL PROTECTED] wrote: Hello, I am looking for an engineer/ developer with experience with Flex, as well as UI development experience. The company is a leader in the SOA industry with tier one venture capital backing and a great, proven

[flexcoders] drag and drop from a grid to an image..

2006-08-21 Thread ldyhwke24
Hi all. I figured out how to drag and drop between grids, that was rather simple. But, I'm having difficulty getting the drag 'n drop between a grid and an image. On the grid side of things, it seems rather simple; but on the image side of things, I'm not quite sure how to implement this.

[flexcoders] Cairngorm and MVC: Quickie

2006-08-21 Thread lostinrecursion
Hi all. Just wondering if I have figured this out correctly. In an MVC/Cairngorm application, it is ok to have as many models as I determine based on my data needs. Then, I would have one ModelLocator class (which extends the core Cairngorm one) mapping to each model and instantiating variables

RE: [flexcoders] Cairngorm and MVC: Quickie

2006-08-21 Thread Bjorn Schultheiss
Yes, although i have heard of succesful implementations that use more than 1 controller and locator. I think that, that is the idea until it doesn't satisfy your requirements anymore Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com

RE: [flexcoders] Cairngorm and MVC: Quickie

2006-08-21 Thread Darren Houle
Yup, you got it. To be even more specific... 1:N Views A) bind to data in the 1 ModelLocator (which contains 0:N Models/VO's) and B) broadcast 1:N Events to the 1 FrontController which maps Events to 1:N Commands which may create 0:N Delegates which trigger 0:N Services (using

[flexcoders] Webservice Destination with Basic Authentication

2006-08-21 Thread someguy7_7
I need to be able to connect to a webservice that requires basic authentication. From what I can tell I need to define a destination in the proxy-config.xml, set the webservice destination to the newly defined destination, and use Webservice.setCredentials(user,pass) to setup who to login as. Is

[flexcoders] Weird namespace/compiler error in FB2

2006-08-21 Thread RBullotta
Here's the quick summary: I have a custom MXML component defined in a package aaa.bbb.ccc (and the folder is aaa\bbb\ccc. If I reference it from an MXML application located in the project's root directory, all is good, using something like: mx:Application xmlns:MyStuff=aaa.bbb.ccc.*...

RE: [flexcoders] Cairngorm and MVC: Quickie

2006-08-21 Thread Dimitrios Gianninas
Start off with one model for your app and as your application grows, you will probably see the need to refactor. At that time, create a second model and so on and so forth. Just to give u a quick idea, I have 3 models in my current project: BizModel - hold main data that actually goes

[flexcoders] Dynamic topic creation with Flex messaging?

2006-08-21 Thread klumikaze
Looking for information on how to have a Flex application request a queue destination (or topic) that was not created at configuration level (i.e. created at run time in ActiveMQ via Java). Does Flex have the capability of accessing queues it didn't know of at compile time? Thanks for any

[flexcoders] StyleManager

2006-08-21 Thread phildouglas
Hey all. I'm having problems with setting styles progrmatically. When I do the following: applicationControlBarDeclaration.setStyle(fillAlphas, [1,1]); applicationControlBarDeclaration.setStyle(fillColors, [0xFF,0xFF]);

  1   2   >