[flexcoders] Tree problem

2008-08-13 Thread venkat eswar
i have one doubt.i have to create a tree(group like chat application). actually i am using an array and that values has to be displayed as children.Here it is groupArr.also the groupName has to be kept as root and the array values has to be the children of the root (ie groupName). ?xml

Re: [flexcoders] Re: Error 1069 Decoding Error

2008-08-13 Thread Peeyush Tuli
Could be a problem with a malformed soap response which is not confirming to the schema bound in the wsdl. Please use a HTTP proxy like Charles to verify the response from the server. Check if a fault element is in the xml response, which a soap webservice enabled server should send in most

[flexcoders] Re: Loop through all visual components

2008-08-13 Thread itdanny2002
Still not success. I gave an example. My user enter something e.g. login name and then program display the full name. private function DoChecking(S:String):String { ... if (TryOnce) then { return Already Tried; } else { return First Time; } }

Re: [flexcoders] Re: Loop through all visual components

2008-08-13 Thread Laurent Cozic
Not sure but I think you need to make your login variable (whather that is) bindable, so that, when it changes, the showName label is notified: [Bindable] private var login:String; // just guessing the declaration. The important part is the [Bindable] tag -- Laurent Cozic Flash, Flex and

[flexcoders] EU speakers (yes again ;) )

2008-08-13 Thread Gregor Kiddie
Having been reminded by Ted's post, http://www.onflex.org/ted/2008/08/max-early-bird-pricing-19-days-left.ph p Are we going to get the EU speakers before the NA early bird runs out? I've got the choice of either but I need to know if the NA one is going to give me anything over the EU one! (And

[flexcoders] Compiler Extension point

2008-08-13 Thread Marvin Froeder
Hi folks, I was looking at flex SDK sources. Looking at ImplementationCompiler, there one As3Compiler is instanced and some extensions are added (addCompilerExtension) to As3Compiler. At present time I can only add extensions by change compiler code, right? Exists any extension point that I

Re: [flexcoders] WordWrapping a Label

2008-08-13 Thread Scott Melby
Make sure you set the width property, or the text will not wrap. hth Scott -- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Gordon Smith wrote: You need to use mx:Text instead of mx:Label. Gordon Smith Adobe Flex SDK Team

[flexcoders] Re: Problem in Identfying Flash Objects in QTP 9.2

2008-08-13 Thread jp_bit2001
Thanks for replay Anthony. I did include these files but it did not made any difference. Is there anything else I' am missing here. --- In flexcoders@yahoogroups.com, Anthony DeBonis [EMAIL PROTECTED] wrote: Did you include automation.swc, automation_agent.swc, and qtp.swc? Besure to use

[flexcoders] Re: what is a reliable way to know when your component is re-displayed

2008-08-13 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Most folks use the Viewstack's change event. You don't want to wait until they are displayed to update them, you want to do it just before, which is when the viewstack is changing. I've found that sometimes in this

[flexcoders] Getting an ItemEditEnd event to fire from a customer itemEditor (Focus?)

2008-08-13 Thread Charlie Hubbard
Hi, I have a customer item editor that handles a 5 star rating system. If the user clicks on the component it will rate it 1-5 stars. I've gotten everything working except I can't get the DataGrid to fire an itemEditEnd event when I click on the component. I figured it would work similar to

[flexcoders] Issues with mx:Text, mouse cursors, and Hrefs inside the text

2008-08-13 Thread Todd
Hello All, I'm using the mx:Text to render some htmlText complete with some embedded href links. My goal is to use the htmlText with a link (via an href in the text), catch the event for the link, but treat the rest of the text as a button in the parent. Also, it's important to keep the mouse

[flexcoders] treeview advanced datagrid

2008-08-13 Thread natjai
I am looking to filter on tree view of an advanced datagrid. (Assuming there are two columns item-name, misc-info. item-name object contains the children objects, each having a name field). Upon user typing a string (regexp) the effect is to match an item's name or one of it's children's name and

Re: [flexcoders] Trying to undo changes to datagrid dataprovider

2008-08-13 Thread Howard Fore
It was good enough. However I had a temporary case of what I like to call PEBCAK - Problem Exists Between Keyboard And Chair! :-) I have three different cancel functions for various things and I was resetting the datagrid in the wrong one! Thanks for your help. On Wed, Aug 13, 2008 at 12:41 AM,

[flexcoders] Project Clean/Build All

2008-08-13 Thread Nik Derewianka
Ok, someone let me in on the secret. I do a project clean, verify that yes it empties out the directory except for the folders. Build All... for some reason it doesn't copy across ALL of the swf's. It used to. There is only one option on the Flex Compiler properties page to 'Copy all

[flexcoders] Re: WordWrapping a Label

2008-08-13 Thread shafram
Thanks for the responses. As a follow on question, is there a way to control the spacing in between the lines (for example single space, double space) When the word wraps there is too much of a gap in between the lines, and it would be nice to control that spacing. Thanks --- In

Re: [flexcoders] Re: WordWrapping a Label

2008-08-13 Thread Scott Melby
I have not tried... but, it appears the styles on this page http://livedocs.adobe.com/flex/3/langref/mx/controls/Text.html should get you where you want to go. hth Scott -- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com shafram wrote: Thanks for the responses. As a

[flexcoders] Re: WordWrapping a Label

2008-08-13 Thread shafram
Thanks actually I found it, you have to play with the leading property --- In flexcoders@yahoogroups.com, Scott Melby [EMAIL PROTECTED] wrote: I have not tried... but, it appears the styles on this page http://livedocs.adobe.com/flex/3/langref/mx/controls/Text.html should get you where you

[flexcoders] Re: Tree problem

2008-08-13 Thread guillaumeracine
If you want your tree to be displayed correctly populate it with custom value object that follows this structure: public class GroupItemVO{ public var name:String; public var children:Array; public function addChildren(item:GroupItem):void{ this.children.addItem(item); } } and

Re: [flexcoders] SoundChannel position misreporting

2008-08-13 Thread Mark Carter
There is already a bug about this: http://bugs.adobe.com/jira/browse/FP-33 The last comment says it might be fixed in the latest Flash Player 10 pre-release (beta 2, version 10,0,0,525) from early July... I'll try to check this soon... -- View this message in context:

[flexcoders] Datavisualization.swc

2008-08-13 Thread yagogak
Where i can download the lastest version of datavisualization ? opensource.adobe.com allowed to download the lastest release of the SDK, but i can't find a way to get release of datavisualization except in official Flex Builder 3 pro. thanks.

Re: [flexcoders] Re: Tree problem

2008-08-13 Thread Ryan Gravener
Also look at treedatadescriptor, that gives you a lot of control. On 8/13/08, guillaumeracine [EMAIL PROTECTED] wrote: If you want your tree to be displayed correctly populate it with custom value object that follows this structure: public class GroupItemVO{ public var name:String;

Re: [flexcoders] Re: datagridcolumn

2008-08-13 Thread Michelle Davis
Hi Tim, Thanks so much for the answer.  You are my savior.  I got it now. At the beginning I tried getNumberAt but it didn't work so that's why I tried others. privatefunctiongetLabelUnit2(item:Object, column:DataGridColumn): Number{   return }item.CaServiceIds.getNumberAt(1) Have a nice day,

[flexcoders] Shutoff or de-init BrowserManager (IE7 issues)

2008-08-13 Thread flexaustin
Is it possible to shutoff or browserManager for certain components or for the entire application? So after you do the following: browserManager = BrowserManager.getInstance(); browserManager.init(, Welcome); // browserUrlChange

Re: [flexcoders] Datavisualization.swc

2008-08-13 Thread Maciek Sakrejda
That's the place to get it. It's a commercial product. It's bundled with Flex Builder 3 Pro. -Original Message- From: yagogak [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Datavisualization.swc Date: Wed, 13 Aug 2008 14:20:04

Re: [flexcoders] Re: datagridcolumn

2008-08-13 Thread Michelle Davis
Hi Tim, Can I ask you another stupid question?  I learned labelFunction from the web site, I don't understand the second parameter column:DataGridColumn.  What is that for? Thanks, Michelle.  - Original Message From: Tim Hoff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent:

[flexcoders] Re: Shutoff or de-init BrowserManager (IE7 issues)

2008-08-13 Thread Tim Hoff
If you want to turn it off completely, there is a compiler setting. Go to project -- properties -- Flex Compiler. Then uncheck the Enable integration with browser navigation option. This should disable the forward/back browser buttons from interacting with the swf. If you only want to turn it

[flexcoders] Re: My itemRenderer is cancelling wordWrap setting on AdvancedDataGridColumn

2008-08-13 Thread whatabrain
Just changing Label to Text worked. I didn't have to write a measure method. I really wish the Flex controls had been written in a way that matches the OS's behavior better. I've had to write a lot of code (for example, this tooltip fix), just to make standard controls. Ah well. Better the

[flexcoders] Re: datagridcolumn

2008-08-13 Thread Tim Hoff
There are no stupid questions. :-) I'm glad that you got it working. The second parameter specifies the DataGrid column. This can be useful if, for instance, you are using the same labelFunction for several columns, and you need to conditionally format the returned object; depending on the

[flexcoders] Automation with addSynchronization

2008-08-13 Thread martinruiz87
Hello, I am trying to add automation, but i need to configure the automationObjectHelper to wait until the server retrieves the information. So basically I need the automation framework to freeze at the execution of the command, and continue when the result method is finished. This is the idea of

Re: [flexcoders] Re: datagridcolumn

2008-08-13 Thread Michelle Davis
Wows, I learned the new thing.  Thanks so much, Michelle. - Original Message From: Tim Hoff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, August 13, 2008 8:39:20 AM Subject: [flexcoders] Re: datagridcolumn There are no stupid questions. :-)  I'm glad that you got

[flexcoders] Re: Datagrid editedItem

2008-08-13 Thread rmarples
I'm also looking for this. Does anybody have any thoughts? I'm using the AdvancedDataGrid. --- In flexcoders@yahoogroups.com, Deniz Davutoglu [EMAIL PROTECTED] wrote: Hello guys, I need to write excell like aplication. which will send data to server after every cell edited. I wrote some

Re: [flexcoders] Re: datagridcolumn

2008-08-13 Thread Michelle Davis
Hi Tim, Now I know why when I tried labelFunction and getNumberAt.  It didn't work the first time.  The reason is I had only 1 argument in labelFunction.privatefunctiongetLabelUnit2(item:Object): Number{     returnitem.CaServiceIds.getNumberAt(1)   } I got the

RE: [flexcoders] Displaying custom items in ComboBox

2008-08-13 Thread Regert, Michael
I'm looking at that now. Thanks. I'm going to need to see if I can tweak it to use a canvas vs. a Icon Class. Michael J. Regert From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Tuesday, August 12, 2008 6:17 PM To:

RE: [flexcoders] AS 3.0 event target problem!!!

2008-08-13 Thread Zoran Avramov
Hi Alex/Gordon   The problem with assigning IDs is that the popup container has that close button (the path that I gave) when you create the actual popup. For example the button that I gave an example with no path to the root (ConfirmScreen388.UIComponent418.Button422), is created by just

[flexcoders] .swf displays fine, but MovieClip methods fail

2008-08-13 Thread Merrill, Jason
I'm displaying some sprites inside a Flex 3 container with Actionscript. So far on this project, the sprites I have been showing have been visually drawn on the screen either by embedding an image or by drawing with sprite.graphics methods. Now, I'm trying to embed a .swf, and it works (it

[flexcoders] Re: datagridcolumn

2008-08-13 Thread Tim Hoff
Yup. Also, I'm not familiar with getNumberAt(). The collection API uses getItemAt(), or you can use bracket notation. -TH --- In flexcoders@yahoogroups.com, Michelle Davis [EMAIL PROTECTED] wrote: Hi Tim, Now I know why when I tried labelFunction and getNumberAt.  It didn't work the

[flexcoders] Re: Datagrid editedItem

2008-08-13 Thread Tim Hoff
You could take a snapshot of the cell's listData on the itemEditBeginning event. Then, on the itemEditEnd event, compare the cell's listData to the snapshot; to determine if you really need to send the data. -TH --- In flexcoders@yahoogroups.com, rmarples [EMAIL PROTECTED] wrote: I'm also

[flexcoders] Re: Datagrid editedItem

2008-08-13 Thread rmarples
The thing I'm finding cumbersome is that the dataProvider has not yet been modified when the itemEditEnd fires. I have to look at the TextInput(grid.itemEditorInstance).text property to get the new value. What I really want to do is just fire off a command to go save the current record to

[flexcoders] DateValidator not being disabled with errorString=

2008-08-13 Thread netdeep
I have Validators for some of my TextInput and Datefields. I am loading my TextInput and DateFields first via ActionScript and then resetting them later through ActionScript so I never even click on the DateField but the Validator still triggers when I reset. Basically I want the 'reset

[flexcoders] Re: Error 1069 Decoding Error

2008-08-13 Thread Mandy
I fixed the problem. The method the webservice was suppose to return to had the wrong signature. I had this signature: public function getProductsResult(result:ResultEvent):void { } when I needed this signature: public function getProductsResult(resultObj:Object):void { } Thanks for the help!

[flexcoders] Re: Datagrid editedItem

2008-08-13 Thread Tim Hoff
Ok, makes sense. You could manually update the collection inside the itemEditor itself: private function onChange():void { data.myDataField = myTextInput.text; // dispatch an event here to send the data to the server } mx:TextInput id=myTextInput change=onChange()/ -TH --- In

[flexcoders] Re: Loading style sheets at run time

2008-08-13 Thread saatreddy
Hi, I have to embed fonts into my application. I have .swf font files. I have to use these swf files as an array in a combo box, so that the user can select the font. Once he selects that font I have to use the selected swf(ex Arial.swf) file in an xml element as value. I specifically dont use

[flexcoders] Can I set the image source in CSS?

2008-08-13 Thread luvfotography
For an image, can I set the source in css? ie. mx:Image id=myimage source=@Embed(source='../mypic.png') / can I move the source to the css? or is there another way to do this?

[flexcoders] Re: Can I set the image source in CSS?

2008-08-13 Thread cuttenv
--- In flexcoders@yahoogroups.com, luvfotography [EMAIL PROTECTED] wrote: For an image, can I set the source in css? ie. mx:Image id=myimage source=@Embed(source='../mypic.png') / can I move the source to the css? or is there another way to do this? Don't think you can because source

[flexcoders] Re: Can I set the image source in CSS?

2008-08-13 Thread guillaumeracine
Yes : Button{ corner-radius: 0; border-style: solid; border-color: #FF; border-thickness: 2; up-skin: Embed(source=assets/slideshow/btnBleu.jpg); over-skin: Embed(source=assets/slideshow/btnOver.jpg); color: #FF; font-size: 10px; } --- In flexcoders@yahoogroups.com,

[flexcoders] Re: WordWrapping a Label

2008-08-13 Thread cuttenv
--- In flexcoders@yahoogroups.com, shafram [EMAIL PROTECTED] wrote: Thanks for the responses. As a follow on question, is there a way to control the spacing in between the lines (for example single space, double space) When the word wraps there is too much of a gap in between the lines,

[flexcoders] Re: Can I set the image source in CSS?

2008-08-13 Thread guillaumeracine
Yes: Button{ corner-radius: 0; border-style: solid; border-color: #FF; border-thickness: 2; up-skin: Embed(source=assets/upSkin.jpg); over-skin: Embed(source=assets/downSkin.jpg); color:

[flexcoders] Re: Can I set the image source in CSS?

2008-08-13 Thread guillaumeracine
Yes: Button{ corner-radius: 0; border-style: solid; border-color: #FF; border-thickness: 2; up-skin: Embed(source=assets/upSkin.jpg); over-skin: Embed(source=assets/downSkin.jpg); color:

[flexcoders] Modal Popup inside a module (or inside a view) of my application

2008-08-13 Thread cuttenv
Help! I am trying to create a popup that is modal over only one area of my application. I don't know if it helps but that area is actually a module that is loaded into the main application. It only takes up about half of the stage. Is there a way to make a modal popup over only a module or

[flexcoders] Re: Can I set the image source in CSS?

2008-08-13 Thread guillaumeracine
Sorry for my multiple reply... --- In flexcoders@yahoogroups.com, guillaumeracine [EMAIL PROTECTED] wrote: Yes: Button{ corner-radius: 0; border-style: solid; border-color: #FF; border-thickness: 2; up-skin:

[flexcoders] allowing CDATA in inline XML of ActionScript code of MXML

2008-08-13 Thread Keith
When I declare an inline XML object in the actionscript of my MXML document, how do I keep the compiler from throwing errors when I have CDATA in my XML? (The mx:Script already uses CDATA for actionscript) private function init():void { var doc:XML= SAMPLE INFO![CDATA[Cool stuff about

RE: [flexcoders] Re: Can I set the image source in CSS?

2008-08-13 Thread Gordon Smith
The 'upSkin' and 'overSkin' of a Button are styles. The 'source' of an Image is a property, not a style, and properties cannot be specified in CSS. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [flexcoders] allowing CDATA in inline XML of ActionScript code of MXML

2008-08-13 Thread Daniel Freiman
You can split up the XML into a couple strings and concatenate them together to work around the compiler. Something like this: var doc:XML= new XML(SAMPLEINFO![CDATA[Cool stuff about Unicorns in Unicode text here.]+]+/INFO/SAMPLE); - Daniel Freiman On Wed, Aug 13, 2008 at 2:44 PM, Keith

[flexcoders] Re: Shutoff or de-init BrowserManager (IE7 issues)

2008-08-13 Thread flexaustin
Thanks for the help you got me thinking. I can't shut off the browsermanager entirely as I will probably need it in the future. The issue is with the history.js file and our app. Our app runs an ajax type animation that changes the fragment every 30 seconds. Well with IE7 when browsermanager calls

[flexcoders] Is POST a sync event?

2008-08-13 Thread markgoldin_2000
I am posting a large amount of XML data using HTTPService. It looks like my server starts processing of Request object before the data is trasmitted in full. Same code works fine with a smaller data. Any idea? Thanks

[flexcoders] Take the latest Adobe Developer Survey

2008-08-13 Thread Matt Chotin
Hey all, We've got another survey out as we try to determine what tools and services are going to be appealing as part of future work here at Adobe. Would appreciate it if you could take a few minutes and fill it out.

[flexcoders] Re: Take the latest Adobe Developer Survey

2008-08-13 Thread Matt Chotin
Er, hit send too early. Hey all, We've got another survey out as we try to determine what tools and services are going to be appealing as part of future work here at Adobe. Would appreciate it if you could take a few minutes and fill it out. http://www.adobe.com/go/devsurvey For those in the

RE: [flexcoders] Modal Popup inside a module (or inside a view) of my application

2008-08-13 Thread Alex Harui
Modal is done by putting a transparent sprite over the area that shouldn't be clicked. So, if you pop up a transparent sprite then popup your dialog and position and size everything, you should get what you want. From: flexcoders@yahoogroups.com

[flexcoders] Re: Can I set the image source in CSS?

2008-08-13 Thread guillaumeracine
Yes right... My bad --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: The 'upSkin' and 'overSkin' of a Button are styles. The 'source' of an Image is a property, not a style, and properties cannot be specified in CSS. Gordon Smith Adobe Flex SDK Team

RE: [flexcoders] Re: WordWrapping a Label

2008-08-13 Thread Alex Harui
The leading style From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cuttenv Sent: Wednesday, August 13, 2008 11:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WordWrapping a Label --- In flexcoders@yahoogroups.com

RE: [flexcoders] Re: Loading style sheets at run time

2008-08-13 Thread Alex Harui
I think you will need to contact the provider of the chart component to determine how to work with their API. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of saatreddy Sent: Wednesday, August 13, 2008 11:12 AM To:

RE: [flexcoders] Re: Datagrid editedItem

2008-08-13 Thread Alex Harui
I think you should listen to the collection for CollectionChange events and use that to sync to the server. Don't work from UI events. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Wednesday, August 13, 2008 11:06 AM

RE: [flexcoders] .swf displays fine, but MovieClip methods fail

2008-08-13 Thread Alex Harui
When you embed a SWF, it gets wrapped in a MovieClipLoaderAsset and is not the MovieClip itself. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Wednesday, August 13, 2008 10:23 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] AS 3.0 event target problem!!!

2008-08-13 Thread Alex Harui
The root of a SWF is a SystemManager. All Popups and the Application are children of the SystemManager. You may be able to use getChildByName and get more consistent results. We have a much more sophisticated technology we use in house to exercise components similar to what you are

RE: [flexcoders] Issues with mx:Text, mouse cursors, and Hrefs inside the text

2008-08-13 Thread Alex Harui
I don't think you can override behavior of the internal TextField From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Todd Sent: Wednesday, August 13, 2008 6:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Issues with mx:Text,

RE: [flexcoders] Re: My itemRenderer is cancelling wordWrap setting on AdvancedDataGridColumn

2008-08-13 Thread Alex Harui
Which os? Flex is multi-platform. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of whatabrain Sent: Wednesday, August 13, 2008 8:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: My itemRenderer is cancelling wordWrap

[flexcoders] how to search an arraycollection

2008-08-13 Thread blc187
I have an arraycollection of objects, each of which has a timestamp. ex: {timestamp:4342423432, value:5} I want to search the arraycollection for the object which has the closest timestamp to the time I'm looking for. Is there a way to search the arraycollection for an approximate value? As of

RE: [flexcoders] Getting an ItemEditEnd event to fire from a customer itemEditor (Focus?)

2008-08-13 Thread Alex Harui
ItemEditEnd fires when the DG has editable=true, and you click somewhere else or tab somewhere else. There could be an issue if the editor doesn't take focus, I've never tried that. Set its tabEnabled=true and have it implement IFocusManagerComponent. From:

RE: [flexcoders] how to search an arraycollection

2008-08-13 Thread Alex Harui
You'll have to loop through yourself and keep track of the minimum difference From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of blc187 Sent: Wednesday, August 13, 2008 12:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] how to

[flexcoders] Re: .swf displays fine, but MovieClip methods fail

2008-08-13 Thread Jason
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: When you embed a SWF, it gets wrapped in a MovieClipLoaderAsset and is not the MovieClip itself. Thanks... so that explains why it doesn't work and that helps a little, but... umm... ok and?? What would I do to fix

RE: [flexcoders] Re: .swf displays fine, but MovieClip methods fail

2008-08-13 Thread Alex Harui
If something can't be done, I'll tell you, and it is rare that you can't do something, it is usually a matter of how hard. I'm usually going to type as little as possible and hope you'll search for the 9 other times I've answered this question, but just so it is in recent history: Someone

[flexcoders] Re: Datagrid editedItem

2008-08-13 Thread Tim Hoff
agreed. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I think you should listen to the collection for CollectionChange events and use that to sync to the server. Don't work from UI events. From: flexcoders@yahoogroups.com

[flexcoders] Re: .swf displays fine, but MovieClip methods fail

2008-08-13 Thread Jason
I'm usually going to type as little as possible and hope you'll search for the 9 other times I've answered this question I tried searching for the answer here, Google, and the Flex docs, and didn't find it. Perhaps I didn't use the right search terms. It's not like it's spelled out in the

[flexcoders] Getting the clicked column index in AdvancedDataGrid (including invisible)

2008-08-13 Thread whatabrain
I have an AdvancedDataGrid, where the first column has visible=false. When I click on the second column, the event calls it column 0, even though it should be column 1. How do I get the actual column index? I need this because in my application, it's not completely obvious at any given time

RE: [flexcoders] Can I set the image source in CSS?

2008-08-13 Thread Jim Hayes
I recall you can use resource files / ResourceManager to specify embedded images, if that's the sort of thing that you want to do? There's a relevant article on the adobe developer site somewhere as far as I remember. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Re: Getting the clicked column index in AdvancedDataGrid (including invisible)

2008-08-13 Thread whatabrain
Oh yeah. I just remembered my real problem, which looks like a bug in flex. ListEvent.columnIndex ignores invisible columns. So if column 0 is invisible, then column 1 will have an index of 0. However, AdvancedDataGrid.columns knows about invisible columns. Is there any way to fix this, other

[flexcoders] Re: how to search an arraycollection

2008-08-13 Thread Michael VanDaniker
If your collection is sorted by timestamp a binary search would be faster. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: You'll have to loop through yourself and keep track of the minimum difference From:

[flexcoders] Re: Is POST a sync event?

2008-08-13 Thread markgoldin_2000
Found the problem. IIS6 POST limitation of 200K. --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: I am posting a large amount of XML data using HTTPService. It looks like my server starts processing of Request object before the data is trasmitted in full. Same

RE: [flexcoders] Re: .swf displays fine, but MovieClip methods fail

2008-08-13 Thread Alex Harui
Sorry, didn't mean to be mean. I searched embed swf moviecliploaderasset and the third result was an example from colin moock that had the secret sauce in it. Definitely hunt me down at Max. I'll apologize in person, then get on your case about using all these sprites and movieclips in

[flexcoders] Rebuild the whole screen

2008-08-13 Thread markgoldin_2000
My apps. consists of a large number of DGs. Number of these DGs and their columns are completely data driven. The users want to be able to save screen configuration data with a later load. How can I remove everything from the player without actual browser refresh before I can load data and

[flexcoders] Re: Datagrid selected item highlight behavior changes based on dataprovider object

2008-08-13 Thread Andrew Longley
Ryan, thank you. That worked. I understand the globally unique ID and the benefit, from a Flex perspective, of updating objects while appearing to Flex to be the same object, as described in the link. I don't understand why that affects the selected style in the datagrid. It sounds like

RE: [flexcoders] Re: Datagrid selected item highlight behavior changes based on dataprovider object

2008-08-13 Thread Alex Harui
The list classes track selection by the UID of the object. If the UIDs are not unique, the wrong thing will show selection. If the UID changes, we probably can't find it to show it is selected. However, I still don't get why untyped objects made a difference. Typed objects and untyped objects

RE: [flexcoders] AS 3.0 event target problem!!!

2008-08-13 Thread Alex Harui
Hmm. I thought the name property of every sprite was filled out. You could certainly walk the tree and find things with no name and give them names. The numbering has to do with when it got instantiated. The ConfirmScreen was the 388th thing, UIComponent was the 418th, etc. But one UI

Re: [flexcoders] Re: Take the latest Adobe Developer Survey

2008-08-13 Thread Paul Andrews
- Original Message - From: Matt Chotin [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, August 13, 2008 8:35 PM Subject: [flexcoders] Re: Take the latest Adobe Developer Survey Er, hit send too early. Hey all, We've got another survey out as we try to determine

RE: [flexcoders] Re: Sending data back

2008-08-13 Thread Tracy Spratt
Yes. Trace that out to verify it. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Tuesday, August 12, 2008 9:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Sending data back I will try

RE: [flexcoders] Re: Sending data back

2008-08-13 Thread Tracy Spratt
Are you setting the method=POST? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Tuesday, August 12, 2008 10:35 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Sending data back Yes, I did

RE: [flexcoders] Can I set the image source in CSS?

2008-08-13 Thread Gordon Smith
You could also reference an embedded graphic in some CSS selector and then do something like mx:Image id=myimage initialize=myimage.source = StyleManager.getStyleDeclaration('someSelector').getStyle('someStyle')/ Gordon Smith Adobe Flex SDK Team

[flexcoders] Re: how to search an arraycollection

2008-08-13 Thread blc187
can i use a binary search if the value i am searching for is not explicitly in my arraycollection? i want to get the closest value to the timestamp i am searching for. --- In flexcoders@yahoogroups.com, Michael VanDaniker [EMAIL PROTECTED] wrote: If your collection is sorted by timestamp a

[flexcoders] Re: My itemRenderer is cancelling wordWrap... (derailed discussion)

2008-08-13 Thread whatabrain
Ideally, Flex would detect the OS and behave accordingly, but at the very least, it should incorporate accepted UI standards that are common to all major platforms. For example, it's very rare to see a tooltip appear anywhere but at the corner of the mouse cursor. And right-clicking on a grid

RE: [flexcoders] AS 3.0 event target problem!!!

2008-08-13 Thread Gordon Smith
If you assign an id, the name is the id. But if you don't assign an id, the name is set to the class name concatenated with an incrementing counter value, to ensure uniqueness. Look at the following file:

RE: [flexcoders] Re: My itemRenderer is cancelling wordWrap... (derailed discussion)

2008-08-13 Thread Gordon Smith
Please file bugs or enhancement requests at http://bugs.adobe.com/flex for the problems you've encountered. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of whatabrain Sent: Wednesday, August 13,

[flexcoders] Re: My itemRenderer is cancelling wordWrap setting on AdvancedDataGridColumn

2008-08-13 Thread whatabrain
Alright, you've convinced me. :) I subclassed AdvancedDataGridItemRenderer, and made toolTipShowHandler a blank method. I hadn't realized that they'd so specifically implemented that behavior. Now two more issues have come up. 1) Word-wrap works as one used to web browsers and various OSs

[flexcoders] Stacked Charts - Series[0].items.length not accurate at certain times. Bug or ?

2008-08-13 Thread EddieBerman
I've got a ColumnChart with its type set to stacked. I also have a BackgroundElement extended from CartesianDataCanvas, which I'll call myDataCanvas. There are times, particularly when the myDataCanvas updateDisplayList() is called, where it's not possible to get the items of Series[0]. I can get

Re: [flexcoders] allowing CDATA in inline XML of ActionScript code of MXML

2008-08-13 Thread Keith
Thanks, I can work with that. -- Keith H -- www.keith-hair.net Daniel Freiman wrote: You can split up the XML into a couple strings and concatenate them together to work around the compiler. Something like this: var doc:XML= new XML(SAMPLEINFO![CDATA[Cool stuff about Unicorns in

[flexcoders] Re: how to search an arraycollection

2008-08-13 Thread Michael VanDaniker
Yes. If X isn't in the list, the search will end on either the position before or after where X should be. --- In flexcoders@yahoogroups.com, blc187 [EMAIL PROTECTED] wrote: can i use a binary search if the value i am searching for is not explicitly in my arraycollection? i want to get the

Re: [flexcoders] Re: how to search an arraycollection

2008-08-13 Thread Sid Maskit
My understanding of a binary search is that you keep adjusting the floor and ceiling. You would need to check to find when floor and ceiling are consecutive items. At that point, you would only have two items, and you could run a comparison to see which is closer to your target number. Sid

[flexcoders] Re: Take the latest Adobe Developer Survey

2008-08-13 Thread Amy
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Er, hit send too early. Hey all, We've got another survey out as we try to determine what tools and services are going to be appealing as part of future work here at Adobe. Would appreciate it if you could take a

RE: [flexcoders] AS 3.0 event target problem!!!

2008-08-13 Thread Alex Harui
Well, you can use getChildAt() and assume indexes (they are less likely to change). You can subclass the components and walk their trees assigning names From: Zoran Avramov [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 2:54 PM To:

Re: [flexcoders] Re: Take the latest Adobe Developer Survey

2008-08-13 Thread Nancy Gill
I notice you don't have an option for ASP classic. Are you assuming that no one uses this anymore? I'd be interested in seeing if I'm the only one still doing this. Not at all, Amy. I prefer ASP Classic also .. but Flex has most definitely ignored this supposedly fading but still widely used

[flexcoders] How early can I get SystemManager, and what's the best way to get it?

2008-08-13 Thread Josh McDonald
Hey guys, Is it possible to get SystemManager before Application.application is set? If so, how? -Josh -- Therefore, send not to know For whom the bell tolls. It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

  1   2   >