Re: [flexcoders] how to copy a DisplayObject

2008-03-21 Thread coder3
why can't it? i just want to have one component because if there are changes, i only need to change one place. Sherif Abdou wrote: why would you want to make a copy? ObjectUtil will not copy the component just create another one and assign to it the dataProvider - Original Message

[flexcoders] Re:Help binding an XML file from a webservice?

2008-03-21 Thread Mykola Dzyuba
Hi, Your code looks mostly right. Just a couple of updates. You need to define namespaces as you see in your SOAP response. Also, it might be different in your case, but I think event.result in e4x mode is XMLList, not XML. Can you add this line to your handleGetSpecies method to see the

[flexcoders] Re:How to make Web Service

2008-03-21 Thread Mykola Dzyuba
I think if you can verify that you can open your wsdl http:// server:port/wsdl/WS.wsdl?wsdl in a browser and remove wsdl from mx:WebService tag because you already specified destination and set proxy to true, your could should work: mx:WebService id=srv destination=ws-catalog useProxy=true

Re: [flexcoders] [Offtopic] Flex Email Application

2008-03-21 Thread Max Frigge
That is an issue I mentioned here in the list a while ago: http://tech.groups.yahoo.com/group/flexcoders/message/105862 It takes about 15 seconds after the actual data is transferred until the file appears on the desktop (as non temp). I couldn't figure out yet why this is happening. I think

[flexcoders] Re:How to Read SOAP attachments in Flex?

2008-03-21 Thread Mykola Dzyuba
I don't think SOAP attachments are supported in Flex at the moment. Here is some more info with a workaround option of encoding a binary data into a string: http://bugs.adobe.com/jira/browse/SDK-13381 - Mykola

[flexcoders] Custom ItemRenderer in HorizontalList

2008-03-21 Thread aicfan4
I'm trying to display a horizontal list of words in an AIR application. I'm creating a custom component for the ItemRenderer, and then am setting the HorizontalList's dataProvider to an array of strings. I can see the proper # of items are being added to the HorizontalList (the rollover

Re: [flexcoders] again tool tips

2008-03-21 Thread justSteve
Could you post a URL holding the original source for the tooltip example? tx On 5/20/08, Gustavo Duenas [EMAIL PROTECTED] wrote: sorry if I bother you, but tell me this more in detail. Regards, Gustavo On Mar 20, 2008, at 5:44 PM, Tracy Spratt wrote: When you declare a variable

[flexcoders] How to load and display favicon.ico in Flex.

2008-03-21 Thread flexindesign
I have some difficulties displaying favicon.ico files in Flex 3. Any suggestion? I tried image control and loader without success. Is the format .ico supported by Flex?

Re: [flexcoders] Continuous refresh() on ICollectionView

2008-03-21 Thread EECOLOR
I can not see the need for a refresh on a ICollectionView from typing in a TextInput field. Usually a TextInput field changes only one property of one object in the ICollectionView. If that property is bindable, it's change will be reflected in the display. On the other hand, I just thought of a

Re: [flexcoders] How to pass Flex ArrayCollection to Coldfusion CFC?

2008-03-21 Thread Muzak
ArrayCollection is a wrapper around an Array, so send the Array instead: myAC.source http://livedocs.adobe.com/flex/3/langref/mx/collections/ArrayCollection.html#source - Original Message - From: markflex2007 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, March 21,

Re: [flexcoders] How to load and display favicon.ico in Flex.

2008-03-21 Thread Peeyush Tuli
http://code.google.com/p/flexlib/wiki/ComponentList Check IconLoader . Works for Flex 2 but not sure about 3. ~Peeyush On Fri, Mar 21, 2008 at 10:10 AM, flexindesign [EMAIL PROTECTED] wrote: I have some difficulties displaying favicon.ico files in Flex 3. Any suggestion? I tried image

RE: [flexcoders] strange popup

2008-03-21 Thread Gregor Kiddie
It's because you've created debug swf's and are trying to run them without a debugger running. Either... Run them from the debug menu in Flex builder, or Make production swfs. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a

Re: [flexcoders] how to copy a DisplayObject

2008-03-21 Thread Peeyush Tuli
I am not aware whether this is possible or not, but I am pretty sure it is not the best approach to do it. Why dont you make a separate mxml component and then use it at both the places? This way you can maintain the any coding changes at one place, unless there is something else you imply by

[flexcoders] Select all checkboxes in datagrid with a single click

2008-03-21 Thread p_repetti
Hello I have created a DataGrid component whose last column is rendered/edited with a checkbox. This checks whether the row data will be sent to the server or not. Rather than forcing the user to check all of the rows manually, I have a Select All button which commands the selection of all the

[flexcoders] Re: How to load and display favicon.ico in Flex.

2008-03-21 Thread flexindesign
do you think I can load a favicon.ico from a remote server, ie. google.com/favicon.ico? I tried to replace local link with url in the provided examples, without success. Thanks for your help! --- In flexcoders@yahoogroups.com, Peeyush Tuli [EMAIL PROTECTED] wrote:

[flexcoders] Re: Setting backgroundColor and color

2008-03-21 Thread sreeni_r
Try providing a override of the ADGHeaderRenderer which overrides updateDisplayList and colors the background Sprite properly. The current implementation is painting the background sprite transparent. --- In flexcoders@yahoogroups.com, Marcio Napoli [EMAIL PROTECTED] wrote: Thanks Scott,

[flexcoders] multiuser apps with flex and testing them

2008-03-21 Thread duncan mcmillan
Folks I'm trying to get my head around how to best produce a multiuser application in flex and the best way to test the performance. I aware of the flex messaging classes (producers/consumers), LDS and BladeDS, so which is my best approach downloading BladeDS and trying the samples? I am also

Re: [flexcoders] Select all checkboxes in datagrid with a single click

2008-03-21 Thread Scott Melby
You should be able to just set the property of the objects in your data provider that the checkboxes are rendering. For example, if your grid is bound to an array of objects of type MyClass that are stored in mySourceArray:Array then this would do it. private function

RE: [flexcoders] again tool tips

2008-03-21 Thread Randy Martin
Define myTT outside the function. One other thing, if you define myTT as an ImageToolTip, you can't return it from the function createTip because you defined createTip as returning CustomToolTip. So, either you have to define myTT as a CustomToolTip or you have to say that createTip returns an

RE: [flexcoders] Re: Loop thru XML data

2008-03-21 Thread Rick Winscot
Hmm. try this instead. If ( dg.columns[0] != null ) Dg.columns[0].headerText = foo; This checks to see if the grid has a column and adds the header if its there. notice that I said _after_ you set the dataprovider! The only reason that you wouldn't have a column is that your data is

RE: [flexcoders] Select all checkboxes in datagrid with a single click

2008-03-21 Thread Randy Martin
You might want to check this: HYPERLINK http://deepuverma.wordpress.com/2008/01/10/datagrid-headerrenderer-checkbox -to-select-checkboxes-in-the-row/http://deepuverma.wordpress.com/2008/01/10 /datagrid-headerrenderer-checkbox-to-select-checkboxes-in-the-row/ ~randy _ From:

Re: [flexcoders] Flex2 versus Flex3 font size

2008-03-21 Thread jeff
On Thu, Mar 20, 2008 at 05:57:35PM -, dougco2000 wrote: I switched to Flex3 the other day and found that the font sizing for the default font has changed! So on most of my applications where I painstakingly sized buttons so that they exactly fit the text label, I know see the text does

[flexcoders] List all Component ids used in the Application

2008-03-21 Thread khair
QUESTION: Is there a way in Flex Builder or ActionScript to generate a list of ids use in my application? (So I can print it or copy and paste it so I can print it) REASON: I was hoping I could simply print the list shown in Flex Builder's Outline panel., but I dont see any options for it. I

Re: [flexcoders] How to pass Flex ArrayCollection to Coldfusion CFC?

2008-03-21 Thread Jeffry Houser
ArrayCollection maps to an Array I'm sure this is documented somewhere; did you look? markflex2007 wrote: How to pass Flex ArrayCollection to Coldfusion CFC? Which data type in coldfusion can accept Flex ArrayCollection? Thanks Mark -- Jeffry Houser Flex, ColdFusion, AIR

[flexcoders] RPC FaultEvent with BlazeDS

2008-03-21 Thread Dominic Pazula
I recently took the plunge and bucked up the $$$ for Flex Builder Pro. Today I uninstalled my Beta version and installed the new one. I imported my projects and recompiled. When running one that uses a RemoteObject and BlazeDS, I started getting the following RPC FaultError: The Fault

[flexcoders] How to Create a File?

2008-03-21 Thread moonrchand
Hi, Please let me how can we create a file in another system or on some web server through Flex/AIR. Thanks, Chandra

[flexcoders] Flex 3 import webservice wizzard problem

2008-03-21 Thread gert.vanspringel
I'm trying to import 2 wsdl files with identical requestheaders. Problem: identical actionscriptclasses (requestheader.as) Reproducable: just import the same WSDL twice with a different class- name and import both of them in the same solution. Separating the classes in diferent folders gives no

[flexcoders] unsubscribe

2008-03-21 Thread h.

[flexcoders] ArrayCollection of String as single-column DataGrid provider

2008-03-21 Thread mario.blataric
Hi! I have ArrayCollection filled with String: mx:ArrayCollection id=dp mx:StringString 1/mx:String mx:StringString 2/mx:String /mx:ArrayCollection DataGrid's dataProvider is array collection above and DataGrid has only one column. What I want is to have ComboBox as inplace

Re: [flexcoders] How to Create a File?

2008-03-21 Thread Paul Andrews
- Original Message - From: moonrchand [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, March 21, 2008 2:05 PM Subject: [flexcoders] How to Create a File? Hi, Please let me how can we create a file in another system or on some web server through Flex/AIR. You ned to

[flexcoders] Re: express install not working?

2008-03-21 Thread Amy
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 20 Mar 2008, Kenneth Sutherland wrote: There appears to be two calls. (I'm using service capture to see what's happening) Well, nothing jumps out as screaming 'Adobe problem'. And no one else seems to

[flexcoders] Is this normal behaviour for DataGrid ?

2008-03-21 Thread Vaan S Lanko
Hello Flexies, just curious is this normal behaviour or am I doing something stupendously wrong ? I have recreated this issue in a small project with 2 files, Service.as AS3 Class file package { public class Service { public function

Re: [flexcoders] Select all checkboxes in datagrid with a single click

2008-03-21 Thread p_repetti
Many thanks Scott, I had forgotten the MVC rule work on the data model. Well, my grid is bound to an XML stored in mySource:XMLListCollection, so your code becomes: private function selectAll(selected:Boolean):void { for each(var item:XML in mySource) { [EMAIL PROTECTED] =

RE: [flexcoders] again tool tips

2008-03-21 Thread Tracy Spratt
I am not going to respond to general questions any more on this subject. What words or concepts do you not understand? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Duenas Sent: Wednesday, May 21, 2008 12:38 AM

[flexcoders] Re: Flex 3: Cloning WebService instance

2008-03-21 Thread handitan
Hi Peeyush, It's kind of long to explain it but in short, this is to help me centralize all my webservice call into one location. So instead of having mx:WebService / in every component, I am just calling webservice from a class that contains all the WebServices. i.e. class CustomWS {

RE: [flexcoders] again tool tips

2008-03-21 Thread Tracy Spratt
Google Flex tooltip htmlText Image it is in the top 5 as I recall. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of justSteve Sent: Friday, March 21, 2008 3:55 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] again

[flexcoders] Detecting data binding programmatically

2008-03-21 Thread Amy
Hi, all; I have a set of textInput boxes that bind perfectly in both directions to the object properties they are setting/displaying, but my Checkboxes only appear to have a one way binding for some reason (the value of the object affects the check box, but the value of the check box does not

Re: [flexcoders] Detecting data binding programmatically

2008-03-21 Thread Sherif Abdou
can you post a little example. I think it may have to do with one of them not implementing the IEventDispatcher Class so your not getting the other way binding. - Original Message From: Amy [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, March 21, 2008 10:25:37 AM

RE: [flexcoders] Select all checkboxes in datagrid with a single click

2008-03-21 Thread Tracy Spratt
Yes that example in that other reply will show you how to do this, but I want to make a key idea very clear. When working with data, one never (almost) loops over the DataGrid. One always works with the underlying dataProvider. This is because Flex only creates the visible rows. When you

RE: [flexcoders] Re:Help binding an XML file from a webservice?

2008-03-21 Thread Tracy Spratt
E4x event.result is XML. But the division between XML and XMLList is blurred, since most XML methods will work on an XMLList that has only a single node. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mykola Dzyuba Sent:

[flexcoders] Re: Detecting data binding programmatically

2008-03-21 Thread Amy
--- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: can you post a little example. I think it may have to do with one of them not implementing the IEventDispatcher Class so your not getting the other way binding. - Original Message From: Amy [EMAIL PROTECTED]

RE: [flexcoders] Dynamic creation of radio buttons in a radioButtonGroup

2008-03-21 Thread Tracy Spratt
Well, Rick, you say, ...repeater is meant to repeat MXML content ... But it is not limited to mxml content in any way. You say, ...this comes with a cost... What cost are you talking about? And, ...getting down and dirty with binding and collections ... What do you mean by that? Repeater

[flexcoders] FREE Component: New Styles for Panel, TitleWindow and Alert

2008-03-21 Thread Paul Whitelock
Hi, I've created a component that adds additional styles to a Panel, TitleWindow or Alert and I'm making the component, source code and documentation available for free under the MIT License. The additional styles include an inner shadow for the content area, a gradient background for the

[flexcoders] Re: How to pass Flex ArrayCollection to Coldfusion CFC?

2008-03-21 Thread markflex2007
A documentation said Flex ArrayCollection maps to Coldfusion query, Do you have a sample to do this so I can understand it. Thnaks Mark --- In flexcoders@yahoogroups.com, Jeffry Houser [EMAIL PROTECTED] wrote: ArrayCollection maps to an Array I'm sure this is documented somewhere;

RE: [flexcoders] Select all checkboxes in datagrid with a single click

2008-03-21 Thread p_repetti
Randy, that'd be exactly the example I need, looking at the swf demo. Unfortunately I can't download the code, there's something wrong with the link. Pier You might want to check this: HYPERLINK http://deepuverma.wordpress.com/2008/01/10/datagrid-headerrenderer-checkbox

Re: [flexcoders] FREE Component: New Styles for Panel, TitleWindow and Alert

2008-03-21 Thread Jon Bradley
On Mar 21, 2008, at 12:05 PM, Paul Whitelock wrote: I've created a component that adds additional styles to a Panel, TitleWindow or Alert and I'm making the component, source code and documentation available for free under the MIT License. May I be the first to say Fantastic! Thanks for

Re: [flexcoders] Select all checkboxes in datagrid with a single click

2008-03-21 Thread Scott Melby
Tracy - Not sure if you are referring to my sample code. But, just in case you are... That code *does* update the underlying data provider. It simply does it generically using ICollectionView and IViewCursor. This is not looping over the renderers afaik. If it is, I'd sure like to know...

[flexcoders] HTML Wrapper

2008-03-21 Thread Don Kerr
My html page in /bin contains metatags for search description and keywords. Each time I compile in Flex Builder 3, this html gets overwritten. I've been saving the metatags in a separate directory, then copy/pasting them into the new wrapper page. Is the solution to uncheck the generate HTML

[flexcoders] Re: How to pass Flex ArrayCollection to Coldfusion CFC?

2008-03-21 Thread Don Kerr
I put this demo together for my Space City AUG meeting to show the basics of ColdFusion-Flex. I think these two examples will get you what you need http://www.fusionpage.com/flex/demos/bin/demos.html Don Kerr --- In flexcoders@yahoogroups.com, markflex2007 [EMAIL PROTECTED] wrote: A

[flexcoders] Re: sot: java noob, need advice on blazeds app development

2008-03-21 Thread Jim Boone
Derrick, Your correct, this isn't a simple questions. 1) Why do you want to save variables in session on the server when you can save state in your client? If you really have a business need to save session variables, then look in the section titled Working with session data in the BlazeDS

[flexcoders] Re: Continuous refresh() on ICollectionView

2008-03-21 Thread arieljake
Yes, exactly. It's for a filter. What I am thinking about is if I am going to type my first name into a text input (A-r-i-e-l), if I bind the change event directly, the list will be filtered 5 times, once for each letter in my name. But if I delay for say 300 ms after each letter, and reset the

[flexcoders] Override toString() in Object not reccomened.. why?

2008-03-21 Thread Kevin
I am wanting to override toString() in some objects of mine that extend Object, however, I noticed this in the docs: Note: Methods of the Object class are dynamically created on Object's prototype. To redefine this method in a subclass of Object, do not use the override keyword. For example, A

[flexcoders] ArrayCollection refresh event listener

2008-03-21 Thread loc_tran106
I wanted to do some custom calculations on the filtered data of an arraycollection. I set the filterfunction for the ac, and then called ac.refresh(). What is the proper event to listen for so I can handle my calculations when the refresh on is complete? Thanks, -Loc

[flexcoders] Re: Using old (2.01) History Manager in Flex 3.x

2008-03-21 Thread One Person
But that is the new Deep Linking concept. And that is what is breaking me. I need to be able to go back to the old way the history management worked. For right now I can not use the new Deep Linking system with the way my code is written. We are working on converting our code to handle the

Re: [flexcoders] HTML Wrapper

2008-03-21 Thread Andrew Wetmore
I save a copy of the wrapper page as I want it with the name index.html in bin-release. That is what I post to wherever I am posting the application. Flex Builder does not overwrite it because it doesn't know about it. I believe you can also set a preference for the project to not re-create the

[flexcoders] Re: Is this normal behaviour for DataGrid ?

2008-03-21 Thread dougco2000
I think you ran into the same thing I did, the datagrid will render things oddly sometimes, I had to use the dataChange function in my itemrenderer to get what I wanted. I go into more detail at http://blog.dougco.com/coding/flex/doesnt-seem-like-normal-behaviour-for-datagrid/ if that is helpful.

Re: [flexcoders] RPC FaultEvent with BlazeDS

2008-03-21 Thread Nayan Savla
Hi Dominic, I had this problem when i replaced the {server}:{port} in the config files make sure you don't do that. The best thing would be to use the blazeds sample directory and add you classes in there to debug the application. Another useful thing i have found that if you run blazeds in

[flexcoders] Re: RPC FaultEvent with BlazeDS

2008-03-21 Thread Dominic Pazula
Thanks Nayan. The endpoint url=.../ are just like they were before. http://{server.name}:{server.port}/{context.root}/... I actually do have debugging statement printing to the terminal currently. But since the Flex RPC calls are not making it to my classes, nothing is printed. --- In

[flexcoders] Help moving to Flex 3 using AdvancedDataGrid

2008-03-21 Thread hoytlee2000
(can I use an Httpservice result directly as the dataprovider?) I am just moving over to Flex 3 and want to use the AdvancedDataGrid and I can't seem to get it to read the lastResult of an HTTPService. if I use dataProvider={studXML.lastResult.student} I get stuff in the grid but it's not

RE: [flexcoders] Re: Is this normal behaviour for DataGrid ?

2008-03-21 Thread Alex Harui
Each dataprovider entry must be unique. You are actually adding multiple references to the same object. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dougco2000 Sent: Friday, March 21, 2008 10:17 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Using old (2.01) History Manager in Flex 3.x

2008-03-21 Thread Alex Harui
So your main goal is to not have information added to the url? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of One Person Sent: Friday, March 21, 2008 10:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Using old (2.01)

RE: [flexcoders] ArrayCollection refresh event listener

2008-03-21 Thread Alex Harui
CollectionEvent.CHANGE with CollectionEventKind.REFRESH From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of loc_tran106 Sent: Friday, March 21, 2008 10:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ArrayCollection refresh event

RE: [flexcoders] Override toString() in Object not reccomened.. why?

2008-03-21 Thread Alex Harui
Mucking with Object's prototype is probably not a good idea. The toString() might impact other plain objects. We don't get errors leaving override off unless we're subclassing something other than Object like EventDispatcher or Sprite. From:

RE: [flexcoders] Re: Continuous refresh() on ICollectionView

2008-03-21 Thread Alex Harui
Filter visits every entry in the data source. If you've got a lot, it can take a while. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of arieljake Sent: Friday, March 21, 2008 10:07 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] ArrayCollection of String as single-column DataGrid provider

2008-03-21 Thread Alex Harui
You cannot use simple types (String, Number) in a DG. You have to use objects like: mx:Object label=String1 / From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mario.blataric Sent: Friday, March 21, 2008 4:00 AM To:

RE: [flexcoders] Custom ItemRenderer in HorizontalList

2008-03-21 Thread Joan Lafferty
The code below doesn't compile for me. What are you trying to do? Just add extra text to each data's label? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aicfan4 Sent: Friday, March 21, 2008 12:15 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] List all Component ids used in the Application

2008-03-21 Thread Alex Harui
You could parse the xml/mxml looking for id attributes. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, March 21, 2008 7:02 AM To: FlexCoders Subject: [flexcoders] List all Component ids used in the

RE: [flexcoders] how to copy a DisplayObject

2008-03-21 Thread Alex Harui
DisplayObjects are backed by Player code so it can't be effectively serialized and deserialized. You can always re-parent the DG to another place. If you need to see two at one time, then just having a second instance with the same columns and dataprovider is more efficient than serializing

RE: [flexcoders] List all Component ids used in the Application

2008-03-21 Thread khair
Thanks! I don't know why i did not think of that. I can parse out the ids in the ActionScript files too with RegExps. Thanks -- -- Keith H -- Alex Harui [EMAIL PROTECTED] wrote: You could parse the xml/mxml looking for id attributes. From:

Re: [flexcoders] Re: sot: java noob, need advice on blazeds app development

2008-03-21 Thread Derrick Anderson
hi jim, thanks for your response- for the first question, i want to save variables on the server because in my application, the database used for all queries is determined at login (different clients go to different databases) but it's all the same client code. when the backend was coldfusion I

[flexcoders] Re:Help binding an XML file from a webservice?

2008-03-21 Thread Mykola
Hi Tracy, I don't really want to disagree with you, but it is a technical issue and I see some difference in what you said and my code results. Maybe you will know the answer. E4x event.result is XML. I am actually getting xml (lowercase) type, not XML type. When I run typeof on my

[flexcoders] Re: Using old (2.01) History Manager in Flex 3.x

2008-03-21 Thread One Person
My main goal is to have the exact same History management in Flex 3 as I had in Flex 2. I would have hoped that this was just an option in Flex 3, but I can't seem to find it. So if that means that the information is not added to the URL, then, yes, that is what I am looking for. Mike --- In

[flexcoders] Render BarChart items from top to bottom?

2008-03-21 Thread scott.royston
Is there an easy way to get a BarChart to render items from top to bottom rather than bottom to top? (i.e. the first data item shows up at the top of the chart, rather than the bottom). I'd rather not reverse the underlying datasource (other things are displaying it at the same time). Thanks

RE: [flexcoders] Select all checkboxes in datagrid with a single click

2008-03-21 Thread Tracy Spratt
No, no, I'm just trying to make this key idea, work-with-the-dataProvider, clear to the original poster, clearly a new Flex user. I don't even need to look at your example to know it is quality. I apologize for the misunderstanding. Tracy From:

RE: [flexcoders] HTML Wrapper

2008-03-21 Thread Tracy Spratt
You should be making your changes to index.template.html, in the html-template folder, not in the [myProject].html generated wrapper. The compiler will use that template when it generates the wrapper. When I forget and try to update the generated file, Flex Builder fusses, asking me if I

RE: [flexcoders] Help moving to Flex 3 using AdvancedDataGrid

2008-03-21 Thread Tracy Spratt
I can't help specifically, but I do advise strongly against binding directly to lastResult. It is just too inflexible and too hard to debug. Use a result handler function, so that you can examine your result, or preprocess it, or put it in a collection of your choice, or do anything that

[flexcoders] Re: 'label' 'mx_internal_uid' nodes mysteriously added to XMLListCollection

2008-03-21 Thread nikolajselvik
[artist.xml] artistdata artist nameJohn/name portfolio folder isBranch=false nameJohns Folder/name /folder /portfolio /artist artist nameAnna/name portfolio folder isBranch=false

RE: [flexcoders] Re:Help binding an XML file from a webservice?

2008-03-21 Thread Tracy Spratt
Odd that the as operator is not working correctly for you. I'd use the XML() syntax. Having the type be XMLList when it is actually an XML node might confuse someone some day. But its not my app. Perhaps someone else will have some input on the data type issue Tracy

[flexcoders] Share layout, not just skins

2008-03-21 Thread thinkloop
Hi, Is there a smart way to share layout and not just skins with other applications. What I am trying to do is build an application template for our applications, that looks and acts IDENTICALLY for all of them. So there would be a carefully positioned header, menu bar, 2 column layout and footer

RE: [flexcoders] Re: 'label' 'mx_internal_uid' nodes mysteriously added to XMLListCollection

2008-03-21 Thread Alex Harui
Your itemEditEnd handler should call preventDefault() and maybe destroyItemEditor From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nikolajselvik Sent: Friday, March 21, 2008 1:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Re: Using old (2.01) History Manager in Flex 3.x

2008-03-21 Thread Alex Harui
The old mechanism of not displaying history information and storing the information in a hidden SWF was discontinued in Flex 3. There might be a way to re-create that behavior, but it will likely be faster to port to use BrowserManager From:

[flexcoders] flex builder 3 on os x very very slow in debug mode

2008-03-21 Thread Willy Ci
hi , does anyone else having this problem? I just install flex builder 3 on my mac book pro, (use to have flex builder 2, works fine) everything works fine, but if I try go into debug, the flex builder just went very very slow, a lot of times I have to do the hard reboot is there anyway I can

[flexcoders] FB2 Keyboard Shortcut to insert variables/member names?

2008-03-21 Thread Merrill, Jason
I looked in the Key Assist in Flexbuilder 2 and the help and online, couldn't find this shortcut. At least, wasn't obvious to me what it was called. Very useful if it exists: Anyone know if there is a keyboard shortcut in the code editor for inserting a variable or method name (FB2)? I would

RE: [flexcoders] Flex Beta 3 to Flex 3 Migration Problems

2008-03-21 Thread Joan Lafferty
Hi Seth, Unfortunately, we don't have this list. I tried to use our bugbase to find the bugs fixed from Beta 3 to release and that proved futile as well. So, I looked through all of our changelists and didn't see any that were obvious changes to Accordion and ComboBoxes. There were many

[flexcoders] Re: Using old (2.01) History Manager in Flex 3.x

2008-03-21 Thread One Person
As stated before I don't have time before my release to make the change to get things to work with the new Flex 3 way of doing things. That is why I posted in the first place. I am just trying to find if anyone have come up with a way to use the old way of doing things instead of forcing me to

[flexcoders] Flex Component Kit - trouble with FlexContentHolder

2008-03-21 Thread ben.clinkinbeard
I have converted my symbol to Flex Conatiner via the commands and then added the FlexContentHolder to the symbol and gave it an instance name of contentHolder. I get this error: Cannot create property contentHolder on... If I don't give the FlexContentHolder an instance name it is ignored. What

[flexcoders] Re: Flex2 versus Flex3 font size

2008-03-21 Thread joan_lynn
I'm pretty sure that your problem with Button labels is not because of a font change, but, rather, a change in our default Button. In Flex 2, the styles paddingLeft, paddingRight, paddingTop and paddingBottom didn't work. So, Button had some hacky code to figure out how much spacing there was

[flexcoders] Re:Help binding an XML file from a webservice?

2008-03-21 Thread Mykola
Hi Tracy, Here is what I found in Flex SDK source. I hope it will clarify the event.result mystery a bit: flex_sdk_3/frameworks/projects/rpc/src/mx/rpc/soap/SOAPDecoder.as Line 306: else if (resultFormat == e4x) { // Return the

RE: [flexcoders] FB2 Keyboard Shortcut to insert variables/member names?

2008-03-21 Thread Beau Scott
Control + Space For a list of other hotkeys, press Control+Shift+L Beau From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, March 21, 2008 3:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] FB2 Keyboard Shortcut to insert

RE: [flexcoders] Flex2 versus Flex3 font size

2008-03-21 Thread Jason Szeto
We fixed some padding bugs in the Button classes. In Flex 2, if you explicitly set a width, the button would ignore the padding in order to fit the label. In Flex 3, we fixed this behavior so that padding is always respected. One solution for you is to adjust the paddingLeft/paddingRight

[flexcoders] Multiple Headers

2008-03-21 Thread markgoldin_2000
Is there a way of having multiple headers in dataGrid columns? Thanks

RE: [flexcoders] FB2 Keyboard Shortcut to insert variables/member names?

2008-03-21 Thread Merrill, Jason
Thank you, but Control + Space does nothing for me, other than if I am in the right part of script, it will bring up a list of Adobe classes. Flexbuilder 2. See my original post, that is not my need. And if it is an Actionscript only file, ctrl+space does nothing. For a list of other hotkeys,

RE: [flexcoders] FB2 Keyboard Shortcut to insert variables/member names?

2008-03-21 Thread Merrill, Jason
And to clarify further, I don't mean code hinting once you type the class instance or static name myClass.[Hint] or MyClass.[hint] - what I mean is if you are on a blank line and you want to insert a member name from the same class: private var _b:String; private function a():void {

[flexcoders] Re: Delete a specific element from an xml object -- by it's value

2008-03-21 Thread Amy
--- In flexcoders@yahoogroups.com, jeffreyr6915 [EMAIL PROTECTED] wrote: Is there a way to delete an xml element from an XML object based on the text value of that element? Example: items itemaitem itembitem itemcitem items I want to delete the element that has the value

RE: [flexcoders] Multiple Headers

2008-03-21 Thread Joan Lafferty
You might look at using a custom headerRenderer for your DataGrid. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Friday, March 21, 2008 2:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Multiple

Re: [flexcoders] Re: Delete a specific element from an xml object -- by it's value

2008-03-21 Thread Jeffrey Walker
Thanks On Fri, Mar 21, 2008 at 3:44 PM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, jeffreyr6915 [EMAIL PROTECTED] wrote: Is there a way to delete an xml element from an XML object based on the text value of that element? Example:

Re: [flexcoders] Re: Delete a specific element from an xml object -- by it's value

2008-03-21 Thread Sherif Abdou
try it like this, sorry for the other stuff , i guess then you can do something like myElement.items.(text()==b); ?xml version=1.0 encoding=utf-8? xmlns:manager=com.lib.manager.* creationComplete=initApp() mx:Script ![CDATA[ private function initApp():void

[flexcoders] Re: 'label' 'mx_internal_uid' nodes mysteriously added to XMLListCollection

2008-03-21 Thread nikolajselvik
Hi, preventDefault() works fine, thanks a lot Alex! On to the mx_internal_uid mystery node then... The problem only occurs when I set the selectedItem of the ComboBox but can't see why that should present this problem? [artistdata.xml] artistdata categories category id=0

[flexcoders] Movie not loaded

2008-03-21 Thread icegoffy
Am facing a problem , flex swf not showing on the page, here's the markup that i used : object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354 id=main width=500 height=300 codebase=http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab;

RE: [flexcoders] Re:Help binding an XML file from a webservice?

2008-03-21 Thread Tracy Spratt
Interesting. It looks like you are correct, that the base type in e4x resultFormat is XMLList. The acutal data returned, however is a normal xml node. I plan to stick with using XML() to receive my results. Tracy From: flexcoders@yahoogroups.com

  1   2   >