[flexcoders] Require Content Writer Urgently For Ahmedabad Office

2009-03-23 Thread manager_dcl
Hi Friends, We are looking for a Content writer who can join us full time immediately for our Ahmedabad office. the candidate should be good in English and should be able to write SEO friendly Blogs and posts. Knowledge of Computer Hardware is a plus. Kindly mail your CV to

[flexcoders] Re: strange problem with remote object

2009-03-23 Thread johndoematrix
guys i just read up on this and am doing it the same way as the example. here is the example i refered to just to be sure i got this right. Passing parameters using a form To pass parameters to components using an HTML or ColdFusion form, the names of the client input controls must match the

[flexcoders] ItemRenderer unscaledHeight = NaN?

2009-03-23 Thread Ken Dunnington
I've got a fairly simple custom itemRenderer inside a TileList that's giving me problems. The renderer is simply an HBox with an Image and a few Label controls. The problem is the renderers all show up squished at the top of the list, piled on top of each other. I've overridden updateDisplayList()

[flexcoders] Re: Using ItemRenderer with IHierarchicalData DataProvider

2009-03-23 Thread yossi.baram
Guys, There mast be somebody knows how to preserve hierarchy and to allow the TreeGrid to look the same with parents and childrens, using the ItemRenderer Sorry for the resending the question. I realy need a clue here, Thanks --- In flexcoders@yahoogroups.com, yossi.baram yossi.ba...@...

RE: [flexcoders] Architecting for extensibility

2009-03-23 Thread Gregor Kiddie
If your renderers are all in a library, they all get included AFAIK. So separate them out and use compc rather than mxmlc to generate the swf for them. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ

RE: [flexcoders] How to separate Flex code and server code in different servevr?

2009-03-23 Thread Gregor Kiddie
Does the server have a crossdomain.xml file on it? Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk

Re: [flexcoders] Re: Using ItemRenderer with IHierarchicalData DataProvider

2009-03-23 Thread Wesley Acheson
Sorry I'm not really understanding. Are you saing that you want all children nodes automatically expanded?- On Mon, Mar 23, 2009 at 8:55 AM, yossi.baram yossi.ba...@yahoo.com wrote: Guys, There mast be somebody knows how to preserve hierarchy and to allow the TreeGrid to look the same with

[flexcoders] Re: Using ItemRenderer with IHierarchicalData DataProvider

2009-03-23 Thread yossi.baram
No, Lets say I have parent1 and he has a child1 which is a parent also, when I click on parent1 I should see the child1 as a parent(with icon) to allow me drill deeper but now I see child1 as text, The hierarchy: parent1 | child1 | child-child text please advise if Im not

RE: [flexcoders] Re: Using ItemRenderer with IHierarchicalData DataProvider

2009-03-23 Thread Gregor Kiddie
You are losing the indentation and icon because the item renderer handles all that for you. Either extend the AdvancedDataGridItemRenderer (http://livedocs.adobe.com/flex/3/langref/mx/controls/advancedDataGridCl asses/AdvancedDataGridGroupItemRenderer.html ) and include what you need, or see if

[flexcoders] Re: Using ItemRenderer with IHierarchicalData DataProvider

2009-03-23 Thread yossi.baram
Thanks, Well, I tried extending AdvancedDataGridItemRenderer IDropInListItemRenderer and my set data I'm overriding: override public function set data(value:Object):void { super.data = value; if (this.listData) { // get the owner AdvnacedDataGrid var listOwner:AdvancedDataGrid =

RE: [flexcoders] Re: Using ItemRenderer with IHierarchicalData DataProvider

2009-03-23 Thread Gregor Kiddie
Not to be funny, but does the structure look right when you aren't using a custom renderer? I.e. is your data correct? Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577

[flexcoders] Re: Using ItemRenderer with IHierarchicalData DataProvider

2009-03-23 Thread yossi.baram
It make sense what you asked, Yes it looks good, with hierarchy, when I eliminate the Itemrenderer call, my data structure is as in the example: http://inovativeflexdevolopment.blogspot.com/2008/07/flex3-dynamic-population-of\-data-in.html I am building a flat data (a list of rows) with parentId

[flexcoders] Re: Using ItemRenderer with IHierarchicalData DataProvider

2009-03-23 Thread yossi.baram
The link I sent may be incorrect, look at http://inovativeflexdevolopment.blogspot.com/ (Flex3 Dynamic population of data in Advanced datagrid with customn header...) example --- In flexcoders@yahoogroups.com, yossi.baram yossi.ba...@... wrote: It make sense what you asked, Yes it looks

RE: [flexcoders] Re: Using ItemRenderer with IHierarchicalData DataProvider

2009-03-23 Thread Gregor Kiddie
Looking at the renderers source, it is a bit manky internally, though what you've posted shouldn't cause too many problems. Is your renderer doing anything else? Can you post the whole class? Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread

Re: [flexcoders] Re: Convert Air app. to Flex

2009-03-23 Thread Tom Chiverton
On Saturday 21 Mar 2009, Amy wrote: Has anyone successfully managed to have this make the change? I've had AIR Just now, to prove it worked, yes. -- Tom Chiverton Helping to assertively e-enable seamless solutions as part of the IT team of the year, '09 and '08

[flexcoders] Re: Using ItemRenderer with IHierarchicalData DataProvider

2009-03-23 Thread yossi.baram
Sure, This is the example I'm based on, you can just copy/paste to a new project and it should work... temp1.mxml: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; width=800 height=400 creationComplete=init() mx:RemoteObject /mx:RemoteObject mx:Script ![CDATA[ include

[flexcoders] How to add more context menu???

2009-03-23 Thread lehaianh1986
Hi every body. I want to add my function when I click on word in text area (like copy, paste, ..etc). I follow the guide in http://www.adobe.com/devnet/air/flex/quickstart/adding_menus.html But what i want is add my function to default context menu, not instead of remove default context menu.

[flexcoders] mouse events

2009-03-23 Thread Kenneth Sutherland
I'm having what seems to be a very trivial issue (maybe its just a Monday morning issue), I have 2 canvas containers inside another canvas. See picture for explanation. Canvas 2 has a alpha value so you can see canvas 1, but when you mouse over the area where both canvases mix together canvas 1

[flexcoders] compc: using -namespace and -include-sources together cause circular inheritance

2009-03-23 Thread ltkavanagh
Hi. I am trying to write an Ant script to complie a swc and am stuck on the following problem: I used -include-sources to specify the src directory I have a manifest.xml - all fine and dandy I have correctly specified the namespace using -namespace and -include-namespaces However I am getting

[flexcoders] Sorting a list at specified intervals

2009-03-23 Thread Rohit Sharma
Hello All, I have a requirement in my project where I want the list to be sorted every three seconds. The flow goes as follows :- 1. As soon as a new room gets added or deleted or the user count changes, it gets reflected in the room list which is a list component. 2. But the

RE: [flexcoders] How to add more context menu???

2009-03-23 Thread Kenneth Sutherland
Try something like mx:Canvas contextMenu={getyourMenu()} / private function getyourMenu () : ContextMenu { var paste:ContextMenuItem = new ContextMenuItem(paste); paste.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, pasteHandler); var cm:ContextMenu = new

[flexcoders] hide accordion headers

2009-03-23 Thread carloscarvalhar
Hi, I have a flex application with an accordion 100% width/height and i'd like to show the accordion headers only when the mouse is at the corners. Is it possible to hide accordion headers and show it only when i want? Is there any possibility to implement this? how can i do this? thanks,

[flexcoders] Push XML with BladzDS

2009-03-23 Thread johnpagetbourke
Hi, I have a Flex app which I need to push XML. Is there is simple, reliable way to do this. I would prefer not to pseudo push using polling. john

Re: [flexcoders] ADG Memory leak.

2009-03-23 Thread Adrian Williams
Hi Wesley, We work with ADG's extensively including some intense custom renderers and have had horrible problems with memory leaks. Turns out, there are known problems with the ADG's internal renderers leaking like a sieve. And as an experiment, we setup a custom renderer that simply

[flexcoders] Remove 'maximize'-icon from window (Adobe AIR)?

2009-03-23 Thread bjorn
I'd think setting maximizable = false in the application xml would remove the icon from the title bar, however this does not seem to do the trick. I know I can set showFlexChrome to false and then make my own title bar (without the maximize button), but this seems a bit backwards when all I want

[flexcoders] Re: strange problem with remote object

2009-03-23 Thread johndoematrix
guys any help? frankly i can't see whats wrong with my code. probably something i dont see.

Re: [flexcoders] ADG Memory leak.

2009-03-23 Thread Tom Chiverton
On Monday 23 Mar 2009, Adrian Williams wrote: a sieve. And as an experiment, we setup a custom renderer that simply returned .this and it leaked like crazy. We have a fairly large ADG (100+ columns) and every time we'd scroll right to see more columns, Could you attach this as a test case to

[flexcoders] Negative Mask

2009-03-23 Thread app.developer
If I wanted to have an image, would someone point me to a negative or reverse mask tutorial. I'm having a dickens of a time locating a current AS 3.0 or Flex 3 or 4 example. TIA, P

Re: [flexcoders] ADG Memory leak.

2009-03-23 Thread Wesley Acheson
Thanks Adrian On Mon, Mar 23, 2009 at 1:55 PM, Adrian Williams adri...@familytreedna.comwrote: Hi Wesley, We work with ADG's extensively including some intense custom renderers and have had horrible problems with memory leaks. Turns out, there are known problems with the ADG's

[flexcoders] Re: strange problem with remote object

2009-03-23 Thread valdhor
The problem is that you are not sending any data from Flex. You have remoteObj.userData.send() on creationComplete but you do not have any parameters for that function so no data is sent. The CF code requires the username and password parameters but does not get them. You obviously want to

[flexcoders] Re: Using ItemRenderer with IHierarchicalData DataProvider

2009-03-23 Thread yossi.baram
Hi Gregor, Dont want to bother, but I'll do a little :) Any success with what I sent? --- In flexcoders@yahoogroups.com, yossi.baram yossi.ba...@... wrote: Sure, This is the example I'm based on, you can just copy/paste to a new project and it should work... temp1.mxml: mx:Application

Re: [flexcoders] Getting Error when trying to destroy a tooltip

2009-03-23 Thread Charles Galpin
Tim, you have to declare myTip to be of the type IToolTip. public var myTip:IToolTip; hth charles On Mar 19, 2009, at 4:05 PM, timgerr wrote: Hello all, I am creating my own tooltip and I am getting an error, this code comes from adobe examples. Here is the code: mx:Application

[flexcoders] Re: Using ItemRenderer with IHierarchicalData DataProvider

2009-03-23 Thread Amy
--- In flexcoders@yahoogroups.com, yossi.baram yossi.ba...@... wrote: Thanks, Well, I tried extending AdvancedDataGridItemRenderer IDropInListItemRenderer Try reading my series on how to make AdvancedDataGrid accept background colors in the styleFunction

[flexcoders] ANN: AmFast AMF encoder/decoder for Python released!

2009-03-23 Thread limscoder
AmFast http://code.google.com/p/amfast/ is a new AMF0/AMF3 encoder/decoder for Python. * AmFast's core encoder and decoder are written in C, so it's around 18x faster than PyAmf http://pyamf.org/ . * The encoder and decoder accept user-defined Python objects that allow customization of

[flexcoders] Flex builder compiler

2009-03-23 Thread diehlryan
I have many, many issues with the Flex Builder compiler. I will start with this one: incremental compilation. The docs state that by default, FB compiler has incremental compilation turned on, which I don't believe in the slightest. If you run a command line build with -incremental=true, the

[flexcoders] Re: How to separate Flex code and server code in different servevr?

2009-03-23 Thread markflex2007
What is the syntax for crossdomain.xml ? where I have to save the file? webroot? Thanks Mark

[flexcoders] watching and triggering events

2009-03-23 Thread Scott
I think I'm making this more difficult than it should be; or at least I hope I am... I've got a parent viewer called AddContactandReminder.mxml and that has two child objects, AddContact.mxml and ListAndShowContacts.mxml. When I add a new contact in the contact object I trigger an

[flexcoders] Flex Preloader issue

2009-03-23 Thread syrgak
Good day everybody, I was about to write a custom preloader for my flex application. I had a wide overlook on the Internet about this stuff and one moment is still confusing me. Is there any way to keep the Flex Preloader showing even after the application has been already loaded and

[flexcoders] watching and triggering events

2009-03-23 Thread Scott
I think I'm making this more difficult than it should be; or at least I hope I am... I've got a parent viewer called AddContactandReminder.mxml and that has two child objects, AddContact.mxml and ListAndShowContacts.mxml.  When I add a new contact in the contact object I trigger an event

Re: [flexcoders] Re: How to separate Flex code and server code in different servevr?

2009-03-23 Thread Wesley Acheson
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14213sliceId=1basically it needs to go on the web root of the server the data is served from. 2009/3/23 markflex2007 markflex2...@yahoo.com What is the syntax for crossdomain.xml ? where I have to save the file? webroot? Thanks

[flexcoders] How much actionscript 3 do you need to know in order to develop in Flex 3

2009-03-23 Thread fred44455
Flex is a mix of mxml and actionscript 3. Now my questions is simple. How much AS3 do you need to know in order to develop seriously using Flex 3 technology? Thanks.

RE: [flexcoders] Negative Mask

2009-03-23 Thread Kenneth Sutherland
You could always try out some of the new pixel bender effects. http://labs.adobe.com/technologies/pixelbender/ they have a invert filter that you can use without having to create your own one, plus others can be found here

RE: [flexcoders] Re: strange problem with remote object

2009-03-23 Thread Tracy Spratt
The html form is passing arguments to the CFC in hidden input fields. How are you passing arguments to the remoteObject method? Hint, google: passing arguments to remoteObject method Tracy Spratt, Lariat Services, development services available _ From:

Re: [flexcoders] Negative Mask

2009-03-23 Thread Michael Wills
Is the mask you want an image or going to be drawn dynamically? Do you have a movieclip or some other graphic that will be the mask and you want to invert its masking effect so it cuts out instead? Also, related to what Kenneth posted, which Flash player are you targeting? 9 or 10? Michael

Re: [flexcoders] How much actionscript 3 do you need to know in order to develop in Flex 3

2009-03-23 Thread Wesley Acheson
Best off thinking of it like the following. Your entire presentation could be in mxml but the logic needs to be in AS. However you can mix the AS in mxml files via the script tag. To do anything non trivial requires AS in my opinion. The answer really depends on your definiation of seriously.

RE: [flexcoders] watching and triggering events

2009-03-23 Thread Tracy Spratt
Have the parent re-dispatch the event and listen for it in listAndshow One way to handle issues like this it to have a central bindable data model. A 'singleton is often used for this. Any component anywhere in the app that needs to react when some data value changes can listen to the model,

[flexcoders] Re: Using ItemRenderer with IHierarchicalData DataProvider

2009-03-23 Thread yossi.baram
Greate, its working like a charm.. The solution was to put the renderer inside the AdvancedDataGrid tag in the mxml. I created an IFactory var: public var renderer_:IFactory= new ClassFactory(ItemRenderer); Initialized it with the relevant property I need to send to the renderer: (renderer_

[flexcoders] Re: Using ItemRenderer with IHierarchicalData DataProvider

2009-03-23 Thread yossi.baram
Thanks :) I have progress, When I put my renderer in the AdvancedDataGrid Tag mx:AdvancedDataGrid id=adg styleName=grid height=100% itemRenderer=cellValueRenderer I get the Tree with all hierarchy and values, and I can manipulate the cells and thats great.. But what I cant find a way to send

Re: [flexcoders] How much actionscript 3 do you need to know in order to develop in Flex 3

2009-03-23 Thread Paul Andrews
- Original Message - From: fred44455 fred44...@yahoo.com To: flexcoders@yahoogroups.com Sent: Monday, March 23, 2009 5:05 PM Subject: [flexcoders] How much actionscript 3 do you need to know in order to develop in Flex 3 Flex is a mix of mxml and actionscript 3. Now my questions is

[flexcoders] Re: How to add more context menu???

2009-03-23 Thread lehaianh1986
Thank kenneth. I want to add context menu in text area. Here is the code ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=init() mx:Script ![CDATA[ import mx.controls.Alert; [Bindable]

[flexcoders] Horizontal and Vertical gradients?

2009-03-23 Thread tchredeemed
Basically, I have an arrow that I draw graphically, it has a vertical gradient from the top to the bottom. I want it to fade in from left to right, so I was wanting to put a horizontal gradient on it too... I am not sure if it is possible to do this, or if this can be done a different way.

[flexcoders] Re: watching and triggering events

2009-03-23 Thread Tim Hoff
I agree with Tracy; using an MVC architecture handles this nicely. For a simpler approach, make the method in ListAndShow public; and call it from the parent; when the event is heard. -TH --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: Have the parent re-dispatch the event

[flexcoders] Alternative to using ToolTips for popup

2009-03-23 Thread Charles Galpin
Hi All I am trying to use ToolTip and ToolTipManager to implement a popup that comes up when I click an icon. I want the popup to be associated with my object, and it will have additional controls in it. Basically looking for similar behavior as a ToolTip in that I want it to popup above

RE: [flexcoders] How much actionscript 3 do you need to know in order to develop in Flex 3

2009-03-23 Thread Tracy Spratt
Hmm, how high is up? Another simple question. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of fred44455 Sent: Monday, March 23, 2009 1:05 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] How much actionscript 3 do you need to know in order to develop in Flex 3

2009-03-23 Thread Alan Rother
As another total newbie to Flex and AS, Flex is a great way to learn AS. You can totally build a Flex app using nothing but MXML, it'll be limited, but you can do it. Once you get into and start following the tutorials out there you'll pick up the AS pretty quickly. =] -- Alan Rother Adobe

RE: [flexcoders] watching and triggering events

2009-03-23 Thread Scott
(BTW sorry all for the duplicate message; it looked like the first one didn't go through on my side so I did a resend ) Hmm, interesting thought... I do have a singleton in place to track the user login. I could place a bindable variable there to trigger a view update. I was trying stay away

RE:[flexcoders] Re: watching and triggering events

2009-03-23 Thread Scott
DOH. Ok, that is a LOT easier than what I was trying to do! I think it's time for a break. =O Thanks! From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Hoff Sent: Monday, March 23, 2009 1:39 PM To:

[flexcoders] Bind ComboBox to returning XML (HOW TO)

2009-03-23 Thread Matthew A. Wilson
Need help with a combobox... I have a combobox that I want to load from a database. The text will be a name, and the value will be an integer. That's it - pretty straightforward. Just can't seem to figure it out. The xml will look like this: designers designer id=1 name=Matt / designer

[flexcoders] Re: Horizontal and Vertical gradients?

2009-03-23 Thread Tim Hoff
You can draw another gradiant on the graphics and rotate it 90 degrees. this will darken your colors, so you'll have to play with it. -TH --- In flexcoders@yahoogroups.com, tchredeemed apth...@... wrote: Basically, I have an arrow that I draw graphically, it has a vertical gradient from the

RE: [flexcoders] Re: watching and triggering events

2009-03-23 Thread Tracy Spratt
Easier, but I would not wait too long to start using an event model. In response to your other question, forget my re-dispatch suggestion. Use a data model or call the function directly. Tracy Spratt, Lariat Services, development services available _ From:

[flexcoders] How to make show event work?

2009-03-23 Thread markflex2007
Hi, I have a mxml component and I want it run a function when it is loaded (not only first time),I did the following test for the component and I do not know why the show event never work. Please help me. Thanks Mark component code: mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml;

[flexcoders] Re: How to add more context menu???

2009-03-23 Thread valdhor
Is there any reason you can't use the workaround they suggest in Jira? Main Application: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=init() xmlns:custom=* custom:myTextArea/ /mx:Application myTextArea.as: package { import

[flexcoders] Re: How much actionscript 3 do you need to know in order to develop in Flex 3

2009-03-23 Thread oneworld95
I'd echo what others have said; I didn't know AS 3 before doing Flex 3. Flex has helped me learn AS. If you spend the time to look at examples on the web and ask questions here, it will all make sense. Programming is programming; you still have iterative and conditional statements; still have

[flexcoders] Pop-up's close event not firing after multiple clicks on pop-up's components

2009-03-23 Thread blee3467
I'm a newbie flex developer so I'm hoping someone with more experience will have some insight into my problem. I have an application that has a canvas which contains icons for different tools. The icons are within canvases that I disable when the users clicks on them. Also when the canvas is

Re: [flexcoders] How much actionscript 3 do you need to know in order to develop in Flex 3

2009-03-23 Thread Jeffry Houser
W/ any programming experience, you're going to pick up all you need to know about ActionScript 3 in an hour or two. It's just a slightly different syntax (or often the same syntax depending on your language experience) than other languages for things like classes, loops, conditionals,

RE: [flexcoders] Bind ComboBox to returning XML (HOW TO)

2009-03-23 Thread Wildbore, Brendon
Here's an example of one way of doing that. Assuming you xml comes from a webservice or httpservice call and you want your combobox dataprovider bound to a variable comboboxAC you could try the following function onResult. private function onResult( event:ResultEvent ):void{

Re: [flexcoders] Re: Is it possible to query Flash Player attributes e.g. allowFullScreen?

2009-03-23 Thread Dave Kong
Thanks Carlos, That's not what I need though. I need to know if fullscreen is enabled via html tag (a security safeguard) before I show the button to go into fullscreen. -dave On Sat, Mar 21, 2009 at 8:46 PM, carloscarvalhar carloscarval...@ig.com.brwrote: about full screen: switch

[flexcoders] Do you guys consider Lynda .com Flexs tutorials a must to learn the material?

2009-03-23 Thread fred44455
I am extremely lazy , have been all my life. I have troubles leartning by reading books.I am not a programmer , however I did some light web design a few years ago. AS3 seems to be difficult to me but not impossible. I am 48 so if I learn Flex 3 , my goal would be to become a Flex 3 freelance

[flexcoders] Re: AIR has different behaviour in XML.appendChild() vs Flex for String values?

2009-03-23 Thread Francis Potter
I'm glad you wrote this up because I thought I was going crazy. In my case, I'm using the FlexBuilder-generated web services client code in AIR. The SOAPEncoder and XMLEncoder classes actually end up double-escaping any XML characters in strings that are being passed up to my web service so a

RE: [flexcoders] Re: AIR has different behaviour in XML.appendChild() vs Flex for String values?

2009-03-23 Thread Peter Farland
https://bugs.adobe.com/jira/browse/SDK-19598 Not a perfect solution, but to help out with your issue of modifying generated code - your generated Service stub should have a method called getWebService() which retuns a subclass of mx.rpc.soap.AbstractWebService. You should be able to set the

Re: [flexcoders] Do you guys consider Lynda .com Flexs tutorials a must to learn the material?

2009-03-23 Thread Paul Andrews
- Original Message - From: fred44455 fred44...@yahoo.com To: flexcoders@yahoogroups.com Sent: Monday, March 23, 2009 9:36 PM Subject: [flexcoders] Do you guys consider Lynda .com Flexs tutorials a must to learn the material? I am extremely lazy , have been all my life. I have troubles

RE: {Disarmed} [flexcoders] How to make show event work?

2009-03-23 Thread Scott
If I'm not mistaken, the component is created and kept in memory once you call it. I don't think you can call the show the way you are trying to call it in the constructor. Instead you would have to do a creationComplete=Alert.show('test') The re-calling the function would be dependent

[flexcoders] changing more than the outline on a validator

2009-03-23 Thread Scott
Ok, I'm going back through my code and adding validators. Sample code: !-- Validate email -- mx:EmailValidator id=emailValidator source={strEMail} property=text / ... mx:FormItem label=E-Mail mx:TextInput id=strEMail errorColor=#FE020E shadowDistance=5

[flexcoders] Re: Flex Preloader issue

2009-03-23 Thread carloscarvalhar
Application will load only when it receives a complete event. So you can load one swf, listen for INIT_COMPLETE (that's before complete) preloader.addEventListener(FlexEvent.INIT_COMPLETE, myHandleInitEnd); At myHandleInitEnd loads another swf and so on... then at last preload you dispatch the

RE: [flexcoders] Re: watching and triggering events

2009-03-23 Thread Scott
Are you talking about setting up a singleton to handle events for models? Scott From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Monday, March 23, 2009 3:23 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Bind ComboBox to returning XML (HOW TO)

2009-03-23 Thread Fidel Viegas
Here is another alternative: declare an HTTPService like this: mx:HTTPService id=listService url=path/to/list.jsp method=POST showBusyCursor=true fault=onFault(event); result=onResult(event); useProxy=false/ and an array collection mx:ArrayCollection

[flexcoders] Re: AIR has different behaviour in XML.appendChild() vs Flex for String values?

2009-03-23 Thread Francis Potter
Pete, Thanks for the tip. I can set xmlSpecialCharsFilter on the service, but it doesn't get passed into the encoder. Looking around at the generated code and that in the 3.2 SDK (maybe it's changed for 3.3?) I see that the FlexBuilder-generated code is using a class called WSDLOperation,

[flexcoders] DataService trapping error?

2009-03-23 Thread wayne_badu_johnson
Hi all I am tryng to catch an error when dynamically assigning a destination to a DataService (snippet below). If the destination is invalid (not in my data-management.xml file) then I would like to show a nicer error than what's below. FaultEvent, DataServiceFaultEvent don't catch this one.

RE: [flexcoders] Re: watching and triggering events

2009-03-23 Thread Tracy Spratt
Yes. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Scott Sent: Monday, March 23, 2009 4:50 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: watching and triggering

Re: {Disarmed} [flexcoders] How to make show event work?

2009-03-23 Thread markflex2007
but it only call once if I use creationComplete. I want to call a function if I open the component.which event I can use to do this? Thanks Mark

RE: [flexcoders] Re: watching and triggering events

2009-03-23 Thread Scott
Thanks, Tracy. sj From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Monday, March 23, 2009 8:38 PM To: flexcoders@yahoogroups.com Subject: {Disarmed} RE: [flexcoders] Re: watching and triggering events

RE: [flexcoders] Re: AIR has different behaviour in XML.appendChild() vs Flex for String values?

2009-03-23 Thread Peter Farland
You're right, I took a closer look into the generated stub code and in the subclass of AbstractWebService - they've by-passed the usual RPC service/operation behavior and implemented a custom private call() method (and it's in there a new SOAPEncoder is constructed). This service stub really

RE: [flexcoders] Bind ComboBox to returning XML (HOW TO)

2009-03-23 Thread Tracy Spratt
Both suggestions so far have what I consider a bad choice. That is to use resultFormat=object which is the default. This setting converts your xml into a tree of dynamic objects. This has many drawbacks. I advise setting resultFormat=e4x which will preserve the xml you get from the server.

[flexcoders] HTML in the List Component?

2009-03-23 Thread Brandon Krakowsky
I have a List component with both variableRowHeight and wordWrap set to true. Is there anyway to leverage the labelField or labelFunction to render html text? Is the only way to create a custom itemRenderer? I tried it but find it very difficult to set the height of a UITextField, added to a

RE: {Disarmed} [flexcoders] How to make show event work?

2009-03-23 Thread Tracy Spratt
Show and hide are fired when using a navigation container, like ViewStack and TabNavigator. How are you opening your component? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

[flexcoders] validator.validateall

2009-03-23 Thread Scott
I've been banging my head on this issue all afternoon/evening... In all the examples I've seen for this, the Validator.validateall() seems to be very straight forward. !-- Validators -- mx:Array id=validators !-- Validate email -- mx:EmailValidator id=valid1 required=true

[flexcoders] Re: strange problem with remote object

2009-03-23 Thread johndoematrix
Hi thanks for trying to help but i think you are not geting what am trying to do here. Valdhor in my updates code i got rid of the creationComplete thing and i created a button which when clicked fires remoteObj.userData.send(); but that didn't work. i guess you did not look at my updated code.

[flexcoders] RE: mouse events

2009-03-23 Thread Alex Harui
Canvas1 can listen to mainCanvas and test positions to determine if it really is over itself Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Kenneth

RE: [flexcoders] Sorting a list at specified intervals

2009-03-23 Thread Alex Harui
Use two collections. Every three seconds, copy the entire contents of the first into the second. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Rohit

RE: [flexcoders] Re: strange problem with remote object

2009-03-23 Thread Tracy Spratt
Ah, no, a Flex form does *not* automatically submit any parameters. Google: flex pass parameters to remoteObject method (I think I suggested this already) Look at the first hit. Tracy Spratt, Lariat Services, development services available _ From:

[flexcoders] which one is better to use?

2009-03-23 Thread Vikram Singh
hello friends... i am passing data request to php using RemoteObject from flex. and php send back processed data to Flex. which one is better in performance for flex application operation?? 1. ArrayCollection OR 2. XML which one is easy and fast accesable?? all the data are storing in