Re: [flexcoders] QTP plug in?

2007-01-15 Thread João Fernandes
Dimitrios, http://www.adobe.com/cfusion/tdrc/index.cfm?loc=en%5Fusproduct=flex download the Flex Automation Package (bottom of the page). João Fernandes On 14/01/07, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Hi, Has anyone found the QTP plug in after installing Flex Builder 2.0.1 or

[flexcoders] Re: How to have datagrids with different filterfunction for a single dataprovide

2007-01-15 Thread phipzkillah
Daniel, I believe it's possible to do this with one array collection. Set up 3 datagrids with the dataprovider set to your array collection variable. For each datagrid specify the columns you want to be displayed: mx:columns mx:Array

[flexcoders] flexbuilder 2.01 (windows version) CTRL + TAB keys

2007-01-15 Thread bhaq1972
in flexbuilder 2 CTRL+TAB would allow you to move between any opened files. In this new version this is no longer the case. does anyone know what the new key combination is? thanks

RE: [flexcoders] Re: How to have datagrids with different filterfunction for a single dataprovide

2007-01-15 Thread Stembert Olivier \(BIL\)
I think Daniel wants to filter the rows. I don't see any solution except to duplicate the original one... Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of phipzkillah Sent: Monday, January 15, 2007 10:56 AM To:

[flexcoders] Re: ComboBox ItemEditor

2007-01-15 Thread bhaq1972
Not sure if this is even possible, but in any case, I can't seem to find anything that can listen to a dispatched event from the editor. I've tried listening for the event on the datagrid, the datagrid column, and the component containing the datagrid... all giving errors. Is this not

Re: [flexcoders] making an entire hbox item linkable?

2007-01-15 Thread Tom Chiverton
On Sunday 14 January 2007 09:11, [EMAIL PROTECTED] wrote: One solution I can think of is : set the buttonmode of HBox to true and on click open the url. buttonMode=true click=navigateToURL(new URLRequest('www.yahoo.com '),'_blank') That's clickable, not linkable :-) -- Tom Chiverton Helping

[flexcoders] Re: Adding a row at bottom in datagrid with total of all other rows

2007-01-15 Thread greenfishinwater
Janis, I haven't tried this in Flex, but I had a similar problem years ago with VB, where I wanted the total of all the rows to always be the last row displayed in the grid. As you know scrolling in the grid is the problem. So the easy solution is to create a second grid that has a single row,

Re: [flexcoders] should cairngorm commands call other commands.

2007-01-15 Thread Tom Chiverton
On Monday 15 January 2007 00:05, Robin Burrer wrote: I started sending new cairngorm events in the on result method of my commands but actually I find this approach rather messy. This comes up all the time on the list. The default answer is now 'search the archive' I think :-) -- Tom

Re: [flexcoders] Data Binding warning -- PHP, Weborb for PHP

2007-01-15 Thread Tom Chiverton
On Sunday 14 January 2007 20:57, jason_panko wrote: Any suggestions? Mark the data provider variable [Bindable]. -- Tom Chiverton Helping to simultaneously monetize synergistic patterns This email is sent for and on behalf of Halliwells

Re: [flexcoders] how to draw over an image

2007-01-15 Thread Tom Chiverton
On Friday 12 January 2007 12:10, dodger6135396 wrote: Please is this even possible?. Is there a technique for doing this?. Have a look at the Graphics class on LiveDocs. Most objects have a graphic property to give you an initial handle on the canvas. -- Tom Chiverton Helping to

Re: [flexcoders] Minimized Panel

2007-01-15 Thread Tom Chiverton
On Friday 12 January 2007 15:24, Pavel Zabelin wrote: Hi all! People have you any idea how to develop Panel that have minimize functionality? Add a button to the title bar that sets a new height and set of co-ordinates, I'd imagine. -- Tom Chiverton Helping to appropriately customize

Re: [flexcoders] datagrid row moves up to the header when scrolled?

2007-01-15 Thread Tom Chiverton
On Friday 12 January 2007 14:39, arpan srivastava wrote: I am facing lot of problem with datagrid. In my datagrid i have area chart in each cell. When i scroll the datagrid down, then first row moves upto the header instead of disappearing and extra comes from down, Are you using custom

Re: [flexcoders] Cairngorm VO question

2007-01-15 Thread Tom Chiverton
On Sunday 14 January 2007 00:56, Kevin wrote: public var bookList: BookListVO; However, I am having problems extending the ArrayCollection class You can use meta data hints ([]) to indicate the types an ArrayCollection contains. -- Tom Chiverton Helping to dramatically streamline end-to-end

[flexcoders] FDT + FlexBuilder

2007-01-15 Thread Lieven Cardoen
I installed FlexBuilder plugin for Eclipse, and now .as files are allways opened with the actionscript editor from Flex, and no longer with FDT. Perspective is set to Flash, and I thought FDT was associated with that perspective. Please help me with this, because AS2 files opened with

[flexcoders] SVN ( Subversion ) and Flex Builder

2007-01-15 Thread Jerome Clarke a.k.a sinatosk
This is what I do when I come to create a new Flex project using Adobe Flex Builder and Subversion - I create a temporary directory and inside that directory I create 3 more called 'branches', 'trunk' and 'tags' - I create a Flex project for example Gallery - I then create a new repository in

[flexcoders] scrollToIndex just won't work ... any workarounds ?

2007-01-15 Thread amigo_fd
Hello, Any ideas why scrollToIndex won't work ? Tried it on a tilelist, datagrid, ... all without any result. Not even an error message ! This works, as the last item is selected in the tilelist: tlProductsSearchResults.selectedIndex = tlProductsSearchResults.dataProvider.length - 1; But

[flexcoders] Can we some how create HTML table in Flex

2007-01-15 Thread KP
Hi All, As per the subject line .Can we create the html table structure as given below in FLEX using htmlText attribute of text area. I know that FLEX does not support table tag of html to be used in htmlText attribute of TextArea.But can we some how achieve this. Any approach will help.

[flexcoders] Re: sort datagridcolumn on numeric field - use sortCompareFunction ?

2007-01-15 Thread amigo_fd
any ideas on how to do this with sortCompareFunction ? --- In flexcoders@yahoogroups.com, amigo_fd [EMAIL PROTECTED] wrote: Hello, it looks like all data in a datagrid is treated as text. So if you sort a column with only numeric fields it is sorted on the value of the textual contect,

[flexcoders] Re: Filters with DataGrid - Excel

2007-01-15 Thread sanjaypmg
Hi, I have tried to get column index in my testCombo.mxml by importing mx.controls.dataGridClasses.DataGridListData But I am not able to get column index or column name. Could anyone please help me? so that i can complete the task and populate code for all. Thanks, Sanjay sharma --- In

[flexcoders] Flex Data Services Half off?

2007-01-15 Thread girardklly
FYI! I came across an eBay auction for Flex Data Services today. It appears they are selling it for half off or best offer. If anyone is looking to purchase Flex Data Services for cheap this might be a good opportunity. :D Adobe Flex Data Services 2- Enterprise Edition

Re: [flexcoders] should cairngorm commands call other commands.

2007-01-15 Thread Ben Yee
Hi Robyn, Another way you can do this is by extending your class to use the SequenceCommand That way you can set your next command in your constructor and call this on your're command result check out

Re: [flexcoders] making an entire hbox item linkable?

2007-01-15 Thread
Tom, read the mail sent by Kasey in reply to your email. He wrote: yeah, ive seen that -- its not quite what i need...i need to make the entire thing clickableit seems the history manager is just for enabling the browsers back and forward buttons to work...again, i just need to make the

[flexcoders] Problem with web services over SSL in Internet Explorer

2007-01-15 Thread d_kornas
Hi Can anyone help with configuration of SSL in flex application that connects to web services over https? Actually, I have the problem with Internet Explorer (in Firefox it's all OK), because every time I load my flex client I recieve an error message saying: [RPC Fault faultString=HTTP request

[flexcoders] How to get message from server exceptions in flex client application

2007-01-15 Thread d_kornas
Hi I'm developing some client-server application. The client is made in flex and server is written in Java using xFire (http://xfire.codehaus.org/) SOAP framework which helps me to create and expose web services which are called by my client. My problem is when the web service throws an

RE: [flexcoders] QTP plug in?

2007-01-15 Thread Dimitrios Gianninas
Ahh perfect, just missed that, thanks! Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João Fernandes Sent: Monday, January 15, 2007 3:49 AM To: flexcoders@yahoogroups.com

[flexcoders] title window on app first run

2007-01-15 Thread jonalexander370
Hello, Am very new to Flex am trying to have the first web page view being a primary login / registration TitleWindow with the main application as a fuzzy background. 1. Upon arrival at our web page at http://www.e-revenues.com the first view would be a login / register page with an

RE: [flexcoders] should cairngorm commands call other commands.

2007-01-15 Thread Grant Davies
This looks like a command sequencer function: http://www.cairngormdocs.org/docs/cairngorm_2_1/com/adobe/cairngorm/comm ands/SequenceCommand.html not sure if that's available in the version you are using. ... b l u e t u b e i n t e r a c t i v e. .:

[flexcoders] Two ChartElement extension classes that catch MouseDowns (Charting)

2007-01-15 Thread g_odds
I have created two classes that extend ChartElement, one for zooming and one for panning. Both work as wanted if applied separately to a chart using the annotationElements. However, if I apply both only one of the two will ever catch a MouseDown rather than both. I worked out how to implement

[flexcoders] Re: Getting a node to accept dropped nodes in a tree

2007-01-15 Thread nathanbrown19
Chris, Read up on XML first, then try this XML structure root node1/ node2/ node3/ node4/ node5/ node6/ node7/ /root --- In flexcoders@yahoogroups.com, chrislpigg [EMAIL PROTECTED] wrote: Here is my xml structure. node node1 node2 node3 node4 node5 node6 node7 /node I'm

[flexcoders] Urgent :: Custom Serialization exception

2007-01-15 Thread
I am using Custom Serialization to serialize my Java Object (TreeNode class) recursively to ActionScript. But this fails giving the following exception: ArgumentError: Error #2004: One of the parameters is invalid. at flash.utils::ObjectInput/readObject() at

[flexcoders] Updating a DataService fill

2007-01-15 Thread spirit_ryder2k
Hi, I'm writing a small forum application which uses multiple DataService destinations. In my CategoryDS destination I fill a datagrid with a list of forum categories and each category has a property which keeps track of the number of threads in it. In my ThreadDS destination I retrieve a

RE: [flexcoders] Problem with viewstack in Flex 2.0 ActionScript not search element by id.

2007-01-15 Thread Dimitrios Gianninas
Careful however, by putting creationPolicy to all you will slow down the startup time of your app because it will have to create everything on every view, including the ones currently not displayed. Now in your sample app below this wont be visible, but in a larger app this will become

RE: [flexcoders] Can we some how create HTML table in Flex

2007-01-15 Thread Dimitrios Gianninas
If you are just looking to display a list of names (or items actually) use the List control. In the Flex world, we forget about Table tags, all bad :) Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] Can we some how create HTML table in Flex

2007-01-15 Thread Marc Donkers
Hi KP, Depending on your wishes, you can use a grid, in combination with a repeater. Greetz, Marc On 1/15/07, KP [EMAIL PROTECTED] wrote: Hi All, As per the subject line .Can we create the html table structure as given below in FLEX using htmlText attribute of text area. I know that

[flexcoders] Re: Minimized Panel

2007-01-15 Thread jocflex
Hi, in our most recent project we managed panels/windows with STATES Just set up a default state and a minimised state, then set the currentState from a button action. Also you can then use transitions to smooth the change. Joc Hi all! People have you any idea how to develop Panel that have

Re: [flexcoders] SVN ( Subversion ) and Flex Builder

2007-01-15 Thread Kevin
This is what I do: 1) create a new Flex Project in Flex Builder 2) right-click on the flex project and select Team - Share Project 3) choose SVN 4) either create new repository location or use existing (up to you) 5) choose 'specified folder name' and type: projectname /trunk 6) follow the

Re: [flexcoders] Some AS3 component troubles

2007-01-15 Thread Michael Schmalle
Hi, Looking at your code, you might want to try searching the Flex Docs for component creation and component life cycle. It's a huge no-no what you are doing in the constructor. 1. Never create instances in a constructor(createChildren()). 2. Never call addChild in a constructor

Re: [flexcoders] Some AS3 component troubles

2007-01-15 Thread Ralf Bokelberg
Hi Janis Your component looks very different from a common Flex component. Flex components follow a certain structure to create sub instances and update their ui. I don't remember the url, but i think you can find some introductory tutorials about Flex component development at Adobe's website.

Re: [flexcoders] Cairngorm VO question

2007-01-15 Thread Kevin
thanks. that helped. On Jan 15, 2007, at 6:30 AM, Tom Chiverton wrote: On Sunday 14 January 2007 00:56, Kevin wrote: public var bookList: BookListVO; However, I am having problems extending the ArrayCollection class You can use meta data hints ([]) to indicate the types an

Re: [flexcoders] Some AS3 component troubles

2007-01-15 Thread Janis Radins
Thankyou both for answers. You finally gave me some pointers to explore. 07.15.1 Ralf Bokelberg [EMAIL PROTECTED] rakstīja: Hi Janis Your component looks very different from a common Flex component. Flex components follow a certain structure to create sub instances and update their ui. I

[flexcoders] Cairngorm ServiceLocator error

2007-01-15 Thread Kevin
has any one receieved this error when using the Cairngorm ServiceLocator? ReferenceError: Error #1069: Property myListService not found on com.adobe.cairngorm.business.ServiceLocator and there is no default value. Here is my code: (in Delegate file) this.service =

[flexcoders] Compiling problems

2007-01-15 Thread Webdevotion
Hey Coders, When I compile a working AS3 project I occasionally run into a very very time consuming and strange error. TypeError: Error #1009: Cannot access a property or method of a null object reference. at be.webdevotion.lnb.view.slideshow::Slideshow/resizeHandler

[flexcoders] Interface class for states?

2007-01-15 Thread Van De Velde Hans
Hi, is there a way to use an interface class to define a minimum sets of states in an MXML component? For example, I need to be sure that every portlet (a component extending the Canvas) has at least these states: mx:State name=minimized /mx:State mx:State name=maximized /mx:State

Re: [flexcoders] Re: Minimized Panel

2007-01-15 Thread Pavel Zabelin
Will the Panel dimensions change if I use its State and put it into VDividedBox or like this?

[flexcoders] Cairngorm Duplicate Remote Object Return Events

2007-01-15 Thread Battershall, Jeff
I've got a delegate class making a remote object call using CF 7.02 as the backend. What I'm seeing is that I'm getting duplicate return events coming over for a single delegate instance. If I invoke the remote object once, I get the result event once. If I invoke the RO again, I get the result

[flexcoders] Delete Components after RemoveChildAction (Flex2)

2007-01-15 Thread thuijzer
After a RemoveChildAction in a Transition I would like to remove the removed Components from the memory. Can someone tell me how this is done best? I am new to Flex and cannot find anything about this topic. Thank you.

Re: [flexcoders] Firefox/PC and Key.isDown()

2007-01-15 Thread Daniel Freiman
take a look at http://www.senocular.com/flash/actionscript.php, specifically com.senocular.utils.KeyObject. Does the Key class even work still? It's not documented. I'd like to know where you read that it was still working. - Dan On 1/14/07, fattymelt [EMAIL PROTECTED] wrote: I have

Re: [flexcoders] Increasing / Decreasing Font Sizes

2007-01-15 Thread Daniel Freiman
i think you'd have to do this manually. You could keep track of each text component and iterate through them or you could recursively iterate through all of the children of the application (which would probably be slow). Other than that, I think you're out of luck. - Dan On 1/14/07, Bruce

[flexcoders] HDivideBox

2007-01-15 Thread Lieven Cardoen
Hi guys, Is there a way to have a HdivideBox, but where the right part can be opened and closed. I need a property kind of thing on the right which the user can open and close + resize so that properties width gets bigger/smaller. Thx, Lieven Cardoen Lieven Cardoen Application

RE: [flexcoders] Can we some how create HTML table in Flex

2007-01-15 Thread Van De Velde Hans
The gridlayout behaves like an HTML table: check the help for mx.containers.Grid,mx.containers.GridItem mx.containers.GridRow -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Webdevotion Sent: maandag 15 januari 2007 15:52 To:

[flexcoders] Re: Minimized Panel

2007-01-15 Thread jocflex
Hi, yes, you can resize the panel, add and remove components and make many other changes from state to state. Joc Will the Panel dimensions change if I use its State and put it into VDividedBox or like this?

Re: [flexcoders] Interface class for states?

2007-01-15 Thread Webdevotion
Hey Hans, Look at this blogpost: http://casario.blogs.com/mmworld/2006/08/implementing_in.html succes ermee ; )

Re: [flexcoders] Re: Minimized Panel

2007-01-15 Thread Pavel Zabelin
Some misunderstanding :(. I mean that I dont want that Panel change its size when its STATE is minimized in any parent container. yes, you can resize the panel, add and remove components and make many other changes from state to state.

[flexcoders] Re: RTE when using itemRenderers in DataGrid.

2007-01-15 Thread michael_ramirez44
--- In flexcoders@yahoogroups.com, Jim Robson [EMAIL PROTECTED] wrote: Here you go: http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform I have submitted this bug via the WishForm on Jan 10 but I have not recieved any response back not even an auto-response. Is there another place

[flexcoders] Re: making an entire hbox item linkable?

2007-01-15 Thread kasey.mccurdy
thanks man -- this worked like a charm -- damn, i hate being a n00b. --- In flexcoders@yahoogroups.com,[EMAIL PROTECTED] wrote: One solution I can think of is : set the buttonmode of HBox to true and on click open the url. buttonMode=true click=navigateToURL(new

Re: [flexcoders] SVN ( Subversion ) and Flex Builder

2007-01-15 Thread Jerome Clarke a.k.a sinatosk
Thanks for that. didn't know you could do it that way. Much quicker and easier :p On 1/15/07, Kevin [EMAIL PROTECTED] wrote: This is what I do: 1) create a new Flex Project in Flex Builder 2) right-click on the flex project and select Team - Share Project 3) choose SVN 4) either create

RE: [flexcoders] Cairngorm ServiceLocator error

2007-01-15 Thread jason.proulx
Make sure you have: business:Services id=serviceLocator / in your main Application file. Jay Proulx [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Sent: January 15, 2007 9:26 AM To:

Re: [flexcoders] Compiling problems

2007-01-15 Thread Webdevotion
Ok, I found a way to reproduce my problem. Create a new project. Add a new child ( eg: a Car class which extends Sprite ). Inside the Car class, try to access stage. eg: var w:Number = stage.stageWidth; From that moment on, your app fails to compile, even after removing the stage.stageWidth

Re: [flexcoders] Cairngorm Duplicate Remote Object Return Events

2007-01-15 Thread Tom Chiverton
On Monday 15 January 2007 15:02, Battershall, Jeff wrote: behavior? I can work around it, sure, but I don't think I should have to. No, you're right, this is wrong :-) Firstly, set the log level at the bottom of your ColdFusion servers services-config.xml to 'debug' and restart ColdFusion.

[flexcoders] My Blog in Flex .. design challenges

2007-01-15 Thread mrinal.wadhwa
I am developing my homepage/blog in flex and designing the blog is presenting a lot of design challenges. Here's one of them... I don't particularly like scroll bars, especially not more that one on a page. I'd appreciate if all the design experts on this list could suggest on how a flex blog

RE: [flexcoders] Interface class for states?

2007-01-15 Thread Van De Velde Hans
Thanks for your reply, but this is not exactly what I need... :-} What I need is an (exotic) way to force the presence of certain states in a MXML component. For example we're developing www.belgacom.tv http://www.belgacom.tv in group and I want to make sure that everyone extending the

Re: [flexcoders] Cairngorm ServiceLocator error

2007-01-15 Thread Kevin
of course!!! Thanks. It's always something simple. I had commented that part out when i was testing some stuff and I forgot to uncomment it. - Kevin On Jan 15, 2007, at 10:44 AM, [EMAIL PROTECTED] wrote: Make sure you have: business:Services id=”serviceLocator” / in your main

[flexcoders] Re: Minimized Panel

2007-01-15 Thread jocflex
Hi, then don't change the size when you set up the minimised state. It's up to you how the different states act and look. If you aren't changing the size how is it going to be minimised? Joc Some misunderstanding :(. I mean that I dont want that Panel change its size when its STATE is

[flexcoders] Re: Getting a node to accept dropped nodes in a tree

2007-01-15 Thread chrislpigg
I couldn't find anything in the xml documentation that explains about not being able to drop nodes onto nodes that aren't a branch. This functionality has to do with the tree and the drag and drop capability. My Tree's properties are set to : dragEnabled=true dropEnabled=true Any Thoughts?

[flexcoders] Flex Data and Hibernate issue (identity mapping)

2007-01-15 Thread ripe101
Hello, I'm trying to integrate FDS and Hibernate, I've gotten it mostly working, but I have one remaining issue... I Have FDS running on JBoss 4.0.5GA, with hibernate 3. I've got all the bits working except the (hibernate) id field is not coming across to Flex. All of the other fields come

Re: [flexcoders] Simple Question

2007-01-15 Thread Webdevotion
Hey Saeed, Did you declare the variables correctly ? You have put this code outside your class: *fileRef.addEventListener(Event.SELECT , selectHandler); fileRef.addEventListener(Event.COMPLETE , completeHandler); fileRef.browse();* Put those lines inside your constructor and those errors will

[flexcoders] Mouse Events

2007-01-15 Thread john_69_11
I am noticing that when I have handlers on mouseDown, mouseUp and Click all three of these events are fired (in that order) no matter what i do. If i click on the object and hold it down for awhile the Click event is fired (as well as the others). If i click the object quickly all three events

RE: [flexcoders] Flex Data Services Half off?

2007-01-15 Thread Carson Hager
I would be very careful with this. Most software products EULAs do not allow the end user to transfer the license under any circumstances except for when the licensee has been acquired by another entity. I don't know about the FDS license but I would definitely look into this first. Carson

[flexcoders] Re: Interface class for states?

2007-01-15 Thread jocflex
Hi, could you use the constructor of the superclass (GeneralPortlet) to check that it has those states? Joc What I need is an (exotic) way to force the presence of certain states in a MXML component.

[flexcoders] Newbie asks why Flex?

2007-01-15 Thread mabrams_us
I write to solicit some recommendations as to why one should invest in learning Flex as a career move opposed to focusing on other technologies. I am a Sr. mainframe database applications developer / architect who returned to school FT as a web programming student. My technical exposure and

Re: [flexcoders] Re: Minimized Panel

2007-01-15 Thread Pablo
Well. I have instance of Panel with some minimized button. Then I click on this button executes script this.height=30 (where this is a Panel's instance). But this Panel instance placed with other Panel instance in VDividedBox and when I drag divider minimized Panel's instance became unminimized.

RE: [flexcoders] Cairngorm Duplicate Remote Object Return Events

2007-01-15 Thread Battershall, Jeff
Tom, That's good advice, thanks. I'm going to try that but some client side debugging indicates only one call is being made per delegate instance, but I'm getting back duplicate results. One theory I have about what 'might' be happening is that before I make my servce call, I'm adding event

[flexcoders] Re: Combobox Display issues

2007-01-15 Thread Rick Schmitty
bump On 1/11/07, Rick Schmitty [EMAIL PROTECTED] wrote: Hi all, I'm having some wierd display issues when using a font in a combo box. Things dont pop up where they should or appear in doubles (aside from the intentional repeating) Here is the snippet ?xml version=1.0 encoding=utf-8?

RE: [flexcoders] Doesn't work :/

2007-01-15 Thread Tracy Spratt
First trace(xmlResult.toXMLString()); to make sure you have the xml you expect. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Sent: Thursday, January 11, 2007 11:32 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: Help sifting through XML (from HTTPService) with a foreach loop [new to Fle

2007-01-15 Thread Tracy Spratt
If you want to use Object, then you were on the right track, looking for an array of objects in a property, you'll just need to debug to see how Flex has converted the xml onto the nested object structure, to determine the reference. And don't mix the operators. .. is an e4x operator and can't

[flexcoders] New To Flex -- Autoincrement a variable?

2007-01-15 Thread David Steele
This is very easy to do in earlier versions of AS but I can't see how to do it in Flex. I want to autoincrement a variable and display it in a textbox. In earlier versions of AS I'd just put an onEnterFrame and increment a variable. Can anyone tell me how to do this?? Thanks, David

RE: [flexcoders] Yes it does! Thanks + Sorry

2007-01-15 Thread Tracy Spratt
Also, you can use index loops with XMLList, which will give you control over the order if that is important: for (var i:int=0;ixmData().length;i++) xmlCurNode = xmlData[i] Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex

[flexcoders] what control does flow layout in flex ?

2007-01-15 Thread Berthelot
Hi, VBox and HBox are not good enough for me. I'd like to do flow layout so that controls added dynamically to a container are positionned from left to right, then if the right-end of the container is reached, it starts again below. This is so easy to do in java or in css/html, there must be a

[flexcoders] How to recurse through XML Structure?

2007-01-15 Thread chrislpigg
I'm using Ex4 and am trying to recurse through an xml structure. Here is my structure except on a much smaller scale. root set category id=1 node id=1/ node id=2/ node id=3/ node id=4/ node id=5/ /category category id=2 node

Re: [flexcoders] Cairngorm Duplicate Remote Object Return Events

2007-01-15 Thread Martin Wood-Mitrovski
One theory I have about what 'might' be happening is that before I make my servce call, I'm adding event listeners for the result/fault and these may be duplicate ones, because the remote object instance is being persisted in ServiceLocator. However, I tried explictly removing the listeners

[flexcoders] Cairngorm support for Flex 2.0.1 modules?

2007-01-15 Thread Tom Baggett
Hello all, I'm evaluating the new module interface in the Flex 2.0.1 update and have some questions in regards to Cairngorm-architected apps. Does anyone have recommendations on how you would slice up a Cairngorm-based Flex app into modules? For example, the ModelLocator- and

RE: [flexcoders] How to handle server side errors on the UI

2007-01-15 Thread Tracy Spratt
I catch all server-side exceptions on the server, and write them into the xml I return to the client. The client resulthandler looks at the xml to determine if it is good data or an error and responds appropriately. For the few occasions where the server app itself errors, I use a fault handler.

RE: [flexcoders] Re: Combobox Display issues

2007-01-15 Thread Peter Watson
Rick, Try calling the setStyle() in the updateDisplayList() function rather than creationComplete. creationComplete will only get called once - but the cell is rendered multiple times when you scroll so you'll end up with intermittent results like you are seeing.

RE: [flexcoders] Updating a DataService fill

2007-01-15 Thread Jeff Vroom
Try changing your code to: DataServiceTransaction dtx = DataServiceTransaction.getCurrentDataServiceTransaction(); dtx.refreshFill(CategoryDS, null); You also don't want the dtx.commit() in there. The basic problem is that when your createItem call is made, the

RE: [flexcoders] How do you get the color changed for a Radio Button Label for mouseOnRollOver ?

2007-01-15 Thread Tracy Spratt
I wa going to send you to the styleExplorer, which is usually great for this kind of question, but It soes not seem to address the radio button! Here is the link anyway: http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplo rer.html Other than that all I can suggest is the

[flexcoders] show he vertical scroll bar of any container/control on the lft hand side

2007-01-15 Thread saha.prasanta
is it possible to show he vertical scroll bar of any container/control on the left hand side. Can we override any protected method to do the same??

Re: [flexcoders] Re: Interface class for states?

2007-01-15 Thread Webdevotion
If you are the creator of the Portlet, why not implement those states yourself ? On the state minimized, remove the main canvas. If the state is maximized, add the main canvas again ( with all its children ). etc. That main canvas is an mx:canvas that you add to your component. When others use

RE: [flexcoders] Some AS3 component troubles

2007-01-15 Thread Stephen Gilson
You can find the Creating and Extending Flex 2 Components doc here: http://livedocs.macromedia.com/flex/201/html/Part3_CreateComps_135_1.html You can also try the Flex QuickStart for building components in ActionScript: http://www.adobe.com/devnet/flex/quickstart/building_components_in_as/

[flexcoders] AMFPHP, Cairngorm VO

2007-01-15 Thread Kevin
1) Is is possible to return results from AMFPHP and have them easily assign Value Objects on the Flex Client? (if so, how) EXAMPLE: call service to ask for an array of VO data. AMFPHP returns array of PHP Data(Value) Objects in result event. How do I then map the items in the VO array to a

RE: [flexcoders] Problem with viewstack in Flex 2.0 ActionScript not search element by id.

2007-01-15 Thread Tracy Spratt
In order to improve the start-up performance of complex applications, many Flex containers, like ViewStack and TabNavigator use a feature called deferred instantiation. This means that the child views of such containers are not instantiated until the user navigates to that child view. So in

[flexcoders] How to change the source for a mx:Image in another viewstate

2007-01-15 Thread oneproofdk
In a small Flex app, I have two viewstates, start and spreadView. In start I have a Tile with VBoxes and HBoxes, when the user click on a thumbnail mx:image, I'd like it to set the source of the image on spreadView and then swithc to that view. Here's my code, propably very messy, but this i my

[flexcoders] AMFPHP, Cairngorm VO

2007-01-15 Thread Kevin
1) Is is possible to return results from AMFPHP and have them easily assign Value Objects on the Flex Client? (if so, how) EXAMPLE: call service to ask for an array of VO data. AMFPHP returns array of PHP Data(Value) Objects in result event. How do I then map the items in the VO array to a

[flexcoders] add actionscript project as a library to a flex project

2007-01-15 Thread superabe superabe
I have an AS Project in FB2, which I would like to use as a library in another Flex project. I tried using the Add Project option in the project properties for FB2, but cant seem to find a way to specify an AS project. I get the No Flex Library Project Exists error dialog. Any ideas on how I

Re: [flexcoders] How to handle server side errors on the UI

2007-01-15 Thread Valy Sivec
I did the same way, but I feel uncomfortable coupling the server side with UI message. In addition to that frameworks like Spring, Hibernate promote runtime errors that makes faultString is kinda useless, or I don't know how to use it It looks to me that Adobe needs to reconsider the way

RE: [flexcoders] Flex Builder 2.0.1 the update !

2007-01-15 Thread Allen Riddle
I am experiencing the same thing. I created a thread on here, but didn't get any responses. We're gonna have to revert back to 2.0.0 unless we can figure this out. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pauscato1 Sent: Sunday,

[flexcoders] Re: New To Flex -- Autoincrement a variable?

2007-01-15 Thread ben.clinkinbeard
addEventListener(Event.ENTER_FRAME, myFunc); HTH, Ben --- In flexcoders@yahoogroups.com, David Steele [EMAIL PROTECTED] wrote: This is very easy to do in earlier versions of AS but I can't see how to do it in Flex. I want to autoincrement a variable and display it in a textbox. In earlier

RE: [flexcoders] New To Flex -- Autoincrement a variable?

2007-01-15 Thread Tracy Spratt
Increment at what event or action? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Steele Sent: Monday, January 15, 2007 12:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] New To Flex -- Autoincrement a variable?

RE: [flexcoders] what control does flow layout in flex ?

2007-01-15 Thread Tracy Spratt
Have you looked at the Tile container? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Berthelot Sent: Monday, January 15, 2007 12:33 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] what control does flow layout in flex ?

[flexcoders] Re: QTP plug in?

2007-01-15 Thread chuvakgu
http://www.adobe.com/cfusion/tdrc/index.cfm?loc=en%5Fusproduct=flex download the Flex Automation Package (bottom of the page). Is FDS necessary for this (and Express won't do)?

[flexcoders] Random pause for each object within Repeater

2007-01-15 Thread ndcrns
I'd like to have each image within my repeater appear after a random pause. In the script below all images currently appear at once. Any ideas how I can adapt it so each image appears after a random time? mx:Sequence id=bounceIn mx:Pause duration={randRange(500,4000)}/ mx:Zoom

  1   2   >