Re: [flexcoders] Cairngorm - Call function inside View Component
On Wednesday 13 September 2006 23:56, Pete Capra wrote: I have a view component that is nested inside the application, and it has a public function that selects an item on a Tree (manually, instead of the user doing it). I want the function to be called after a result handler fires from a RPC. How should I call this function? I'm not quite sure how to reference the function.. One way would be to bind the tree's selected item to something in the Model, and update that from the result handler. Alternatives include moving the select function into a view handler registered with the view and then using the Locator in the result handler, or passing a reference to the view into the Event and storing it so the result handler can call it. -- Tom Chiverton Helping to revolutionarily negotiate end-to-end features 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] Fault with code WSDL.BadType
Hi people, I‘m trying to execute web method “login” from web service at http://smbproxy.org:8085/services/XMLService?wsdl What’s wrong with this service if I have the following exception? [WSDLError faultString=Type impl:loginResponse not resolvable faultCode=WSDL.BadType faultDetail=null] at mx.rpc.soap::WSDLParser/http://www.adobe.com/2006/flex/mx/internal::parseMessage() … Please Help, Mozilla By __._,_.___ -- 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: Trying to understand RemoteObjects
On Wednesday 13 September 2006 14:04, dinger0007 wrote: I havn't tried using remote objects on my shared server becasue I thought I needed to update a xml file at the root of the server. You do, yes - otherwise how will the server know what services you are expecting to export ? For hopefully obvious reasons, the services XML you compile the MXML with must match with the one your server has, otherwise the SWF will be talking to the wrong place. -- Tom Chiverton Helping to wide-spreadedly strategize prospective methodologies 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] IF YOU WANT IMPORTANT AND USEFULL WEB-SITE
IF YOU WANT IMPORTANT AND USEFULL WEB-SITE HERE IS IT Movie Tags- http://softwaretutorial.myitcareer.org/allaboutmovietags Linux Boots- http://softwaretutorial.myitcareer.org/HowLinuxboots Make VCD From DivX- http://softwaretutorial.myitcareer.org/makeVCDfromDivX Spyware-http://softwaretutorial.myitcareer.org/spyware Stop Spam- http://softwaretutorial.myitcareer.org/stopspam WindowsXpSP2- http://softwaretutorial.myitcareer.org/windowsxpsp2 Speed Up Windows XP- http://softwaretutorial.myitcareer.org/speedupwinxp Computer Virus Evolved- http://softwaretutorial.myitcareer.org/evolutionofcomputervirus PHP,MYSQL Webhosting- http://softwaretutorial.myitcareer.org/freephpmysqlwebhosting Webhosting Bandwidth- http://softwaretutorial.myitcareer.org/BandwidthExplained Catch A Virus- http://softwaretutorial.myitcareer.org/catchingavirus Security Holes Of Your System- http://softwaretutorial.myitcareer.org/closeopensecurityholes DirectX-http://softwaretutorial.myitcareer.org/DirectXTutorial FTP- http://softwaretutorial.myitcareer.org/FTPTutorial Keyboard Shortcuts- http://softwaretutorial.myitcareer.org/keyboardshortcut Stay Anonymous While Browsing- http://softwaretutorial.myitcareer.org/stayinganonymous Prevent Your Files Getting Deleted By Intruders- http://softwaretutorial.myitcareer.org/stopfilegettingdeleted To Build A Good Website- http://softwaretutorial.myitcareer.org/websitebuildingchecklist Why PC Crashes- http://softwaretutorial.myitcareer.org/whypccrash IF YOU WANT TO KNOW MORE THINGS YOU CAN JOIN TO THIS GROUP http://groups.yahoo.com/group/computerinterviewtutorial/ -- 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] mxml escape character??
take the its a text attribute so do this function bla():String { return {} } mx:Text text=bla()/On 9/12/06, Chad Callahan [EMAIL PROTECTED] wrote: I need to include the { and } characters inside of an mxml tag's argument value but mxml reads the { and } as bindable. Is there a way to escape the { and } characters within the quotes? CHAD CALLAHAN PROGRAMMER T8DESIGN.COM | P 319.266.7574 - x195 | 877.T8IDEAS | F 888.290.4675 This e-mail, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, and then please delete it. Thank you. -- j:pn http://www.lennel.org __._,_.___ -- 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: Lost commit on data source with polling AMF
I am checking into the hotfix process right now. I have the fix working locally on a simple test case and will run our test suite on this fix tonight. We do currently have the limitation that you have to merge before you commit or you get an error. Theoretically, we could relax this constraint and let you merge after the commit but I think it would hit the same stale conflict problem if you ended up merging a change to an item after you had already committed and resolved a conflict on that item. So you are saying that if you call merge followed by an immediate commit that you are still running into problems with unmerged messages? Messages pushed from the server will not be delivered until your code has finished running so if you call merge() immediately followed by commit() the commit should only generate an error if the merge caused a conflict. In that case, youd have to resolve the conflict before you can commit anyway (we also require you to resolve all conflicts before you can commit). If this doesnt match what you are seeing, let me know. Jeff From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 8:43 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Lost commit on data source with polling AMF Thanks for the responses, how long does it usually take to implement a hotfix? We have been playing around with a datasource that has autocommit and automerge set to false, but it appeared to be almost impossible to issue merge() and commit() sequences without running into problems. Are there any examples/tutorials on how to structure the code for a merge-resolve-commit cycle with auto-commit and auto-merge turned off? We found that sometimes the commit would throw an error because there were pending merges, this despite the fact that a merge was just completed. I presume this arose from a further push that arrived between the resolution of the last conflict and the commit request. Is there a way to make this operation atomic? By that I mean something like a mergeAndCommit() which resolves all merges, locks the data source, and then commits. Kornelius [EMAIL PROTECTED]ups.com wrote on 13/09/2006 02:13:27: What is happening here is that the latency introduced by the poll is causing the client to receive the response from its commit before a previously queued pushed message to that client. By the time it receives the pushed message, it is stale - i.e. the previous version is not accurate anymore. We should be sending those queued messages to the client before the client processes the response to its operation. Thus the client would receive notification of the conflict two times in this case but it would be the same conflict so you would only have to resolve it once. The only workaround I can think of right now is to resolve that second (stale) conflict using acceptClient without reporting it to the user. The problem though is knowing when this is a stale conflict versus a real new conflict. There is a timestamp in the message which theoretically could be used to detect that but it is pretty tricky so I'm not sure I'd recommend trying this workaround. I am working on a fix now... once it is ready we could investigate the possibility of turning it into a hotfix. Sorry for the problems and thanks for reporting this issue. Jeff -- 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 __ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk __ __._,_.___ -- 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 ruby on rails file upload
Hi guys Im working on a FLEX project which requires file upload, with ruby on rails at the backend.Im using the file reference class.The URLRequest is - http://localhost:3000/flex/upload_file where flex is the controller, upload_file is the method The rails method is def upload_file file_data =params[:Filedata] file_name=params[:Filename] File.open (name, "wb") { |f| f.write(file_data.read) } endWhen i try to upload a file my flex applications dispatches the COMPLETE event which actually means that the file is successfully uploaded.But the file is not getting uploaded to the desires location.Can any one of you help me to sort this issue Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW __._,_.___ -- 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: Deploying a Flex Application making rpc.remoting calls
Hello Matt, Thank you for your advice and suggestion and I am sorry for not able to reply back earlier. You are right I am using Flex Builder to compile. In Flex Builder compiler properties dialog box, I have added the -services-config argument along with the default argument '-locale en_US' separated by comma. The aruguments are as follows - -locale en_US,-services-config. Other settings are set to default values. After compilation, when I run the application from the browser, by calling the html wrapper file, it does not make the remote object call. But once if I directly run the mxml file from the browser, it executes the remote call and thereafter whenever the html wrapper is made to run, it calls the java remote object and executes properly. The remote object calls a java object that writes an xml file in the file system, which is further used by flex datadriven controls. I had also tried to add the services valu directly in the flex- config.xml file but that too did not show correct results. servicesservices-config.xml/services I am sure that I am following some wrong process for compilation? But I am unable to decipher the problem. Please advice and help. Thanks and Regards, Paromita --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Nope, you only need to deploy the SWF and HTML wrappers. Sounds like you're compiling using Flex Builder which may mean that it's not pointing at the service-config.xml which I saw mentioned in some other posts recently. Make sure you your -services-config compiler argument is set up (or that the flex-config.xml you're using has it set). Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of paromitadey Sent: Thursday, September 07, 2006 10:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Deploying a Flex Application making rpc.remoting calls Hello All, I am pretty new top flex and I am trying to develop a simple Flex application which makes RPC remote object calls using mx.rpc.remoting.RemoteObject ... The remote obect accesses a java object which in return sends a XML stream which is further received by the flex environment for populating datagrid, lists and other data driven controls. It runs fine when I make a http request call to the mxml file directly but when I try to run the application swf using the wrapper created by the builder itself. The remote object call it not functioning. For deploying flex application making remote object calls do we need to run and deploy the mxml file with all related actionscript files in the deployment environment? Please help. Regards, paromita -- 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] asfunction in flex 2
Ashish, The following is from the docs: ++ The following code shows that the link event is dispatched when a user clicks the hypertext link: import flash.text.TextField; import flash.events.TextEvent; var tf:TextField = new TextField(); tf.htmlText = a href='event:myEvent'Click Me./a; tf.addEventListener(link, clickHandler); addChild(tf); function clickHandler(e:TextEvent):void { trace(e.type); // link trace(e.text); // myEvent } Hilary www.bridel.org On 9/14/06, ashishpatel2007 [EMAIL PROTECTED] wrote: I am trying to make this work in Flex 2 and looked at Nahuel's code. However, I do not see in his example where he is using a href or something similar when a user clicks text WITHIN htmlText. Please correct me if I am wrong, but I think Nahuel uses the full text when the user clicks the enter key or presses the search button. I am trying to do the following: textRange1.htmlText=unclickableText a href='asfunction:callfunction'clickableText/a I want to a call a function within the same .mxml file when the user clicks on 'clickableText'. The function will eventually do a pop-up based on the text the user clicked. I don't think asfunction is available in Flex2. Any help would be appreciated. Thanks in advance, ashish --- In flexcoders@yahoogroups.com, jgraham_us [EMAIL PROTECTED] wrote: I need this to work in Flex 1.5, is there a similar way to get it to work? Basically I just need to know when the link was clicked or for that matter the marker was clicked. --- In flexcoders@yahoogroups.com, JesterXL jesterxl@ wrote: Learn from the master. Nahuel's app won in his category in the Flex Derby. As a judge, I gave him mad props for getting this to work. Here's how he did it: http://www.asfusion.com/blog/entry/inserting-yahoo-maps-in-a-flex- 2-application - Original Message - From: jgraham_us jason_graham@ To: flexcoders@yahoogroups.com Sent: Tuesday, July 18, 2006 1:32 AM Subject: [flexcoders] Yahoo Maps questions 1) I have a marker CustomPOIMarker, I want to embed a link and call an actionscript function in my flex code. I have tried this with and without _parent,parent and it never works. If I put a link to an HTML page it works fine. But I need to notify my application when the click has occured. Any ideas? or a better way to do this? Example. var markerArgs = {index:marker 1,description:a href='asfunction:parent.cpiClicked'print something/a, title:a href='asfunction:_parent.cpiClicked'print something/a, markerColor:0x990099, strokeColor:0x00}; . . . function cpiClicked() : Void { Echo.debug(Marker 1 clicked); } -- 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 -- Hilary -- -- 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] www.goowy.com component
Has anybody tried building components present in goowy.com I need time component. But I am not sure what kind of font they are using for displaying current time. Please suggest some approach for building that kind of font for displaying time I am not sure weather it is there font or something else they are using. Cheers. __._,_.___ -- 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] Rotating html text
dunno if there is another work around but takinhg a snapshot using bitmapdata might solve the rotation. won't be particulary editable thoughOn 9/12/06, jeremyrichman [EMAIL PROTECTED] wrote: I have a Text field that I want to rotate but it must display htmltext, not just plain text.I have embedded the font that I am settingin the html with the CSS font face style but on rotation, the textvanishes. I have tested this with the non-htmltext property, and it rotates fineprovided I dotextObject.setStyle(fontFamily, myFont), but not thehtml version with the font face property set (unless I also set the textObject fontFamily CSS style, but I don't want to do that becauseeventually I'd like to embed several fonts and have text that couldcome from a mix of them).Any suggestions?Jeremt --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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/-- j:pn http://www.lennel.org __._,_.___ -- 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] AutoSuggest TextField
Hey there, Has anyone seen any auto suggest style text fields for flex? Similar to what google is doing? Thanks, mark -- 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] calendar component
The weblogs server ran out of disk space yesterday. Many of us on there have to rebuild them (but data wasnt lost). So might be tomorrow before his blog is back up. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams Sent: Tuesday, September 12, 2006 8:20 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] calendar component Alistair, your blog http://weblogs.macromedia.com/amcleod/ appears to be down or empty. Hank On 9/11/06, Alistair McLeod [EMAIL PROTECTED]com wrote: Hi, We're still working on the calendar component. I will post to my blog (and here) when it is ready for release. Regards, Ali -- Alistair McLeod Technical Leader (Rich Internet Applications and LiveCycle) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 [EMAIL PROTECTED]com, http://weblogs.macromedia.com/amcleod -Original Message- From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of bghoward3 Sent: 11 September 2006 19:59 To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] calendar component i recently read that an open sourced calendar componet was close to being released http://weblogs.macromedia.com/amcleod/archives/2006/08/fade_to_gray_ef. cfm i can not find any other info on this topic, has anyone seen or heard anything about it and if it is available yet? 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 -- 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 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] Problem with Application build and compile
Hello All, While building the project, if Build Automatically is selected under the Project menu, the project is supposed to build while we perform a save operation. The build process is indicated at the Flex Builder status bar right hand bottom corner. In my case this build indication is showed at times but most of the time it does not show any indication. If I deselect the Build automatically option and forcefully try to build the project using Build All or Build Project, again at times it shows the Build process dialog box or process inidication at the status bar, but again mostly it doesnot show anything. At times the project gets build fine even though the build indication is not shown but many a times it is not building the project properly and I am getting erroneous results. What may be the reason? I am working on an application which is using XMLListCollections ArrayCollections, lots of databinding and custom components etc. Could it be a memory issue? Do I need to do any specific setting changes for project build and compilation? Please advise. Regards, Paromita -- 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: Flex + .NET Web Services irritations
John: I'm a little confused by your reply. Could you educate me why you are using WS's if you feel you could use remoting? Also, JSON plugs right into Web Services. It simply serializes and deserializes the data to allow for easy transfers of data types. Sam On 9/8/06, John C. Bland II [EMAIL PROTECTED] wrote: Nah, I'm not interested in JSON. If we weren't using WSs we'd be using Remoting. Thanks though. On 9/7/06, Sam Shrefler [EMAIL PROTECTED] wrote: John: You might want to also check out JSON + .NET + Flex. I've written a tiny little little tutorial to help get people started at: http://blog.shrefler.net/?p=5 Sam On 9/5/06, John C. Bland II [EMAIL PROTECTED] wrote: FLIPPIN' NAMESPACEI set the namespace and I'm rollin'! Now I can finish this app. :-) Thanks. On 9/5/06, John C. Bland II [EMAIL PROTECTED] wrote: Which code are you referring to seeing? I can't pass the WS code or url. As for the Flex code, it is based 100% off of the livedocs example but with our url's, etc. We don't use .NET datasets. We are returning VO's (classes) or Listclassname. This is .NET 2.0 so generics are used semi-heavily.Thanks. On 9/5/06, Tim Hoff [EMAIL PROTECTED] wrote: Hi John, Without seeing the code, the first error seems E4X related. I'm not sure if this will help you with the second error, but natively Flex doesn't accept .Net datasets without receiving this error. If that's the case, you can solve this by casting the dataset to a class that is returned by the webservice. Here's an ASP.Net webservice code sample: http://www.cflex.net/showFileDetails.cfm?ObjectID=418Object=FileChannelID=1 -TH --- In [EMAIL PROTECTED] ups.com, John C. Bland II [EMAIL PROTECTED] wrote: Flex seems to have problems hitting .NET web services. Specifically, it has problems handling method overloads and, for whatever reason, can't seem to work with working .NET WS's. I setup the operation, etc just as examples showed to make sure my own knowledge wasn't lacking and it still didn't work right. The errors are as follows (extracted from my Google searches the other day): * The Proxy class does not implement getDescendants. It must be overridden by a subclass. * [WSDLError faultString=Element :SiteProvider_GetBySiteID not resolvable faultCode=WSDL.BadElement faultDetail=null] The second one is odd because I KNOW the method is there AND that it works. I can hit the wsdl with another tool and it works perfectly fine. Any ideas? -- John C. Bland II Chief Developer Katapult Media, Inc. - www.katapultmedia.com --- Biz Blog - http://blogs.katapultmedia.com/jb2 Personal Blog - http://blog.blandfamilyonline.com http://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear Them Home of FMUG.az - http://www.gotoands top.org Home of AZCFUG - http://www.azcfug.org -- John C. Bland IIChief DeveloperKatapult Media, Inc. - www.katapultmedia.com ---Biz Blog - http://blogs.katapultmedia.com/jb2Personal Blog - http://blog.blandfamilyonline.comhttp://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear Them Home of FMUG.az - http://www.gotoandstop.orgHome of AZCFUG - http://www.azcfug.org -- John C. Bland IIChief DeveloperKatapult Media, Inc. - www.katapultmedia.com ---Biz Blog - http://blogs.katapultmedia.com/jb2Personal Blog - http://blog.blandfamilyonline.comhttp://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear Them Home of FMUG.az - http://www.gotoandstop.orgHome of AZCFUG - http://www.azcfug.org -- John C. Bland IIChief DeveloperKatapult Media, Inc. - www.katapultmedia.com---Biz Blog - http://blogs.katapultmedia.com/jb2Personal Blog - http://blog.blandfamilyonline.com http://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear Them Home of FMUG.az - http://www.gotoandstop.orgHome of AZCFUG - http://www.azcfug.org __._,_.___ -- 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] Motionbox VideoPlayer with Deep Tagging functions
Damn! I've forgot the bloody links: http://motionbox.com/video/player/1c99d5b41392/5f8e06082419b3f3 http://blog.motionbox.com/motionbox/2006/09/deep_tagging_an.html Sorry for that. Marcel Fahle wrote: Hey Guys, I've recently stumbled on Motionbox' new video player and I find it quite impressive how the labeling and draging a box on the timeline has been done. Do you guys have an idea what is the best way to accomplish a similar application? How would you start building something like that? Thanks for your suggestions. Marcel -- 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] adding control bar to panel programitically
Hi,Here is a partial solution to ur issue. The problem here is when you add a controlbar to the Panel as a child, you also need to tell the panel that the added Child is of the type controlBar. Once this property is set, the Panel itself takes care of layouting the controlbar at the required position. However adding a chind to programmatically added controlbar seems to be broken, I have logged a bug into the adobe bugbase to track this. In the meanwhile modify your ControlBarInPanel.as with the following code.The only modifications that i have done is extending the class from Panel and not from Canvas.The code:package{ import mx.containers.Canvas ; import mx.containers.Panel; import mx.containers.ControlBar; import mx.controls.Button; import mx.events.FlexEvent; public class ControlBarInPanel extends Panel { public function ControlBarInPanel() { super(); addEventListener( FlexEvent.CREATION_COMPLETE, handleCreationComplete ); } private function handleCreationComplete( event:FlexEvent ):void { } override protected function createChildren():void { super.createChildren() var tb:Button = new Button(); tb.label = Test Button in Panel; var cb:ControlBar = new ControlBar(); var tb2:Button = new Button(); tb2.label = Test Button in Control Bar; cb.addChild( tb2 ); cb.includeInLayout=trueaddChild( tb ); addChild(tb) addChild(cb); controlBar = cb; //cb.invalidateDisplayList() } }}Hope this helpsHarishOn 9/14/06, aaron smith [EMAIL PROTECTED] wrote: I've been just messing around with how to do things through code. It seems adding a ControlBar to a panel in code doesn't do the same thing as it does in mxml.here is my mostly code example: MXML:?xml version= 1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=vertical creationComplete=initApp() mx:Script import ControlBarInPanel;private function initApp():void { var cbip:ControlBarInPanel = new ControlBarInPanel(); addChild( cbip ); } /mx:Script/mx:ApplicationAS3:package{ import mx.containers.Canvas; import mx.containers.Panel; import mx.containers.ControlBar; import mx.controls.Button; import mx.events.FlexEvent; public class ControlBarInPanel extends Canvas { public function ControlBarInPanel() { super(); addEventListener( FlexEvent.CREATION_COMPLETE, handleCreationComplete ); }private function handleCreationComplete( event:FlexEvent ):void { percentWidth = 100; percentHeight = 100; var tb:Button = new Button(); tb.label = Test Button in Panel; var p:Panel = new Panel(); p.title = Test Control Bar in Panel; var cb:ControlBar = new ControlBar(); var tb2:Button = new Button(); tb2.label = Test Button in Control Bar; addChild( p ); p.addChild( tb ); p.addChild( cb ); cb.addChild( tb2 ); } }}this all works fine, but when the control bar gets added to the panel it is inside of the White content Area in the panel. Now when I do the same thing but with MXML::?xml version=1.0 encoding=utf-8 ?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=verticalmx:Canvas percentWidth=100 percentHeight=100 mx:Panel title=Test Control Bar in Panel mx:Button label=Test Button in Panel / mx:ControlBar horizontalAlign=right mx:Button label=Test Button in ControlBar / /mx:ControlBar /mx:Panel/mx:Canvas /mx:Applicationit puts the control bar under the white content area in a panel. what is going on behind the scenes in mxml that is causing the difference?? __._,_.___ -- 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] FDS and web service.
Hi all, I have just started experimenting with FLex, and learned to my dismay that you need FDS if you want to use authentication when calling a web service. This might not be such a big problem as the web service is hosted on our weblogic server, and I have been able to install FDS and got the examples running. But now I am stuck on getting FDS talk to my web service. I have search both the documentation and the web for som e good examples but to no avail. Does anyone know of a good tutorial or an example on how you go about to set up flex so that it proxies my requests to my web service? regards, /Lars -- 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] what's going on with this Flex?!?
Hi! I have some tabs in my flex application and when I want to access a text field on my last tab I get an error about null reference. If I click on this tab and try again then it works. I guess the error happens because the last tab isn't yet loaded. So please explain to me how can I solve this and how can someone build a sirious business application if there are such strange errors? -- 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] DataGrid labelFunction
Hi Rafael,Can you please add a code snippet here for the problem that you are encountering?ThanksHarishOn 9/13/06, rafael_magalhaes007 [EMAIL PROTECTED] wrote: Hi, i have a datagrid with N column, in this datagrid there's a column in the end that makes the sum of all the other columns this sum is made by the property labelFunction that calls out a function created by me to sum the values in the columns the cells are editable and when i change the values of the first 2 lines it works fine, but from the thrid line ahead nothing happens unless i change the values of the first 2 lines it works fine, but from the thrid line ahead nothing happens unless i change the values of column 1 or 2 again, then it works and does the Sum. i want to know how to make it work for every line i change not neding to change line 1 and 2 for the other to work.. thanks for your help, []´ Rafael __._,_.___ -- 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] Motionbox VideoPlayer with Deep Tagging functions
Hey Guys, I've recently stumbled on Motionbox' new video player and I find it quite impressive how the labeling and draging a box on the timeline has been done. Do you guys have an idea what is the best way to accomplish a similar application? How would you start building something like that? Thanks for your suggestions. Marcel -- 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] Deploying a Flex Application making rpc.remoting calls
Hello Matt,Thank you for your advice and suggestion and I am sorry for not able to reply back earlier.You are right I am using Flex Builder to compile. In Flex Builder compiler properties dialog box, I have added the -services-config argument along with thedefault argument '-locale en_US' separated by comma. The aruguments are as follows - -locale en_US,-services-config. Other settings are set to default values.After compilation, when I run the application from the browser, by calling the html wrapper file, it does not make the remote object call. Butonce ifI directly run the mxml file from the browser, it executes the remote call and thereafter whenever the html wrapper is made to run, it calls the java remote object and executes properly. The remote object calls a java object that writes an xml file in the file system, which is further used by flex datadriven controls.I had also tried to add the services valu directly in the flex-config.xml file but that too did not show correct results. servicesservices-config.xml/servicesI am sure that I am following some wrong process for compilation? But I am unable to decipher the problem.Please advice andhelp. Thanks and Regards, Paromita Matt Chotin [EMAIL PROTECTED] wrote: Nope, you only need to deploy the SWF and HTML wrappers. Sounds like youre compiling using Flex Builder which may mean that its not pointing at the service-config.xml which I saw mentioned in some other posts recently. Make sure you your services-config compiler argument is set up (or that the flex-config.xml youre using has it set).MattFrom: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of paromitadeySent: Thursday, September 07, 2006 10:32 PMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Deploying a Flex Application making rpc.remoting calls Hello All,I am pretty new top flex and I am trying to develop a simple Flex application which makes RPC remote object calls using mx.rpc.remoting.RemoteObject ...The remote obect accesses a java object which in return sends a XML stream which is further received by the flex environment for populating datagrid, lists and other data driven controls.It runs fine when I make a http request call to the mxml file directly but when I try to run the application swf using the wrapper created by the builder itself. The remote object call it not functioning.For deploying flex application making remote object calls do we need to run and deploy the mxml file with all related actionscript files in the deployment environment?Please help.Regards,paromita Get your email and more, right on the new 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] Error with Flex Builder
Hello All, I am getting a strange error while working on the Flex Builder 2.0. It displays a dialog box with the following text - JVM Terminated. Exit code=1 C:\Program Files\Adobe\Flex Builder 2\jre\bin\javaw.exe -Xms128M -Xmx512M -XX:MinHeapFreeRatio=20 -jar C:\Program Files\Adobe\Flex Builder 2\startup.jar -os win32 -ws win32 -arch x86 -launcher C:\Program Files\Adobe\Flex Builder 2\FlexBuilder.exe -name FlexBuilder -showsplash 600 -exitdata 964_60 -vm C:\Program Files\Adobe\Flex Builder 2\jre\bin\javaw.exe -vmargs -Xms128M -Xmx512M -XX:MinHeapFreeRatio=20 -jar C:\Program Files\Adobe\Flex Builder 2\startup.jar with an OK button. Whenever this dialog box is given the Flex Builder application window closes by itself and I have to reopen the Flex Builder from Start-Programs-Adobe-Adobe Flex Builder 2 Is this a common problem? Please advise what do I need to do to solve this problem. Thanks and Regards, Paromita -- 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: Using objects in XML
Solved! Created a function: private function createRepeaterData(label:String, id:String, required:Boolean, selected:int, dataprovider:Array):void { xmlText = dataprovider/dataprovider; for (var item:String in dataprovider) { xmlText.appendChild(infolabel{dataprovider[item].label}/labeldata{dataprovider[item].data}/data/info); } xmlPermissions.appendChild(combolabel{label}/labelid{id}/idrequired{required}/requiredselected{selected}/selected{xmlText}/combo); } and changed the Repeaters dataProvider to {rpComboBox.currentItem.dataprovider.info}. Works fine now!! --- In flexcoders@yahoogroups.com, kristian_wright2002 [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: just a guess, in your repeater try mx:ComboBox labelField=data dataProvider={rpComboBox.currentItem.dataprovider} / Didn't work - just returned an empty combobox. Also, my labels and data are different (data is an int I use to query a DB, so it's meaningless as a selection choice). Thanks though! I've also tried looping through my array and placing values in a string: for (var item:int=0;itemarrARRAY.length;item++) { strText=strText+data+arrARRAY[item].data+/datalabel+arrARRAY[item].label+/label; } and substituting {strText} for {arrARRAY} in my XML, but this again causes the creation of 1 selection of: data1/datalabelValue1/labeldata2/datalabelValue2/label... At least the values are coming out now though, just all on one line still! Any other thoughts? -- 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 - Database
Hi, I am new to flex, Can somebody please help me in how to connect to database through flex. Thanks in advance. -- 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] calendar component
Ahh... Bummer.But thanks for the info. I was looking forward to re-reading a couple of alistair's entrys but I can certainly wait until tommorrow :).HankOn 9/12/06, Matt Chotin [EMAIL PROTECTED] wrote: The weblogs server ran out of disk space yesterday. Many of us on there have to rebuild them (but data wasn't lost). So might be tomorrow before his blog is back up. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams Sent: Tuesday, September 12, 2006 8:20 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] calendar component Alistair, your blog http://weblogs.macromedia.com/amcleod/ appears to be down or empty. Hank On 9/11/06, Alistair McLeod [EMAIL PROTECTED] wrote: Hi, We're still working on the calendar component. I will post to my blog (and here) when it is ready for release. Regards, Ali -- Alistair McLeod Technical Leader (Rich Internet Applications and LiveCycle) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 [EMAIL PROTECTED], http://weblogs.macromedia.com/amcleod -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bghoward3 Sent: 11 September 2006 19:59 To: flexcoders@yahoogroups.com Subject: [flexcoders] calendar component i recently read that an open sourced calendar componet was close to being released http://weblogs.macromedia.com/amcleod/archives/2006/08/fade_to_gray_ef. cfm i can not find any other info on this topic, has anyone seen or heard anything about it and if it is available yet? 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 -- 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 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] calendar component
Hi, Yes, I had to rebuild my weblog (sounds a lot worse than it was), so it should be back up now. Cheers, Ali From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williamsSent: 14 September 2006 12:46To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] calendar component Ahh... Bummer.But thanks for the info. I was looking forward to re-reading a couple of alistair's entrys but I can certainly wait until tommorrow :).Hank On 9/12/06, Matt Chotin [EMAIL PROTECTED] wrote: The weblogs server ran out of disk space yesterday. Many of us on there have to rebuild them (but data wasn't lost). So might be tomorrow before his blog is back up. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williamsSent: Tuesday, September 12, 2006 8:20 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] calendar component Alistair,your blog http://weblogs.macromedia.com/amcleod/ appears to be down or empty.HankOn 9/11/06, Alistair McLeod [EMAIL PROTECTED] wrote: Hi, We're still working on the calendar component. I will post to my blog (and here) when it is ready for release. Regards, Ali -- Alistair McLeod Technical Leader (Rich Internet Applications and LiveCycle) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 [EMAIL PROTECTED], http://weblogs.macromedia.com/amcleod -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bghoward3 Sent: 11 September 2006 19:59 To: flexcoders@yahoogroups.com Subject: [flexcoders] calendar component i recently read that an open sourced calendar componet was close to being released http://weblogs.macromedia.com/amcleod/archives/2006/08/fade_to_gray_ef. cfm i can not find any other info on this topic, has anyone seen or heard anything about it and if it is available yet? 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 -- 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 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: adding control bar to panel programitically
Hello aaron, i had the same problem recently... you just have to change the order of you components when you add them to the panel, as far as i know the controlBar has to be the last one to be add in order to be under the white content area of the panel, try the following... p.addChild( tb ); cb.addChild( tb2 ); p.addChild( cb ); addChild( p ); and ill work fine. --- In flexcoders@yahoogroups.com, aaron smith [EMAIL PROTECTED] wrote: I've been just messing around with how to do things through code. It seems adding a ControlBar to a panel in code doesn't do the same thing as it does in mxml. here is my mostly code example: MXML: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=initApp() mx:Script import ControlBarInPanel; private function initApp():void { var cbip:ControlBarInPanel = new ControlBarInPanel(); addChild( cbip ); } /mx:Script /mx:Application AS3: package { import mx.containers.Canvas; import mx.containers.Panel; import mx.containers.ControlBar; import mx.controls.Button; import mx.events.FlexEvent; public class ControlBarInPanel extends Canvas { public function ControlBarInPanel() { super(); addEventListener( FlexEvent.CREATION_COMPLETE, handleCreationComplete ); } private function handleCreationComplete( event:FlexEvent ):void { percentWidth = 100; percentHeight = 100; var tb:Button = new Button(); tb.label = Test Button in Panel; var p:Panel = new Panel(); p.title = Test Control Bar in Panel; var cb:ControlBar = new ControlBar(); var tb2:Button = new Button(); tb2.label = Test Button in Control Bar; addChild( p ); p.addChild( tb ); p.addChild( cb ); cb.addChild( tb2 ); } } } this all works fine, but when the control bar gets added to the panel it is inside of the White content Area in the panel. Now when I do the same thing but with MXML:: ?xml version=1.0 encoding=utf-8 ? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Canvas percentWidth=100 percentHeight=100 mx:Panel title=Test Control Bar in Panel mx:Button label=Test Button in Panel / mx:ControlBar horizontalAlign=right mx:Button label=Test Button in ControlBar / /mx:ControlBar /mx:Panel /mx:Canvas /mx:Application it puts the control bar under the white content area in a panel. what is going on behind the scenes in mxml that is causing the difference?? -- 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 - Database
- Original Message - From: Sudharshan Rao [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, September 14, 2006 8:46 AM Subject: [flexcoders] Flex - Database Hi, I am new to flex, Can somebody please help me in how to connect to database through flex. Thanks in advance. Flex doesn't connect directly to a database. You will need to use a server-side technology and communicate with it using: Http service, Web service, Flex Data Service, etc. - just check out the tutorials on the adobe site and all over the web. Paul www.ipauland.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] FDS and web service.
Try this: http://www.everythingflex.com/blog/1/2006/03/WebService-setup-for-FES.cfm Rich On 9/14/06, secolaha [EMAIL PROTECTED] wrote: Hi all, I have just started experimenting with FLex, and learned to my dismay that you need FDS if you want to use authentication when calling a web service. This might not be such a big problem as the web service is hosted on our weblogic server, and I have been able to install FDS and got the examples running. But now I am stuck on getting FDS talk to my web service. I have search both the documentation and the web for som e good examples but to no avail. Does anyone know of a good tutorial or an example on how you go about to set up flex so that it proxies my requests to my web service? regards, /Lars -- 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 -- Rich Tretola mx:EverythingFlex/ http://www.EverythingFlex.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] Flex - Database
You can connect direct to database with webservices in SQL2005 (end points)RogerioOn 9/14/06, Paul Andrews [EMAIL PROTECTED] wrote: - Original Message - From: Sudharshan Rao [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, September 14, 2006 8:46 AM Subject: [flexcoders] Flex - Database Hi, I am new to flex, Can somebody please help me in how to connect to database through flex. Thanks in advance. Flex doesn't connect directly to a database. You will need to use a server-side technology and communicate with it using: Http service, Web service, Flex Data Service, etc. - just check out the tutorials on the adobe site and all over the web. Paul www.ipauland.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] Gap between root level menu items
I'm facing some issues with MenuBar tag. Let me know the workaround to fix following issues. 1. How can I reduce the gap between root level menu items? 2. How can I customize separator? Again the width of the separator is too much and it is selectable just like others menuitem. I want to put small vertical line of 2px width in place of this. 3. I want sub menu to activate when mouse is over the root menu item and goes off when mouse move out of the menus. Currectly I have to click on the menuitem to get the popup and one more click to close. Here is the code ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:ApplicationControlBar width=730 height=31 x=48 y=30 mx:MenuBar id=myMenuBar labelField=@label mx:XMLList menuitem label=MENU ITEM-1 type=link menuitem label=SubMenuItem A-1/ menuitem label=SubMenuItem A-2/ /menuitem menuitem label=MENU ITEM-2 type=check/ menuitem label=MENU ITEM-3 type=check/ menuitem type=seprator / menuitem label=MENU ITEM-4 menuitem label=SubMenuItem D-8/ menuitem label=SubMenuItem D-9/ menuitem label=SubMenuItem D-10/ menuitem label=SubMenuItem D-11/ menuitem label=SubMenuItem D-12 type=link / /menuitem menuitem label=MENU ITEM-5 menuitem label=SubMenuItem D-1/ menuitem label=SubMenuItem D-2/ menuitem label=SubMenuItem D-3/ /menuitem /mx:XMLList /mx:MenuBar mx:TextInput width=100% maxWidth=200 / mx:LinkButton label=Search right=5 / /mx:ApplicationControlBar /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] Flex - Database
- Original Message - From: Rogerio Gonzalez To: flexcoders@yahoogroups.com Sent: Thursday, September 14, 2006 2:00 PM Subject: Re: [flexcoders] Flex - Database You can connect "direct" to database with webservices in SQL2005 (end points)Rogerio How does this differ from webservices in general? What make it "Direct"? I think the OP really wants to talk directly to a database and squirt SQL at it inside Flex. Paul On 9/14/06, Paul Andrews [EMAIL PROTECTED] wrote: - Original Message - From: "Sudharshan Rao" [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Thursday, September 14, 2006 8:46 AMSubject: [flexcoders] Flex - Database Hi, I am new to flex, Can somebody please help me in how to connect to database through flex. Thanks in advance. Flex doesn't connect directly to a database. You will need to use aserver-side technology and communicate with it using:Http service, Web service, Flex Data Service, etc. - just check out thetutorials on the adobe site and all over the web.Paulwww.ipauland.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] Data synchronisation tip and tricks?
Most of the traffic conversation here seems to revolve around applications that are essentially read-only or are behaving as though they are single user. Any tips and tricks to be found regarding the synchronisation of data in a multi-user application involving a database. For example (since hotel booking is a prominent example in the RIA world), lets suppose I have two customers (Customer A and Cust B) trying to book the same hotel room on the same day. Both see it as free in the RIA, Cust A books it and now the other must know about it too, so effectively then that's a straight refresh of Cust B display and the aborting of the booking in progress. Lets suppose my application allows Cust B to mark several days of room bookings and (s)he has to hit 'book now' to commit to the booking. While this is going on 'Cust A' has booked one of those days, so now I must merge the updated database with the on-screen representation, so it's no longer a straight replacement of the application display from the database, we're having to merge. Perhaps I'd best not even mention database locking and handling that in a RIA. Get the idea? I appreciate this isn't entirely Flex specific. If there are tips and tricks/best practices in this area with regard to Flex, I'd like to know about them before I re-invent the wheel! Paul -- 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] what's going on with this Flex?!?
if that is the issue, you could set the container's creationPolicy to all. Check out the chapter on improving startup performance in the Building and Deploying book for more info. hth, matt horn flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of arnold_charming Sent: Thursday, September 14, 2006 5:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] what's going on with this Flex?!? Hi! I have some tabs in my flex application and when I want to access a text field on my last tab I get an error about null reference. If I click on this tab and try again then it works. I guess the error happens because the last tab isn't yet loaded. So please explain to me how can I solve this and how can someone build a sirious business application if there are such strange errors? -- 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] Programmatic Skinning bug in Flex?
Hi All,I believe I found a Programmatic Skinning bug in Flex.Whenever I set the "borderSkin" property to a custom skin class, the flash player hangs in all browsers, the CPU peaks around 95% and memory is consumed rapidly.After waiting for about 10 minutes I get the following... [SWF] C:\Documents and Settings\Chris.Simeone\My Documents\Flex Builder 2\Skinning-Lessons\bin\gridBorders-debug.swf - 408,071 bytes after decompression undefined at mx.core::UIComponent/getClassStyleDeclarations()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:6810] at mx.styles::StyleProtoChain$/mx.styles:StyleProtoChain::addProperties()[C:\dev\GMC\sdk\frameworks\mx\styles\StyleProtoChain.as:142] at mx.styles::StyleProtoChain$/mx.styles:StyleProtoChain::addProperties()[C:\dev\GMC\sdk\frameworks\mx\styles\StyleProtoChain.as:173](FYI: The previous error line is repeated 191 times)I tried tracing my custom skin class (by setting breakpoints) but none of the code ever fires - the debugger never goes into the code.When I remove this line from my CSS file - borderSkin:ClassReference('GridBorders'); - the application runs fine.To test this further, I grabbed the example on the bottom of this page where the "borderSkin" property is set on the VBox tag. The same exact error occurs.I tested other programmatic skinning examples that use upSkin, downSkin, etc and they all work fine. I only have this problem when assigning a skin class to the "borderSkin" property.Would someone please confirm this is bug? I followed the programmatic skins recipe to the letter.ThanksChris Simeone __._,_.___ -- 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] Error with Flex Builder
On Thursday 14 September 2006 06:20, paromitadey wrote: Is this a common problem? Please advise what do I need to do to solve this problem. It means the JVM has blown up. In your workspace, look for the .metadata/.log file and see if that helps. -- Tom Chiverton Helping to vitalistically optimize back-end infomediaries 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] Rotating html text
Are you sure your fonts are embedded properly?AliasOn 12/09/06, jeremyrichman [EMAIL PROTECTED] wrote:I have a Text field that I want to rotate but it must display html text, not just plain text.I have embedded the font that I am settingin the html with the CSS font face style but on rotation, the textvanishes.I have tested this with the non-htmltext property, and it rotates fine provided I dotextObject.setStyle(fontFamily, myFont), but not thehtml version with the font face property set (unless I also set thetextObject fontFamily CSS style, but I don't want to do that because eventually I'd like to embed several fonts and have text that couldcome from a mix of them).Any suggestions?Jeremt--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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] How to configure Java web service
Hi all, My Flex application raises WSDLError “Type … not resolvable” with fault code “WSDL.BadType” at http://smbproxy.org:8085/services/XMLService?wsdl I’ve found in docs that Flex applications can interact with web services that define their interfaces in a Web Services Description Language 1.1 (WSDL 1.1). What default version of WSDL does Java automatically generate? And how should I configure my web service for correct working with Flex? 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] Flex - Database
If this functionality is the same as the SQLXML functionality I played with a year or so ago, SQL Server provides an url against which you can make SQL queries. No other server-side code is requiered. Obviously it is not direct, but it appears so. I had a lot of problems with it at the time and gave up, but if they got it working then it will be a very effective answer to how do I query a database with Flex? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews Sent: Thursday, September 14, 2006 9:58 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex - Database - Original Message - From: Rogerio Gonzalez To: [EMAIL PROTECTED]ups.com Sent: Thursday, September 14, 2006 2:00 PM Subject: Re: [flexcoders] Flex - Database You can connect direct to database with webservices in SQL2005 (end points) Rogerio How does this differ from webservices in general? What make it Direct? I think the OP really wants to talk directly to a database and squirt SQL at it inside Flex. Paul On 9/14/06, Paul Andrews [EMAIL PROTECTED]com wrote: - Original Message - From: Sudharshan Rao [EMAIL PROTECTED]com To: [EMAIL PROTECTED]ups.com Sent: Thursday, September 14, 2006 8:46 AM Subject: [flexcoders] Flex - Database Hi, I am new to flex, Can somebody please help me in how to connect to database through flex. Thanks in advance. Flex doesn't connect directly to a database. You will need to use a server-side technology and communicate with it using: Http service, Web service, Flex Data Service, etc. - just check out the tutorials on the adobe site and all over the web. Paul www.ipauland.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] Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.Bad
Hi! Now and then I get the above error. Does somebody know why is this happening? I'm using amfphp to talk with database. -- 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] DateField in a TitleBar of a panel
Hello everybody... is there a way to add an DateField in the titleBar of a panel?? Thanks in advence... -- 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] Looking for a Flex Coder/Programmer!
Folks: I am working on a project and seince Flex is new to me I would like to find someone whom i can pay on hourly basis and have him do periodic work for me (when i run into problems that i can't fix) I have a set up where someone can login to my server remotly. if anyone is intrested please let me know. Thank you Dan -- 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] export to excel
Hi, I was wandering how one can export to Excel format out of a flex application (via web service on a service that responds with excel document ?) ? And what about layout possibilities? Thanks, Tom. __._,_.___ -- 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 __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.3/447 - Release Date: 13/09/2006
RE: [flexcoders] Data synchronisation tip and tricks?
Hello Paul - This is an *excellent* topic to discuss, and I am glad you brought it up. I too will face the same issues shortly - except mine revolve more around inventory control - but still, the same problems apply (me selling a product to a customer, when quite literally during the same phone conversation, the product could be sold from right under my feet, due to another sales person making a sale of the same product). Lets hope this thread receives a lot of input, as it will help a LOT of database developers who are writing RIA's - Mike -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews Sent: Thursday, September 14, 2006 9:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Data synchronisation tip and tricks? Most of the traffic conversation here seems to revolve around applications that are essentially read-only or are behaving as though they are single user. Any tips and tricks to be found regarding the synchronisation of data in a multi-user application involving a database. For example (since hotel booking is a prominent example in the RIA world), lets suppose I have two customers (Customer A and Cust B) trying to book the same hotel room on the same day. Both see it as free in the RIA, Cust A books it and now the other must know about it too, so effectively then that's a straight refresh of Cust B display and the aborting of the booking in progress. Lets suppose my application allows Cust B to mark several days of room bookings and (s)he has to hit 'book now' to commit to the booking. While this is going on 'Cust A' has booked one of those days, so now I must merge the updated database with the on-screen representation, so it's no longer a straight replacement of the application display from the database, we're having to merge. Perhaps I'd best not even mention database locking and handling that in a RIA. Get the idea? I appreciate this isn't entirely Flex specific. If there are tips and tricks/best practices in this area with regard to Flex, I'd like to know about them before I re-invent the wheel! Paul -- 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] How can I add a child element to an AreaSeries based on the render data?
I'm creating an AreaChart that has labels inside each area. Very few of the series will be large enough to display a label so for performance reasons I only want to add labels to those that are big enough. It seems to me that the best place to create and add the label is in createChildren(), however in examining the renderData, the filterCache is null and all the bounds values in the cache are NaN. Where would be the best place to add the label (as far as performance goes)? Thanks in advance for any help. Mark Haugen -- 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: Data synchronisation tip and tricks?
Hi Paul, If you haven' t done so already then you should download and install FDS 2.0 - This page has all the links as well as the synopsis of the Data Services that FDS 2.0 offers - http://www.adobe.com/products/flex/dataservices/ Data synchronization Flex Data Services manages this important data synchronization process. It removes the complexity and error potential by providing a robust, high-performance data synchronization engine between client and server. It also can easily integrate with existing persistence solutions to provide an end-to-end solution. --- In flexcoders@yahoogroups.com, "Paul Andrews" [EMAIL PROTECTED] wrote: Most of the traffic conversation here seems to revolve around applications that are essentially read-only or are behaving as though they are single user. Any tips and tricks to be found regarding the synchronisation of data in a multi-user application involving a database. For example (since hotel booking is a prominent example in the RIA world), lets suppose I have two customers (Customer A and Cust B) trying to book the same hotel room on the same day. Both see it as free in the RIA, Cust A books it and now the other must know about it too, so effectively then that's a straight refresh of Cust B display and the aborting of the booking in progress. Lets suppose my application allows Cust B to mark several days of room bookings and (s)he has to hit 'book now' to commit to the booking. While this is going on 'Cust A' has booked one of those days, so now I must merge the updated database with the on-screen representation, so it's no longer a straight replacement of the application display from the database, we're having to merge. Perhaps I'd best not even mention database locking and handling that in a RIA. Get the idea? I appreciate this isn't entirely Flex specific. If there are tips and tricks/best practices in this area with regard to Flex, I'd like to know about them before I re-invent the wheel! Paul __._,_.___ -- 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] alpha value of a text field...
why can't we change alpha valueof a text field? is there anyway to do it? __._,_.___ -- 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] Data synchronisation tip and tricks?
Very good topic! I'm working on a RIA using Flex that deals with a similar situation for an online ticketing system. Imagine two or more folks selecting the same seat and wanting to purchase a ticket for it. Essentially this is collision bound, unless it is being handled carefully. I see two solutions: a) Use Flex Data Services and it's real-time features of updating clients with the latest status on a specific room (in your scenario). This will not completely eliminate the possibility that both customers want to book the room at the exact same time. However, it will cut it down quite significantly. Of course, there is some additional stuff going on that we would have to take into consideration. b) Use flags in the database records for each room as to its availability and return a response to a customer when the booking is committed. If someone else has beat them to it, then an error would be returned, eventually halting the rest of the transaction based on the fact that the room now is no longer available. This is a very birds-eye view of what would need to happen, at least in my mind. There may be other approaches and solutions to this problem and I would be interested to hear them! Jurgen From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul AndrewsSent: Thursday, September 14, 2006 9:11 AMTo: flexcoders@yahoogroups.comSubject: {Disarmed} [flexcoders] Data synchronisation tip and tricks? Most of the traffic conversation here seems to revolve around applicationsthat are essentially read-only or are behaving as though they are singleuser.Any tips and tricks to be found regarding the synchronisation of data in amulti-user application involving a database.For example (since hotel booking is a prominent example in the RIA world),lets suppose I have two customers (Customer A and Cust B) trying to book thesame hotel room on the same day. Both see it as free in the RIA, Cust Abooks it and now the other must know about it too, so effectively thenthat's a straight refresh of Cust B display and the aborting of the bookingin progress.Lets suppose my application allows Cust B to mark several days of roombookings and (s)he has to hit 'book now' to commit to the booking. Whilethis is going on 'Cust A' has booked one of those days, so now I must mergethe updated database with the on-screen representation, so it's no longer astraight replacement of the application display from the database, we'rehaving to merge.Perhaps I'd best not even mention database locking and handling that in aRIA.Get the idea? I appreciate this isn't entirely Flex specific.If there are tips and tricks/best practices in this area with regard toFlex, I'd like to know about them before I re-invent the wheel!Paul __._,_.___ -- 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] alpha value of a text field...
Yeah, embed the font.You cannot change the alpha of system fonts or any font for that matter that does not have it's paths embeded into the application.Peace, Mike On 9/14/06, oktay nba [EMAIL PROTECTED] wrote: why can't we change alpha valueof a text field? is there anyway to do it? -- 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 __,_._,___
[flexcoders] Re: Installation recommendations
I asked this question about a week ago, and didn't get any sort of response. Does really no one have any suggestions/comments? I really need to get an install working in the slimest footprint possible. Thanks again! -Carl Steinhilber --- In flexcoders@yahoogroups.com, carl_steinhilber [EMAIL PROTECTED] wrote: I just got to the point where I thought I knew what I was doing when I did an install of Flex 1.5... and along comes v2.0, throwing me back to feeling like a complete installation newbie. Here's what I want to do: - serve a dev site on localhost:80 with Apache (specifically, WAMPserver 1.6) - connect ColdFusion to serve .cfm's and .cfc's from the webroot (port 80) - connect Flex 2.0 so that .mxml's are compiled at runtime (ala old school... the Compile application on the server when the page is viewed option), and well as be able to deploy generated .swf's from FlexBuilder (Compile application locally in Flex Builder)... again, all out of the webroot on port 80 - set up FDS - set up Cairngorm 2.0 My dev laptop isn't the beefiest thing on the block, so I'd like to go easy on resources (multiple instances of JRUN or other J2EE server probably would not be good). To that end I installed WAMP and installed ColdFusion with the integrated JRUN. That part works fine. But I'd like to deploy FDS directly into the JRUN that was installed with ColdFusion, rather than it's own separate beast. And the directory structure of the integrated JRUN is unusual when compared to other app servers; I'm not even sure where the deployment directory is, or how to map the various directories in the few installation docs that I've found to their JRUN counterparts. One kicker, I think, to this whole scenario is the fact that I want it all running off of port 80. While not essential, it would most closely mirror our production environment. Another kicker is massaging Apache to be able to serve .mxml files. I'm not even sure how to do that. Seeing as how there's no Flex server like there was with 1.5... what connector do I configure Apache to send .mxml to? FDS? Or is this not even possible anymore? Can anybody help with a step-by-step of put this in this directory, or provide a link to same? Or does anyone have a better suggestion for creating a slim (relatively) dev server with the above functionality? Thanks in advance! -Carl -- 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] criticla problem charting component - coding axis
Hi Olivier. it's hard to diagnose your problem, or even what behavior you're seeing, without a more details description of what you're trying to do, what you're doing, and what the actual behavior you're seeing is. Sample code would help too. Flex 1, or Flex 2? Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of olivierSent: Wednesday, September 13, 2006 2:11 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] criticla problem charting component - coding axis Hi,I've a critical problem when I want to code in actionscript a chart with a linearxis. Indeed, all propertie can be set but the baseAtZero doesn' t work properly. It computes the maximum value but the minimum value is always 0. I've tried with several different series without any success.I found the same topics on others forums but nobody can bring an answer to this problem.I'm blocked on this aspect.Is anybody has an example or guidelines (for example, this property must be set before one other etc..) to solve this problem ?Thank you in advanceO. __._,_.___ -- 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: criticla problem charting component - coding axis
Hi, I have to detail my problem. I'm creating a component full actionscript. This component create a CartesianChart adding some functionalities. here is the source code var tAxis:DateTimeAxis=new DateTimeAxis(); tAxis.alignLabelsToUnits=true; tAxis.autoAdjust=true; tAxis.dataUnits=minutes; tAxis.labelUnits=days; tAxis.displayLocalTime=true; tAxis.baseAtZero=false; this.horizontalAxis=tAxis; var lAxis:LinearAxis=new LinearAxis(); lAxis.alignLabelsToInterval=true; lAxis.autoAdjust=true; lAxis.baseAtZero=false; this.verticalAxis=lAxis; var slAxis:LinearAxis=new LinearAxis(); slAxis.alignLabelsToInterval=true; slAxis.autoAdjust=true; slAxis.baseAtZero=false; this.secondVerticalAxis=slAxis; this.secondVerticalAxisRenderer=new AxisRenderer(); For informations, after this code, I retrieve the series (line). The baseAtZero doesn't work. I've tried an other sample custom chart and it wors properly BUT the baseAtZero property can NOT be modified at run time. Here is the code ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns:local=* mx:Script ![CDATA[ import mx.charts.LinearAxis; function test():void{ //var t:LinearAxis=TestAxis (r).nChart.verticalAxis; LinearAxis(TestAxis (r).nChart.verticalAxis).baseAtZero=true; LinearAxis(TestAxis (r).nChart.verticalAxis).update(); } ]] /mx:Script local:TestAxis id=r/ mx:Button x=147 y=432 label=Button click=test()/ /mx:Application Thank in advance, it is very critical for me olivier --- In flexcoders@yahoogroups.com, trader230 [EMAIL PROTECTED] wrote: Hi Olivier - 'baseAtZero' sets the minimum to zero (if your data are all =0) or the maximum to zero (if the data are 0). Choices for setting the axis range are a) let the chart decide min and max; b) set them yourself. If you want to use baseAtZero=true (with choice (a)), it will set the minimum to 0: Perhaps I'm missing your problem, in which case, in addition to sample code, could you also describe more about what you are trying to do ? Hope this helps; looking forward to your post. --Brian --- In flexcoders@yahoogroups.com, olivier olivier-ext.ratard@ wrote: Hi, I've a critical problem when I want to code in actionscript a chart with a linearxis. Indeed, all propertie can be set but the baseAtZero doesn' t work properly. It computes the maximum value but the minimum value is always 0. I've tried with several different series without any success. I found the same topics on others forums but nobody can bring an answer to this problem. I'm blocked on this aspect. Is anybody has an example or guidelines (for example, this property must be set before one other etc..) to solve this problem ? Thank you in advance O. -- 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: Programmatic Skinning bug in Flex?
I've tried reproducing it using the link to the doc exampleand cannot confirm the bug/errors that you reported here. It works as I'd expect. Whatflash playerversion are you on? --- In flexcoders@yahoogroups.com, "Chris Simeone" [EMAIL PROTECTED] wrote: Hi All, I believe I found a Programmatic Skinning bug in Flex. Whenever I set the "borderSkin" property to a custom skin class, the flash player hangs in all browsers, the CPU peaks around 95% and memory is consumed rapidly. After waiting for about 10 minutes I get the following... [SWF] C:\Documents and Settings\Chris.Simeone\My Documents\Flex Builder 2\Skinning-Lessons\bin\gridBorders-debug.swf - 408,071 bytes after decompression undefined at mx.core::UIComponent/getClassStyleDeclarations()[C:\dev\GMC\sdk\framewor\ ks\mx\core\UIComponent.as:6810] at mx.styles::StyleProtoChain$/mx.styles:StyleProtoChain::addProperties()[C\ :\dev\GMC\sdk\frameworks\mx\styles\StyleProtoChain.as:142] at mx.styles::StyleProtoChain$/mx.styles:StyleProtoChain::addProperties()[C\ :\dev\GMC\sdk\frameworks\mx\styles\StyleProtoChain.as:173] (FYI: The previous error line is repeated 191 times) I tried tracing my custom skin class (by setting breakpoints) but none of the code ever fires - the debugger never goes into the code. When I remove this line from my CSS file - borderSkin:ClassReference('GridBorders'); - the application runs fine. To test this further, I grabbed the example on the bottom of this page http://livedocs.macromedia.com/flex/2/docs/0816.html where the "borderSkin" property is set on the VBox tag. The same exact error occurs. I tested other programmatic skinning examples that use upSkin, downSkin, etc and they all work fine. I only have this problem when assigning a skin class to the "borderSkin" property. Would someone please confirm this is bug? I followed the programmatic skins recipe to the letter. Thanks Chris Simeone __._,_.___ -- 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: Data synchronisation tip and tricks?
Very good topic! I'm working on a RIA using Flex that deals with a similar situation for an online ticketing system. Imagine two or more folks selecting the same seat and wanting to purchase a ticket for it. Essentially this is collision bound, unless it is being handled carefully. I see two solutions: a) Use Flex Data Services and it's real-time features of updating clients with the latest status on a specific room (in your scenario). This will not completely eliminate the possibility that both customers want to book the room at the exact same time. However, it will cut it down quite significantly. Of course, there is some additional stuff going on that we would have to take into consideration. b) Use flags in the database records for each room as to its availability and return a response to a customer when the booking is committed. If someone else has beat them to it, then an error would be returned, eventually halting the rest of the transaction based on the fact that the room now is no longer available. This is a very birds-eye view of what would need to happen, at least in my mind. There may be other approaches and solutions to this problem and I would be interested to hear them! Jurgen --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: Most of the traffic conversation here seems to revolve around applications that are essentially read-only or are behaving as though they are single user. Any tips and tricks to be found regarding the synchronisation of data in a multi-user application involving a database. For example (since hotel booking is a prominent example in the RIA world), lets suppose I have two customers (Customer A and Cust B) trying to book the same hotel room on the same day. Both see it as free in the RIA, Cust A books it and now the other must know about it too, so effectively then that's a straight refresh of Cust B display and the aborting of the booking in progress. Lets suppose my application allows Cust B to mark several days of room bookings and (s)he has to hit 'book now' to commit to the booking. While this is going on 'Cust A' has booked one of those days, so now I must merge the updated database with the on-screen representation, so it's no longer a straight replacement of the application display from the database, we're having to merge. Perhaps I'd best not even mention database locking and handling that in a RIA. Get the idea? I appreciate this isn't entirely Flex specific. If there are tips and tricks/best practices in this area with regard to Flex, I'd like to know about them before I re-invent the wheel! Paul -- 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] drag only CERTAIN items from a list?
I have a tree for a training site. It has Courses who have CourseInstance children: info course title="Cooking 101" courseinstance location="Houston" date="02/11/1974" / courseinstance location="Chicago" date="12/23/2007" / /course ... I want people to be able to drag items off the tree and into a List (think of a shopping cart). I ONLY want them to be able to drag off the INSTANCES, not the course "container". I swear I saw something on the web about conditional dragging, but can't find it anywhere, and am not too clear how to do it with the Tree? Thanks! -- TC __._,_.___ -- 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 add a child element to an AreaSeries based on the render data?
Hi Mark. createChildren() is the right place for a compnent to create 'static' children. But dynamic children...i.e. children that are created or destroyed based on some runtime information, like amount of data, size on screen, etc...need to be created elsewhere. In general, I would reccomend custom components create/destroy dynamic children in their commitProperties() function. This is because adding/removing children usually means the component needs to be re-measured. Doing it in commitProperties means you do it before any pending measurement happens, and don't end up with unnecessary extra measurement passes. Charts, however, don't have a natural measured size. So the various series types create and destroy their children as necessary in their updateDisplayList() function. At that point, you can be sure your data is all up to date. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of MarkSent: Thursday, September 14, 2006 8:46 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] How can I add a child element to an AreaSeries based on the render data? I'm creating an AreaChart that has labels inside each area. Very fewof the series will be large enough to display a label so forperformance reasons I only want to add labels to those that are bigenough. It seems to me that the best place to create and add thelabel is in createChildren(), however in examining the renderData, thefilterCache is null and all the bounds values in the cache are NaN.Where would be the best place to add the label (as far as performancegoes)?Thanks in advance for any help.Mark Haugen __._,_.___ -- 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: criticla problem charting component - coding axis
Thanks for the addiitional imformation Olivier. Can you send a small, complete compilable/runnable sample so I can try it out myself? Thanks. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of olivierSent: Thursday, September 14, 2006 9:07 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: criticla problem charting component - coding axis Hi,I have to detail my problem.I'm creating a component full actionscript. This component create a CartesianChart adding some functionalities.here is the source codevar tAxis:DateTimeAxis=new DateTimeAxis();tAxis.alignLabelsToUnits=true;tAxis.autoAdjust=true;tAxis.dataUnits="minutes"; tAxis.labelUnits="days";tAxis.displayLocalTime=true;tAxis.baseAtZero=false;this.horizontalAxis=tAxis;var lAxis:LinearAxis=new LinearAxis();lAxis.alignLabelsToInterval=true;lAxis.autoAdjust=true;lAxis.baseAtZero=false;this.verticalAxis=lAxis;var slAxis:LinearAxis=new LinearAxis();slAxis.alignLabelsToInterval=true;slAxis.autoAdjust=true;slAxis.baseAtZero=false;this.secondVerticalAxis=slAxis;this.secondVerticalAxisRenderer=new AxisRenderer();For informations, after this code, I retrieve the series (line).The baseAtZero doesn't work. I've tried an other sample custom chart and it wors properly BUT the baseAtZero property can NOT be modified at run time.Here is the code?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:local="*"mx:Script![CDATA[import mx.charts.LinearAxis;function test():void{//var t:LinearAxis=TestAxis(r).nChart.verticalAxis;LinearAxis(TestAxis(r).nChart.verticalAxis).baseAtZero=true;LinearAxis(TestAxis(r).nChart.verticalAxis).update();}]]/mx:Scriptlocal:TestAxis id="r"/mx:Button x="147" y="432" label="Button" click="test()"//mx:ApplicationThank in advance, it is very critical for meolivier--- In [EMAIL PROTECTED]ups.com, "trader230" [EMAIL PROTECTED]. wrote: Hi Olivier - 'baseAtZero' sets the minimum to zero (if your data are all =0) or the maximum to zero (if the data are 0). Choices for setting the axis range are a) let the chart decide min and max; b) set them yourself. If you want to use baseAtZero="true" (with choice (a)), it will set the minimum to 0: Perhaps I'm missing your problem, in which case, in addition to sample code, could you also describe more about what you are trying to do ? Hope this helps; looking forward to your post. --Brian --- In [EMAIL PROTECTED]ups.com, "olivier" olivier-ext.ratard@ wrote: Hi,I've a critical problem when I want to code in actionscript a chart with a linearxis. Indeed, all propertie can be set but the baseAtZero doesn' t work properly. It computes the maximum value but the minimum value is always 0. I've tried with several different series without any success.I found the same topics on others forums but nobody can bring an answer to this problem. I'm blocked on this aspect.Is anybody has an example or guidelines (for example, this property must be set before one other etc..) to solve this problem ? Thank you in advanceO. __._,_.___ -- 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-draw parent when child size changes
I'm having trouble getting this to work in a custom component... I want to show and hide a child object (a group of checkboxes in its own custom component) on state change of the parent (a panel) and have the panel re-calcuate its correct height with the re-sized sub-component and re-draw itself to the correct height. I'm sure I can laboriously figure this one out but it seems that I should be able to get this done properly by using the correct series of events and methods of the parent container object. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c) -- 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 add a child element to an AreaSeries based on the render data?
Thanks for your response Ely. Is there any concern with a circular reference? What I mean is if I call addChild in updateDisplayList that will call invalidateDisplayList, which will ultimately call updateDisplayList again, right? If I make my child creation code conditional (so that it only runs the first time I go through updateDisplayList) will that be enough to avoid the loop? thanks, Mark Haugen --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: Hi Mark. createChildren() is the right place for a compnent to create 'static' children. But dynamic children...i.e. children that are created or destroyed based on some runtime information, like amount of data, size on screen, etc...need to be created elsewhere. In general, I would reccomend custom components create/destroy dynamic children in their commitProperties() function. This is because adding/removing children usually means the component needs to be re-measured. Doing it in commitProperties means you do it before any pending measurement happens, and don't end up with unnecessary extra measurement passes. Charts, however, don't have a natural measured size. So the various series types create and destroy their children as necessary in their updateDisplayList() function. At that point, you can be sure your data is all up to date. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Sent: Thursday, September 14, 2006 8:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How can I add a child element to an AreaSeries based on the render data? I'm creating an AreaChart that has labels inside each area. Very few of the series will be large enough to display a label so for performance reasons I only want to add labels to those that are big enough. It seems to me that the best place to create and add the label is in createChildren(), however in examining the renderData, the filterCache is null and all the bounds values in the cache are NaN. Where would be the best place to add the label (as far as performance goes)? Thanks in advance for any help. Mark Haugen -- 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 position open @ Optimal Payments in Montreal, Canada
Hello all! Optimal Payments is looking for a Flex developer with complementary skills in Coldfusion and/or Java. Be part of a dynamic team building state-of-the-art applications using the latest technologies. We're open to new ideas that push the envelope and help us deliver the best possible products and services to our clients. Our developers are heavy participants in online development communities. In fact, our projects are often detailed in technical journals and publications! Please forward your resume and sample portfolio (if possible) to Stacy Young [EMAIL PROTECTED] and/or Jimmy Gianninas [EMAIL PROTECTED] Cheers, Stace -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. -- 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 - Database
Hi Tracy and others... I had a lot of problems with it at the time and gave up, but if they got it working then it will be a very effective answer to "how do I query a database with Flex?"I have troubles with that in past too (Flash + SQL + IIS) with security issues. This time, the MS seems to improve some things on SQL2005 for webservices and such (xml too).I am testing some things with that, when it´s done I post here. But seems nice :PLike you say, it´s not direct, but is pretty more likely then use PHP or ASP or what ever just to do an Query. Rogerio __._,_.___ -- 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] AutoSuggest TextField
I've built type-ahead boxes for clients before. to do it well requires a well architected and ultra fast back end. At 07:34 AM 9/14/2006, DJ Lift wrote: Hey there, Has anyone seen any auto suggest style text fields for flex? Similar to what google is doing? Thanks, mark -- 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] Re: asfunction in flex 2
Thanks! I'll try it out. My apologies for multiple postings. It was done by accident. --- In flexcoders@yahoogroups.com, Hilary Bridel [EMAIL PROTECTED] wrote: Ashish, The following is from the docs: ++ The following code shows that the link event is dispatched when a user clicks the hypertext link: import flash.text.TextField; import flash.events.TextEvent; var tf:TextField = new TextField(); tf.htmlText = a href='event:myEvent'Click Me./a; tf.addEventListener(link, clickHandler); addChild(tf); function clickHandler(e:TextEvent):void { trace(e.type); // link trace(e.text); // myEvent } Hilary www.bridel.org On 9/14/06, ashishpatel2007 [EMAIL PROTECTED] wrote: I am trying to make this work in Flex 2 and looked at Nahuel's code. However, I do not see in his example where he is using a href or something similar when a user clicks text WITHIN htmlText. Please correct me if I am wrong, but I think Nahuel uses the full text when the user clicks the enter key or presses the search button. I am trying to do the following: textRange1.htmlText=unclickableText a href='asfunction:callfunction'clickableText/a I want to a call a function within the same .mxml file when the user clicks on 'clickableText'. The function will eventually do a pop- up based on the text the user clicked. I don't think asfunction is available in Flex2. Any help would be appreciated. Thanks in advance, ashish --- In flexcoders@yahoogroups.com, jgraham_us jason_graham@ wrote: I need this to work in Flex 1.5, is there a similar way to get it to work? Basically I just need to know when the link was clicked or for that matter the marker was clicked. --- In flexcoders@yahoogroups.com, JesterXL jesterxl@ wrote: Learn from the master. Nahuel's app won in his category in the Flex Derby. As a judge, I gave him mad props for getting this to work. Here's how he did it: http://www.asfusion.com/blog/entry/inserting-yahoo-maps-in-a- flex- 2-application - Original Message - From: jgraham_us jason_graham@ To: flexcoders@yahoogroups.com Sent: Tuesday, July 18, 2006 1:32 AM Subject: [flexcoders] Yahoo Maps questions 1) I have a marker CustomPOIMarker, I want to embed a link and call an actionscript function in my flex code. I have tried this with and without _parent,parent and it never works. If I put a link to an HTML page it works fine. But I need to notify my application when the click has occured. Any ideas? or a better way to do this? Example. var markerArgs = {index:marker 1,description:a href='asfunction:parent.cpiClicked'print something/a, title:a href='asfunction:_parent.cpiClicked'print something/a, markerColor:0x990099, strokeColor:0x00}; . . . function cpiClicked() : Void { Echo.debug(Marker 1 clicked); } -- 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 -- Hilary -- -- 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: Programmatic Skinning bug in Flex?
I'm using Flash Player version 9.0.16.0 --- In flexcoders@yahoogroups.com, bill_sahlas [EMAIL PROTECTED] wrote: I've tried reproducing it using the link to the doc example http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html /w\ whelp.htm?context=LiveDocs_Partsfile=0816.html and cannot confirm the bug/errors that you reported here. It works as I'd expect. What flash player version are you on? --- In flexcoders@yahoogroups.com, Chris Simeone simspace@ wrote: Hi All, I believe I found a Programmatic Skinning bug in Flex. Whenever I set the borderSkin property to a custom skin class, the flash player hangs in all browsers, the CPU peaks around 95% and memory is consumed rapidly. After waiting for about 10 minutes I get the following... [SWF] C:\Documents and Settings\Chris.Simeone\My Documents\Flex Builder 2\Skinning-Lessons\bin\gridBorders-debug.swf - 408,071 bytes after decompression undefined at mx.core::UIComponent/getClassStyleDeclarations() [C:\dev\GMC\sdk\framewor\ \ ks\mx\core\UIComponent.as:6810] at mx.styles::StyleProtoChain$/mx.styles:StyleProtoChain::addProperties ()[C\ \ :\dev\GMC\sdk\frameworks\mx\styles\StyleProtoChain.as:142] at mx.styles::StyleProtoChain$/mx.styles:StyleProtoChain::addProperties ()[C\ \ :\dev\GMC\sdk\frameworks\mx\styles\StyleProtoChain.as:173] (FYI: The previous error line is repeated 191 times) I tried tracing my custom skin class (by setting breakpoints) but none of the code ever fires - the debugger never goes into the code. When I remove this line from my CSS file - borderSkin:ClassReference('GridBorders'); - the application runs fine. To test this further, I grabbed the example on the bottom of this page http://livedocs.macromedia.com/flex/2/docs/0816.html where the borderSkin property is set on the VBox tag. The same exact error occurs. I tested other programmatic skinning examples that use upSkin, downSkin, etc and they all work fine. I only have this problem when assigning a skin class to the borderSkin property. Would someone please confirm this is bug? I followed the programmatic skins recipe to the letter. Thanks Chris Simeone -- 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 - Database
Sudharshan, I concur with Paul's intial post. Database driven Flex applications are generally at least a 3-tier architecture. 1) UI = Flex; 2) Database = ?; 3) Middle tier (aka application server) = ?. Generally the middle tier is an http server. However, in the case of mx:RemoteObjects it is an AMF server. The SQL2005 issues raised by Tracy and Roger are a case where the database now bundles in http services. For a very broad view of how to get data into Flex, following is a link for a Jeff Tapper article that does a good job comparing and contrasting the options (note: the article is from the Flash era but is still relevant to Flex 2): http://www.devx.com/webdev/Article/21803/0/page/1 Adobe has made the ColdFusion application server very Flex friendly. You can find videos demonstrating some Flex Builder 2 wizards for creating ColdFusion/Flex 2 applications using mx:RemoteObject here: http://www.adobe.com/devnet/coldfusion/articles/wizards.html Flex 2 certainly integrates well with other application servers too. Flex 2 is certainly very Java friendly, and there is an active PHP project AMFPHP for that application server. hth, gOn 9/14/06, Paul Andrews [EMAIL PROTECTED] wrote: - Original Message -From: Sudharshan Rao [EMAIL PROTECTED]To: flexcoders@yahoogroups.com Sent: Thursday, September 14, 2006 8:46 AMSubject: [flexcoders] Flex - Database Hi, I am new to flex, Can somebody please help me in how to connect to database through flex. Thanks in advance.Flex doesn't connect directly to a database. You will need to use aserver-side technology and communicate with it using:Http service, Web service, Flex Data Service, etc. - just check out the tutorials on the adobe site and all over the web.Paulwww.ipauland.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 __,_._,___
Re: [flexcoders] Re: Data synchronisation tip and tricks?
To be honest, this is old-hat for database programmers, yet it's rarely discussed in Flex/Flash circles and largely ignored in most web discussion. Things tend to move up a notch in complexity once you have to consider multiple users and databases. Usually I tend to favour optimistic locking schemes on the database since they don't cause problems with interactive users (send me a PM and I'll try and explain it if you aren't already aware). The real issue is that potentially with multiple users (with or without a database) data can be changing data underfoot, so there are a few issues. 1) protecting data from unprotected updates that would lose or corrupt data; 2) keeping the user interface updated with changes made by other users/processes (which means merging the new data with what's already presented to the user) Using flags in a database to indicate what's going on in the user interface is to be avoided. The particular danger with flag setting in a database to indicate what's happening in the user interface is that there will be cases where the user interface will not complete it's work leaving the database with flags set indicating some operation is happening when it isn't. This could be a long discussion.. I was hoping for a few war stories or snappy techniques. Paul - Original Message - From: jbeck_sound [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, September 14, 2006 4:32 PM Subject: [flexcoders] Re: Data synchronisation tip and tricks? Very good topic! I'm working on a RIA using Flex that deals with a similar situation for an online ticketing system. Imagine two or more folks selecting the same seat and wanting to purchase a ticket for it. Essentially this is collision bound, unless it is being handled carefully. I see two solutions: a) Use Flex Data Services and it's real-time features of updating clients with the latest status on a specific room (in your scenario). This will not completely eliminate the possibility that both customers want to book the room at the exact same time. However, it will cut it down quite significantly. Of course, there is some additional stuff going on that we would have to take into consideration. b) Use flags in the database records for each room as to its availability and return a response to a customer when the booking is committed. If someone else has beat them to it, then an error would be returned, eventually halting the rest of the transaction based on the fact that the room now is no longer available. This is a very birds-eye view of what would need to happen, at least in my mind. There may be other approaches and solutions to this problem and I would be interested to hear them! Jurgen --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: Most of the traffic conversation here seems to revolve around applications that are essentially read-only or are behaving as though they are single user. Any tips and tricks to be found regarding the synchronisation of data in a multi-user application involving a database. For example (since hotel booking is a prominent example in the RIA world), lets suppose I have two customers (Customer A and Cust B) trying to book the same hotel room on the same day. Both see it as free in the RIA, Cust A books it and now the other must know about it too, so effectively then that's a straight refresh of Cust B display and the aborting of the booking in progress. Lets suppose my application allows Cust B to mark several days of room bookings and (s)he has to hit 'book now' to commit to the booking. While this is going on 'Cust A' has booked one of those days, so now I must merge the updated database with the on-screen representation, so it's no longer a straight replacement of the application display from the database, we're having to merge. Perhaps I'd best not even mention database locking and handling that in a RIA. Get the idea? I appreciate this isn't entirely Flex specific. If there are tips and tricks/best practices in this area with regard to Flex, I'd like to know about them before I re-invent the wheel! Paul -- 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
RE: [flexcoders] Re: How can I add a child element to an AreaSeries based on the render data?
Hi Mark. I would make your child creation code cache regardless of circularity reasons, for performance concerns. I don't believe adding a child automatically invalidates your display list. I'm pretty sure it _does_ invalidate measurement, which then _potentially_ invalidates display. But the built in series classes won't invalidate their display due to a measurement. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of MarkSent: Thursday, September 14, 2006 9:43 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: How can I add a child element to an AreaSeries based on the render data? Thanks for your response Ely. Is there any concern with a circularreference? What I mean is if I call addChild in updateDisplayListthat will call invalidateDisplayList, which will ultimately callupdateDisplayList again, right? If I make my child creation codeconditional (so that it only runs the first time I go throughupdateDisplayList) will that be enough to avoid the loop?thanks,Mark Haugen--- In [EMAIL PROTECTED]ups.com, "Ely Greenfield" [EMAIL PROTECTED]. wrote: Hi Mark. createChildren() is the right place for a compnent to create 'static' children. But dynamic children...i.e. children that are created or destroyed based on some runtime information, like amount of data, size on screen, etc...need to be created elsewhere. In general, I would reccomend custom components create/destroy dynamic children in their commitProperties() function. This is because adding/removing children usually means the component needs to be re-measured. Doing it in commitProperties means you do it before any pending measurement happens, and don't end up with unnecessary extra measurement passes. Charts, however, don't have a natural measured size. So the various series types create and destroy their children as necessary in their updateDisplayList() function. At that point, you can be sure your data is all up to date. Ely. From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Mark Sent: Thursday, September 14, 2006 8:46 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] How can I add a child element to an AreaSeries based on the render data?I'm creating an AreaChart that has labels inside each area. Very few of the series will be large enough to display a label so for performance reasons I only want to add labels to those that are big enough. It seems to me that the best place to create and add the label is in createChildren(), however in examining the renderData, the filterCache is null and all the bounds values in the cache are NaN. Where would be the best place to add the label (as far as performance goes)? Thanks in advance for any help. Mark Haugen __._,_.___ -- 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: Programmatic Skinning bug in Flex?
Hi Chris and Bill, Don't have time to test your code, but the following code works with no hang-ups. You can also use the following borderSkin class to apply a gradient fill to the background of a panel. For some reason it doesn't work for an HBox or VBox. However, setting headerHeight to "0" produces the same effect. For dropShadow, I'm using the default CSS or applying a filter to the container in the MXML. -TH //-// CSS - use as styleName in MXML//- .customPanel { headerHeight:0; cornersRadius: 8, 8, 8, 8; backgroundAlpha:1; fillAlphas: 1, 1; fillColors: #326CB4, #FF; fillColorsRatios: 20, 254; rotationAngle:90; borderColor:#00; borderThickness:0; borderSkin: ClassReference("customComponents.skins.FillColorsSkin");} //-// Actionscript - borderSkin//- package customComponents.skins{ import flash.geom.Matrix;import flash.display.SpreadMethod;import flash.display.GradientType;import mx.utils.GraphicsUtil;import mx.skins.RectangularBorder;import flash.display.Graphics; public class FillColorsSkin extends RectangularBorder{ public function FillColorsSkin() { super(); } public override function setActualSize(w:Number, h:Number):void { super.updateDisplayList(w, h); var backgroundGraphics:Graphics = graphics; graphics.clear(); var backgroundAlpha:Number = getStyle("backgroundAlpha"); if (backgroundAlpha==0){return}; var borderColor:uint = getStyle("borderColor"); var borderThickness:Number = getStyle("borderThickness"); var cornersRadius:Array = getStyle("cornersRadius"); var fillColors:Array = getStyle("fillColors"); var fillAlphas:Array = getStyle("fillAlphas"); var fillColorsRatios:Array = getStyle("fillColorsRatios"); var fillType:String = GradientType.LINEAR; var rotationAngle:Number = getStyle("rotationAngle"); var rotation:Number = 2 * Math.PI * (rotationAngle / 360); var spreadMethod:String = SpreadMethod.PAD; var matrix:Matrix = new Matrix(); matrix.createGradientBox(h, w, 0, 0, 0); matrix.rotate(rotation); graphics.beginGradientFill(fillType, fillColors, fillAlphas, fillColorsRatios, matrix, spreadMethod); if (borderThickness != 0){graphics.lineStyle(borderThickness, borderColor)}; mx.utils.GraphicsUtil.drawRoundRectComplex(graphics, 0, 0, w, h, cornersRadius[0], cornersRadius[1], cornersRadius[2], cornersRadius[3]); graphics.endFill(); }}} //-// End//- --- In flexcoders@yahoogroups.com, "bill_sahlas" [EMAIL PROTECTED] wrote: Yup, same here. Perhaps someone else on the list will try the code. package { import flash.display.Graphics; import mx.graphics.RectangularDropShadow; import mx.skins.RectangularBorder; public class CustomBorder extends RectangularBorder { private var dropShadow:RectangularDropShadow; public function CustomBorder() { } override protected function updateDisplayList(unscaledWidth:Number,unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); var cornerRadius:Number = getStyle("cornerRadius"); var backgroundColor:int = getStyle("backgroundColor"); var backgroundAlpha:Number = getStyle("backgroundAlpha"); graphics.clear(); // Background drawRoundRect(0, 0, unscaledWidth, unscaledHeight, {tl: 0, tr:cornerRadius, bl: cornerRadius, br: 0}, backgroundColor, backgroundAlpha); // Shadow if (!dropShadow) dropShadow = new RectangularDropShadow(); dropShadow.distance = 8; dropShadow.angle = 45; dropShadow.color = 0; dropShadow.alpha = 0.4; dropShadow.tlRadius = 0; dropShadow.trRadius = cornerRadius; dropShadow.blRadius = cornerRadius; dropShadow.brRadius = 0; dropShadow.drawShadow(graphics, 0, 0, unscaledWidth,unscaledHeight); } } } ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml " layout="absolute" mx:Script ![CDATA[ import CustomBorder; import mx.controls.Alert; ]] /mx:Script mx:VBox borderSkin="CustomBorder" backgroundColor="0x99" backgroundAlpha="0.8" cornerRadius="14" paddingLeft="20" paddingTop="20" paddingRight="20" paddingBottom="20" mx:Label text="Text Goes Here"/ mx:LinkButton label="LinkButton" click="Alert.show('hello');"/ /mx:VBox/mx:Application --- In flexcoders@yahoogroups.com, "Chris Simeone" simspace@ wrote:I'm using Flash Player version 9.0.16.0 --- In flexcoders@yahoogroups.com, "bill_sahlas" bsahlas@ wrote: I've tried reproducing it using the link to the doc examplehttp://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html /w\
[flexcoders] Re: Programmatic Skinning bug in Flex?
I found the problem. It's in my CSS file. If there's a borderStyle property as defined below the application hangs. Take out the borderStyle property and the app runs. See my test code below (FYI: it does not do much. My first attempt at border skinning using code)... GRIDBORDERS.CSS » HERE'S THE PROBLEM Application { background-color: #FFFAC7; } GridItem { borderStyle: solid; borderSkin: ClassReference('GridBorders'); } GRIDBORDERS.MXML ?xml version=1.0? mx:Application pageTitle=Grid Borders xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Style source=GridBorders.css/ mx:Grid height=640 width=940 mx:GridRow width=100% height=66% mx:GridItem width=66% height=100% /mx:GridItem mx:GridItem width=33% height=100% /mx:GridItem /mx:GridRow mx:GridRow width=100% height=33% mx:GridItem colSpan=2 width=100% height=100% /mx:GridItem /mx:GridRow /mx:Grid /mx:Application -- GRIDBORDERS.AS -- package { import mx.skins.*; import mx.containers.Grid; import flash.display.*; import flash.utils.*; public class GridBorders extends Border { public function GridBorders() { super(); } override protected function updateDisplayList( w:Number, h:Number ):void { graphics.lineStyle( 15, 0x00, 0 ); graphics.beginFill( 0x00, 1.0 ); graphics.drawRect( 0, 0, 10, height ); graphics.endFill(); } private var _borderMetrics:EdgeMetrics = new EdgeMetrics(1, 1, 1, 1); override public function get borderMetrics():EdgeMetrics { return _borderMetrics; } } } -- 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] passing variables into Flex via the URL
Okay, I'm sure this is probably an easy thing to do, but I haven't gotten it to work yet. I need to pass a variable into my Flex app through a URL like this: www.myurl.com\myflex.html?itemId=12345 Can anyone give me any pointers of how to accomplish this? Thanks ahead! David -- 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] Styling a DataGrid at the Row Level
Is it possible to style individual rows within a DataGrid differently? Or is styling only available for the DataGrid as a whole? ~harris -- 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: Styling a DataGrid at the Row Level
Hey Harris! I take it you want to do more than alternatingItemColor ? Jim --- In flexcoders@yahoogroups.com, Harris Reynolds [EMAIL PROTECTED] wrote: Is it possible to style individual rows within a DataGrid differently? Or is styling only available for the DataGrid as a whole? ~harris -- 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] passing variables into Flex via the URL
David, How you will access that URL parameter inside of Flex 2 is detailed in the docs here: Using the Application.application.parameters object http://livedocs.macromedia.com/flex/2/docs/1004.html hth, gOn 9/14/06, godsman4amy [EMAIL PROTECTED] wrote: Okay, I'm sure this is probably an easy thing to do, but I haven'tgotten it to work yet. I need to pass a variable into my Flex appthrough a URL like this: www.myurl.com\myflex.html?itemId=12345Can anyone give me any pointers of how to accomplish this? Thanks ahead! David __._,_.___ -- 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: Posting data with HTTPService....Please help!
Hi Bruce, Try this: private function test():void{ HttpRequest.addEventListener(result, testResponse); HttpRequest.url = http://IIS_Server/AJAX/test.asp;; HttpRequest.resultFormat = text; HttpRequest.method = POST; HttpRequest.contentType = application/x-www-form- urlencoded; var params:Object = new Object(); params.myString = TestString; HttpRequest.send(params); } HTH Jim -- 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 labelFunction
Hi Harish, This is my code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute backgroundGradientColors=[#A6D2FF, #d5eaff] backgroundColor=#8CC6FF initialize=initVars(); mx:Script![CDATA[ import mx.controls.dataGridClasses.DataGridColumn; import mx.utils.XMLUtil; import mx.utils.ArrayUtil; import mx.containers.TitleWindow; import mx.managers.PopUpManager; import mx.controls.Alert; [Bindable] public var valor:String = getEntidades; [Bindable] public var vSomaTotal:String = 0; private function initVars():void { srvDados.send(); srvEntidades.send(); } public function naoCarrgerouDados():void { Alert.show(Os dados não puderam ser carregados. Entre em contato com o Admnistrador do Sistema., Erro); } private function showCampos():void { var janelaCampos:Campos = Campos (PopUpManager.createPopUp(this, Campos, true)); PopUpManager.centerPopUp(janelaCampos); } private function showItens():void { vLista.visible = true; btCampos.visible = true; } private function atualizaValor(item:Object, coluna:DataGridColumn):String { var soma:Number = 0; soma = Number(item.jan) + Number(item.fev) + Number (item.mar) + Number(item.abr) + Number(item.mai) + Number(item.jun) + Number(item.jul) + Number(item.ago) + Number(item.set) + Number (item.out) + Number(item.nov) + Number(item.dez); return String(soma); } ]]/mx:Script mx:HTTPService id=srvDados url=../dados.asp method=POST showBusyCursor=true/ mx:HTTPService id=srvIndicadores url=../get_valores.asp method=GET showBusyCursor=true fault=naoCarrgerouDados(); result=showItens() mx:request valor{valor}/valor /mx:request /mx:HTTPService mx:HTTPService id=srvEntidades url=../get_valores.asp method=GET showBusyCursor=true fault=naoCarrgerouDados(); mx:request valor{valor}/valor /mx:request /mx:HTTPService mx:Image x=10 y=10 source=img/logo.gif/ mx:Canvas x=0 y=68 width=100% height=40 backgroundColor=#85BCF2 color=#00 mx:Label x=10 y=12 text={srvDados.lastResult.data.dados.saudacao} - Hoje é {srvDados.lastResult.data.dados.hoje}/ /mx:Canvas mx:Panel id=quadro top=116 left=10 right=10 bottom=10 title=RH Direto - Cálculos OBZ fontSize=11 color=#00 mx:Canvas id=op0 width=100% height=60 mx:ComboBox x=10 y=26 dataProvider={srvEntidades.lastResult.data.entidade} labelField=descricao change=valor='getIndicadores'; srvIndicadores.send();/mx:ComboBox mx:Label x=10 y=10 text=ENTIDADE:/ /mx:Canvas mx:Canvas id=op1 width=100% height=100% mx:DataGrid id=vLista dataProvider={srvIndicadores.lastResult.data.indicador} top=0 bottom=10 left=10 right=10 visible=false editable=true mx:columns mx:Array mx:DataGridColumn dataField=nome headerText=VERBA/MÊS width=150 textAlign=left editable=false / mx:DataGridColumn dataField=jan headerText=JAN width=50 textAlign=right/ mx:DataGridColumn dataField=fev headerText=FEV width=50 textAlign=right/ mx:DataGridColumn dataField=mar headerText=MAR width=50 textAlign=right/ mx:DataGridColumn dataField=abr headerText=ABR width=50 textAlign=right/ mx:DataGridColumn dataField=mai headerText=MAI width=50 textAlign=right/ mx:DataGridColumn dataField=jun headerText=JUN width=50 textAlign=right/ mx:DataGridColumn dataField=jul headerText=JUL width=50 textAlign=right/ mx:DataGridColumn dataField=ago headerText=AGO width=50 textAlign=right/ mx:DataGridColumn dataField=set headerText=SET width=50 textAlign=right/ mx:DataGridColumn dataField=out headerText=OUT width=50 textAlign=right/ mx:DataGridColumn dataField=nov headerText=NOV width=50 textAlign=right/ mx:DataGridColumn dataField=dez headerText=DEZ width=50 textAlign=right/ mx:DataGridColumn dataField=total headerText=TOTAL
[flexcoders] Problems debugging
Hi, I'm having a little problem with running the debugger out of FB2. When I invoke the debugger FB2 doesn't create a new debug swf, which is a little annoying. The timestamp on the debug swf is from yesterday, even though I've run the debug a few times today. I ran a 'clean' thinking that FB2 would generate a new debug swf for me but that didn't pan out either so now I have no 'run' or 'debug' swf to look at. How do I get FB to generate this for me without make a new Flex project? I tried googling this but couldn't seem to find anything useful. Anyone have any advice or resources? -- 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: SWFLoader how to access host application
I had the same problem and I solved it using Application.application.variable in the swf application. Dont know if this works for functions as well. Greetings --- In flexcoders@yahoogroups.com, kosir.milan [EMAIL PROTECTED] wrote: Hi all, I'm posting this again after first unseccesfull post. I'd like to use SWFLoader to load some flex/AS3 swf, and when it is loaded into host application, I'd like to change some data on it, according to data in host application. I've seen examples in help about accessing loaded SWF with SystemManager, but I'd like to access host application from within loaded swf (in creationComplete event). Does anyone has experience how to access variables/methods in host application? If I trace this.parent.parent.parent in loaded swf I can see my SWFLoader in host application, but it seems like I can't access parentApplication directly. Any hint would be greatly appreciated. Thanks, Milan -- 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: Styling a DataGrid at the Row Level
Hey Jim... what's going on? Yeah... I'd like to be able to style rows based on three categories: winners, losers, and disqualified. All I can tell from the doc though is that a DataGrid has a top-level style that is applied to the whole component. ~harris --- In flexcoders@yahoogroups.com, dadrobson [EMAIL PROTECTED] wrote: Hey Harris! I take it you want to do more than alternatingItemColor ? Jim --- In flexcoders@yahoogroups.com, Harris Reynolds hreynolds2@ wrote: Is it possible to style individual rows within a DataGrid differently? Or is styling only available for the DataGrid as a whole? ~harris -- 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: Styling a DataGrid at the Row Level
Try writing a custom Item Renderer? That way, you can set the style of each row (or even each cell) based on the data. Jim -- 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] have there any rightClick mouseEvent in Flex2?
Yes - you can add a ContextMenu that pops open when you right click in a Flex application. You can use the flash.ui.ContextMenu class to add custom menu items to your ContextMenu and then use event handling to invoke the desired behavior. Attached is a simple example that shows how you can right click in a DataGrid cell and add that item to another DataGrid. This should point you in the right direction. deepa -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of feel8335 Sent: Wednesday, September 13, 2006 9:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] have there any rightClick mouseEvent in Flex2? have there any rightClick mouseEvent in Flex? if not, then how to produce a right click event to provide more function , like rename a display object, change color or set icon on there THX~~! @@ -- 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/ example.mxml Description: example.mxml
[flexcoders] Re: Process CheckBoxes Displayed Inside a DataGrid
Tracy: Thanks for the response. I was afraid that was the case. I did notice that the checks don't remain if you scroll. I'll have to come up with a better way to do this. I wanted the user to be able to check 30 items in a list of 100 and after checking the last item and clicking on a submit button the database would be updated. I did not want to have to call the CFC to update the database after each check. Bruce --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: When working with data-driven controls, you will almost always work with the dataprovider and not with the rendered display elements. This is in part because the list based controls recycle the display elements when you scroll. So you can't loop through the rows of a dataGrid and read the value of the check box. In fact if you have implemented this already, you may have noticed that the check boxes do not always hold their values when you scroll. Instead, what you want to do is have your checkbox renderer undate a property on the dataProvider item when the user changes the checked state Then, when you are ready, you loop over the items in the dataProvider and read the value of the updated property. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of phillips1021 Sent: Tuesday, September 12, 2006 2:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Process CheckBoxes Displayed Inside a DataGrid Anyone know of a good tutorial or other resource for using checkboxes in a datagrid that the user can then click on and then click on a button below the datagrid. The button click will call a function that should update the database for just the rows the user has clicked (ie update the record for that row). I've got the checkbox displaying on the datagrid, but I cannot figure out the code for the function to process the rows that the user checked. Is there some way to iterate over the datagrid and determine if the row's check box was selected? Bruce -- 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: Process CheckBoxes Displayed Inside a DataGrid
You do not need to call the server for each check. You just need to update the LOCAL dataProvider item when the user clicks the check box. Then when you are ready, loop through the dataProvider to extract the data to send to the server. There are other ways. When a checkbox is changed, update a local array or associative array with the data necessary to do the server update, probably some item key and the selected state. But the easiest and most flexible is to update the dataProvider from within the itemRenderer. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of phillips1021 Sent: Thursday, September 14, 2006 4:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Process CheckBoxes Displayed Inside a DataGrid Tracy: Thanks for the response. I was afraid that was the case. I did notice that the checks don't remain if you scroll. I'll have to come up with a better way to do this. I wanted the user to be able to check 30 items in a list of 100 and after checking the last item and clicking on a submit button the database would be updated. I did not want to have to call the CFC to update the database after each check. Bruce --- In [EMAIL PROTECTED]ups.com, Tracy Spratt [EMAIL PROTECTED] wrote: When working with data-driven controls, you will almost always work with the dataprovider and not with the rendered display elements. This is in part because the list based controls recycle the display elements when you scroll. So you can't loop through the rows of a dataGrid and read the value of the check box. In fact if you have implemented this already, you may have noticed that the check boxes do not always hold their values when you scroll. Instead, what you want to do is have your checkbox renderer undate a property on the dataProvider item when the user changes the checked state Then, when you are ready, you loop over the items in the dataProvider and read the value of the updated property. Tracy From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of phillips1021 Sent: Tuesday, September 12, 2006 2:12 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Process CheckBoxes Displayed Inside a DataGrid Anyone know of a good tutorial or other resource for using checkboxes in a datagrid that the user can then click on and then click on a button below the datagrid. The button click will call a function that should update the database for just the rows the user has clicked (ie update the record for that row). I've got the checkbox displaying on the datagrid, but I cannot figure out the code for the function to process the rows that the user checked. Is there some way to iterate over the datagrid and determine if the row's check box was selected? Bruce __._,_.___ -- 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] Hierarchical Cairngorming!????
Hi all, ok, now I know what to say... I would love to have a straightforward way of adding mini hierarchichal cairngorms to my components instead of exteriorizing their internal MVC to the global cairngorm. Something in the line of how Spring manages the hierarchy of contexts. Any thoughts? Thanks, Aldo -- : Aldo Bucchi : mobile (56) 8 429 8300 -- 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] subject
Hi all, thanks, Aldo -- : Aldo Bucchi : mobile (56) 8 429 8300 -- 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 - Database
In relation to Apollo, it has been mentioned it will be possible to write database drivers in AS3... might it not be possible then to do it for Flex as well? Just curious... it may well be a part of the Apollo API that allows that, but perhaps worth considering. On 9/14/06, greg h [EMAIL PROTECTED] wrote: Sudharshan, I concur with Paul's intial post. Database driven Flex applications are generally at least a 3-tier architecture. 1) UI = Flex; 2) Database = ?; 3) Middle tier (aka application server) = ?. Generally the middle tier is an http server. However, in the case of mx:RemoteObjects it is an AMF server. The SQL2005 issues raised by Tracy and Roger are a case where the database now bundles in http services. For a very broad view of how to get data into Flex, following is a link for a Jeff Tapper article that does a good job comparing and contrasting the options (note: the article is from the Flash era but is still relevant to Flex 2): http://www.devx.com/webdev/Article/21803/0/page/1 Adobe has made the ColdFusion application server very Flex friendly. You can find videos demonstrating some Flex Builder 2 wizards for creating ColdFusion/Flex 2 applications using mx:RemoteObject here: http://www.adobe.com/devnet/coldfusion/articles/wizards.html Flex 2 certainly integrates well with other application servers too. Flex 2 is certainly very Java friendly, and there is an active PHP project AMFPHP for that application server. hth, gOn 9/14/06, Paul Andrews [EMAIL PROTECTED] wrote: - Original Message -From: Sudharshan Rao [EMAIL PROTECTED]To: flexcoders@yahoogroups.com Sent: Thursday, September 14, 2006 8:46 AMSubject: [flexcoders] Flex - Database Hi, I am new to flex, Can somebody please help me in how to connect to database through flex. Thanks in advance.Flex doesn't connect directly to a database. You will need to use aserver-side technology and communicate with it using:Http service, Web service, Flex Data Service, etc. - just check out the tutorials on the adobe site and all over the web.Paulwww.ipauland.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: AutoSuggest TextField
http://weblogs.macromedia.com/sho/archives/2006/02/mxml_text_compl.cfm Have not tried it myself. I will be needing a solution at some point too. We had built one for an html front end utilizing JSP and MySQL that worked great, have not tried one in flex yet. --- In flexcoders@yahoogroups.com, Jeff Tapper [EMAIL PROTECTED] wrote: I've built type-ahead boxes for clients before. to do it well requires a well architected and ultra fast back end. At 07:34 AM 9/14/2006, DJ Lift wrote: Hey there, Has anyone seen any auto suggest style text fields for flex? Similar to what google is doing? Thanks, mark -- 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] Re: Posting data with HTTPService....Please help!
I don't have the code with me now but i will post it later to help you out. This KILLED us for over a week. The documentation was NOT accurate and I think we sort of got lucky with our solution but it works. I will do my best to post it later tonight. --- In flexcoders@yahoogroups.com, btkracker [EMAIL PROTECTED] wrote: I've seen several posts for this but haven't seen any kind of resolution. I've seen other posts that say it is extremely easy. Well, I'm in the same boat: I can't seem to get post data to send to my IIS server. I have been able to use the exact same .asp file on the server side and javascript in an IE window to get the correct results. When I try it from Flex...no data. Here is my code: Flex code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=test() mx:Script ![CDATA[ import mx.rpc.events.ResultEvent; import mx.controls.Alert; private function test():void{ HttpRequest.addEventListener(result, testResponse); HttpRequest.url = http://IIS_Server/AJAX/test.asp;; HttpRequest.resultFormat = text; HttpRequest.method = POST; HttpRequest.contentType = application/x-www-form- urlencoded; HttpRequest.request = myString=TestString; HttpRequest.send(); } private function testResponse(event: ResultEvent):void{ Alert.show(event.result.toString()); } ]] /mx:Script mx:HTTPService id=HttpRequest showBusyCursor=true / /mx:Application ASP Code (pretty simple stuff..): %@ Language=VBScript % % Response.Write here it is: ' Request.Form ' Response.End % This should return the entire post. The only thing I get back in Flex is the string here it is: ''. As mentioned above, when I use the below javascript and Microsoft's 'XMLHttpRequest' object, I get a successfull post and receive the string here it is: 'myString=StringTest' back to the browser. Thanks in advance for any help!! Bruce -- 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] Panel Windows Title Icon
I am working on styling my application, and I have searched throught the live docs/help files for flex. But I cant seem to find how to set the titleIcon to the right side of the window. Is there anyway to do this? -- 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: criticla problem charting component - coding axis
Hi Olivier - This turns out to be a bug in Charts, which we've entered. (Thanks for pointing it out!) There is, fortunately, a workaround: to the code that you have, tAxis.baseAtZero=false also add this line: tAxis.autoAdjust = taxis.autoAdjust; That should force the redraw. Hope this helps. --Brian --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: Thanks for the addiitional imformation Olivier. Can you send a small, complete compilable/runnable sample so I can try it out myself? Thanks. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of olivier Sent: Thursday, September 14, 2006 9:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: criticla problem charting component - coding axis Hi, I have to detail my problem. I'm creating a component full actionscript. This component create a CartesianChart adding some functionalities. here is the source code var tAxis:DateTimeAxis=new DateTimeAxis(); tAxis.alignLabelsToUnits=true; tAxis.autoAdjust=true; tAxis.dataUnits=minutes; tAxis.labelUnits=days; tAxis.displayLocalTime=true; tAxis.baseAtZero=false; this.horizontalAxis=tAxis; var lAxis:LinearAxis=new LinearAxis(); lAxis.alignLabelsToInterval=true; lAxis.autoAdjust=true; lAxis.baseAtZero=false; this.verticalAxis=lAxis; var slAxis:LinearAxis=new LinearAxis(); slAxis.alignLabelsToInterval=true; slAxis.autoAdjust=true; slAxis.baseAtZero=false; this.secondVerticalAxis=slAxis; this.secondVerticalAxisRenderer=new AxisRenderer(); For informations, after this code, I retrieve the series (line). The baseAtZero doesn't work. I've tried an other sample custom chart and it wors properly BUT the baseAtZero property can NOT be modified at run time. Here is the code ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml layout=absolute xmlns:local=* mx:Script ![CDATA[ import mx.charts.LinearAxis; function test():void{ //var t:LinearAxis=TestAxis (r).nChart.verticalAxis; LinearAxis(TestAxis (r).nChart.verticalAxis).baseAtZero=true; LinearAxis(TestAxis (r).nChart.verticalAxis).update(); } ]] /mx:Script local:TestAxis id=r/ mx:Button x=147 y=432 label=Button click=test()/ /mx:Application Thank in advance, it is very critical for me olivier --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , trader230 bolaughl@ wrote: Hi Olivier - 'baseAtZero' sets the minimum to zero (if your data are all =0) or the maximum to zero (if the data are 0). Choices for setting the axis range are a) let the chart decide min and max; b) set them yourself. If you want to use baseAtZero=true (with choice (a)), it will set the minimum to 0: Perhaps I'm missing your problem, in which case, in addition to sample code, could you also describe more about what you are trying to do ? Hope this helps; looking forward to your post. --Brian --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , olivier olivier-ext.ratard@ wrote: Hi, I've a critical problem when I want to code in actionscript a chart with a linearxis. Indeed, all propertie can be set but the baseAtZero doesn' t work properly. It computes the maximum value but the minimum value is always 0. I've tried with several different series without any success. I found the same topics on others forums but nobody can bring an answer to this problem. I'm blocked on this aspect. Is anybody has an example or guidelines (for example, this property must be set before one other etc..) to solve this problem ? Thank you in advance O. -- 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: Programmatic Skinning bug in Flex?
Hello, I apologize if this is a duplicate message; my messages do not seem to be appearing on the Yahoo forum. A friend looked this over and he found what was going on: - GridBorders.as and GridBorders.mxml are both going to create a class called GridBorders, which is bad. The mxml one takes precendence, so the entire application is being used as the border skin. Then that app. has a border skin which is the app. again, and you have a recursive situation. If you rename GridBorders.mxml to GridBordersTest.mxml, the recursion won't occur. - In the .as file, mx.core.EdgeMetrics needs to be imported. - Also in the .as file, graphics.clear() is needed at the top of updateDisplayList. - Rob -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris Simeone Sent: Thursday, September 14, 2006 12:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Programmatic Skinning bug in Flex? I found the problem. It's in my CSS file. If there's a borderStyle property as defined below the application hangs. Take out the borderStyle property and the app runs. See my test code below (FYI: it does not do much. My first attempt at border skinning using code)... GRIDBORDERS.CSS HERE'S THE PROBLEM Application { background-color: #FFFAC7; } GridItem { borderStyle: solid; borderSkin: ClassReference('GridBorders'); } GRIDBORDERS.MXML ?xml version=1.0? mx:Application pageTitle=Grid Borders xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Style source=GridBorders.css/ mx:Grid height=640 width=940 mx:GridRow width=100% height=66% mx:GridItem width=66% height=100% /mx:GridItem mx:GridItem width=33% height=100% /mx:GridItem /mx:GridRow mx:GridRow width=100% height=33% mx:GridItem colSpan=2 width=100% height=100% /mx:GridItem /mx:GridRow /mx:Grid /mx:Application -- GRIDBORDERS.AS -- package { import mx.skins.*; import mx.containers.Grid; import flash.display.*; import flash.utils.*; public class GridBorders extends Border { public function GridBorders() { super(); } override protected function updateDisplayList( w:Number, h:Number ):void { graphics.lineStyle( 15, 0x00, 0 ); graphics.beginFill( 0x00, 1.0 ); graphics.drawRect( 0, 0, 10, height ); graphics.endFill(); } private var _borderMetrics:EdgeMetrics = new EdgeMetrics(1, 1, 1, 1); override public function get borderMetrics():EdgeMetrics { return _borderMetrics; } } } -- 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] Re: Programmatic Skinning bug in Flex?
Hi, I had a friend look this over and he found what was going on: - GridBorders.as and GridBorders.mxml are both going to create a class called GridBorders, which is bad. The mxml one takes precendence, so the entire application is being used as the border skin. Then that app. has a border skin which is the app. again, and you have a recursive situation. If you rename GridBorders.mxml to GridBordersTest.mxml, the recursion won't occur. - In the .as file, mx.core.EdgeMetrics needs to be imported. - Also in the .as file, graphics.clear() is needed at the top of updateDisplayList. -- 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] Panel Windows Title Icon
Hi Jeremy, You can do it by nesting the Panel inside a Canvas with an image: mx:Canvas width=100% mx:Panel id=sample title=Sample Panel width=100% !--content here-- /mx:Panel mx:Image right=10 width=22 height=22 y=4 source=icon.gif/ /mx:Canvas The image will be placed on top of the panel wherever you specify.. Hope that helps, Pete Pete Capra Information Systems Coordinator Capra Ryan Online Learning p. (617) 3208 9455 m. 0411 043 305 f. (617) 3208 9855 a. PO Box 1744 Springwood Q 4127 www.capraryan.com [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Friday, 15 September 2006 10:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Panel Windows Title Icon I am working on styling my application, and I have searched throught the live docs/help files for flex. But I cant seem to find how to set the titleIcon to the right side of the window. Is there anyway to do this? -- 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] Panel Windows Title Icon
take a look at my MaxRestrorePanel class... http://jeff.mxdj.com/flex_2_maxrestorepanel_class.htm At 08:00 PM 9/14/2006, Jeremy Rottman wrote: I am working on styling my application, and I have searched throught the live docs/help files for flex. But I cant seem to find how to set the titleIcon to the right side of the window. Is there anyway to do this? -- 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] Re: Panel Windows Title Icon
You can also extend the Panel class that will give you access to the protected titleBar component of Panel, you can then do something like this. titleBar.addChild( yourTitleIcon ); You might also have to override layoutChrome and position the icon within the titleBar. --- In flexcoders@yahoogroups.com, Jeremy Rottman [EMAIL PROTECTED] wrote: I am working on styling my application, and I have searched throught the live docs/help files for flex. But I cant seem to find how to set the titleIcon to the right side of the window. Is there anyway to do this? -- 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/