Re: [flexcoders] Flex on Mac
runs just fine for me. intel mac here. I use flex via plugin to eclipse, because i use other langs like PHP and Java. Mark On May 11, 2007, at 1:06 PM, Arleston Lueders wrote: Hello everybody! I'm thinking in buy a MacBook. Does anyone have a Mac here? What do you think about it? And the Flex will run normal on Mac, right? Thanks, Arleston
[flexcoders] itemRenderer simple question
Hi there, I'm writing a simple itemRenderer that i want to use across multiple columns. The itemRenderer will look at a property of the data object that it receives to tell what style should be applied to the mx:Text object that will display the data. That part is easy. But how do I set the text value of the mx:Text to whatever the value of that column is? (does that make sense?) For example, if the column I'm in has a dataField property of email, I want the itemRenderer to display the value of email -- without having to write data.email in the itemRenderer. What we're really trying to do is to apply a style to the text of an entire row if one of the row's properties is true. Thanks, mark
Re: [flexcoders] itemRenderer simple question
Thanks for that. Works great. However, I have to say, these are the kinds of things that should be easier to accomplish. Like maybe you should have the ability to have some variable that represents the data that goes in a particular cell, in addition to looking at the whole row. I dunno. Seems like you have to go through a lot to get the simple things you need *sometimes*. Other things are a breeze :) My code looks like this, btw: package { import mx.controls.DataGrid; import mx.controls.dataGridClasses.DataGridItemRenderer; import mx.controls.dataGridClasses.DataGridListData; import mx.controls.Text; import mx.controls.dataGridClasses.DataGridColumn; public class MarkyItemRenderer extends DataGridItemRenderer { public function MarkyItemRenderer() { super(); } private var lastUID:String; // the last thing we rendered override public function set data(value:Object):void { super.data = value; if (listData listData.uid != lastUID) { // this is how you get at the particular column of data var dgListData:DataGridListData = listData as DataGridListData; var dataGrid:DataGrid = dgListData.owner as DataGrid; var column:DataGridColumn = dataGrid.columns[dgListData.columnIndex]; // checking the property to see if we should style the text if (value.is_admin == true) { styleName = adminStyle; } //setting the text text = data[column.dataField]; lastUID = listData.uid; } } } } On Apr 18, 2007, at 12:29 PM, Alex Harui wrote: If you implemet IDropInListItemRenderer, you will get passed the column you are rendering. There are examples on my blog http://blogs.adobe.com/aharui/ item_renderers/ that you might find useful From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark McCray Sent: Wednesday, April 18, 2007 8:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] itemRenderer simple question Hi there, I'm writing a simple itemRenderer that i want to use across multiple columns. The itemRenderer will look at a property of the data object that it receives to tell what style should be applied to the mx:Text object that will display the data. That part is easy. But how do I set the text value of the mx:Text to whatever the value of that column is? (does that make sense?) For example, if the column I'm in has a dataField property of email, I want the itemRenderer to display the value of email -- without having to write data.email in the itemRenderer. What we're really trying to do is to apply a style to the text of an entire row if one of the row's properties is true. Thanks, mark
[flexcoders] programmatically adding a new column to the datagrid
Hey there, I'm adding columns to the columns array for a datagrid without any difficulty. Except for when i try to specify the Header Renderer. We're building a new column object by writing AS code like : newColumn.dataField = columnObj.dataField; newColumn.wordWrap = columnObj.wordWrap; And we push this onto the columns array and that works fine. But how do i say that i want the header renderer for the new column to be the one that's defined in cmpHeader.mxml in the current directory? Things like the following don't work: var myHeaderRenderer:DataGridItemRenderer = new DataGridItemRenderer (cmpHeader.mxml); newColumn.headerRenderer = myHeaderRenderer; -- or -- newColumn.headerRenderer = cmpheader.mxml; -- or -- newColumn.headerRenderer = cmpHeader; Thanks! marky
Re: [flexcoders] How to know the position of the column in a datagrid?
We currently have to loop through the columns array and look for the column named X. When we find it, we know what position it's in by the number of loops. If there's a better way to do this, would love to know. Thanks, Mark On Mar 18, 2007, at 11:03 AM, arpan srivastava wrote: Hi All, How can I know the position of the columns in a datagrid when they are repositioned by drag and drop? I want to store the position of the columns when they are moved. 8:00? 8:25? 8:40? Find a flick in no time with theYahoo! Search movie showtime shortcut.
[flexcoders] handling right-click on datagrid column header
Hey there, does anyone know if it's possible to handle a right-click event on just the column header in a datagrid? We're messing around with to make a datagrid work the same way the iTunes data grid works... Where you right click on one of the column headers and then pops up a modal type window that lets you select which columns to show and hide. We can't seem to figure out how to get a right-click mouse event on a datagrid column, let alone the column header. any help would be appreciated. thanks, marky
[flexcoders] errors 1144 and 1023
Hey there, after updating to version 2.0.1 on macosx of flex builder... I'm getting errors 1144 and 1023. And if i double click, it doesn't tell me what file. Severity and DescriptionPathResourceLocation Creation Time Id 1144: Interface method create in namespace mx.core:IFlexModuleFactory is implemented with an incompatible signature in class _graphicstest_mx_managers_SystemManager.Network Control Panel line 7 1168291233101 865 Now... it's saying Network Control Panel but not which file. Network control panel is a project. there are no files called Network Control Panel in my project. the main app file is called index.mxml Has anyone seen this? Thanks, mark
Re: [flexcoders] Adobe site extremely slow
I'm on safari, and sometimes I click on the English version of documentation for Flex 2 and i get to a blank white screen. It happens periodically. The link I just got to was: http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/ wwhelp.htm?href=Part2_DevApps.html and that left me with a blank page. If i refresh the above link then i get the docs. Does anyone else have this issh? Thanks, mark On Dec 20, 2006, at 8:30 AM, Tom Chiverton wrote: On Wednesday 20 December 2006 01:51, David Mendels wrote: * The issue is known. We had significant hardware issues. We have upgraded the US servers and performance has improved many fold (average page time from 9 seconds to load to sub 2 seconds). * The same hardware upgrade is being performed on our European servers. We expect to see significant performance improvements there within a week or a few. I've certainly noticed LiveDocs are a lot faster now. -- Tom Chiverton Helping to challengingly synergize exceptional synergies 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
Re: [flexcoders] crossdomain.xml - is there an alternative ?
Have you tried placing the crossdomain.xml file in whatever https:// mydomain:9443/ maps its docroot to? Because that is where it will look I think. On Dec 20, 2006, at 11:33 AM, jamiebadman wrote: Hi, I'm trying to access https webservices from a flex app hosted under http and I'm getting security errors. The full error states that there's a security sandbox violation trying to access https://mydomain:9443/ccx/myservice So it would seem this could be resolved with a crossdomain.xml file placed at that location, right ? However the location doesn't actually exist on the server. the /ccx portion of the URL is to do with a product called 'Cape Clear' which manages the webservices and it would seem that requests that go into /ccx and beyond are somehow intercepted and dealt with by CapeClear. So there's actually not a physical location to place the crossdomain.xml that I can make out. I tried using the LoadPolicyFile approach to have it load the crossdomain.xml from a different location - but this didn't seem to do anything from Flex. I also tried 'allowInsecureDomain' but again, no effect. Does anyone have any suggestions - any ideas on how we can get this to work ? Thanks in advance, Jamie.
[flexcoders] scheduled functions
Hey there, Could anyone point me in the right direction with the following task: Is it possible to create events that happen at specific times while the app is running? Something like cron but for a client side flex app? Can make some function that runs in its own thread or runs in the background while that might be able to fire events based on system clock time? As an example, let's say that you are in a calendar app, and you want it to pop up an alarm at 4:15pm to alert you of a meeting? Can this be done without using a server side/FDS messaging push? Thanks, mark
Re: [flexcoders] scheduled functions
Awesome!!! that's exactly what i needed. I was searching for the wrong words :) Thanks! On Dec 18, 2006, at 4:00 PM, Gordon Smith wrote: You could do this using the Timer class in the flash.utils package. I'd create a Timer that fires once a minute, determines the clock time, and checks to see if there are any alarms to display. The Flash Player doesn't have multiple threads. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark McCray Sent: Monday, December 18, 2006 12:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] scheduled functions Hey there, Could anyone point me in the right direction with the following task: Is it possible to create events that happen at specific times while the app is running? Something like cron but for a client side flex app? Can make some function that runs in its own thread or runs in the background while that might be able to fire events based on system clock time? As an example, let's say that you are in a calendar app, and you want it to pop up an alarm at 4:15pm to alert you of a meeting? Can this be done without using a server side/FDS messaging push? Thanks, mark
[flexcoders] debug version issue
Hi there, Some sites that require flash player 9 don't work with my debug version of the flash player. Take for instance the new Kuler app from adobe. (http://kuler.adobe.com) It says i need to install Flash Player 9. But I have the debug version 9,0,18,60 installed. And sites like myspace won't load any flash content at all and provides me no warning. Adobe, what's up? Is there a newer version of the debug flash player? Thanks, Mark
Re: [flexcoders] debug version issue
yeah but that's not the intel or universal binary version, and I'm on intel. Adobe? On Nov 29, 2006, at 10:06 AM, Steve Cox wrote: Yes mate: 9.0.r28 http://www.adobe.com/support/flashplayer/downloads.html -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark McCray Sent: 29 November 2006 14:55 To: flexcoders@yahoogroups.com Subject: [flexcoders] debug version issue Hi there, Some sites that require flash player 9 don't work with my debug version of the flash player. Take for instance the new Kuler app from adobe. (http://kuler.adobe.com) It says i need to install Flash Player 9. But I have the debug version 9,0,18,60 installed. And sites like myspace won't load any flash content at all and provides me no warning. Adobe, what's up? Is there a newer version of the debug flash player? Thanks, Mark
Re: [flexcoders] Problem with setFocus()
i'm actually having this issue in safari using the latest debug player. I focus on the text input, but i just get the halo, and no cursor blink. :( On Oct 30, 2006, at 1:54 PM, Deepa Subramaniam wrote: Hi Rick – setFocus() is the correct method to use to put focus on the TextInput, including the cursor blinking within the TI. But are you using Firefox? Your issue is a fact of life in the Firefox world. You’ll notice that in Firefox, calling setFocus() off any of the initialization events will not cause the cursor to blink within the TI. Doing the same off a button click or some sort of other user initiated event will work. This is because Mozilla has some specific issues around giving plug-in content focus upon initialization. Hope this helps - deepa From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Root Sent: Monday, October 30, 2006 7:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problem with setFocus() I'm trying to use setFocus() to put the focus on a text input when my application starts. However, most of the time, I get the blue halo around the text input, but no cursor. I can't type until I click in the text input to put the cursor there. I'm using Flex Builder's generated HTML/javascript page for embedding the flex app, so I don't have the click to activate problem... rick
[flexcoders] EmailValidator
Hey there, Is there any way to ask an email validator if it's result is currently valid or invalid? Thanks, mark
Re: [flexcoders] Re: Intel-Mac 9.0.28 debug plugin
I tried installing that one and it says it's for power-pc based machines. (the fourth link down) On Nov 17, 2006, at 2:21 AM, Matt Chotin wrote: Oh, my mistake, looks like we did post them. I know the projector on Mac is PPC only for the moment, but I believe the plugin should have been universal. I had been told that there were some delays in one of the Mac builds though, so this might be it. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Thursday, November 16, 2006 8:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Intel-Mac 9.0.28 debug plugin The 4th link within the FP9 group (the one I previously dl'ed) throws an error on installation saying that its a PowerPC version only. Hence my question on the location of an Intel-mac UB. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Friday, 17 November 2006 2:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Intel-Mac 9.0.28 debug plugin It doesn't specifically list Intel Mac, but I would assume this is what you need. http://www.adobe.com/support/flashplayer/downloads.html I actually had to ask in a comment on the Labs blog to find this link too. Hey Adobe, make it easier to find these- why aren't they linked from the main download page? HTH, Ben --- In flexcoders@yahoogroups.com, Bjorn Schultheiss [EMAIL PROTECTED] wrote: Hey, I'm having some trouble finding this. Any help? Regards, Bjorn Schultheiss Senior Flash Developer QDC Personalised Communication Power Level 2, 31 Coventry St. South Melbourne 3205, VIC Australia T: +61 3 9674 7400 F: +61 3 9645 9160 W: http://www.qdc.net.au ((This transmission is confidential and intended solely for the person or organization to whom it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you should not copy, distribute or take any action in reliance on it. If you believe you received this transmission in error, please notify the sender.---))
Re: [flexcoders] Re: reorder datagrid columns
I've also needed to do this.The datagrid's "columns" property is really just an array of datagridcolumn objects i think. You can create two different arrays and make a button switch between them to see how it can change the datagrid. (Same data, just different columns.)So I was going to try to make a function that gets the results for the datagrid's data provider and also asks the server for what columns should be displayed, their width, order and such from some user preference system. But I haven't had a chance to fully work it out yet.HTHMarkyOn Oct 30, 2006, at 6:41 AM, Paul Hastings wrote:On 10/28/06, dzeitman [EMAIL PROTECTED] wrote: If all you want to do is organize the column order you can manually set up columns in the appropriate order.thanks but i need this "on the fly" (and i don't don't know what'sgetting sent back from the server per remote call). the trick is touse the datagrid's columns property to reorder the columns to their"natural" order. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] A DataGrid with selectable *cells*
Isn't this the default behaviour of the datagrid?On Oct 25, 2006, at 11:53 AM, Tom Chiverton wrote:Has anyone else already got a DataGrid component that high lights cells when you click on them, before I go reinventing the wheel ?-- Tom ChivertonHelping to greatly entrench out-of-the-box patternsThis 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.CONFIDENTIALITYThis 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 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] HTTPService Result to ArrayCollection
What gets returned from my HTTPService call l looks like this:jobsjoblocNY/locclientSPRI/clientproduct/productnameNon-Project Time/namejobno93106/jobnoest_status/est_status/jobjoblocNY/locclientSPRI/clientproduct/productname Trafficking TOS/namejobno93110/jobnoest_status/est_status/job/jobsAnd I'm interested in populating the datagrid where one row equals one job listing from the xml.Maybe I need to format my dataGrid differently?thanks,markOn Aug 29, 2006, at 3:23 PM, Darren Houle wrote:Depends on your XML data. An ArrayCollection is basically an Array of Arrays, so... if your XML is complicated and multilayered with lots of nested tags in nested tags I'm not sure you can easily convert it to an ArrayCollection. But... if your XML looks something like this:personnameJohn/namenameJames/namenameJude/name/personpersonnameMark/namenameLuke/namenameMatthew/name/personThen you might have a chance :-)DarrenFrom: "DJ Lift" [EMAIL PROTECTED]netReply-To: [EMAIL PROTECTED]ups.comTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] HTTPService Result to ArrayCollectionDate: Tue, 29 Aug 2006 18:09:58 -Hi there,I'm new and I don't understand something :)Hopefully someone can help me out.I have a datagrid that I am attempting to populate.I've been able to successfully populate the grid with xml from and HTTPService with noproblem.But now I want to be able to filter and create specific sort functions for the grid, which Iunderstand requires the dataProvider for the dataGrid to be an ArrayCollection. Is thistrue?If so, can i somehow take the XML result from the HTTPService and make anArrayCollection out of it? I'm having trouble attempting this.Below is what i have so far...mx:HTTPService id="jobInfoReq" url=""http://mccray/~mm/oracle/joblookup.php">http://mccray/~mm/oracle/joblookup.php" useProxy="false" method="GET" showBusyCursor="true" mx:request xmlns="" pirateLoc{pirateLocSelector.label}/pirateLoc pirateClient{pirateClientSelector.label}/pirateClient pirateProduct{pirateProductSelector.label}/pirateProduct /mx:request /mx:HTTPService--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___