[flexcoders] A bug? Drag n Drop between 2 DataGrids, target is databound... to grid 3
I have 2 datagrids with identical dataFields. The dropTarget is databound to a third dataGrid. The only thing I did to enable drag and drop is to set the dropEnabled and dragEnabled properties to true - no code so far. Dragging and dropping works like a charm,almost... When the target grid (which is databound) has 2 or more rows (before dropping row 3), the data binding seems to work and be remembered, i.e. when you change the selectedIndex of the databound source and come back later, the newly dropped row is still there. If you do the same with the dropTarget grid having one or zero rows (before dropping adragged row), the new row drops fine and gets displayed in the grid, but the databinding fails. In other words, if you do the same as described before, change the data source selectedIndex, and come back, thedragged row has been "forgotten". As for the databinding assumeXML read from HTTPService (default result format): groupsgroupnameGroup1/nameusersusernameJohn/nameemail[EMAIL PROTECTED]/email/userusernameJane/nameemail[EMAIL PROTECTED]/email/user/users/groupgroupnameGroup2/nameusersusernameJack/nameemail[EMAIL PROTECTED]/email/user/users/group...So in the above data example, dragging another user into Group1 works fine and the data has 3 users, draging another user into Group2 works on the UI at first, but does not update the data. I know this weird, but I promise, I am not making this up ;-) Any ideas what the reason(s) could be? Thanks a bunch... -Iko __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: textArea cursor position
var caretIndex:int = textArea.getTextField().caretIndex; var Bounderies:Rectangle = new Rectangle(); Bounderies = textArea.getTextField().getCharBoundaries(caretIndex); But when caret index is on the begining of the line Boundaries object is NULL.And I want to awoid that. -- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: The cursor blinks at the caretIndex. You can use getCharBoundaries () to determine the location of the character at this index. It's left edge should be the position of the caret. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Branko Sent: Tuesday, October 24, 2006 9:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: textArea cursor position Thankx for Your answer. I need position of cursor in pixels.Do You have any idea about that? --- In flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com , Mark mark_margo@ wrote: The selectionBeginIndex and selectionEndIndex properties will tell you the current state of the selection. If you want to change it, use the setSelection method. Bear in mind that if the text area doesn't already have focus, you'll need to call the setFocus method, or the setSelection method will have no effect. mark --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Branko brankosli@ wrote: How can you get the current position of the blinking cursor in a text area and is there a way to set this position programmatically? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] closing a popupButtonMenu
This will work for the popUp of PopUpMenuButton too ?xml version=1.0?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=assets.* backgroundColor=#FF width=600 height=600 mx:Script![CDATA[]]/mx:Scriptmx:PopUpButton id=myPopUpButton rollOver=myPopUpButton.open() label=Check popUp is a list mx:popUp mx:List rollOut=myPopUpButton.close()mx:dataProvidermx:Arraymx:Object label=Smily data="">mx:Object label=no data="" mx:Object label=yes data="">/mx:Array/mx:dataProvider/mx:List/mx:popUp/mx:PopUpButton/mx:Application Hope this helps, -sam On 10/23/06, boy_trike [EMAIL PROTECTED] wrote: I have an event on MouseOver to OPEN my popup menu. I want it to close when the user MOUSES OUT of the drop down menu. The mouseout event of the menu works when the user leave the BUTTON not the menu. What is the solution please? thanksbruce __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Re: Flex 2 calendar framework announced
On Wednesday 25 October 2006 17:15, maunger wrote: Thanks Tom, that indeed is awesome! Indeed. The glitzy transitions between month/week/day are a clincher over a simple zoom slider. Must. Have. Source. Code. :-) -- Tom Chiverton Helping to continually syndicate fourth-generation developments This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: A DataGrid with selectable *cells*
no sorry. but i'm sure a few group members (including me) would be intersted if you care to share. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: Has anyone else already got a DataGrid component that high lights cells when you click on them, before I go reinventing the wheel ? -- Tom Chiverton Helping to greatly entrench out-of-the-box patterns This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] A DataGrid with selectable *cells*
On Wednesday 25 October 2006 16:57, Mark McCray wrote: Isn't this the default behaviour of the datagrid? No, it selects the whole row. -- Tom Chiverton Helping to continually facilitate enterprise-class users This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: A DataGrid with selectable *cells*
On Thursday 26 October 2006 09:10, bhaq1972 wrote: no sorry. but i'm sure a few group members (including me) would be intersted if you care to share. Right, mission for today then :-) -- Tom Chiverton Helping to seamlessly foster high-yield IPOs This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Binding ArrayCollection values to a HSlider?
On Thursday 26 October 2006 03:31, michrx7 wrote: If I am returning an arraycollection from a CFC how do I bind that to a HSlider? There is no dataprovider and I'm unsure how to set the minimum/maximum values. Calculate the min and max, and then set the correct properties of the slider. Do all this in your result handler. -- Tom Chiverton Helping to dynamically brand exceptional models This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Cairngorm, dispatching application events and managing states
Hi, You could have the buttons enabled property and panels visibility property bound to the model. That seems to be the recommended way. Sammi Derrick Grigg wrote: The biggest things I need to do are update/change the state of views within the application. For instance, when a user has logged in certain buttons get enabled, or certain panels become visible that would not be so when the user is logged out. I was thinking along the lines of using Commands, but I don't think Commands should be concerned about the specific details (ie text fields, buttons, etc) of a view. Using Commands would also entail having to register all my views with a locator that would be used to allow the Commands to find Views. Seems like a huge pain. To me it seems much cleaner to allow the views to listen for certain events (likely dispatched from a Manager) and then respond accordingly. Derrick --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Dustin Mercer [EMAIL PROTECTED] wrote: Out of curiosity, what is it you want to do when the login happens. I have only found a few things that were difficult to do from within a command. If you can tell me what you want to do, I can tell you what I have done in the past and how I accomplished it from within a command. In my Cairngorm trials, I had come to some of the same thinking as you described here, but I found that there were ways to accomplish it within the command instead of a management class. There were situations I chose to implement management classes though, for example, I had a class that managed all the media playing on a media player I am building... It just didn't feel right broken into commands, just didn't feel very cohesive, although accomplishable through commands, just felt better in a singleton class Especially since I was going to be using these same functions across many different commands and didn't want to rewrite the logic in each command. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com] On Behalf Of Derrick Grigg Sent: Wednesday, October 25, 2006 12:11 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Cairngorm, dispatching application events and managing states Here's a question for any Cairngorm devotees to weigh in on. I have an application that has many seperate parts that function independently of each other. Each part uses the centralized Cairngorm fare (FrontController, ModelLocator, Commands etc). For most parts using the ModelLocator and bound properties (ie dataProvider={model.users}) works perfect for keeping everything in order. One case where this seems to fall apart is when one part or the shell application needs to notify the other parts of something that has happened. For example, a user logs into the application. I can update the model.user to reflect a value object for the new user and the various components that need to update on this do, BUT, what to do when I need something programatic to occur in one of the parts. I have tried unsuccessfully to use the 'mx.binding' classes. I think the issue there is that when you initially set the binding it is set to a specific instance of an object (ie model.user). When the user logs in I typically completely replace the model.user with a new user instance, which kills the bindings. The only way around this is to never replace object instances in the model but rather update them. Thinking this through though, that seems like a ticking time bomb. Any accidental overwrite of a instance in the model and all the bindings falls apart. What I have done in past, pre Cairngorm, applications it to create Manager classes, based on the Singleton pattern, that can dispatch events, and perform logic that doesn't really belong in a command or business delegate. For example an ApplicationManager class that can dispatch 'loggedIn' and 'loggedOut' events. Any part of the application can register as a listener and act appropriately upon receiving the event. My question then (to get to the point), is using a Manager class like this considered a best practice in the Cairngorm framework (mindframe) or is there a better or more acceptable method of doing what I would like to accomplish? Thanks in advance for any feedback, Derrick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo!
[flexcoders] FB2 - How do you open an existing project not defined to your client?
I want someone else to open my project on the remote server. In an eclipse java app I could accomplish this by exporting the project and having them import it. So far in FB2 I am not successful... Thanks, Libby -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] how do i access properties of a component inside a repeater?
i have a Tile with repeater inside. inside the repeater - a button. pretty simple. with a slider i want to change the size (width/height) of the button. i works great if i bind width/height to slider value. but how i do it the other way? from the slider to the button? what should come inside the changeSize function? here is a basic code: ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ [Bindable] private var dp:Array = [132456789, 2, 3, 4, 5, 6, 7, 8, 9]; private function changeSize():void{ //what should be here? } ]] /mx:Script mx:Panel title=Repeater Resize width=75% height=75% paddingTop=10 paddingLeft=10 paddingRight=10 paddingBottom=10 mx:HSlider maximum=200 minimum=100 value=120 id=slider1 change=changeSize() liveDragging=true/ mx:Tile direction=horizontal borderStyle=inset horizontalGap=10 verticalGap=15 width=100% paddingLeft=10 paddingTop=10 paddingBottom=10 paddingRight=10 mx:Repeater id=rp dataProvider={dp} mx:Button height=50 width=50 label={String(rp.currentItem)}/ /mx:Repeater /mx:Tile /mx:Panel /mx:Application -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] FB2 != Eclipse 3.2
This is an obvious question, but instead of trying to add their plugins to your installation of FB2, have you tried the other way? That is, install FB2 as a plug-in to their Eclipse 3.2 (instead of installing FB2 standalone)? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dorkie dork from dorktownSent: Wednesday, October 25, 2006 8:19 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] FB2 != Eclipse 3.2 I have been using the Flex Builder Stand alone to do development work. Recently, I was working at a company that is using Eclipse 3.2. Being that FB2 is a build of Eclipse, I tried to install the required plugs to work with their project. We found out that FB2 is build of Eclipse version 3.1 and the plug-ins we need require Eclipse 3.2. What is Adobe's upgrade path to 3.2 for the FB2? Is there anything coming out soon or a work around? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: array of arrays and XML
Thanks Gordon that did it. Final outcome: var numData:Number = hitData.item[@ + strRegDataSrc]; --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: You use square-bracket syntax to access a child tag or an attribute whose name you don't know at compile time: hitdata.item[@ + someVar]. If someVar is revenue, then hitdata.item[@revenue] is the same as [EMAIL PROTECTED], in the same way that when o is a plain Object o[foo] is the same as o.foo. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jnewport Sent: Monday, October 23, 2006 8:47 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: array of arrays and XML Well the reason is because when trying to get to the hitdata.item.(object) I cause problems when using XML. Since everything in my app is dynamic I cannot hardcode the hitdata.item statements in my dataTipformat function. So I cannot use [EMAIL PROTECTED] or [EMAIL PROTECTED] I have tried hitdata.item.(@ + someVar), but it doesn't work. I would be more than happy to use XMLlist or XMLListCollection, but it causes problems with hitdata and other thingsseems to cause more work later on though it saves me from having to turn it into an ArrayCollection. If you can tell me how to make XMLlist work using hitData.item statement I would be greatful. Thanks, J --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Douglas Knudsen douglasknudsen@ wrote: Curious, why convert to ArrayCollection at all? you can pass XML direct to a chart. Any Class supporting the dataProvider attribute can except any Collection. DK On 10/23/06, Tracy Spratt tspratt@ wrote: Use for..in loop. See the examples: http://livedocs.macromedia.com/flex/2/langref/XMLList.html http://livedocs.macromedia.com/flex/2/langref/XMLList.html Tracy -- *From:* flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] *On Behalf Of *jnewport *Sent:* Friday, October 20, 2006 4:56 PM *To:* flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com *Subject:* [flexcoders] Re: array of arrays and XML Thanks for the quick response. I know its possible to loop over the XMLList, but I am not sure how to do it. I have used the XMLListCollection, but then when I try to use the XMLListCollection as a data provider I have use the @ symbol as you suggested below. Using the @ cause more problems because when try to make my app dynamic I have to try things like [EMAIL PROTECTED]) and it gets messy when I have to try to capitalize things like [EMAIL PROTECTED]({somevar}). So if you could help with how to loop through the XMLList it would make my code much cleaner. Thanks, J --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com flexcoders%40yahoogroups.com, Tracy Spratt tspratt@ wrote: You can loop over the XMLList and build that ArrayCollection. Alternatively, you could use an XMLListCollection and do: var xlcBills:XMLListCollection = new XMLListCollection(myXMLBillsList.month.bill) ...no loop required. A labelField spec might be:@name or @Amount. I don't do charts yet so you are on your own there. Tracy From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com flexcoders%40yahoogroups.com [mailto: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com flexcoders%40yahoogroups.com] On Behalf Of jnewport Sent: Thursday, October 19, 2006 12:13 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com flexcoders%40yahoogroups.com Subject: [flexcoders] array of arrays and XML Hoping to figure this out. What I am trying to do is get a result like this (ArrayCollection). public var expenses:ArrayCollection = new ArrayCollection([ {Expense: Taxes, Amount: 106976}, {Expense: Rent, Amount: 147776}, {Expense: Car, Amount: 79554}, {Expense: Gas, Amount: 39252}, {Expense: Food, Amount: 128351} from this XML: list month monthname=Jan-04 income=14000263 average=80052 bill name=Taxes Amount=106976 customers=25670/ bill name=Rent Amount=147776 customers=25670/ bill name=Car Amount=79554 customers=25670/ bill name=Gas Amount=39252 customers=25670/ bill name=Food Amount=128351 customers=25670/ /month /list Then use it to plot data on a piechart. I am pulling the xml in via a httpservice. So I am guessing I need to iterate through the xml and create an arrayCollection of arrays? But I can't figure that out. Then
[flexcoders] Re: Datagrid Change Function
So I take it that the listener would have to be an conditional for function? How would I assign the listener to the datagrid? Would I place it in the datagrid property or the datagrid column property? --- In flexcoders@yahoogroups.com, Dustin Mercer [EMAIL PROTECTED] wrote: What you could do... if your myDP is an ArrayCollection or one of the collection classes you could add a listener to the change event. That way any time the dataProvider changes (the change event on the Collection itself can let you know if an item was added, removed or updated) you can recalculate the totals. That way your total will always be in synch with your data without having to manually recalculate the total. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of s_hernandez01 Sent: Wednesday, October 25, 2006 3:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Datagrid Change Function Hey Flexers I created a datagrid to represent a shopping cart. Now, I'm having a problem updating the total when the quantity is changed. Right now it just gives the total because I have the quantity set to 1, but if the users types in a different quantity I want it to update the total. If anybody has any suggestions, I'd appreciate it. Below is my calculate function and my datagrid. Thanks Sal public function calculateTotal():void{ var t:Number = 0; var n:Number = 0; for(var i:int = 0; i myDP.length; i++){ n += myDP[i].qty; t += myDP[i].price * myDP[i].qty; } total = t; numProducts = n; } mx:DataGrid width=100% height=250 dataProvider={myDP} textAlign=center id=cartGrid mx:columns mx:DataGridColumn id=qty headerText=Qty rendererIsEditor=true dataField=qty itemRenderer=mx.controls.TextInput editorDataField=value width=24/ mx:DataGridColumn headerText=Price width=35 dataField=price labelFunction=myLabelFunction/ /mx:columns /mx:DataGrid -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Cairngorm, dispatching application events and managing states
Hey Dustin, Thanks for the feedback. Yeah I figured I could do it with Commands and some boolean values in the model locator. I like the idea of having the states listed out in the model locator. My only concern is that it seems a bit disjointed and tedious when the states etc get complicated (probably more my own bias than anything). Great ideas though and something I will keep in mind. Derrick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] flex 2 charts default colors list access
Hi, How did the Flex 2 generates default colors for the charts? (bar/column/line). Any function that it calls to get the color or some random color? can i call any function to access the random colors list that is generated by Flex 2? Any Help? my issue is, i want to use the same default color that is generated by Flex 2 but i want to change line weight property of a line series. if i just set weight using stroke, the line is displayed in black. Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flex 2 Beta Mac Performance
Go in the eclipse folder/Eclipse.app/Contents/MacOS/ directory, and edit the file 'eclipse.ini'. There is a setting for initial memory and max memory, I believe the defaults are 40mb and 256mb respectively. Your best bet is to set it to 512mb and 1024mb (if you have that kind of RAM available). I did so after noticing sluggish performance in the Mac plug-in.Cheers,BrianOn 10/26/06, John Kirby [EMAIL PROTECTED] wrote: Is anyone having sluggish performance...especially while editing? I 've already crashed? Configuration: 10.4.8 G5 dual 2.7 with 4.5 mb memory. .j -- Whether you think that you can, or that you can't, you are usually right. - Henry Ford -- Brian Dunphy __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Question concerning flex.messaging.FlexFactory
Short question: when implementing the FlexFactory interface in a custom factory class, how does the lookup() work at runtime? Most importantly: how often does it gets called by FDS? Only once (depending on the scope setting) or for every method invocation on e.g. the RemoteObject instance? I guess only once but I'm not sure. Thanks, Dirk. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Cairngorm / Webservice / E4X XML Output
Yes, it displays XML and cannot access nodes. Here's the heading elements of the returned XML from a trace: PostalCodeLookupResponse xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; xmlns=[CorporateNSAddressRemoved] PostalCodeLookupResult Value=K7M 6B2 ProvinceCode=ON Municipality Name=KINGSTON . /Municipality /PostalCodeLookupResult /PostalCodeLookupResponse I have been able to reference via postalcodeXML.*::[EMAIL PROTECTED] but when I have to put the wildcard and result and such on every node it seems kind of laborious. I figured there would be a way to make the default hold up which I haven't yet managed. --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Does the Alert.show(postcodeXML) display the xml and you're just not able to get nodes within it? Does the returned xml contain namespaces? If you can post the resulting xml and the code you're using to try and access individual nodes it will be easier to diagnose your issue. Ben --- In flexcoders@yahoogroups.com, Jamie O jamie.oastler@ wrote: I've tried pretty much every sample I can find out there on the interweb and just can't seem to get things to play nice with my web service to allow me to get at individual nodes / elements using E4X. If anyone can suggest something, it would be REALLY appreciated. I've got: -an event broadcasting to the controller (not shown) working fine. -execute the search command (not shown) working fine. -executing the webservice request (shown) working fine. -receiving the webservice response (shown) working fine. -Accessing specific nodes / attributes in the response not working! -If I use a HTTPService to a direct XML file, e4x is ok. [SERVICE DEFINITION MXML] mx:WebService id=addressWSService wsdl=[RemovedPath]?WSDL makeObjectsBindable=false showBusyCursor=true useProxy=false mx:operation name=PostalCodeLookup resultFormat=e4x mx:request PostalCode K7M6B2 /PostalCode /mx:request /mx:operation /mx:WebService [DELEGATE DEFINITION ACTIONSCRIPT] service = ServiceLocator.getInstance().getService(addressWSService) as WebService; public function LocateAddress(p_PostalCode:String):void { service.addEventListener(ResultEvent.RESULT, LocateAddress_onResult); service.addEventListener(FaultEvent.FAULT, LocateAddress_onFault); var o:AbstractOperation = service.getOperation(PostalCodeLookup); o.arguments.PostalCode = p_PostalCode; service.PostalCodeLookup(); } protected function LocateAddress_onResult(event:ResultEvent):void { trace(AddressWSDelegate::LocateAddress_onResult); responder.onResult(new ResultEvent(ResultEvent.RESULT, false, true, event.result)); } [SEARCH COMMAND ACTIONSCRIPT] protected function searchPostalCode(p_postalcode:String):void { getDelegate().LocateAddress(p_postalcode); } protected function getDelegate():AddressWSDelegate { return new AddressWSDelegate(this); } public function onResult(event:*=null):void { trace(SearchCommand::onResult); var postcodeXML:XML = new XML(event.result); Alert.show(postcodeXML); } Overall the structure of this app is pretty close to Jesse Wardens Amazon sample but that one goes to an array rather than working with e4x which I would like to. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] how to initialize all accordion tabs?
i am needing to set up some components of a closed tab on an accordion, but it appears that only the openned tab is well initialized. the components on the closed tabs remain all with NULL values until i open the tab. how can i tell to accordion to initialize all tabs any time before user can interact with it ? []'s Luís Eduardo. ___ Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! http://br.mobile.yahoo.com/mailalertas/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Cairngorm / Webservice / E4X XML Output
Sounds like the exact issues I had when I first started using Flex. I ended up writing a couple of articles on the subject. http://www.returnundefined.com/2006/07/dealing-with-default-namespaces-in-flex-2as3/ http://www.returnundefined.com/2006/07/datagrid-labelfunction-and-namespaces/ HTH, Ben --- In flexcoders@yahoogroups.com, Jamie O [EMAIL PROTECTED] wrote: Yes, it displays XML and cannot access nodes. Here's the heading elements of the returned XML from a trace: PostalCodeLookupResponse xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; xmlns=[CorporateNSAddressRemoved] PostalCodeLookupResult Value=K7M 6B2 ProvinceCode=ON Municipality Name=KINGSTON . /Municipality /PostalCodeLookupResult /PostalCodeLookupResponse I have been able to reference via postalcodeXML.*::[EMAIL PROTECTED] but when I have to put the wildcard and result and such on every node it seems kind of laborious. I figured there would be a way to make the default hold up which I haven't yet managed. --- In flexcoders@yahoogroups.com, ben.clinkinbeard ben.clinkinbeard@ wrote: Does the Alert.show(postcodeXML) display the xml and you're just not able to get nodes within it? Does the returned xml contain namespaces? If you can post the resulting xml and the code you're using to try and access individual nodes it will be easier to diagnose your issue. Ben --- In flexcoders@yahoogroups.com, Jamie O jamie.oastler@ wrote: I've tried pretty much every sample I can find out there on the interweb and just can't seem to get things to play nice with my web service to allow me to get at individual nodes / elements using E4X. If anyone can suggest something, it would be REALLY appreciated. I've got: -an event broadcasting to the controller (not shown) working fine. -execute the search command (not shown) working fine. -executing the webservice request (shown) working fine. -receiving the webservice response (shown) working fine. -Accessing specific nodes / attributes in the response not working! -If I use a HTTPService to a direct XML file, e4x is ok. [SERVICE DEFINITION MXML] mx:WebService id=addressWSService wsdl=[RemovedPath]?WSDL makeObjectsBindable=false showBusyCursor=true useProxy=false mx:operation name=PostalCodeLookup resultFormat=e4x mx:request PostalCode K7M6B2 /PostalCode /mx:request /mx:operation /mx:WebService [DELEGATE DEFINITION ACTIONSCRIPT] service = ServiceLocator.getInstance().getService(addressWSService) as WebService; public function LocateAddress(p_PostalCode:String):void { service.addEventListener(ResultEvent.RESULT, LocateAddress_onResult); service.addEventListener(FaultEvent.FAULT, LocateAddress_onFault); var o:AbstractOperation = service.getOperation(PostalCodeLookup); o.arguments.PostalCode = p_PostalCode; service.PostalCodeLookup(); } protected function LocateAddress_onResult(event:ResultEvent):void { trace(AddressWSDelegate::LocateAddress_onResult); responder.onResult(new ResultEvent(ResultEvent.RESULT, false, true, event.result)); } [SEARCH COMMAND ACTIONSCRIPT] protected function searchPostalCode(p_postalcode:String):void { getDelegate().LocateAddress(p_postalcode); } protected function getDelegate():AddressWSDelegate { return new AddressWSDelegate(this); } public function onResult(event:*=null):void { trace(SearchCommand::onResult); var postcodeXML:XML = new XML(event.result); Alert.show(postcodeXML); } Overall the structure of this app is pretty close to Jesse Wardens Amazon sample but that one goes to an array rather than working with e4x which I would like to. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] FB2 != Eclipse 3.2
FB2 for Mac, which was just released in beta, is based on Eclipse 3.2 so I am sure it wont be long before it is available for Eclipse 3.2 for Windows. At Max they mentioned it would be released "shortly" and it will be a dot not a full release..On Oct 25, 2006, at 8:19 PM, dorkie dork from dorktown wrote:I have been using the Flex Builder Stand alone to do development work. Recently, I was working at a company that is using Eclipse 3.2. Being that FB2 is a build of Eclipse, I tried to install the required plugs to work with their project. We found out that FB2 is build of Eclipse version 3.1 and the plug-ins we need require Eclipse 3.2. What is Adobe's upgrade path to 3.2 for the FB2? Is there anything coming out soon or a work around? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: how do i access properties of a component inside a repeater?
Give the button inside the repeater an id. Then the button will be accessible through an array syntax, off the button id. I.E. private function changeSize():void{ btnWhatever[0].width = 100; btnWhatever[0].height = 100; } mx:Button id=btnWhatever height=50 width=50 label={String(rp.currentItem)}/ --- In flexcoders@yahoogroups.com, shemeshkale [EMAIL PROTECTED] wrote: i have a Tile with repeater inside. inside the repeater - a button. pretty simple. with a slider i want to change the size (width/height) of the button. i works great if i bind width/height to slider value. but how i do it the other way? from the slider to the button? what should come inside the changeSize function? here is a basic code: ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ [Bindable] private var dp:Array = [132456789, 2, 3, 4, 5, 6, 7, 8, 9]; private function changeSize():void{ //what should be here? } ]] /mx:Script mx:Panel title=Repeater Resize width=75% height=75% paddingTop=10 paddingLeft=10 paddingRight=10 paddingBottom=10 mx:HSlider maximum=200 minimum=100 value=120 id=slider1 change=changeSize() liveDragging=true/ mx:Tile direction=horizontal borderStyle=inset horizontalGap=10 verticalGap=15 width=100% paddingLeft=10 paddingTop=10 paddingBottom=10 paddingRight=10 mx:Repeater id=rp dataProvider={dp} mx:Button height=50 width=50 label={String(rp.currentItem)}/ /mx:Repeater /mx:Tile /mx:Panel /mx:Application -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Editable grid /formatter
Do you guys know a good example I can use for an editable grid with some renderers/formatters for some columns?. I'm having problems "unformatting" the numeric data entered in the grid cell Am I completely off here?Any suggestions?Thanks,Valy Stay in the know. Pulse on the new Yahoo.com. Check it out. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] how do i access properties of a component inside a repeater?
You could try binding the button's width and height to the slider's value using the following: mx:Button height={outerDocument.slider1.value} width={SAME_AS_HEIGHT} label={String(rp.currentItem)}/ I think that'll work. On 10/26/06, shemeshkale [EMAIL PROTECTED] wrote: i have a Tile with repeater inside.inside the repeater - a button.pretty simple.with a slider i want to change the size (width/height) of the button.i works great if i bind width/height to slider value. but how i do it the other way? from the slider to the button?what should come inside the changeSize function?here is a basic code:?xml version=1.0?mx:Application xmlns:mx= http://www.adobe.com/2006/mxmlmx:Script![CDATA[[Bindable]private var dp:Array = [132456789, 2, 3, 4, 5, 6, 7, 8, 9]; private function changeSize():void{//what should be here?} ]]/mx:Scriptmx:Panel title=Repeater Resize width=75% height=75% paddingTop=10 paddingLeft=10 paddingRight=10 paddingBottom=10mx:HSlider maximum=200 minimum=100 value=120 id=slider1change=changeSize() liveDragging=true/ mx:Tile direction=horizontal borderStyle=inset horizontalGap=10 verticalGap=15 width=100%paddingLeft=10 paddingTop=10 paddingBottom=10 paddingRight=10mx:Repeater id=rp dataProvider={dp}mx:Button height=50 width=50 label={String(rp.currentItem)}/ /mx:Repeater /mx:Tile/mx:Panel /mx:Application __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Solid Newbie Question! :D
I've been racking my brain on this one... I'm trying to integrate PayPal into a Flex App. They have 2 methods, ExpressCheckOut DirectPayment. DirectPayment is no biggie, but they require you to include ExpressCheckOut if you use DirectPayment. I built my entire app in Flex. There's a shopping cart and checkout system. I need to be able to pass my shopping cart data to a different web page that the Flex App pops up. After several attempts at a Flex-Ajax Bridge solution - I've come to the realization that I have no clue how to use it. I've been searching the documentation, but - there are no good examples for me to really see how it works. :D The examples that are there are all passing data from the HTML to the Flex app, but not so much vice versa. Anyone know of a good way to do this?!?! Thanks! Nathan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] reorder datagrid columns
i need to reorder datagrid columns on the fly (ie w/out user intervention). anybody have any examples, etc. on how to go about this? thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] FB2 != Eclipse 3.2
Cool. I didnt want to go that route unless I had to but it sounds like it will be simple. Any reason not to install Eclipse 3.2 alongside FB2? Also, a book idea for someone, Eclipse for Flex Developers. On 10/25/06, douglas morrison [EMAIL PROTECTED] wrote: FB2 for Mac, which was just released in beta, is based on Eclipse 3.2 so I am sure it wont be long before it is available for Eclipse 3.2 for Windows. At Max they mentioned it would be released shortly and it will be a dot not a full release.. On Oct 25, 2006, at 8:19 PM, dorkie dork from dorktown wrote: I have been using the Flex Builder Stand alone to do development work. Recently, I was working at a company that is using Eclipse 3.2. Being that FB2 is a build of Eclipse, I tried to install the required plugs to work with their project. We found out that FB2 is build of Eclipse version 3.1 and the plug-ins we need require Eclipse 3.2. What is Adobe's upgrade path to 3.2 for the FB2? Is there anything coming out soon or a work around? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: flex 2 charts default colors list access
i found the solution. thought it might be useful for others.. C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2 \frameworks\source\mx\charts\styles\HaloDefaults.as --- In flexcoders@yahoogroups.com, suri_boston [EMAIL PROTECTED] wrote: Hi, How did the Flex 2 generates default colors for the charts? (bar/column/line). Any function that it calls to get the color or some random color? can i call any function to access the random colors list that is generated by Flex 2? Any Help? my issue is, i want to use the same default color that is generated by Flex 2 but i want to change line weight property of a line series. if i just set weight using stroke, the line is displayed in black. Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: flex 2 charts default colors list access
i found the solution. thought it might be useful for others.. C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2 \frameworks\source\mx\charts\styles\HaloDefaults.as --- In flexcoders@yahoogroups.com, suri_boston [EMAIL PROTECTED] wrote: Hi, How did the Flex 2 generates default colors for the charts? (bar/column/line). Any function that it calls to get the color or some random color? can i call any function to access the random colors list that is generated by Flex 2? Any Help? my issue is, i want to use the same default color that is generated by Flex 2 but i want to change line weight property of a line series. if i just set weight using stroke, the line is displayed in black. Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] how to initialize all accordion tabs?
On 10/25/06, Luis Eduardo [EMAIL PROTECTED] wrote: i am needing to set up some components of a closed tab on an accordion, but it appears that only the openned tab is well initialized. the components on the closed tabs remain all with NULL values until i open the tab. how can i tell to accordion to initialize all tabs any time before user can interact with it ? Look up creationPolicy=all. Regards, Dave. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: datagrid checkboxes getting checked dynamically
Just for fun, try a cast: selected='{Boolean(data.cdrBusinessCharge)}' Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jack OMelia Sent: Wednesday, October 25, 2006 4:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: datagrid checkboxes getting checked dynamically That did the trick! Many thanks! I knew there must be a way to give the checkbox the boolean data but couldn't see it. Thanks again. Is it because the checkbox is expecting a Boolean and getting text? That would be my guess. What does it do if you change the code to: mx:CheckBox id=ckBoxBusCharge selected='{data.cdrBusinessCharge == true}' / ? --- In [EMAIL PROTECTED]ups.com, Jack OMelia lomelia@ wrote: Hi All, I have one column in a datagrid populated with checkboxes. The checkboxes are part of a dataGridCell itemRenderer called checkBoxRendererSummary: mx:Component id=checkBoxRendererSummary mx:VBox horizontalAlign=center paddingLeft=10 mx:CheckBox id=ckBoxBusCharge selected='{data.cdrBusinessCharge}' / /mx:VBox /mx:Component and receive data from a local XML file. The XML file is brought in with the mx:XML/ tag formatted for e4x. One node of the XML is below: item cdrBusinessChargetrue/cdrBusinessCharge cdrSumNbr203-952-4993/cdrSumNbr cdrSumTotalCalls12/cdrSumTotalCalls cdrSumTotalMin21/cdrSumTotalMin cdrSumTotalAir0.00/cdrSumTotalAir cdrSumTotalLD0.00/cdrSumTotalLD cdrSumTotalCharges0.00/cdrSumTotalCharges /item For some reason, the checkbox does not read the value of cdrBusinessCharge and check the box accordingly. No matter whether the value is true or false, all the checkboxes are checked. I use similar itemRenderers for the other columns with Text components instead of checkboxes and they all read and display the data correctly. Is it because the checkbox is expecting a Boolean and getting text? Thanks __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] how to initialize all accordion tabs?
But be aware that this may seriously degrade the percieved performance of your app on start-up, especially if the contents of the tabs are complex. Ther are finer grained solutions to this issue. Search the archives. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dave Carabetta Sent: Thursday, October 26, 2006 11:55 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] how to initialize all accordion tabs? On 10/25/06, Luis Eduardo illogic_code@yahoo.com.br wrote: i am needing to set up some components of a closed tab on an accordion, but it appears that only the openned tab is well initialized. the components on the closed tabs remain all with NULL values until i open the tab. how can i tell to accordion to initialize all tabs any time before user can interact with it ? Look up creationPolicy=all. Regards, Dave. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] A bug? Drag n Drop between 2 DataGrids, target is databound... to grid 3
This sounds like it may have to do with the Flash Players difficulty differentiating between an array with a single element and and object. Look up the utility function toArray(). Sorry I dont even recall the 2.0 package it is in offhand. Im sure you will find a more detailed response if you search the archive. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of iko_knyphausen Sent: Thursday, October 26, 2006 3:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] A bug? Drag n Drop between 2 DataGrids, target is databound... to grid 3 I have 2 datagrids with identical dataFields. The dropTarget is databound to a third dataGrid. The only thing I did to enable drag and drop is to set the dropEnabled and dragEnabled properties to true - no code so far. Dragging and dropping works like a charm,almost... When the target grid (which is databound) has 2 or more rows (before dropping row 3), the data binding seems to work and be remembered, i.e. when you change the selectedIndex of the databound source and come back later, the newly dropped row is still there. If you do the same with the dropTarget grid having one or zero rows (before dropping adragged row), the new row drops fine and gets displayed in the grid, but the databinding fails. In other words, if you do the same as described before, change the data source selectedIndex, and come back, thedragged row has been forgotten. As for the databinding assumeXML read from HTTPService (default result format): groups group nameGroup1/name users user nameJohn/name email[EMAIL PROTECTED]/email /user user nameJane/name email[EMAIL PROTECTED]/email /user /users /group group nameGroup2/name users user nameJack/name email[EMAIL PROTECTED]/email /user /users /group ... So in the above data example, dragging another user into Group1 works fine and the data has 3 users, draging another user into Group2 works on the UI at first, but does not update the data. I know this weird, but I promise, I am not making this up ;-) Any ideas what the reason(s) could be? Thanks a bunch... -Iko __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Flashvars
Patrick,I'm not sure what part of your question to answer but you may find the solution in FXT. I wrote a post on it last night. It shows how to get information from flashvars, the html text of the html body, changing the generated html-index-template.html and merging your flex project with a existing server-side type page (like asp, jsp, php). http://www.judahfrangipane.com/blog/?p=37 dorkie dorkOn 10/25/06, dj [EMAIL PROTECTED] wrote: How does this work with the generated .html that flex produces with php,i tried in the old fashioned wayof adding the flashvars to the embed tag with no luckno working.mymovie.swf?username=someuserworks tho... any help here,Thanks,Patrick--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* Your email settings:Individual Email | Traditional* To change settings online go to: http://groups.yahoo.com/group/flexcoders/join(Yahoo! ID required)* To change settings via email:mailto: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] barChart series animation exceeds
hi, can anyone help me how to fix the animation of seriesInterpolate,serieszoom,seriesslide in barChart. . . what's happening is that when i try to put a categoryfield on the chart the data animation exceeds. . . ex: the bar should animate upto 8 but it exceeds to 9 then returns to 8 after the animation. . . once i remove the categoryfield the animation runs smooth. hope anyone can help me on this . .. Thanks! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] How can I Hide ZOOM IN and ZOOM OUT in the context menu
HI, I want to hide the context menu in my flex application. How do I go about. Please help me in this regard. thanks Hara -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Cairngorm, dispatching application events and managing states
No No, not your bias at all. It does make things a bit more complicated, especially from a maintenance perspective. My situation was a bit different, and so I had to make a complete dynamic state model. We had states that were built by user roles, then by a change file per user, so keeping all the info in a model for that situation worked well for me, but way overkill for other situations. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Derrick Grigg Sent: Thursday, October 26, 2006 7:10 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm, dispatching application events and managing states Hey Dustin, Thanks for the feedback. Yeah I figured I could do it with Commands and some boolean values in the model locator. I like the idea of having the states listed out in the model locator. My only concern is that it seems a bit disjointed and tedious when the states etc get complicated (probably more my own bias than anything). Great ideas though and something I will keep in mind. Derrick __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] how to initialize all accordion tabs?
Dave, works as a charm !!! thank you very much! Luís Dave Carabetta escreveu: On 10/25/06, Luis Eduardo [EMAIL PROTECTED] mailto:illogic_code%40yahoo.com.br wrote: i am needing to set up some components of a closed tab on an accordion, but it appears that only the openned tab is well initialized. the components on the closed tabs remain all with NULL values until i open the tab. how can i tell to accordion to initialize all tabs any time before user can interact with it ? Look up creationPolicy=all. Regards, Dave. ___ O Yahoo! est� de cara nova. Venha conferir! http://br.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] FB2 != Eclipse 3.2
it works ok if you want. i have eclipse 3.2 running for weblogic development and the stand alone version of FlexBuilder for Windows which is 3.1. Just cant combine the projects which takes away some of the benefit of using eclipse...On Oct 26, 2006, at 11:54 AM, dorkie dork from dorktown wrote:Cool. I didnt want to go that route unless I had to but it sounds like it will be simple. Any reason not to install Eclipse 3.2 alongside FB2? Also, a book idea for someone, "Eclipse for Flex Developers". On 10/25/06, douglas morrison [EMAIL PROTECTED]com wrote:FB2 for Mac, which was just released in beta, is based on Eclipse 3.2 so I am sure it wont be long before it is available for Eclipse 3.2 for Windows. At Max they mentioned it would be released "shortly" and it will be a dot not a full release..On Oct 25, 2006, at 8:19 PM, dorkie dork from dorktown wrote:I have been using the Flex Builder Stand alone to do development work. Recently, I was working at a company that is using Eclipse 3.2. Being that FB2 is a build of Eclipse, I tried to install the required plugs to work with their project. We found out that FB2 is build of Eclipse version 3.1 and the plug-ins we need require Eclipse 3.2. What is Adobe's upgrade path to 3.2 for the FB2? Is there anything coming out soon or a work around? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] FlexSession expiry and callbacks
I'm experimenting with the FlexSession listening machinery from Java (mainly in order to do cleanups if a session expires). When I have an attribute object which implements FlexSessionBindingListener, then valueBound() gets called when I add the attribute and valueUnbound() gets called when I remove it - so far so good. But I would expect valueUnbound() to get called (for all such objects) when the session is destroyed - this doesn't seem to be happening. The docs suggest it should: http://livedocs.macromedia.com/flex/2/fds2javadoc/flex/messaging/ FlexSession.html#addSessionDestroyedListener (flex.messaging.FlexSessionListener) If I add a session destroyed listener using the above method, I did indeed get called for session destruction. (As an aside, I'm not sure I understand when a session created listener would get called: if I create one for a particular FlexSession, why would it get called upon creation of a different FlexSession?) -- N. nick rothwell -- composition, systems, performance -- http:// www.cassiel.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flashvars
Hi, You can find the correct way @ http://www.flashextensions.com/freevideo.php?id_art=261. Thanks Regards, Abrar. On 10/26/06, dj [EMAIL PROTECTED] wrote: How does this work with the generated .html that flex produces with php, i tried in the old fashioned wayof adding the flashvars to the embed tag with no luck no working.mymovie.swf?username=someuser works tho... any help here,Thanks,Patrick __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Flex 2 Beta Mac Performance
It's not exactly fast for me either (on a dual 2ghz g5) - but since my windows machine was quite slow aswell it's not that big of a difference at least. But some work on the performance side would be rather nice though. Is anyone having sluggish performance...especially while editing? I 've already crashed? Configuration: 10.4.8 G5 dual 2.7 with 4.5 mb memory. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flex 2 Beta Mac Performance
no problems with editor or compiler performance, just takes a long time to load eclipse. but that's expected for alpha software since that is always the last thing to be optimized..10.4.8 2.16 mactel core duo with 2gb RAM...On Oct 25, 2006, at 11:35 PM, John Kirby wrote:Is anyone having sluggish performance...especially while editing? I 've already crashed?Configuration: 10.4.8 G5 dual 2.7 with 4.5 mb memory..j-- Whether you think that you can, or that you can't, you are usually right. - Henry Ford __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] How to assign dataset returned by .Net web service to Flex?
Hi, I have an application currently using remoting. In that application,.Net will return datatbles and datasets, which are directly assigned to arrays/objects in flex side. Now, I need to use web services to implement this application instead of remoting. The problem is how to assign the Datasets/Datatables from .net(web services) side to Flex. Is there any other solution? Thanks and Regards, Yasovardhan. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] problem in creating custom component based on another custom component
Hi, Im using flex builder 2 with action script 3.0. I have created a custom mxml component named MvPortlet. When i'm trying to create a new mxml component based on MvPortlet i receive the following error: Multiple sets of visual children have been specified for this component (base component definition and derived component definition). However,when i create a new actionscript class, extend MvPortlet and add some visual components the error is not generated. Any ideas thanks, Joseph G -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Datagrid Cellrender performence issue
Hi Igor,I am working on Flex1.5 and not Flex2.0. Is there any otherway to increase performence of datagrid in Flex1.5?Thanks and Regards, Yasovardhan. Yasovardhan Babu Anantha Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Flex 2 Beta Mac Performance
Would that also be possible with the standalone installer? (in the basically same directory of the FlexBuilder.app I found a FlexBuilder.ini containing, amongst others, these lines: -Xms128m -Xmx512m Would those be memory settings for the Adobe hacked Eclipse?) S. Go in the eclipse folder/Eclipse.app/Contents/MacOS/ directory, and edit the file 'eclipse.ini'. There is a setting for initial memory and max memory, I believe the defaults are 40mb and 256mb respectively. Your best bet is to set it to 512mb and 1024mb (if you have that kind of RAM available). -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Accepted css properties
I not found list of accepted css properties for TextField in as3/flex2 in reference documentation. Is that specification? Robert -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Help regarding chart
Hi,Please visit the site.http://finance.google.com/finance?cid=13756934Can anybody guide me how this could be developed in Flex 2.In the chart on mouse move, the datatip is moving along with the mouse pointer.How is that done?Please help... Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: FlexSession expiry and callbacks
On 26 Oct 2006, at 12:16, Nick Rothwell wrote: I'm experimenting with the FlexSession listening machinery from Java (mainly in order to do cleanups if a session expires). Sorry, I neglected to add: this is using Flex Data Services under Tomcat 5.5.pretty-recent, and I'm making remote object calls from AS. -- N. nick rothwell -- composition, systems, performance -- http:// www.cassiel.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: how to initialize all accordion tabs?
--- In flexcoders@yahoogroups.com, Luis Eduardo [EMAIL PROTECTED] wrote: i am needing to set up some components of a closed tab on an accordion, but it appears that only the openned tab is well initialized. the components on the closed tabs remain all with NULL values until i open the tab. how can i tell to accordion to initialize all tabs any time before user can interact with it ? []'s Luís Eduardo. ___ Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! http://br.mobile.yahoo.com/mailalertas/ mx:Accordion creationPolicy=all ... / -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] how to remove the icons in a tree
I know you can replace the art with your own, and in a pinch I guess I can substitute a really small transparent jpg. But this really feels like a hack. Is there any way to just turn the icons off. Of course I am not talking about the triangle, but the folder and document icons. Hank -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] sortCompareFunction issues when dealing with $.
I was wondering if any had an easy to follow sortCompareFunction tut or example to follow. I am trying to sort datagrid columns that have had a labelFunction applied to them. Since teh labelFunction is being used I need to create a custom sortCompareFunctionaccording to the Flex documentation. I cannot seem to get it to work correctly. My $ in my revenue Column seems to be causing issues. my data provider is as follows mx:DataGridColumn headerText={(selectioncombobox.selectedItem.toString())} dataField=@{lowerCase(selectioncombobox.selectedItem.toString())} My dataProvider is an XMLListCollection so I have to use the @ symbol. So this is what I have as my sort function: public static function sortDifference(obj1:Object, obj2:Object):Number { if ([EMAIL PROTECTED] == [EMAIL PROTECTED]){ return 0; }else if ([EMAIL PROTECTED] [EMAIL PROTECTED]){ return -1; }else{ return 1; } } This is not working correctly. Any suggestions? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [Junk E-Mail - MED] Re: [flexcoders] Re: A DataGrid with selectable *cells*
Yeah, this is a top candidate for a common custom component we'll all need :D Shan -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Thursday, October 26, 2006 1:21 AM To: flexcoders@yahoogroups.com Subject: [Junk E-Mail - MED] Re: [flexcoders] Re: A DataGrid with selectable *cells* On Thursday 26 October 2006 09:10, bhaq1972 wrote: no sorry. but i'm sure a few group members (including me) would be intersted if you care to share. Right, mission for today then :-) -- Tom Chiverton Helping to seamlessly foster high-yield IPOs This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.11/496 - Release Date: 10/24/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.11/498 - Release Date: 10/26/2006 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] How can I Hide ZOOM IN and ZOOM OUT in the context menu
Hi,You can't, it has to be there for user preferences and security.Peace, MikeOn 10/26/06, haravallabhan [EMAIL PROTECTED] wrote: HI, I want to hide the context menu in my flex application. How do I go about. Please help me in this regard. thanks Hara -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] how to initialize all accordion tabs?
This will work but isn't a recommended technique. Please see Tracy's reply. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Luis Eduardo Sent: Thursday, October 26, 2006 9:53 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] how to initialize all accordion tabs? Dave, works as a charm !!! thank you very much! Luís Dave Carabetta escreveu: On 10/25/06, Luis Eduardo illogic_code@yahoo.com.br mailto:illogic_code%40yahoo.com.br wrote: i am needing to set up some components of a closed tab on an accordion, but it appears that only the openned tab is well initialized. the components on the closed tabs remain all with NULL values until i open the tab. how can i tell to accordion to initialize all tabs any time before user can interact with it ? Look up creationPolicy=all. Regards, Dave. ___ O Yahoo! est de cara nova. Venha conferir! http://br.yahoo.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: how to remove the icons in a tree
mx:Tree defaultLeafIcon={undefined} folderClosedIcon={undefined} folderOpenIcon={undefined} ... / --- In flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED] wrote: I know you can replace the art with your own, and in a pinch I guess I can substitute a really small transparent jpg. But this really feels like a hack. Is there any way to just turn the icons off. Of course I am not talking about the triangle, but the folder and document icons. Hank -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: datagrid checkboxes getting checked dynamically
BTW, this seems to be an issue only with XML/e4x dataProviders. When I used standard ArrayCollections (coming from an XML HTTPService call), the litteral text true and false will be cast boolean automatically. I had a working grid with checkboxes, and when I changed to e4x I ran into the same issue. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Just for fun, try a cast: selected='{Boolean(data.cdrBusinessCharge)}' Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jack OMelia Sent: Wednesday, October 25, 2006 4:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: datagrid checkboxes getting checked dynamically That did the trick! Many thanks! I knew there must be a way to give the checkbox the boolean data but couldn't see it. Thanks again. Is it because the checkbox is expecting a Boolean and getting text? That would be my guess. What does it do if you change the code to: mx:CheckBox id=ckBoxBusCharge selected='{data.cdrBusinessCharge == true}' / ? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jack OMelia lomelia@ wrote: Hi All, I have one column in a datagrid populated with checkboxes. The checkboxes are part of a dataGridCell itemRenderer called checkBoxRendererSummary: mx:Component id=checkBoxRendererSummary mx:VBox horizontalAlign=center paddingLeft=10 mx:CheckBox id=ckBoxBusCharge selected='{data.cdrBusinessCharge}' / /mx:VBox /mx:Component and receive data from a local XML file. The XML file is brought in with the mx:XML/ tag formatted for e4x. One node of the XML is below: item cdrBusinessChargetrue/cdrBusinessCharge cdrSumNbr203-952-4993/cdrSumNbr cdrSumTotalCalls12/cdrSumTotalCalls cdrSumTotalMin21/cdrSumTotalMin cdrSumTotalAir0.00/cdrSumTotalAir cdrSumTotalLD0.00/cdrSumTotalLD cdrSumTotalCharges0.00/cdrSumTotalCharges /item For some reason, the checkbox does not read the value of cdrBusinessCharge and check the box accordingly. No matter whether the value is true or false, all the checkboxes are checked. I use similar itemRenderers for the other columns with Text components instead of checkboxes and they all read and display the data correctly. Is it because the checkbox is expecting a Boolean and getting text? Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] MXML ItemRenderer and dataTip
Hi, How do I enable the dataTip in a custom MXML ItemRenderer like e.g. this one? ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% backgroundColor=0xEE creationComplete=init(); mx:Script ![CDATA[ import com.soenkerohde.pm.vo.FeatureVO; private function init() : void { } ]] /mx:Script mx:Label text={ FeatureVO(this.data).name } / /mx:Canvas Thanks, Sönke -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] A bug? Drag n Drop between 2 DataGrids, target is databound... to grid 3
I could not make the data binding work with just converting the HTTPService.lastResult toArray...its probably a little more involved, however, you sent me off to the right direction: Changing the resultFormat of my dataProviders to e4x did the trick as long as dropSource and dropTarget both have e4x as dataProviders it works just fine. Thanks. -Iko From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Thursday, October 26, 2006 9:58 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] A bug? Drag n Drop between 2 DataGrids, target is databound... to grid 3 This sounds like it may have to do with the Flash Players difficulty differentiating between an array with a single element and and object. Look up the utility function toArray(). Sorry I dont even recall the 2.0 package it is in offhand. Im sure you will find a more detailed response if you search the archive. Tracy From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of iko_knyphausen Sent: Thursday, October 26, 2006 3:01 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] A bug? Drag n Drop between 2 DataGrids, target is databound... to grid 3 I have 2 datagrids with identical dataFields. The dropTarget is databound to a third dataGrid. The only thing I did to enable drag and drop is to set the dropEnabled and dragEnabled properties to true - no code so far. Dragging and dropping works like a charm,almost... When the target grid (which is databound) has 2 or more rows (before dropping row 3), the data binding seems to work and be remembered, i.e. when you change the selectedIndex of the databound source and come back later, the newly dropped row is still there. If you do the same with the dropTarget grid having one or zero rows (before dropping adragged row), the new row drops fine and gets displayed in the grid, but the databinding fails. In other words, if you do the same as described before, change the data source selectedIndex, and come back, thedragged row has been forgotten. As for the databinding assumeXML read from HTTPService (default result format): groups group nameGroup1/name users user nameJohn/name email[EMAIL PROTECTED]/email /user user nameJane/name email[EMAIL PROTECTED]/email /user /users /group group nameGroup2/name users user nameJack/name email[EMAIL PROTECTED]/email /user /users /group ... So in the above data example, dragging another user into Group1 works fine and the data has 3 users, draging another user into Group2 works on the UI at first, but does not update the data. I know this weird, but I promise, I am not making this up ;-) Any ideas what the reason(s) could be? Thanks a bunch... -Iko __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: How to assign dataset returned by .Net web service to Flex?
.NET should know (how) to serialize those structures into SOAP-compliant XML shouldn't it? I call (but don't write them myself) .NET web services all the time from Flex. Ben --- In flexcoders@yahoogroups.com, Yasovardhan Babu [EMAIL PROTECTED] wrote: Hi, I have an application currently using remoting. In that application,.Net will return datatbles and datasets, which are directly assigned to arrays/objects in flex side. Now, I need to use web services to implement this application instead of remoting. The problem is how to assign the Datasets/Datatables from .net(web services) side to Flex. Is there any other solution? Thanks and Regards, Yasovardhan. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] How can I Hide ZOOM IN and ZOOM OUT in the context menu
look for ContextMenu and ContextMenuItem in the docs. http://livedocs.macromedia.com/flex/2/langref/flash/ui/ContextMenu.html#hideBuiltInItems() In short, add this to the main mxml file, onCreationComplete: this.contextMenu.hideBuiltInItems(); You cannot disable the contextMenu completely though. regards, Muzak - Original Message - From: haravallabhan [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, October 26, 2006 6:57 AM Subject: [flexcoders] How can I Hide ZOOM IN and ZOOM OUT in the context menu HI, I want to hide the context menu in my flex application. How do I go about. Please help me in this regard. thanks Hara -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] how to initialize all accordion tabs?
Set creationPolicy to all on the Accordion control. For more info: http://livedocs.macromedia.com/flex/2/docs/1430.html hth, matt horn flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Luis Eduardo Sent: Wednesday, October 25, 2006 10:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] how to initialize all accordion tabs? i am needing to set up some components of a closed tab on an accordion, but it appears that only the openned tab is well initialized. the components on the closed tabs remain all with NULL values until i open the tab. how can i tell to accordion to initialize all tabs any time before user can interact with it ? []'s Luís Eduardo. ___ Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! http://br.mobile.yahoo.com/mailalertas/ http://br.mobile.yahoo.com/mailalertas/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] how to remove the icons in a tree
Yeah, just do:var icon:Class;//return icon without actually assigning it a value:return icon;On 10/26/06, hank williams [EMAIL PROTECTED] wrote: I know you can replace the art with your own, and in a pinch I guess I can substitute a really small transparent jpg. But this really feels like a hack. Is there any way to just turn the icons off. Of course I am not talking about the triangle, but the folder and document icons. Hank -- [JPG] __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: datagrid checkboxes getting checked dynamically
Not surprising. XML is (obviously) just plain text when it comes down to it. I'm not sure how you're creating your ArrayCollection from the data returned by your HTTPService, but it probably serializes everything into generic objects and primitive datatypes where appropriate. That is exactly what setting resultFormat to object does. Ben --- In flexcoders@yahoogroups.com, iko_knyphausen [EMAIL PROTECTED] wrote: BTW, this seems to be an issue only with XML/e4x dataProviders. When I used standard ArrayCollections (coming from an XML HTTPService call), the litteral text true and false will be cast boolean automatically. I had a working grid with checkboxes, and when I changed to e4x I ran into the same issue. --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote: Just for fun, try a cast: selected='{Boolean(data.cdrBusinessCharge)}' Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jack OMelia Sent: Wednesday, October 25, 2006 4:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: datagrid checkboxes getting checked dynamically That did the trick! Many thanks! I knew there must be a way to give the checkbox the boolean data but couldn't see it. Thanks again. Is it because the checkbox is expecting a Boolean and getting text? That would be my guess. What does it do if you change the code to: mx:CheckBox id=ckBoxBusCharge selected='{data.cdrBusinessCharge == true}' / ? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jack OMelia lomelia@ wrote: Hi All, I have one column in a datagrid populated with checkboxes. The checkboxes are part of a dataGridCell itemRenderer called checkBoxRendererSummary: mx:Component id=checkBoxRendererSummary mx:VBox horizontalAlign=center paddingLeft=10 mx:CheckBox id=ckBoxBusCharge selected='{data.cdrBusinessCharge}' / /mx:VBox /mx:Component and receive data from a local XML file. The XML file is brought in with the mx:XML/ tag formatted for e4x. One node of the XML is below: item cdrBusinessChargetrue/cdrBusinessCharge cdrSumNbr203-952-4993/cdrSumNbr cdrSumTotalCalls12/cdrSumTotalCalls cdrSumTotalMin21/cdrSumTotalMin cdrSumTotalAir0.00/cdrSumTotalAir cdrSumTotalLD0.00/cdrSumTotalLD cdrSumTotalCharges0.00/cdrSumTotalCharges /item For some reason, the checkbox does not read the value of cdrBusinessCharge and check the box accordingly. No matter whether the value is true or false, all the checkboxes are checked. I use similar itemRenderers for the other columns with Text components instead of checkboxes and they all read and display the data correctly. Is it because the checkbox is expecting a Boolean and getting text? Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] how to remove the icons in a tree
Thanks guys. I thought I had tried assigning it to null but I think I had done null instead of {null} which of course makes total sense except at 4 in the morning!Regards,Hank __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] How can I Hide ZOOM IN and ZOOM OUT in the context menu
Try this out myContextMenu.hideBuiltInItems(); myContextMenu is the name of the context . J Thanks Kumar From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of haravallabhan Sent: Thursday, October 26, 2006 10:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How can I Hide ZOOM IN and ZOOM OUT in the context menu HI, I want to hide the context menu in my flex application. How do I go about. Please help me in this regard. thanks Hara __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] MXML ItemRenderer and dataTip
Hi, dataTips don't work when you use a custom item renderer. Your best bet would be to set the toolTip property on your item renderer class. Dirk. Von: flexcoders@yahoogroups.com im Auftrag von Sönke Rohde Gesendet: Do 26.10.2006 20:41 An: flexcoders@yahoogroups.com Betreff: [flexcoders] MXML ItemRenderer and dataTip Hi, How do I enable the dataTip in a custom MXML ItemRenderer like e.g. this one? ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% backgroundColor=0xEE creationComplete=init(); mx:Script ![CDATA[ import com.soenkerohde.pm.vo.FeatureVO; private function init() : void { } ]] /mx:Script mx:Label text={ FeatureVO(this.data).name } / /mx:Canvas Thanks, Sönke -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ winmail.dat
Re: [flexcoders] how to remove the icons in a tree
what's funny is, that seems to be the only time I get to do flex work ;)On 10/26/06, hank williams [EMAIL PROTECTED] wrote: Thanks guys. I thought I had tried assigning it to null but I think I had done null instead of {null} which of course makes total sense except at 4 in the morning!Regards, Hank -- [JPG] __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] MXML ItemRenderer and dataTip
Hi, Thanks, so I can stop searching and dig into Tooltip. Cheers, Sönke -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann Sent: Thursday, October 26, 2006 11:02 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] MXML ItemRenderer and dataTip Hi, dataTips don't work when you use a custom item renderer. Your best bet would be to set the toolTip property on your item renderer class. Dirk. Von: flexcoders@yahoogroups.com im Auftrag von Sönke Rohde Gesendet: Do 26.10.2006 20:41 An: flexcoders@yahoogroups.com Betreff: [flexcoders] MXML ItemRenderer and dataTip Hi, How do I enable the dataTip in a custom MXML ItemRenderer like e.g. this one? ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% backgroundColor=0xEE creationComplete=init(); mx:Script ![CDATA[ import com.soenkerohde.pm.vo.FeatureVO; private function init() : void { } ]] /mx:Script mx:Label text={ FeatureVO(this.data).name } / /mx:Canvas Thanks, Sönke -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: How to assign dataset returned by .Net web service to Flex?
Also (I have pretty extensive experience in this department), there are key differences on HOW you bring the Data back from a .NET call - I forget which one worked for me, but if a DataTable doesn't work for you, then try a DataSet - I struggled with this for a long time, when I was in my prime writing Flash Remoting Applications, with .NET as my back-end. Since I made the jump to ColdFusion, I am a little rusty on the .NET topic (I really do miss writing C# Assemblies) - but I have a ton of C# code that I wrote, which demonstrates many different ways to bring DataSets back to Flash/Flex - that WILL be natively recognized as a Flash type RecordSet. I know that Flex Remoting is a tad different than Flash Remoting - but I am pretty confident that you can get the data back in such a manner, where you can dump it into an ArrayCollection and do something useful with it. If you want the code, please let me know - and I can post it. Mike -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Thursday, October 26, 2006 3:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to assign dataset returned by .Net web service to Flex? .NET should know (how) to serialize those structures into SOAP-compliant XML shouldn't it? I call (but don't write them myself) .NET web services all the time from Flex. Ben --- In flexcoders@yahoogroups.com, Yasovardhan Babu [EMAIL PROTECTED] wrote: Hi, I have an application currently using remoting. In that application,.Net will return datatbles and datasets, which are directly assigned to arrays/objects in flex side. Now, I need to use web services to implement this application instead of remoting. The problem is how to assign the Datasets/Datatables from .net(web services) side to Flex. Is there any other solution? Thanks and Regards, Yasovardhan. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] datagrid and dataField
hi, i dont know why but my datagrid cant bind well when the format of one XML have childrens. i borrow the example on the documentation and make a test to you guys see what i am talking about. to see the issue, just select one row and watch the Labels get the gender property on the right way but, using the same notation, the grid can't show the values. thx for the help, Luís Eduardo. ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:XMLList id=employees employee Id=1 name gender=femaleChristina Coenraets/name /employee employee Id=2 name gender=maleMaurice Smith/name /employee /mx:XMLList mx:Panel title=DataGrid Control Example height=100% width=100% paddingTop=10 paddingLeft=10 paddingRight=10 mx:DataGrid id=dg width=100% height=100% rowCount=5 dataProvider={employees} mx:columns mx:DataGridColumn dataField=@Id headerText=ID/ mx:DataGridColumn dataField=[EMAIL PROTECTED] headerText=Gender/ mx:DataGridColumn dataField=name headerText=Name/ /mx:columns /mx:DataGrid mx:Form width=100% height=100% mx:FormItem label=Id mx:Label text=[EMAIL PROTECTED]/ /mx:FormItem mx:FormItem label=Name mx:Label text={dg.selectedItem.name}/ /mx:FormItem mx:FormItem label=Gender mx:Label text=[EMAIL PROTECTED]/ /mx:FormItem /mx:Form /mx:Panel /mx:Application ___ O Yahoo! está de cara nova. Venha conferir! http://br.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: datagrid checkboxes getting checked dynamically
You're absolutely right! Being a newbie at this I originally connected to my local XML files using HTTPService request without the e4x format and this worked fine. After I discovered I didn't need to do this, I moved to XML tags with e4x formatting and ran into the problem. BTW, I tried selected='{Boolean(data.cdrBusinessCharge)}' and that did not work. Thanks again to all for the input. Jack BTW, this seems to be an issue only with XML/e4x dataProviders. When I used standard ArrayCollections (coming from an XML HTTPService call), the litteral text true and false will be cast boolean automatically. I had a working grid with checkboxes, and when I changed to e4x I ran into the same issue. --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote: Just for fun, try a cast: selected='{Boolean(data.cdrBusinessCharge)}' Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jack OMelia Sent: Wednesday, October 25, 2006 4:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: datagrid checkboxes getting checked dynamically That did the trick! Many thanks! I knew there must be a way to give the checkbox the boolean data but couldn't see it. Thanks again. Is it because the checkbox is expecting a Boolean and getting text? That would be my guess. What does it do if you change the code to: mx:CheckBox id=ckBoxBusCharge selected='{data.cdrBusinessCharge == true}' / ? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jack OMelia lomelia@ wrote: Hi All, I have one column in a datagrid populated with checkboxes. The checkboxes are part of a dataGridCell itemRenderer called checkBoxRendererSummary: mx:Component id=checkBoxRendererSummary mx:VBox horizontalAlign=center paddingLeft=10 mx:CheckBox id=ckBoxBusCharge selected='{data.cdrBusinessCharge}' / /mx:VBox /mx:Component and receive data from a local XML file. The XML file is brought in with the mx:XML/ tag formatted for e4x. One node of the XML is below: item cdrBusinessChargetrue/cdrBusinessCharge cdrSumNbr203-952-4993/cdrSumNbr cdrSumTotalCalls12/cdrSumTotalCalls cdrSumTotalMin21/cdrSumTotalMin cdrSumTotalAir0.00/cdrSumTotalAir cdrSumTotalLD0.00/cdrSumTotalLD cdrSumTotalCharges0.00/cdrSumTotalCharges /item For some reason, the checkbox does not read the value of cdrBusinessCharge and check the box accordingly. No matter whether the value is true or false, all the checkboxes are checked. I use similar itemRenderers for the other columns with Text components instead of checkboxes and they all read and display the data correctly. Is it because the checkbox is expecting a Boolean and getting text? Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Dynamically Generated Forms
My company has a database-driven system of web forms, each of which consists of many questions in various layouts (2-column radio, 1 column checkbox, etc). The forms are never hard-coded. Each HTTP request causes Java code to perform DB queries to dynamically generate the various questions and answers. Those questions are then rendered through JSP and Struts tiles into HTML. The HTML also contains JavaScript functions to hide/show conditional questions on the web page based on answers to earlier questions. Now we're trying to figure out the best way to adapt this system to use a Flash front-end instead of HTML/JavaScript. My preliminary research suggests at least two possible approaches: 1. A pre-compiled SWF could send a request with certain parameters, and the server could respond with an XML description of the form to build. Then the SWF could parse that XML and dynamically generate the form using attachMovie for each form element (with a lot of math to determine relative positions of elements with variable sizes, like text labels). 2. Flex might reduce the code for placing elements, by using MXML to describe the form structure as well as visual arrangement. I haven't used this yet, and I'm wary of Flex 2 simply because it requires Flash Player 9 which is only at 50% browser penetration (http://blog.flashforwardconference.com/2006/09/12/adobe-keynote- some-highlights/) but I might try an earlier version of Flex if it helps. Does anyone have a suggestion about the best approach to solving this problem? Thanks in advance for any advice. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: How can I Hide ZOOM IN and ZOOM OUT in the context menu
This code may help you, but about and settings can't be hiden. [code] public function onInitApp():void { var about:ContextMenuItem = new ContextMenuItem (Powered by riavolution.com,true,true,true); about.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,onselectmenu); var help:ContextMenuItem = new ContextMenuItem(Help content,false,true,true); help.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,onselectmenu); //the line below hide the default items, rigtht? this.contextMenu.hideBuiltInItems(); this.contextMenu.customItems.push(about,help); } [/code] Best´s -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Flex 2 Mac Beta Hanging In Browsers... Looks Like The Flash Player
Title: quote I copied my test program to Windows... runs perfectly. The Windows version is also Flash 9.0 r16 So some how the flash player on Mac appears to be causing the problem. So I ran the flash uninstaller program then installed the 9.0 r 16 debug version from the Adobe site. Dam... still hangs ? What version of the flash player should we be using with this? .j -- Whether you think that you can, or that you can't, you are usually right. - Henry Ford __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Flex 2 Mac Beta Hanging In Browsers... Go back to Windows?
Title: quote OK... I had this running last night. Today when I compile my application then run on either Safari or FireFox 2.0 the application hangs with the spinning wheel of death. I'm on 10.4.8 So I did a clean uninstall/install. Made a hello world simple app/project of a panel with a button. Again it totally hangs in any browser. So I'm thinking maybe my flash player is bad? So I reinstall 9.0 r16 I'm compiling with 1.5 java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition java.runtime.version=1.5.0_06-112 java.specification.name=Java Platform API Specification java.specification.vendor=Sun Microsystems Inc. java.specification.version=1.5 java.vendor=Apple Computer, Inc. java.vendor.url="" class="moz-txt-link-freetext" href="http://apple.com/">http://apple.com/ java.vendor.url.bug=http://developer.apple.com/java/ java.version=1.5.0_06 I want to use this on my Mac... I hate to go back to windows. Some one from Adobe have a clue? .j -- Whether you think that you can, or that you can't, you are usually right. - Henry Ford __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] ItemRenderer - Which dataField from DataGridColumn?
Hi, I need to access the reference to the DataGridColumn within an custom ItemRenderer which is implemented via MXML. Do I have to extend a special class for my ItemRenderer or can I acccess it via parent? When I trace the parent in my ItemRenderer I get e.g. ListBaseContentHolder7. What I need to no is which dataField has to be rendered within my ItemRenderer so I can access the right value in my ValueObject. Here the MXML for the DataGridColumn: mx:DataGridColumn dataField=example headerText=Header itemRenderer=CustomItemRenderer / So how do I know within the class CustomItemRenderer that the dataField is example? Thanks, Sönke -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: How to assign dataset returned by .Net web service to Flex?
Hello, check the message history, Tim had given a link to one example for this case, the method was parse the dataset in a custom class that represents it, and return this clase.A personal observation is that the class that u return must have a parameterless constructor and public atributes. Regards.2006/10/26, ben.clinkinbeard [EMAIL PROTECTED]: .NET should know (how) to serialize those structures into SOAP-compliant XML shouldn't it? I call (but don't write them myself) .NET web services all the time from Flex. Ben --- In flexcoders@yahoogroups.com, Yasovardhan Babu [EMAIL PROTECTED] wrote: Hi, I have an application currently using remoting. In that application,.Net will return datatbles and datasets, which are directly assigned to arrays/objects in flex side. Now, I need to use web services to implement this application instead of remoting. The problem is how to assign the Datasets/Datatables from .net(web services) side to Flex. Is there any other solution? Thanks and Regards, Yasovardhan. -- Matías Nicolás Sommi __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Flex 2 Mac Beta Hanging ... Solved
This was an interesting journey... it was definitely the Flash player. The problem of hanging seemed to only affect a Flex app? It even hung on the Flex Explorer app. Other non-Flex Flash sites worked fine. So to finally make it work I did another uninstall of the Flash player. Then another uninstall/install of Flex with the flash player that comes with Flex beta. Then I did a reboot... repaired permissions and life is good now. Apparently the key to this was the reboot. It seems that the previous uninstalls of the flash player didn't work until the reboot. Of course why the flash player got hosed in the first place I haven't a clue. After all that's why they call it Beta? .j -- quote Whether you think that you can, or that you can't, you are usually right. - Henry Ford __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: How to assign dataset returned by .Net web service to Flex?
Hi Yasovardhan, The two ways that I know of to return a .Net dataset to Flex via webservices: 1. Use FOR XML AUTO in your SQL Statement and return the result directly. or 2. Cast the dataset to a class. View Sample -TH__ Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY--- In flexcoders@yahoogroups.com, "Matias Nicolas Sommi" [EMAIL PROTECTED] wrote: Hello, check the message history, Tim had given a link to one example for this case, the method was parse the dataset in a custom class that represents it, and return this clase. A personal observation is that the class that u return must have a parameterless constructor and public atributes. Regards. 2006/10/26, ben.clinkinbeard [EMAIL PROTECTED]: .NET should know (how) to serialize those structures into SOAP-compliant XML shouldn't it? I call (but don't write them myself) .NET web services all the time from Flex. Ben --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, "Yasovardhan Babu" yasovardhanbabu@ wrote: Hi, I have an application currently using remoting. In that application,.Net will return datatbles and datasets, which are directly assigned to arrays/objects in flex side. Now, I need to use web services to implement this application instead of remoting. The problem is how to assign the Datasets/Datatables from .net(web services) side to Flex. Is there any other solution? Thanks and Regards, Yasovardhan. -- Matías Nicolás Sommi __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: ItemRenderer - Which dataField from DataGridColumn?
Hi Sönke, You can get the name of the field with the following code. From there you can adjust your itemRenderer conditionally.if (listData) { var myListData:DataGridListData = DataGridListData(listData);var fieldName : String = myListData.dataField;} don't forget the import: import mx.controls.dataGridClasses.DataGridListData; -TH__ Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY--- In flexcoders@yahoogroups.com, Sönke Rohde [EMAIL PROTECTED] wrote: Hi, I need to access the reference to the DataGridColumn within an custom ItemRenderer which is implemented via MXML. Do I have to extend a special class for my ItemRenderer or can I acccess it via "parent"? When I trace the parent in my ItemRenderer I get e.g. "ListBaseContentHolder7". What I need to no is which dataField has to be rendered within my ItemRenderer so I can access the right value in my ValueObject. Here the MXML for the DataGridColumn: mx:DataGridColumn dataField="example" headerText="Header" itemRenderer="CustomItemRenderer" / So how do I know within the class CustomItemRenderer that the dataField is "example"? Thanks, Sönke __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: ItemRenderer - Which dataField from DataGridColumn?
Make sure you read all the comments but this addresses exactly what you're looking for. http://www.jessewarden.com/archives/2006/10/checkbox_item_r.html HTH, Ben --- In flexcoders@yahoogroups.com, Sönke Rohde [EMAIL PROTECTED] wrote: Hi, I need to access the reference to the DataGridColumn within an custom ItemRenderer which is implemented via MXML. Do I have to extend a special class for my ItemRenderer or can I acccess it via parent? When I trace the parent in my ItemRenderer I get e.g. ListBaseContentHolder7. What I need to no is which dataField has to be rendered within my ItemRenderer so I can access the right value in my ValueObject. Here the MXML for the DataGridColumn: mx:DataGridColumn dataField=example headerText=Header itemRenderer=CustomItemRenderer / So how do I know within the class CustomItemRenderer that the dataField is example? Thanks, Sönke -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flashvars
Dorky Dork, or can i just call you DD: Hi, I assumed there was problem with flex parsing flashvars then I realized that my query wasn't functioning properly, and it was a typo in my username field. Which always goes to show, that right after I post, I usually solve my problem... and then it comes down to something stupid on my part (maybe it's because I get cross-eyed looking at code all day) However many thanks, this FXT stuff looks very interesting. Will investigate further Bye for now dorky dorkie dork from dorktown wrote: Patrick, I'm not sure what part of your question to answer but you may find the solution in FXT. I wrote a post on it last night. It shows how to get information from flashvars, the html text of the html body, changing the generated html-index-template.html and merging your flex project with a existing server-side type page (like asp, jsp, php). http://www.judahfrangipane.com/blog/?p=37 dorkie dork On 10/25/06, *dj* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: How does this work with the generated .html that flex produces with php, i tried in the old fashioned way of adding the flashvars to the embed tag with no luck no working. mymovie.swf?username=someuser works tho... any help here, Thanks, Patrick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] ModuleManager
Yo! Word on the street (actually some blogging of max) says Flex 2.01 has a module manager. I am in the initial stages of planning the architecture of large enterprise application, Can I perhaps see the Class(interfaces) so that I can plan ahead for it, please? Thanks, Bjorn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ attachment: winmail.dat
[flexcoders] CVS in Flex
Title: quote I'm trying to set up my first commits to my CVS repository. I have my CVS view repository enabled and I can see my repository. According to the docs you commit by right-mouse click on the resource in the Navigator. From here it says go to either Team--Commit or Team -- Synchronize with Repository. I don't see these options just Apply Patch... and Local History? I 'm using the Mac Beta 2. What am I missing here? Thanks. .j -- Whether you think that you can, or that you can't, you are usually right. - Henry Ford __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] ModuleManager
http://blogs.adobe.com/rgonzalez Cheers, :-) -rg From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn SchultheissSent: Thursday, October 26, 2006 9:35 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] ModuleManager Yo! Word on the street (actually some blogging of max) says Flex 2.01 has a module manager. I am in the initial stages of planning the architecture of large enterprise application, Can I perhaps see the Class(interfaces) so that I can plan ahead for it, please? Thanks, Bjorn __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___