[flexcoders] how to convert string to number
Hi, I am new to flex 1.5. I searched a lot for this conversion but didnt get anything helpful. Actually I am accepting text from the TextInput which accepts only the number. So I want to convert it to the number but how to do it in flex? Akash, __._,_.___ -- 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 __,_._,___ Disclaimer This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom it is addressed. If you have received this communication in error, please immediately notify the [EMAIL PROTECTED] and destroy the original message. The recipient should check this email and any attachments for the presence of viruses. Ness has taken every reasonable precaution to minimize this risk, and accepts no liability for any damage caused by any virus transmitted in this email. Ness reserves the rights to monitor and review the content of all messages sent to or from this E-mail address, and store them on the Ness E-mail system.
Re: [flexcoders] Printing Images
Hi Nathan, Canyou please send me a sample code of what works and what doesn't. I'll be able to help you out. Thanks, -sam On 9/28/06, nathanpdaniel [EMAIL PROTECTED] wrote: I have an issue when printing images! I am working on a shipping app which will generate a barcode label for printing. If I load the label, then have the user print it, it works. However, there are cases when there will be 100's of labels that need to be printed at once. When I try to bypass the user interaction for each label using the FlexPrintJob class and addObject() method (repeatedly...) the text info on the labels prints properly, but with no barcodes or other images! I've tried every workaround I can think of with no success... anyone else have any ideas? Thanks in advance! -Nathan __._,_.___ -- 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] Why defaultButton do not work when in TabNavigator?
As far as I remember, Adobe knows about this bug and it would be fixed in upcoming updater release. Also it seems that there is no workaround... On 10/13/06, hank williams [EMAIL PROTECTED] wrote: I am encountering this same problem, namely that the defaultButton feature doesnt work inside a tabnavigator. Is this confirmed as a known bug, and is there a work around? Hank -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] how to convert string to number
you can do one of these:Number(textinput.text)ORparseInt(textinput.text)On 10/16/06, Impudent1 [EMAIL PROTECTED] wrote:Akash wrote: Hi,I am new to flex 1.5. I searched a lot for this conversion but didn't get anything helpful. Actually I am acceptingtext from the TextInput which accepts only the number. So I want to convert it to the number but how to do it in flex? blah.text = Number(blah.text);Impudent1LeapFrog Productions--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* Your email settings:Individual Email | Traditional* To change settings online go to: http://groups.yahoo.com/group/flexcoders/join(Yahoo! ID required)* To change settings via email:mailto: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Manipulating data before it populates the DataGrid
my bad, I should have said Collection. You are right - Having said that, you still can use the utilities on the collections to manipulate the data on the datagrid before the actual population.ThanksHarish On 10/16/06, Douglas Knudsen [EMAIL PROTECTED] wrote: 'Since the datagrid dataprovider is an arraycollection'I don't mean to pick at this statement, but I was browsing through the source for DataGrid today, glutton for punishment I know. The code trail eventually leads to ListBase.as. In the dataProvider setter it appears that this is not always the case. If you pass a Array or ArrayCollection as a dataProvider, then yes. But if you pass it XML the dataProvider is actually a XMLListCollection for example. Anyhow, the dataProvider is always converted to some sort of collection though. DKOn 10/16/06, Harish Sivaramakrishnan [EMAIL PROTECTED] wrote: I suggest you take a look at the fiterFunction and labelFunction methods on the datagrid. Since the datagrid dataprovider is an arraycollection, you can apply all utilities that are available on the arraycollection class to manipulate what you display in the datagrid finally HarishOn 10/16/06, Aaron West [EMAIL PROTECTED] wrote: If you're using an ArrayCollection to populate your grid you could always edit/adjust or otherwise manipulate the data in your event handler. For instance, if you're using Web services, you can loop the data coming from the server and manipulate it as you add it into your ArrayCollection. Or, as suggested you can just use formatters to change *only* the display of specific columns w/o affecting the actual data. | Aaron West | aaron AT trajiklyhip DOT com | http://www.trajiklyhip.com/blog/ | Certified Advanced Adobe ColdFusion MX 7 Developer | Certified Macromedia FlashMX Developer | Adobe Community Expert On Oct 14, 2006, at 10:23 PM, iko_knyphausen wrote: Hi, what would be the best way to inspect and possibly manipulate data that gets populated into a DataGrid via data binding? This could be used to filter data, transform values, compute calculated fields etc. Is there a hook similar to the itemRenderer (which you could even 'abuse' for this, I guess)? An event that gets fired per record while populating? Obviously I am new to Flex, so forgive if I have overlooked the obvious. Thanks much -- 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 -- Douglas Knudsenhttp://www.cubicleman.com this is my signature, like 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] Re: Cairngorm commands - best practise
On Thursday 12 October 2006 20:30, Tim Hoff wrote: to the ModelLocator similarly. The bottom line: if it works for you, that's all that really matters. Thank you for the discourse. The whole point of a framework is to use it in a way that helps you, and explore that with others. Maybe our next project we'll try it the other way. -- Tom Chiverton Helping to authoritatively leverage market-driven architectures 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] Multi line Checkbox component has black border around label text
in the createChildren method, try making textField.border=false; that might solve the issue. I am guessing, I havent tried it myself.On 10/16/06, Wally Randall [EMAIL PROTECTED] wrote: A while ago Darron Schall posted this component for extending the CheckBox to permit multiple lines. It works great. I have used this method to do the same feature with RadioButtons. However, the resulting box places a black border around the label text. How can I remove that black border? This is Darron's component package { import mx.controls.CheckBox; import flash.text.TextFieldAutoSize; public class MultiLineCheckBox extends CheckBox { public function MultiLineCheckBox() { super(); callLater( measure ); } override protected function createChildren():void { super.createChildren(); textField.wordWrap = true; textField.autoSize = TextFieldAutoSize.LEFT; textField.border = true; } override protected function measure():void { super.measure(); // Make sure the text field has measured itself if ( textField.height 4 ) { measuredMinHeight = minHeight = textField.height; } } } } __._,_.___ -- 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: Disappearing list items
Rick Root wrote: lyon.james wrote: I saw very similar things happen with list and datagrid controls, and we found out that our database fields had hidden ASCII markup (/r,/n,etc.) We cleared out that data and haven't seen problems again. This might be it, I'll have to check on Monday the problem didn't start occuring until I switched the database for the application from our local SQL Server repository to the DB2 mainframe.. Alas that wasn't it. I did notice this morning that it's *NOT* random. Every 5th item label is missing - even though the data is there. rick -- 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 HeaderRenderer and DataProvider
Thanks. That clears up a bunch. Now to see what I can do ... jelentz --- In flexcoders@yahoogroups.com, Aaron West [EMAIL PROTECTED] wrote: No problem jelentz, check out the link I've provided below. While you are looking to dynamically set the dataProvider of a DataGrid the content of the article discusses a ComboBox. The takeaway from the article is how to create your own custom DataGrid class (by extending DataGrid) and then writing the appropriate code to manipulate the dataProvider. The article does a good job explain this. http://thesourcecode.org/?p=15 Let me know if you have questions (note, I didn't write the article.) | Aaron West | aaron AT trajiklyhip DOT com | http://www.trajiklyhip.com/blog/ | Certified Advanced Adobe ColdFusion MX 7 Developer | Certified Macromedia FlashMX Developer | Adobe Community Expert On Oct 14, 2006, at 12:20 PM, jlentz2112 wrote: Thanks for the reply, but unfortunately I don't follow all of it. I'm new to Flex, so could you please explain more? I get the AS3 extending DataGrid. How can you dynamically set the dataProvider to pass in info to the headerRenderer? A small snippet of code would be greatly appreciated. Thanks again, jelentz --- In flexcoders@yahoogroups.com, Aaron West aaron@ wrote: jelentz, Based on my limited experience I would suggest creating a custom AS3 class that extends DataGrid. You can then dynamically set the dataProvider, loop through whatever part of the data provider you need, and based on the values therein create the number of data grid columns you need. | Aaron West | aaron AT trajiklyhip DOT com | http://www.trajiklyhip.com/blog/ | Certified Advanced Adobe ColdFusion MX 7 Developer | Certified Macromedia FlashMX Developer | Adobe Community Expert On Oct 13, 2006, at 8:40 PM, jlentz2112 wrote: Hi, I've got an app where I need a DataGrid that will have a varying number of columns based on the value from a database query. I also need to be able to have each column header display a couple of images and the text provided by the database query. Is there a way to use a dataprovider to create a varying number of columns, and to use the dataprovider to pass in images and text? I've looked for examples and haven't had much luck finding any that I could follow. A simplified explanation would be greatly appreciated. Thank you, jelentz -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] How do I recompile charts?
I've modified the defaultColors list in the HaloDefaults.as, tocustomise the colours that appear in pie chart wedges, but it seems myapp is using a pre-compiled version, and I don't see the changes.I can't find any way to rebuild the charts (without a lot of faffingaround), as there's no build file, and when I try referencing thesource folders and removing the reference to charts.swc, I just getloads of errors (such as mx:Application and mx:PieChart not beingvalid, even though they still appear in the intellisense.How can I get these changes to the default colours into my project? Ifthere's a better way (I'd rather not modify the source on 5 developermachines, but I don't want to have to write loads of code either).Thanks The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __._,_.___ -- 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] Disappearing list items
so, I solved this problem. My data provider was a query returned by a remoting call created like this: cfquery name=qry2 dbtype=query SELECT TABLKEY, TABLFLD FROM application.udf.getalldropdowns WHERE TABLID = '010' ORDER BY TABLFLD /cfquery cfset queryaddrow(qry2,1) cfset querysetcell(qry2,TABLKEY,) cfset querysetcell(qry2,TABLFLD,) cfquery name=qry dbtype=query SELECT * FROM qry2 ORDER BY TABLFLD /cfquery cfset retval.COUNTRIES = qry I did it this way so I could always have a blank item in the dropdown The solution was to change the second querysetcell line to be the following: cfset querysetcell(qry2,TABLFLD,- not selected -) For some reason, the blank item caused every 5th label to disappear for no apparent reason. This seems like a bug. What's the address to report flex bugs to? Rick -- 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: Disappearing list items
I'd start checking for a loop over that dataprovider... probably a typo somewhere in a loop :) Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick RootSent: Monday, October 16, 2006 6:33 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Disappearing list items Rick Root wrote: lyon.james wrote: I saw very similar things happen with list and datagrid controls, and we found out that our database fields had hidden ASCII markup (/r,/n,etc.) We cleared out that data and haven't seen problems again. This might be it, I'll have to check on Monday the problem didn't start occuring until I switched the database for the application from our local SQL Server repository to the DB2 mainframe..Alas that wasn't it.I did notice this morning that it's *NOT* random. Every 5th item label is missing - even though the data is there.rick --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 10/14/2006 __._,_.___ -- 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.408 / Virus Database: 268.13.4/476 - Release Date: 10/14/2006
[flexcoders] gloablToLocal , localToGlobal
Hello all, Ihave a application where i have one canvas -- TemplateArea , a Vbox -- Vboxid in TemplateArea and ImageComponent inside that Vboxid on mouseDownEvent i am drawing the rectangle on Canvas TemplateArea, What i need to do if i have to track the co-ordinates with respect to Vboxid. Itried with gloablToLocal and localToGlobal..but not working Can any one please suggest me what exactllyI need to do? Regards Ps. __._,_.___ -- 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] Slide Show
are you sure you wanna do that in flex? it's a lot lighter (filesize) if you do it in flash instead. just a suggestion. --- KP [EMAIL PROTECTED] wrote: Hi All, I want to make some slide show kind of thing which reads data , I mean source of image file from an XML file and then loads it in any container and then display that in full screen. Can some one suggest any kind of approach on this. Thanks Kumar __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Disappearing list items
I see two things I'd do differently... 1. querysetcell takes three arguments... querycetcell(query,column,value,row) 2. you don't need to do the query of a query at the end you can just do cfset retval.COUNTRIES = qry2 Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick RootSent: Monday, October 16, 2006 8:04 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Disappearing list items so, I solved this problem.My data provider was a query returned by a remoting call created like this:cfquery name="qry2" dbtype="query"SELECTTABLKEY, TABLFLDFROM application.udf.getalldropdownsWHERETABLID = '010'ORDER BY TABLFLD/cfquerycfset queryaddrow(qry2,1)cfset querysetcell(qry2,"TABLKEY","")cfset querysetcell(qry2,"TABLFLD","")cfquery name="qry" dbtype="query"SELECT * FROM qry2 ORDER BY TABLFLD/cfquerycfset retval.COUNTRIES = qryI did it this way so I could always have a "blank" item in the dropdownThe solution was to change the second querysetcell line to be the following:cfset querysetcell(qry2,"TABLFLD","- not selected -")For some reason, the blank item caused every 5th label to disappear for no apparent reason.This seems like a bug. What's the address to report flex bugs to?Rick --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 10/14/2006 __._,_.___ -- 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.408 / Virus Database: 268.13.4/476 - Release Date: 10/14/2006
Re: [flexcoders] Disappearing list items
odd. Myself, I prefer not to return queries from CF to Flex. Instead convert to a array of objects or XML. That said, maybe try using the SQL for it direct, in case the Query functions are flaking somehow. The below would be for Oracle. cfquery name=qry2 dbtype=querySELECTTABLKEY, TABLFLDFROM application.udf.getalldropdowns WHERETABLID = '010'UNION SELECT '' AS TABLKEY, '' AS TABLFLDFROM dual ORDER BY TABLFLD /cfqueryDKOn 10/16/06, Rick Root [EMAIL PROTECTED] wrote: so, I solved this problem.My data provider was a query returned by a remoting call created like this: cfquery name=qry2 dbtype=querySELECTTABLKEY, TABLFLDFROM application.udf.getalldropdownsWHERE TABLID = '010'ORDER BY TABLFLD/cfquerycfset queryaddrow(qry2,1)cfset querysetcell(qry2,TABLKEY,) cfset querysetcell(qry2,TABLFLD,)cfquery name=qry dbtype=querySELECT * FROM qry2 ORDER BY TABLFLD/cfquery cfset retval.COUNTRIES = qryI did it this way so I could always have a blank item in the dropdownThe solution was to change the second querysetcell line to be the following: cfset querysetcell(qry2,TABLFLD,- not selected -)For some reason, the blank item caused every 5th label to disappear forno apparent reason.This seems like a bug.What's the address to report flex bugs to? Rick--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/ -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like 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 __,_._,___
[flexcoders] this is just a test...
let's see, if this one appears... Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] Web http://www.akitogo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: problems assigning an object to an object
Do you have your mapping between you actionscript class and your server-side's java class? If you do not register the class alias, the return object is Object type. By assigning event.result as Users, it is null you can either add this to your Users class' constructor registerClassAlias(YOUR JAVA CLASS FULLY QUALIFY NAME, Users); OR ADD THIS AS META DATA TO YOUR ACTIONSCRIPT CLASS FILE [RemoteClass(alias=my.server.remote.Users)] William Chan --- In flexcoders@yahoogroups.com, boy_trike [EMAIL PROTECTED] wrote: code snippet Main Application [Bindable] public var model:ModelLocator = ModelLocator.getInstance(); private function processLoginResults( event : ResultEvent) : void { //model.currentUser = event.result as Users; model.currentUser.firstName = event.result.firstName; model.currentUser.lastName = event.result.lastName; modelLocator package util{ import flash.events.EventDispatcher; import mx.collections.ArrayCollection; // IMPORT ALL USER VO'S BELOW import vo.Users; [Bindable] public class ModelLocator extends EventDispatcher{ public function ModelLocator(){ // } private static var _instance:ModelLocator public static function getInstance() :ModelLocator{ if( !_instance ){ _instance = new ModelLocator(); } return _instance; } // public var currentUser : Users = new Users(); } } Users.as package vo { [Bindable] public class Users { public var userID : int; public var firstName: String; public var lastName : String; public var loggedIn : Boolean = false; public function Users() { } } } The commented line near the top does NOT work. (leaves a NULL value in model.currentUser). Thanks 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] Multiple classes per package
Hi there Does anyone know if Actionscript 3 and Flexbuilder2 support multiple classes per package, where only 1 class is declared as public, while the remaining classes are only available inside the package? Eg. package mypackage { public class MainClass { public function MainClass() {} } class HelperClass { public function HelperClass() {} } } Tracy -- 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: problems assigning an object to an object
Do you have your mapping between you actionscript class and your server-side's java class? If you do not register the class alias, the return object is Object type. By assigning event.result as Users, it is null you can either add this to your Users class' constructor registerClassAlias(YOUR JAVA CLASS FULLY QUALIFY NAME, Users); OR ADD THIS AS META DATA TO YOUR ACTIONSCRIPT CLASS FILE [RemoteClass(alias=my.server.remote.Users)] William Chan --- In flexcoders@yahoogroups.com, boy_trike [EMAIL PROTECTED] wrote: code snippet Main Application [Bindable] public var model:ModelLocator = ModelLocator.getInstance(); private function processLoginResults( event : ResultEvent) : void { //model.currentUser = event.result as Users; model.currentUser.firstName = event.result.firstName; model.currentUser.lastName = event.result.lastName; modelLocator package util{ import flash.events.EventDispatcher; import mx.collections.ArrayCollection; // IMPORT ALL USER VO'S BELOW import vo.Users; [Bindable] public class ModelLocator extends EventDispatcher{ public function ModelLocator(){ // } private static var _instance:ModelLocator public static function getInstance() :ModelLocator{ if( !_instance ){ _instance = new ModelLocator(); } return _instance; } // public var currentUser : Users = new Users(); } } Users.as package vo { [Bindable] public class Users { public var userID : int; public var firstName: String; public var lastName : String; public var loggedIn : Boolean = false; public function Users() { } } } The commented line near the top does NOT work. (leaves a NULL value in model.currentUser). Thanks 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] Re: CFC to AS3 Class Mapping
Hey Adam, Sorry, I should clarify (for those who run across this), the 'alias' attribute in the CFComponent was what I added from your post that made it work. I set it to match exactly the alias in the AS file and presto, worked like a charm. Derrick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: problems assigning an object to an object
I think the problem is no class alias registered. The serialized java class instance just converted to object. You need something like registerClassAlias(my.server.side.java.Users, Bean); or [RemoteClass(alias=my.server.side.java.Users)] in you Users actionscript class William Chan --- In flexcoders@yahoogroups.com, Ralf Bokelberg [EMAIL PROTECTED] wrote: This happens if the result is not an instance of Users. Dimitrios's way will give you an exception instead. Cheers, Ralf. On 10/16/06, Dimitrios Gianninas [EMAIL PROTECTED] wrote: try: model.currentUser = Users(event.result); Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on behalf of boy_trike Sent: Sun 10/15/2006 10:43 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] problems assigning an object to an object code snippet Main Application [Bindable] public var model:ModelLocator = ModelLocator.getInstance(); private function processLoginResults( event : ResultEvent) : void { // model.currentUser = event.result as Users; model.currentUser.firstName = event.result.firstName; model.currentUser.lastName = event.result.lastName; modelLocator package util{ import flash.events.EventDispatcher; import mx.collections.ArrayCollection; // IMPORT ALL USER VO'S BELOW import vo.Users; [Bindable] public class ModelLocator extends EventDispatcher{ public function ModelLocator(){ // } private static var _instance:ModelLocator public static function getInstance() :ModelLocator { if( !_instance ){ _instance = new ModelLocator(); } return _instance; } // public var currentUser : Users = new Users(); } } Users.as package vo { [Bindable] public class Users { public var userID : int; public var firstName: String; public var lastName : String; public var loggedIn : Boolean = false; public function Users() { } } } The commented line near the top does NOT work. (leaves a NULL value in model.currentUser). Thanks Bruce -- 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 -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany -- 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 |
[flexcoders] Invalidating a control for IMMEDIATE redraw?
Hello, Ive got a long CPU routine, and Im using a progress bar to show the user that were making. progress.. The PROBLEM is that the progress bar doesnt seem to be updating until my long CPU TASK is complete (presumably because Im not relinquishing the CPU during the routine). Is there anyway to tell Flex/Flash to IMMEDIATELY redraw an element in the UI? Thanks in advance for any advice. Steve Steve Kellogg Peak8 Solutions 1401 14th Street Boulder, Colorado 80302, USA Fax: 303.415.2597 E-Mail: [EMAIL PROTECTED] __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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: Disappearing list items
Hi Rick, Youre right, the display value for a list must not be an empty string (). This is a known issue. Please make use of the prompt property on the combobox if possible. If this does not work for you, because you want to allow users de-select their previous selection on a combobox, you should use a single space character ( ) as a workaround. This code sample shows how to do this, if you have no way of making that change on the server side: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute mx:Script ![CDATA[ import mx.utils.StringUtil; import mx.collections.ArrayCollection; [Bindable] public var stateArray:Array = [, AL, AK, AZ, AR, CA, CO, CT, DE, DC, FL, GA, HI,ID, IL, IN, IA, KS, KY, LA, ME, MD, MA, MI, MN, MS, MO, MT, NE, NV, NH, NJ, NM, NY, NC, ND, OH, OK, OR, PA, PR, RI, SC, SD, TN, TX, UT, VT, VA, WA, WV, WI, WY]; [Bindable] public var stateInfo:ArrayCollection; private function modifyData() : void { stateInfo = new ArrayCollection(); for(var i:Number=0; i stateArray.length; i++) { var item:Object; if(String(stateArray[i])) { item = new Object(); item.label = stateArray[i]; stateInfo.addItem(item); } else { item = new Object(); item.label = ; stateInfo.addItem(item); } } } ]] /mx:Script mx:VBox mx:TextInput text={stateArray.toString()}/ mx:TextInput text={foo.selectedItem.data}/ mx:ComboBox id=foo dataProvider={stateInfo} creationComplete=modifyData() prompt= / /mx:VBox /mx:Application As the issue is known theres no need to file a new bug. Just in case and for future issues, heres the address to our wish form: http://www.adobe.com/support/email/wishform/ Best regards, Patrick From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Root Sent: Monday, October 16, 2006 3:04 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Disappearing list items so, I solved this problem. My data provider was a query returned by a remoting call created like this: cfquery name=qry2 dbtype=query SELECT TABLKEY, TABLFLD FROM application.udf.getalldropdowns WHERE TABLID = '010' ORDER BY TABLFLD /cfquery cfset queryaddrow(qry2,1) cfset querysetcell(qry2,TABLKEY,) cfset querysetcell(qry2,TABLFLD,) cfquery name=qry dbtype=query SELECT * FROM qry2 ORDER BY TABLFLD /cfquery cfset retval.COUNTRIES = qry I did it this way so I could always have a blank item in the dropdown The solution was to change the second querysetcell line to be the following: cfset querysetcell(qry2,TABLFLD,- not selected -) For some reason, the blank item caused every 5th label to disappear for no apparent reason. This seems like a bug. What's the address to report flex bugs to? Rick __._,_.___ -- 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: Disappearing list items
or take a look at http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=1fecccbaDKOn 10/16/06, Patrick Simon [EMAIL PROTECTED] wrote: Hi Rick, You're right, the display value for a list must not be an empty string (""). This is a known issue. Please make use of the prompt property on the combobox if possible. If this does not work for you, because you want to allow users de-select their previous selection on a combobox, you should use a single space character (" ") as a workaround. This code sample shows how to do this, if you have no way of making that change on the server side: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute mx:Script ![CDATA[ import mx.utils.StringUtil; import mx.collections.ArrayCollection; [Bindable] public var stateArray:Array = [, AL, AK, AZ, AR, CA, CO, CT, DE, DC, FL, GA, HI,ID, IL, IN, IA, KS, KY, LA, ME, MD, MA, MI, MN, MS, MO, MT, NE, NV, NH, NJ, NM, NY, NC, ND, OH, OK, OR, PA, PR, RI, SC, SD, TN, TX, UT, VT, VA, WA, WV, WI, WY]; [Bindable] public var stateInfo:ArrayCollection; private function modifyData() : void { stateInfo = new ArrayCollection(); for(var i:Number=0; i stateArray.length; i++) { var item:Object; if(String(stateArray[i])) { item = new Object(); item.label = stateArray[i]; stateInfo.addItem(item); } else { item = new Object(); item.label = ; stateInfo.addItem(item); } } } ]] /mx:Script mx:VBox mx:TextInput text={stateArray.toString()}/ mx:TextInput text={foo.selectedItem.data}/ mx:ComboBox id=foo dataProvider={stateInfo} creationComplete=modifyData() prompt= / /mx:VBox /mx:Application As the issue is known there's no need to file a new bug. Just in case and for future issues, here's the address to our wish form: http://www.adobe.com/support/email/wishform/ Best regards, Patrick From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Rick Root Sent: Monday, October 16, 2006 3:04 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Disappearing list items so, I solved this problem. My data provider was a query returned by a remoting call created like this: cfquery name=qry2 dbtype=query SELECT TABLKEY, TABLFLD FROM application.udf.getalldropdowns WHERE TABLID = '010' ORDER BY TABLFLD /cfquery cfset queryaddrow(qry2,1) cfset querysetcell(qry2,TABLKEY,) cfset querysetcell(qry2,TABLFLD,) cfquery name=qry dbtype=query SELECT * FROM qry2 ORDER BY TABLFLD /cfquery cfset retval.COUNTRIES = qry I did it this way so I could always have a blank item in the dropdown The solution was to change the second querysetcell line to be the following: cfset querysetcell(qry2,TABLFLD,- not selected -) For some reason, the blank item caused every 5th label to disappear for no apparent reason. This seems like a bug. What's the address to report flex bugs to? Rick -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like 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 __,_._,___
[flexcoders] How can I replace icon and disclosure icons in the tree using of TreeItemRender?
Hi all, I have studied all the tree related messages in this forum, but still I didn't find an aswer for my question. I want to control the tree's look and feel from one focal point, which is TreeItemRenderer. I need it for the framework I design. I don't want to use icon functions or label functions. So, I was looking for the way how I can replace an icon from within the TreeItemRenderer.I saw different solutions using Image, but this is not what I want. I just want to replace an icon in the fashion similar to that of the icon function, but I want to do it in the TreeItemRenderer. The same I want to do with the disclosure icon. I just want to replace it from the TreeItemRenderer as well. I didn't find ways to do it. TreeItemRenderer has attributes icon and disclosureIcon which are of IFlexDisplayObject type. But I didn't find a way to assign my png image to them. Please, help. Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Why defaultButton do not work when in TabNavigator?
The workaround that I know of is use the property enter of the textinput.mx:TextInput enter=doThis()/RegardsRogerio On 10/16/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: As far as I remember, Adobe knows about this bug and it would be fixed in upcoming updater release. Also it seems that there is no workaround... On 10/13/06, hank williams [EMAIL PROTECTED] wrote: I am encountering this same problem, namely that the defaultButton feature doesnt work inside a tabnavigator. Is this confirmed as a known bug, and is there a work around? Hank __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] addChild RemoveChild
Hello all , Is there any way by which i can decide if the any component contains a particular component or not. something like this : box:: VBox = new VBox(); box.width = 100;box.height = 100; if(Vboxid[box]== undefined){ Vboxid.addChild( box );} box.x = Vboxid.mouseX; box.y = Vboxid.mouseY; Igetrun timeerror at if condition ,The simplestwayI thought was to keep one Boolean and toggle it ..But I think there should be someother way Please tell me what is correct way todo it? Regards Ps __._,_.___ -- 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] Invalidating a control for IMMEDIATE redraw?
Hi,The only way to use a progress bar in a single threaded environment is to break it.I don't know exactly what you are doing but, I had the same problem making a documenter in AS3. I was able to break up the process into a stack, run throught a Timer loop at the end of each action. The thing is you have to put your directives in a stack that can be poped and then run like a 100 millisecond timer that waits for the next queued directive. At this time you could call your;myProgressBar.validateNow ();then the timer end handler will invoke the next stack call.Peace, MikeOn 10/16/06, Steve Kellogg @ Project SOC [EMAIL PROTECTED] wrote: Hello, I've got a long CPU routine, and I'm using a progress bar to show the user that we're making…. progress.. The PROBLEM is that the progress bar doesn't seem to be updating until my long CPU TASK is complete (presumably because I'm not relinquishing the CPU during the routine). Is there anyway to tell Flex/Flash to IMMEDIATELY redraw an element in the UI? Thanks in advance for any advice. Steve Steve Kellogg Peak8 Solutions 1401 14th Street Boulder, Colorado 80302, USA Fax: 303.415.2597 E-Mail: [EMAIL PROTECTED] -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Acceptance testing
Im familiar with Mercury, and downloaded QTP last week. Im not a fan of spending that much money on something that is so basic (acceptance tests), not to mention that anything with a 300MB download is a red flag to me, haha. I found this little tool that supports testing Flex apps: http://www.iopus.com/imacros/, and its a lot cheaper than QTP. Ive been playing with it for the past couple days, and it works pretty well. The only thing that I find is lacking, and maybe because its the demo version, are the reports of the test results. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: Saturday, October 14, 2006 6:51 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Acceptance testing If you're interested in functional testing with Mercury QTP I can get you on our beta, let me know off-list. Note that you need to be a QTP user (or talk to their sales about becoming one) for this to be of value. Matt -Original Message- From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Dimitrios Gianninas Sent: Saturday, October 14, 2006 6:16 AM To: [EMAIL PROTECTED]ups.com Subject: RE: [flexcoders] Acceptance testing Hi, There are 2 things available. Well 2 different things :) 1) FlexUnit - this allows u to write test cases a la JUnit for your AS3 classes (http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libr aries) 2) Mercury QuickTest Pro 9+ supports automated testing of applications built with Flex. This is type of thing where u record action, play them back and do some validation. For #2, you will have to contact Adobe about further info, or perhaps some Adobe employee can reply to this thread with further info. Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: [EMAIL PROTECTED]ups.com on behalf of Allen Riddle Sent: Fri 10/13/2006 12:24 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Acceptance testing Does anybody know of any functional or acceptance testing tools for Flex? I want to write acceptance testing scripts for my Flex app. Allen Riddle Sofware Development x3217 __._,_.___ -- 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] Login Component -- Please comment
Good morning all, I am copying 4 files that make up my LOGIN component. login.mxml -- (wrapped it in an application tag for testing) CF/login.cfc -- (Coldfusion component to access database and handle business rules UTIL/modelLocator.as -- for sharing data and handling events VO/users.as -- Users class It works FINE! it is NOT very OOPS and would like to see what others will suggest to make it simpler, easier to follow, less code, etc. (on purpose, there is no style sheets, etc.) I am a single developer who will be the only one supporting this code (ok, actually a LAZY developer who does not like to write extra code just to loosely-couple modules). I expect some interesting discussions since about 1/2 of the people in this forum are very OOP's focused and see the solution to everything as a class and the other 1/2 seem to be application programmers from (VB/Delphi/) who are somewhat class challenged (and certainly actionscript3 challenged) Bruce - LOGIN.MXML - ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import vo.Users; import mx.rpc.events.ResultEvent; import mx.rpc.events.FaultEvent; import util.ModelLocator; import mx.controls.Alert; [Bindable] public var model:ModelLocator = ModelLocator.getInstance(); private function processLoginResults( event : ResultEvent) : void { model.currentUser = new Users(); // EVERYTHING RETURNED FROM CFC IS A STRING AND UPPERCASE model.currentUser.loggedIn = (event.result.LOGGEDIN == 'true'); // CHECK FIRST TO SEE IF SUCCESSFUL LOGIN if (model.currentUser.loggedIn) { model.currentUser.userID = event.result.USERID; model.currentUser.firstName = event.result.FIRSTNAME; model.currentUser.lastName = event.result.LASTNAME; laStatus.text = Hello + model.currentUser.firstName; } else laStatus.text = event.result.STATUS; // DISPLAY ERROR MSG IF NOT SUCCESSFUL } private function showError(event: FaultEvent, funcName : String) :void { Alert.show(event.fault.faultDetail, Database Error - function: + funcName); } public function processOK ( event: Event) : void { cfcLogin.processLogin(txtUserID.text, txtPassword.text) ; } ]] /mx:Script mx:RemoteObject id=cfcLogin destination=ColdFusion source=lumber.CF.login showBusyCursor=true fault=showError(event, 'Login') mx:method name=processLogin result=processLoginResults(event) / /mx:RemoteObject mx:Panel id=panelLogin title=Please Login defaultButton={pbOK} mx:Form mx:FormItem label=User Name mx:TextInput id=txtUserID/ /mx:FormItem mx:FormItem label=Password mx:TextInput id=txtPassword displayAsPassword=true / /mx:FormItem /mx:Form mx:ControlBar horizontalAlign=right mx:Label id = laStatus text=Status: Not Logged in / mx:Button id=pbOK label=OK width=70 click=processOK( event )/ mx:Button id=pbCancel label=Cancel width=70 / /mx:ControlBar /mx:Panel /mx:Application CF/LOGIN.CFC --- cfcomponent !--- ACCEPTS USER NAME AND PASSWORD AND RETURNS a STRUCTURE --- cffunction access=remote name=processLogin output=false returnType=struct cfargument name=userID type=string required=true cfargument name=password type=string required=true !--- 1ST, CREATE THE STRUCTURE AND DEFAULT SOME VALUES --- cfset var myUser = StructNew() cfset myUser.loggedIn = 'false' !--- ATTEMPT TO READ THE USER RECORD --- cfquery name=results datasource=american select userID, firstName, LastName, password from Users where username = '#arguments.userID#' /cfquery cfscript if (results.recordcount eq 0) { // IF NO MATCH ON USERID DISPLAY AN ERROR
Re: [flexcoders] Invalidating a control during a CPU intensive task.
How does the progress bar know how much progress has been made? Is it bound to something, is it listening for an event, it is being updated directly, etc?- DanOn 10/15/06, Steve Kellogg @ Project SOC [EMAIL PROTECTED] wrote: Hello, I've got a long CPU routine, and I'm using a progress bar to show the user that we're making…. progress.. The PROBLEM is that the progress bar doesn't seem to be updating until my long CPU TASK is complete (presumably because I'm not relinquishing the CPU during the routine). Is there anyway to tell Flex/Flash to IMMEDIATELY redraw an element in the UI? Thanks in advance for any advice. Steve Steve Kellogg Peak8 Solutions 1401 14th Street Boulder, Colorado 80302, USA Fax: 303.415.2597 E-Mail: [EMAIL PROTECTED] __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] Binding to a part of an ArrayCollection
Hi, - I a have all my data in an array collection of value objects. - I have a repeater that needs it's dataProvider to be a subset of that array collection What is the recommended way of binding to lets say items 5 to 10 of an array collection? Would my cairngorm command populate a new array in the model? Can I do some simple logic in the binding expression in my view? Think about paging an array collection. Sammi -- 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] addChild RemoveChild
Hi,use; box:VBox = new VBox(); box.width = 100; box.height = 100; if(!Vboxid.contains(box)){ Vboxid.addChild ( box );} box.x = Vboxid.mouseX ; box.y = Vboxid.mouseY;You could use the name property of the box and do a more complicated check.'The above will only work if 'box' is not a local variable. It needs to be an instance of a class. Peace, MikeOn 10/16/06, learner [EMAIL PROTECTED] wrote: Hello all , Is there any way by which i can decide if the any component contains a particular component or not. something like this : box:: VBox = new VBox(); box.width = 100; box.height = 100; if(Vboxid[box]== undefined){ Vboxid.addChild ( box );} box.x = Vboxid.mouseX; box.y = Vboxid.mouseY; Igetrun timeerror at if condition ,The simplestwayI thought was to keep one Boolean and toggle it ..But I think there should be someother way Please tell me what is correct way todo it? Regards Ps -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Problem with RemoteObject Java
The method on your java class appears to be called "doTest", but your MXML method for your RemoteObject is called "createTest"... but that aside, I think something else is wrong with your connectivity because the client can't seem to connect to the channel endpoint. When you compile your mxml file, did you remember to specify a --services command line switch to point to your services-config.xml file (which is typically in /WEB-INF/flex/services-config.xml)? Also, it appears your remoting service destination is using the "my-amf" channel... can you check this channel definition in services-config.xml and if the endpoint uri attribute has a {context.root} token you'll either need to replace this with the web application context root "/myapp" or specify it on the command line as --context-root=/myapp Note that if you change services-config.xml or any of the included services files (such as remoting-config.xml) you'll need to restart the server and recompile your mxml. If you're using Flex Builder you may also want to force a recompile by doing a clean first. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jonathan_mereySent: Wednesday, September 27, 2006 12:49 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Problem with RemoteObject Java Hi, I have an application with flex 2.0, flex data services and java and I want to access methods of my JAVA classes. So I use the remoteObject. Here is the code :Test.javapackage beans;public class Test { public Test() { System.out.println("-= Test start =-"); } public String doTest() { return "-= This is a test =-"; } }remoting-config.xml?xml version="1.0" encoding="UTF-8"?service id="remoting-service" class="flex.messaging.services.RemotingService" messageTypes="flex.mess! aging.messages.RemotingMessage" adapters adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/ /adapters default-channels channel ref="my-amf"/ /default-channels destination id="test" properties sourcebeans.Test/source scopeapplication/scope /properties /destination/serviceindex! .mxml?xml version="1.0"?l! t;mx:App lication xmlns:mx="http://www.adobe.com/2006/mxml" initialize="applicationInit()" layout="absolute" backgroundGradientColors="[#ff, #808080]" viewSourceURL="srcview/index.html" creationComplete="doTest()" mx:Script ![CDATA[ import mx.controls.Alert; import mx.rpc.events.FaultEvent; import mx.collections.ArrayCollection;! ; import flash.events.MouseEvent; import mx.rpc.AsyncToken; import mx.data.*; import mx.managers.*; ! n! bsp;nbs p; [Bindable] private function doTest():void { test.doTest(); } ! ]] /mx:Script mx:RemoteObject id="test" destination="test"mx:method name="createTest"//mx:RemoteObjectWhen I launch the server " -= Test start =-" is printed on tomcat so the remoteObject is good initialized but after there is an error due to the method createTest.Here is the final message when i launch the application :[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed"] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler() at mx.rpc::Responder/fault() nb! sp;at mx.rpc::AsyncRequest/fault() ! at mx.me ssaging::ChannelSet/::faultPendingSends() at mx.messaging::ChannelSet/channelFaultHandler() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.messaging::Channel/mx.messaging:Channel::connectFailed() at mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed() at mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()Please help me. __._,_.___ -- 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] Multiple classes per package
Does anyone know if Actionscript 3 and Flexbuilder2 support multiple classes per package, where only 1 class is declared as public, while the remaining classes are only available inside the package? Eg. package mypackage { public class MainClass { public function MainClass() {} } class HelperClass { public function HelperClass() {} } } Use the 'internal' access modifier: // File mypackage/MainClass.as package mypackage { public class MainClass { // .. } } // File mypackage/HelperClass.as package mypackage { internal class HelperClass { // .. } } Cheers, Claus. -- claus wahlers côdeazur brasil http://codeazur.com.br -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] How do I recompile charts?
Hi Daniel. -the charts all have a style called chartSeriesStyles. This style is an array of strings, each mapping to the name of a CSS selector. These are the selectors that the chart applies to each series, in turn, to get different colors, strokes, etc. per series. - each chart type sets up a set of default selectors, and stuffs the names of those selectors into the chartSeriesStyles style. This is how LineCharts give different strokes to each line series, while columnCharts give different fills to each column series. - the default styles set up by each chart type uses that default halo colors array as a basis for setting up those selectors. So rather than modifying the defaultColors array, I'd suggest you instead just set up your own chartSeriesStyles selectors, with your own colors. I believe there's an example in my chart sampler at http://www.quietlyscheming.com/ Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: Monday, October 16, 2006 4:56 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] How do I recompile charts? I've modified the defaultColors list in the HaloDefaults.as, tocustomise the colours that appear in pie chart wedges, but it seems myapp is using a pre-compiled version, and I don't see the changes.I can't find any way to rebuild the charts (without a lot of faffingaround), as there's no build file, and when I try referencing thesource folders and removing the reference to charts.swc, I just getloads of errors (such as mx:Application and mx:PieChart not beingvalid, even though they still appear in the intellisense.How can I get these changes to the default colours into my project? Ifthere's a better way (I'd rather not modify the source on 5 developermachines, but I don't want to have to write loads of code either).Thanks The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd. __This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __ __._,_.___ -- 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] Text Input color
I don't think there is one built in. If I'm right about that, and if you're talking about the text and not the highlighting of the text, you could create a custom control and use TextFormat Class to set the correct color on mouseDown/move/up and focusOut. How to do that depends (a little) on what text control you are using. - DanOn 10/14/06, baserath_2001 [EMAIL PROTECTED] wrote: Can anyone point me to the property that controls the color ofselected text when a user clicks and drags over text entered in a textinput color?ThanksShawn--Flexcoders Mailing List FAQ: 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] Help with Error Handling Please
I am wondering if anyone has implemented a master error handler and if it is even a good idea. Since all errors raise events, couldn't I just build a master error handler at the application level that listens for those events and takes appropriate action. I figured I would pop up a friendly error warning, log the error and send and email via CFC if I can. Fatal errors should be caught in try catch logic but general non- fatal errors can be handled this way and not interrupt usage of the application except for the part that errored. Any thoughts? Moving forward, I have tried to get general functionality working and I cannot get the errors events to be caught by my listeners. I think I may have them in the wrong scope. How would I attach a global listener to my application mxml and have it listen for errors bubbling up from components? -- 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] Simple way to put a border around an image?
you can embed the image in a canvas and thenset border to the canvas. -bhu1 - Original Message - From: dj To: flexcoders@yahoogroups.com Sent: Monday, October 16, 2006 9:57 AM Subject: [flexcoders] Simple way to put a border around an image? How do you do a simple border around an image, easiest way. Do I really have to use the Rect method for this?thanks,Patrick __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: CFC to AS3 Class Mapping
Hey Adam, Thanks for tip, it worked. I'm sure I tried that before with no success, but it worked today, maybe I had something else missing previously. Derrick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
SV: [flexcoders] TabBar - selected tab text pushed down
The culprit here is the class mx.controls.tabBarClasses.Tab which is the button subclass that TabBar uses. It offsets the label on the selected button with one pixel. I simply solved this by instead using ToggleButtonBar. Från: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] För dorkie dork from dorktownSkickat: den 11 oktober 2006 20:05Till: flexcoders@yahoogroups.comÄmne: Re: [flexcoders] TabBar - selected tab text pushed down I have noticed this too. I think that it is not that the text is pushed down one pixel. It is that the text on a non selected tab is pushed up one pixel until it is selected. At least on my tabbar as all the text seems to be too high. I and another developer have been testing this but we haven't had a chance to go into the class code yet and see if this is true (other parts of the project need to get finished first). Either way, it is an issue I'm trying to resolve as well. JudahPS Increasing your font size by 1 somewhat helps a little bit if that is an option. On 10/11/06, Jimmy Lindh [EMAIL PROTECTED] wrote: The TabBar control seem to have a very annoying little feature hardcodedin the component, namely that the text in the selected tab is pusheddown 1 pixel. Any ideas on how to disable this "feature"?ThanksJimmy Lindh __._,_.___ -- 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: FDS/PHP/AMFPHP
Thank you for the links! My RIA shouldn't ever need more than 1 CPU so the FDS Express seems like it could be what I want, but the one article I did find, that I posted in the original message, was pretty short on details, and doesn't work for me for some reason. Any better tutorials and examples of using FDS? My RIA will eventually be a commercial app in the $1500-$2000 range per site, but WebORB Professional, at $800 a CPU, will be too expensive. I can get AMF0 with AMFPHP, assuming I can ever get it working, so it really comes down to FDS, AMFPHP, or WebORB Standard Edition. Which one is easier from a beginners standpoint, and where can I find working examples with great documentation? Source files would be nice too? Or maybe you've got a simple one I could look at? Jason --- In flexcoders@yahoogroups.com, Renaun Erickson [EMAIL PROTECTED] wrote: No PHP packages support the full functionality of Flex data access features, which Flex Data Services server provides. Part of Flex data access is RPC serivces, which includes Remoting. When it first came out, before Flex, it was called Flash MX Remoting. In Flex remoting is done by the RemoteObject component using Action Message Format (AMF). With Flex 2 AMF3 was introduced a newer AMF format. There are a couple PHP projects support AMF0/3 a break down is below. AMFPHP supports AMF0, uses PHP4 and has been around for a long time. SabreAMF (http://osflash.org/sabreamf) - supports AMF0/AMF3 and uses PHP5. This is a generic server that can be extend for many uses. This is under a BSD license. WebORB for PHP (http://themidnightcoders.com/weborb/php/index.htm) - supports AMF0/AMF3 and uses PHP5. Highly structure to act like a FDS server setup. This is part of a large suite of tools and is under a GPL license. Both SabreAMF and WebORB for PHP has plans for support more Flex data access features, which FDS typifies. I believe WebORB for PHP's roadmap is geared for a sooner release. You can find examples of how to use Flex to connect to AMF0 servers and also how to connect to SabreAMF and WebORB for PHP on my blog at http://renaun.com/. Hope that helps, Renaun http://renaun.com/ --- In flexcoders@yahoogroups.com, jmfillman jmfillman@ wrote: I've tried all these tutorials, and can't get any of them to work. The PHP (http://www.adobe.com/devnet/flex/articles/flex2_php.html) article runs without errors but doesn't load data from the database or submit it, the AMFPHP (http://www.adobe.com/devnet/flex/articles/flex2_amfphp.html) example generates errors in Flex 2.0. I'm assuming it's a difference between the Beta and final release. The only FDS example I've found (http://blogs.adobe.com/mtg/2006/08/my_first_hibernate_enabled_fle.ht ml) proved no better. I get a lengthy error that others have received, but the author hasn't posted fixes that work for me. Probably has to do with me more than these posts, but are there working and better documented examples out there? I'd love to use FDS with PHP and MySQL, but I don't find anything useful that gives detailed steps for a beginner in configuring and then querying and adding/updating from Flex 2.0. It's be nice if someone created a wizard for FDS like they did for ColdFusion! -- 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] Invalidating a control during a CPU intensive task.
Thanks for your reply. The value of the progress bar is BOUND to a var. I also tried updating it directly. Ive also tried replacing the progress bar with a LABEL that just displays text explaining where were at, but I get the same result. Best regards, Steve From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Freiman Sent: Monday, October 16, 2006 8:03 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Invalidating a control during a CPU intensive task. How does the progress bar know how much progress has been made? Is it bound to something, is it listening for an event, it is being updated directly, etc? - Dan On 10/15/06, Steve Kellogg @ Project SOC [EMAIL PROTECTED] wrote: Hello, I've got a long CPU routine, and I'm using a progress bar to show the user that we're making. progress.. The PROBLEM is that the progress bar doesn't seem to be updating until my long CPU TASK is complete (presumably because I'm not relinquishing the CPU during the routine). Is there anyway to tell Flex/Flash to IMMEDIATELY redraw an element in the UI? Thanks in advance for any advice. Steve Steve Kellogg Peak8 Solutions 1401 14th Street Boulder, Colorado 80302, USA Fax: 303.415.2597 E-Mail: [EMAIL PROTECTED] __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] Binding to a part of an ArrayCollection
Figured out a way: ListCollectionView(originalArray) And then apply a filter. However I did opt for another method as I found this to slow. Sammi -- 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] Disappearing list items
Shannon Hicks wrote: I see two things I'd do differently... 1. querysetcell takes three arguments... querycetcell(query,column,value,row) third argument is optional, and defaults to the last row. QueryAddRow always adds to the end of a query, so the default is perfectly acceptable. 2. you don't need to do the query of a query at the end you can just do cfset retval.COUNTRIES = qry2 I could do that if I wanted the query in the exact same order. However, since I want the blank row that I added to be at the BEGINNING of the query, I have to do the query of queries rick -- 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] Disappearing list items
Douglas Knudsen wrote: odd. Myself, I prefer not to return queries from CF to Flex. Instead convert to a array of objects or XML. That said, maybe try using the SQL for it direct, in case the Query functions are flaking somehow. The below would be for Oracle. You can't combine a query of queries with a database query in a single query. My datasource is application.udf.getalldropdowns, not a database table. And unfortunately, coldfusion requires a from clause and there is no dual. Or sysibm.sysdummy1. I suppose I could create a single row query to do the union with... That does work. Still doesn't solve the problem if the first items label field is an empty string. I reversed the order with the empty label at the end and everything was fine.. only when the empty label was the first item... crazy. At any rate, I'm perfectly happy with the solution of my labels being - not selected - instead of empty. Rick -- 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: Including one swf file from another (crossdomain)
Answering my own question..the solution was to add : Security.allowDomain(www.xyz.com); in the loader file . But i'm now having other issues when the include happens. On 10/11/06, Flex Learner [EMAIL PROTECTED] wrote: Hi, Can anyone please post an example of including an swf from another swf – where the 2 files are in different domains. The simplest way I could think is to have an mx:Image source= www.xyz.com/a.swf / - but this gives a security issue stating : SecurityError: Error #2047: Security sandbox violation: parent: http://abc.com/abc.swf cannot access http://xyz.com/xyz.swf. at flash.display::DisplayObject/get parent() at mx.managers::SystemManager/::executeCallbacks() at mx.managers::SystemManager/::frameEndHandler() I've http://xyz.com/ crossdomain.xml (and abc.com too - just trying my luck) as : ?xml version=1.0?!-- http://www.foo.com/ crossdomain.xml --cross-domain-policy allow-access-from domain=*/ /cross-domain-policy Any pointers will really be helpful, since i'm not able to figure what i'm missing conceptually. The scenario is to provide a lightweight swf to our clients, and have it call the main swf - which is hosted on our company domain - and the lite swf can handle timeout/retry etc. Thanks! Joseph __._,_.___ -- 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] VO Mapping, some basic questions
Hi List, I am working with CakePHP 1.2, CakeAMFPHP, and Flex2 SDK to develop a fairly complex community portal. I can't say too much due to client restrictions, so I will ask my questions is a very broad way.. :) I know that, in AMFPHP for AMF0 there was a var sent back to Flash called _excplicitType which, when used with Object.registerClass() would map the reurned value object to the appropriate class. I had all that working, so how it runs is not a problem. My issue comes up with AMF0 anf Flex2: 1. what is/are the flag/flags that Flex looks for to map returned objects to their counterparts inside the FLex App? 2. Is Cairngorn the better way to deal with this issue? For those who are not familiar with CakePHP, it is a Data Modeling Framework ( well, among other things) which returns Models and assosiated values. So if a User had many Ariticles, then Cake would retun a User object which would contain a Article object containing all the articles for the User. Any hint, tips, etc would be greatly appritiated, cheers, Julian (aka drSwank) -- 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] Invalidating a control during a CPU intensive task.
Hi,did you see my reply on your other post that asked the same thing?Peace, MikeOn 10/16/06, Steve Kellogg @ Project SOC [EMAIL PROTECTED] wrote: Thanks for your reply. The value of the progress bar is BOUND to a var. I also tried updating it directly. I've also tried replacing the progress bar with a LABEL that just displays text explaining where we're at, but I get the same result. Best regards, Steve From: [EMAIL PROTECTED]ups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Daniel Freiman Sent: Monday, October 16, 2006 8:03 AM To: [EMAIL PROTECTED]ups.com Subject: Re: [flexcoders] Invalidating a control during a CPU intensive task. How does the progress bar know how much progress has been made? Is it bound to something, is it listening for an event, it is being updated directly, etc? - Dan On 10/15/06, Steve Kellogg @ Project SOC [EMAIL PROTECTED] wrote: Hello, I've got a long CPU routine, and I'm using a progress bar to show the user that we're making…. progress.. The PROBLEM is that the progress bar doesn't seem to be updating until my long CPU TASK is complete (presumably because I'm not relinquishing the CPU during the routine). Is there anyway to tell Flex/Flash to IMMEDIATELY redraw an element in the UI? Thanks in advance for any advice. Steve Steve Kellogg Peak8 Solutions 1401 14th Street Boulder, Colorado 80302, USA Fax: 303.415.2597 E-Mail: [EMAIL PROTECTED] -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Invalidating a control for IMMEDIATE redraw?
Thats what I was afraid of. Although I KNOW that I should be splitting this routine, the problem is that theres a long segment of time where Im reading a large file from disk (yes, this application is wrapped into an .exe using SWFKit, so I have access to read/write of the local file system. I WISH that the file reading was async, but according to the SWFKit docs, thats not the case. Best Regards. Steve From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Monday, October 16, 2006 9:22 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Invalidating a control for IMMEDIATE redraw? Hi, The only way to use a progress bar in a single threaded environment is to break it. I don't know exactly what you are doing but, I had the same problem making a documenter in AS3. I was able to break up the process into a stack, run throught a Timer loop at the end of each action. The thing is you have to put your directives in a stack that can be poped and then run like a 100 millisecond timer that waits for the next queued directive. At this time you could call your; myProgressBar.validateNow (); then the timer end handler will invoke the next stack call. Peace, Mike On 10/16/06, Steve Kellogg @ Project SOC [EMAIL PROTECTED] wrote: Hello, I've got a long CPU routine, and I'm using a progress bar to show the user that we're making. progress.. The PROBLEM is that the progress bar doesn't seem to be updating until my long CPU TASK is complete (presumably because I'm not relinquishing the CPU during the routine). Is there anyway to tell Flex/Flash to IMMEDIATELY redraw an element in the UI? Thanks in advance for any advice. Steve Steve Kellogg Peak8 Solutions 1401 14th Street Boulder, Colorado 80302, USA Fax: 303.415.2597 E-Mail: [EMAIL PROTECTED] -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Disappearing list items
Douglas, out of curiosity how come you prefer to not send queries from CF to Flex? Also, what do you do instead? You mentioned converting the query record-set to an Array of Objects or XML. What benefits do you get on the Flex end for doing this considering its more work for CF? | Aaron West | aaron AT trajiklyhip DOT com | http://www.trajiklyhip.com/blog/ | Certified Advanced Adobe ColdFusion MX 7 Developer | Certified Macromedia FlashMX Developer | Adobe Community Expert On Oct 16, 2006, at 8:55 AM, Douglas Knudsen wrote: odd. Myself, I prefer not to return queries from CF to Flex. Instead convert to a array of objects or XML. That said, maybe try using the SQL for it direct, in case the Query functions are flaking somehow. The below would be for Oracle. cfquery name=qry2 dbtype=query> SELECT TABLKEY, TABLFLD FROM application.udf.getalldropdowns WHERE TABLID = '010' UNION SELECT '' AS TABLKEY, '' AS TABLFLD FROM dual ORDER BY TABLFLD /cfquery> DK On 10/16/06, Rick Root [EMAIL PROTECTED]> wrote:so, I solved this problem. My data provider was a query returned by a remoting call created like this: cfquery name=qry2 dbtype=query> SELECT TABLKEY, TABLFLD FROM application.udf.getalldropdowns WHERE TABLID = '010' ORDER BY TABLFLD /cfquery> cfset queryaddrow(qry2,1)> cfset querysetcell(qry2,TABLKEY,)> cfset querysetcell(qry2,TABLFLD,)> cfquery name=qry dbtype=query> SELECT * FROM qry2 ORDER BY TABLFLD /cfquery> cfset retval.COUNTRIES = qry> I did it this way so I could always have a blank item in the dropdown The solution was to change the second querysetcell line to be the following: cfset querysetcell(qry2,TABLFLD,- not selected -)> For some reason, the blank item caused every 5th label to disappear for no apparent reason. This seems like a bug. What's the address to report flex bugs to? Rick -- 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/ -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com image.tiff> SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company x-tad-smaller Your email settings: Individual Email|Traditional/x-tad-smallerx-tad-smallerChange settings via the Web/x-tad-smallerx-tad-smaller (Yahoo! ID required) /x-tad-smallerx-tad-smaller Change settings via email: /x-tad-smallerx-tad-smallerSwitch delivery to Daily Digest/x-tad-smallerx-tad-smaller | /x-tad-smallerx-tad-smallerSwitch to Fully Featured/x-tad-smallerx-tad-smaller /x-tad-smallerx-tad-smaller Visit Your Group /x-tad-smallerx-tad-smaller /x-tad-smallerx-tad-smaller| /x-tad-smallerx-tad-smallerYahoo! Groups Terms of Use /x-tad-smallerx-tad-smaller /x-tad-smallerx-tad-smaller| /x-tad-smallerx-tad-smallerUnsubscribe /x-tad-smaller__,_._,___
[flexcoders] ComboBox itemEditor example inside of DataGrid??
Hello All, I am WAY beyond frustrated at the moment, and am ready to throw this computer out the window right now. I've been able to get this to work in the most simple of examples - BUT, here is what I need to do that may be considered unique in my case (although, not at all uncommon in most other typical programming environments). In my case, my OrderDetails DataGrid contains a 'ProductID' Field from the 'Products' Table. It would be redundant to create an additional field called ProductName within my OrderDetails Table - since it already exists in my Products Table. I know for a fact, that there is a way for the ComboBox itemEditor, to display the Label property of the Product (in this case, ProductName), but still leave intact, the Numeric Data property of the Product (in this case, ProductID) - so that part gets written back to the DataBase. I am having a TERRIBLE time, finding an example of how to have the ComboBox display one thing, but set the value in the DataGrid, to some OTHER thing - Could any of you help me in this regard? Thanks in advance, Mike -- 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] by Jove, I think I got it! I can NOW return an OBJECT from CF
1st, thanks to all who have helped guide this OOPS challenged person! 2nd, let me explain what works for those other lost souls... Directory Structure: VO = Actionscript Classes CF = My ColdFusion Business Rules (mostly SQL statements) CFC = Coldfusion value objects Matching my VO In the following example, I have a USERS class that I am returning from CF to FLEX VO/Users.as -- has to have the following line pointing to the CFC [RemoteClass(alias=Lumber.CFC.Users)] CFC/Users.cfc -- has to have alias pointing to itself cfcomponent output=false alias=Lumber.CFC.Users CF/login.cfc -- return type points to CFC and you have to create the component cffunction access=remote name=processLogin output=false returnType=Lumber.CFC.Users ... ... myUser = createObject(component, Lumber.CFC.Users).init(); ... ... return myUser Life is getting a LITTLE less confusing! 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] custom cursors default busy cursor
i've implemented abdul qabiz's custom cursor classes they work plenty fine. however one thing i've noticed is that on longer remoting operations, the default busy cursor isn't being displayed, the current custom cursor is displayed instead. a hint that something's happening to the user for these sort of things would be useful. anyone have any ideas on how to get the default busy cursor back? thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] brasil
Gostaria de saber se existe algum brasileiro na lista aqui que poderia me ajudar a começar a desenvolver em flex com database, eu já programo em coldfusion, queria começar com a ajuda de vcsatt.Flávio Santos(made in Brazil) __._,_.___ -- 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] Disappearing list items
Aaron West wrote: Douglas, out of curiosity how come you prefer to not send queries from CF to Flex? Also, what do you do instead? You mentioned converting the query record-set to an Array of Objects or XML. What benefits do you get on the Flex end for doing this considering its more work for CF? I can't speak for Douglas, but I know that some people don't use coldfusion queries because they aren't portable objects.. ie, in the web service world, if you want your web service to be consumed by something other than flash player or coldfusion, you can't use queries as return types. Personally, since I know that the flash player is my recipient, I'd rather keep things simple and just return query objects. Rick -- 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] brasil
soy de chile , te ayudo On 10/16/06, Flávio Santos [EMAIL PROTECTED] wrote: Gostaria de saber se existe algum brasileiro na lista aqui que poderia me ajudar a começar a desenvolver em flex com database, eu já programo em coldfusion, queria começar com a ajuda de vcsatt.Flávio Santos(made in Brazil) __._,_.___ -- 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] SWF to image?
Does anyone have a suggestion on a swf to image tool? Preferrably not a standalone client app but rather something than can be run on a server? (user submits swf to cf/php etc) I've tried a few and the output quality is not so great Not directly flex related...but thought I'd try :) -- 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] Disappearing list items
I'm inviting myself into the fight club here maybe...the first rulelolConverting the query to a array of objects means I can map them to AS objects enforcing my model. This mapping is one of my three favourite things about Flex. Example, say you want to populate a datagrid with query data and make it editable. Having this AS - CFC mapping makes this cake by returning a array of objects to Flex, then Flex returning that SAME Array of objects modified back to CF. If you populated the datagrid with a query result, how do you get the edited data back to CF? Possible yes, but painful IMHO. Data that will never be edited I'd probably use XML for. Others will disagree, but that's just been my experience so far. XML is fast light and cheap via RemoteObject. Actually I found it to be real fast via HTTPService too. Without sounding like the 'herd mentality', its just a best practise too, eh? And one more reason, its just more sexy! Having been a Math major I need all the help I can get in that department. hehe! DKDisclaimer - If any of the above annoys you, sue the coffe makers that forced me to consume so much coffee today. :)On 10/16/06, Aaron West [EMAIL PROTECTED] wrote:Douglas, out of curiosity how come you prefer to not send queries from CF to Flex? Also, what do you do instead? You mentioned convertingthe query record-set to an Array of Objects or XML.What benefits doyouget on the Flex end for doing this considering its more work for CF? |Aaron West|aaron AT trajiklyhip DOT com|http://www.trajiklyhip.com/blog/|Certified Advanced Adobe ColdFusion MX 7 Developer|Certified Macromedia FlashMX Developer |Adobe Community ExpertOn Oct 16, 2006, at 8:55 AM, Douglas Knudsen wrote:odd. Myself, I prefer not to return queries from CF to Flex. Instead convert to a array of objects or XML. That said, maybe try using the SQL for it direct, in case the Query functions are flaking somehow. The below would be for Oracle. cfquery name=qry2 dbtype=query SELECT TABLKEY, TABLFLD FROM application.udf.getalldropdowns WHERE TABLID = '010' UNION SELECT '' AS TABLKEY, '' AS TABLFLD FROM dual ORDER BY TABLFLD /cfquery DK On 10/16/06, Rick Root [EMAIL PROTECTED] wrote:so, I solved this problem. My data provider was a query returned by a remoting call created like this: cfquery name=qry2 dbtype=query SELECT TABLKEY, TABLFLD FROM application.udf.getalldropdowns WHERE TABLID = '010' ORDER BY TABLFLD /cfquery cfset queryaddrow(qry2,1) cfset querysetcell(qry2,TABLKEY,) cfset querysetcell(qry2,TABLFLD,) cfquery name=qry dbtype=query SELECT * FROM qry2 ORDER BY TABLFLD /cfquery cfset retval.COUNTRIES = qry I did it this way so I could always have a blank item in the dropdown The solution was to change the second querysetcell line to be the following: cfset querysetcell(qry2,TABLFLD,- not selected -) For some reason, the blank item caused every 5th label to disappear for no apparent reason. This seems like a bug.What's the address to report flex bugs to? Rick -- 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 -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like 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 __,_._,___
[flexcoders] Re: Now Shipping: ActionScript 3.0 Cook book – Solutions for Flash Platform and F
Book just arrived UPS. So it shipped same day as the order (Amazon US), and arrived next business day. Shan __._,_.___ -- 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.408 / Virus Database: 268.13.4/476 - Release Date: 10/14/2006
[flexcoders] Character Sets?
Greetings - Wondering if Flex and the Flash player use the character set specified in the HTML wrapper or if there is character set support/ configuration elsewhere? cheers, ethan -- 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] Little mask question/container bounding issue
Hey guys and girls, I know this seems a little simple to add to the list, but I am eagerly awaiting my Actionscript3.0 book, coming from Amazon tomorrow, then I'll be able to study this stuff with out listing. I have an HBox holding a bunch of images for the my thumbnail, I have an issue where if the thumbnails load more images than my HBox displays it autosizing, changing my entire nav, throwing it off. Idealy, I want to make the HBox not keep resizing if my thumbnails is greater than the width of the box. I should use a mask as well, how do i apply one to this: public function addThumb(target:SWFLoader):void { deleteLastBorder(); var image:Image = new Image(); image.filters = [new DropShadowFilter(4,45,0x00,1,4,4,.3)] var bmp:Bitmap = Bitmap(target.content); var newBitmap:Bitmap = new Bitmap(Bitmap(target.content).bitmapData.clone()) newBitmap.width = 60; newBitmap.height = 45; image.width = 60; image.height = 45; image.setStyle(moveEffect, Move); image.setStyle(addedEffect, Fade); image.buttonMode = true; image.addEventListener(MouseEvent.CLICK, image_handler); image.addEventListener(MouseEvent.ROLL_OUT, image_handler); image.addEventListener(MouseEvent.ROLL_OVER, image_handler); var border1:Sprite = new Sprite(); border1.graphics.lineStyle(1, 0xcc, 1.0); border1.graphics.drawRect(-3, -3, image.width+6, image.height+6); image.addChild(border1); image.addChild(newBitmap); images_container.addChild(image); lastImage = image; lastBorder = border1; THUMBARRAY.push(image); index++; } Thanks so much, Patrick Lemiuex patrick AT me.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: VO Mapping, some basic questions
AMFPHP uses _excplicitType or advancedmappings.php to make mapping easier. With PHP 5 there is some class introspection code that makes it possible to find the object mapping automacitally. Both SabreAMF and WebORB for PHP supports the auto object mapping. As FDS and Coldfusion connectivity is based on Java it also is very capable of class introspection and auto mapping. Basically the mapping as nothing to do with Flex. Now in regards to your question about Flex side of the VO mapping. Here is a sample AS VO file I use in my WebORB for PHP example. package com.renaun.samples.login.vo { import flash.net.registerClassAlias; [RemoteClass(alias=com.renaun.samples.login.vo.BookVO)] [Bindable] public class BookVO { public var name : String; public var bookid : String; public var publishdate : String; public var createddate : Date; } } You can even type the objects in ArrayCollections by this code: [Bindable] [ArrayElementType(com.renaun.samples.vo.BookVO)] private var books:ArrayCollection; Renaun --- In flexcoders@yahoogroups.com, dr.swank [EMAIL PROTECTED] wrote: Hi List, I am working with CakePHP 1.2, CakeAMFPHP, and Flex2 SDK to develop a fairly complex community portal. I can't say too much due to client restrictions, so I will ask my questions is a very broad way.. :) I know that, in AMFPHP for AMF0 there was a var sent back to Flash called _excplicitType which, when used with Object.registerClass() would map the reurned value object to the appropriate class. I had all that working, so how it runs is not a problem. My issue comes up with AMF0 anf Flex2: 1. what is/are the flag/flags that Flex looks for to map returned objects to their counterparts inside the FLex App? 2. Is Cairngorn the better way to deal with this issue? For those who are not familiar with CakePHP, it is a Data Modeling Framework ( well, among other things) which returns Models and assosiated values. So if a User had many Ariticles, then Cake would retun a User object which would contain a Article object containing all the articles for the User. Any hint, tips, etc would be greatly appritiated, cheers, Julian (aka drSwank) -- 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 do I recompile charts?
Anyone? --- In flexcoders@yahoogroups.com, d.tuppeny [EMAIL PROTECTED] wrote: I've modified the defaultColors list in the HaloDefaults.as, to customise the colours that appear in pie chart wedges, but it seems my app is using a pre-compiled version, and I don't see the changes. I can't find any way to rebuild the charts (without a lot of faffing around), as there's no build file, and when I try referencing the source folders and removing the reference to charts.swc, I just get loads of errors (such as mx:Application and mx:PieChart not being valid, even though they still appear in the intellisense. How can I get these changes to the default colours into my project? If there's a better way (I'd rather not modify the source on 5 developer machines, but I don't want to have to write loads of code either). Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Multiline ComboBox
Does anyone know how I can get my combobox to display 2 lines as opposed to only one line. I can display 2 lines in the dropdown area, but not in the main combobox display. Here is what I have so far: public function initRenderer():void { var myRenderer:ClassFactory = new ClassFactory(mx.controls.Text); myRenderer.properties = {maxHeight:60}; this.cb.itemRenderer = myRenderer; } mx:ComboBox id=cb fontSize=18 maxWidth={this.width} dataProvider={cbData} labelField={cbLabelField} selectedIndex={getSelectedIndex()} change=comboBoxChange(cb.selectedItem)/ Thanks in advance, Michael __._,_.___ -- 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: FDS/PHP/AMFPHP
The PHP RIA SDK by Adobe can be found at: http://code.google.com/p/adobe-php-sdk/ (news) http://devzone.zend.com/node/view/id/1010 PHP RIA SDK is a project started by Mike Potter, which is intended to enable PHP developers to build solutions with Adobe RIA technologies quickly. WebORB for PHP has very good documentation and examples. I have a few examples with source code of AMFPHP (with and without Cairngorm), SabreAMF, and WebORB for PHP on my blog. Here's the links: http://renaun.com/blog/2006/09/23/103/ http://renaun.com/blog/2006/09/01/93/ http://renaun.com/blog/2006/07/25/70/ Renaun http://renaun.com/blog/ --- In flexcoders@yahoogroups.com, jmfillman [EMAIL PROTECTED] wrote: Thank you for the links! My RIA shouldn't ever need more than 1 CPU so the FDS Express seems like it could be what I want, but the one article I did find, that I posted in the original message, was pretty short on details, and doesn't work for me for some reason. Any better tutorials and examples of using FDS? My RIA will eventually be a commercial app in the $1500-$2000 range per site, but WebORB Professional, at $800 a CPU, will be too expensive. I can get AMF0 with AMFPHP, assuming I can ever get it working, so it really comes down to FDS, AMFPHP, or WebORB Standard Edition. Which one is easier from a beginners standpoint, and where can I find working examples with great documentation? Source files would be nice too? Or maybe you've got a simple one I could look at? Jason --- In flexcoders@yahoogroups.com, Renaun Erickson renaun@ wrote: No PHP packages support the full functionality of Flex data access features, which Flex Data Services server provides. Part of Flex data access is RPC serivces, which includes Remoting. When it first came out, before Flex, it was called Flash MX Remoting. In Flex remoting is done by the RemoteObject component using Action Message Format (AMF). With Flex 2 AMF3 was introduced a newer AMF format. There are a couple PHP projects support AMF0/3 a break down is below. AMFPHP supports AMF0, uses PHP4 and has been around for a long time. SabreAMF (http://osflash.org/sabreamf) - supports AMF0/AMF3 and uses PHP5. This is a generic server that can be extend for many uses. This is under a BSD license. WebORB for PHP (http://themidnightcoders.com/weborb/php/index.htm) - supports AMF0/AMF3 and uses PHP5. Highly structure to act like a FDS server setup. This is part of a large suite of tools and is under a GPL license. Both SabreAMF and WebORB for PHP has plans for support more Flex data access features, which FDS typifies. I believe WebORB for PHP's roadmap is geared for a sooner release. You can find examples of how to use Flex to connect to AMF0 servers and also how to connect to SabreAMF and WebORB for PHP on my blog at http://renaun.com/. Hope that helps, Renaun http://renaun.com/ --- In flexcoders@yahoogroups.com, jmfillman jmfillman@ wrote: I've tried all these tutorials, and can't get any of them to work. The PHP (http://www.adobe.com/devnet/flex/articles/flex2_php.html) article runs without errors but doesn't load data from the database or submit it, the AMFPHP (http://www.adobe.com/devnet/flex/articles/flex2_amfphp.html) example generates errors in Flex 2.0. I'm assuming it's a difference between the Beta and final release. The only FDS example I've found (http://blogs.adobe.com/mtg/2006/08/my_first_hibernate_enabled_fle.ht ml) proved no better. I get a lengthy error that others have received, but the author hasn't posted fixes that work for me. Probably has to do with me more than these posts, but are there working and better documented examples out there? I'd love to use FDS with PHP and MySQL, but I don't find anything useful that gives detailed steps for a beginner in configuring and then querying and adding/updating from Flex 2.0. It's be nice if someone created a wizard for FDS like they did for ColdFusion! -- 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] Invalidating a control during a CPU intensive task.
There are two issues:First, the progress bar is listening for your source to send events that progress was made (that's the way bound variables are implemented). I forget whether events are dispatched immediately, or at the next free moment. If it's immediately, than this isn't a problem. Otherwise, you're going to have to update the progress directly. Second, the Progress bar redraws itself using updateDisplayList(). Whenever the progress (the internal value) is updated in the bar, the bar calls invalidateDisplayList(). Invalidate display list tells updateDisplayList() to run at the next free moment. In your scenerio, there is no next free moment, so we need to shortcut that wait. Normally this would be done by extending the progress bar and overriding some functionality, but everything you need to get to is private so we can't do that...sort of. Something that might work would be to override invalidateDisplayList() and have it call updateDisplayList() intead of doLater(updateDisplayList). However, this is a bad idea because it might cause an error on initialization and in general isn't great for performance. However, if the progress bar isn't used much it might work fine for your purposes. Otherwise you'd need to update the value directly instead of being bound. You'd want to do that through a function you create (let's call it setProgressNow) that calls setProgress() and then calls updateDisplayList() that sets the progress and then calls updateDisplayList immediately. Let me know if any of that didn't make sense or won't work for some reason I haven't thought of.- DanOn 10/16/06, Steve Kellogg @ Project SOC [EMAIL PROTECTED] wrote: Thanks for your reply. The value of the progress bar is BOUND to a var. I also tried updating it directly. I've also tried replacing the progress bar with a LABEL that just displays text explaining where we're at, but I get the same result. Best regards, Steve From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Daniel Freiman Sent: Monday, October 16, 2006 8:03 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Invalidating a control during a CPU intensive task. How does the progress bar know how much progress has been made? Is it bound to something, is it listening for an event, it is being updated directly, etc? - Dan On 10/15/06, Steve Kellogg @ Project SOC [EMAIL PROTECTED] wrote: Hello, I've got a long CPU routine, and I'm using a progress bar to show the user that we're making…. progress.. The PROBLEM is that the progress bar doesn't seem to be updating until my long CPU TASK is complete (presumably because I'm not relinquishing the CPU during the routine). Is there anyway to tell Flex/Flash to IMMEDIATELY redraw an element in the UI? Thanks in advance for any advice. Steve Steve Kellogg Peak8 Solutions 1401 14th Street Boulder, Colorado 80302, USA Fax: 303.415.2597 E-Mail: [EMAIL PROTECTED] __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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: WSDL Security?
That does help Tom, just a potentially niave series of questions in follow-up...How does using the proxy FDS service NOT secure the resource? If a rogue .swf does not know the address to connect to, how can it access the channel? Additionally, with a crossdomain.xml policy file in place on the server (only allowing our set of domains to access) there would be an higher level of security. Even if someone does determine the complete WSDL address they are unable to access it via .swf. The current systems accessing the WSDL are all server-side language meaning that the WSDL is 'safe'. Just looking to provide the equivelent level of security from Flex/Flash. Jamie --- In flexcoders@yahoogroups.com, Tom Ruggles [EMAIL PROTECTED] wrote: Hi Jamie, You do have the steps right for deployment. As for securing the resource the options available would be to either: - add security constraints to the destination. This would require you to either have users log in or hardcode credentials in the app (which is obviously no help in case of decompiling). - add J2EE web app security to your web app to secure the entire thing or any HTTP/AMF channels that are allowed to acces the destination Unfortunately there is no mechanism to automatically detect friendly vs. rogue swfs. But needing to know the channel and destination name are a slight deterrant. HTH, Tom --- In flexcoders@yahoogroups.com, Jamie O jamie.oastler@ wrote: Hello, I 'believe' what I describe below is accurate, just looking for confirmation. We have a production WSDL that is called by a number of other non-Flash/Flex apps. We would like to access it via Flex, but not make the WSL url visible in code - thereby succeptible to decompiled .swf access and non-company uses. In order to ensure this is the case, I believe we must do the following: 1) Install Flex Data Services and create a named proxy service destination with the wsdl url. 2) Use destination=wsdlDestination and useProxy=true in HTTPService Is there an inherrent control within FDS that prevents .swf from other (malicious) sites from using our proxy? I guess conceptually because it isn't served from there it would never know the connection to refer back to other than the destination name which is not a fully qualified URL. Wondering if we would also need a crossdomain.xml file to inhibit non-company .swf from accessing? Thx, Jamie -- 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: Week-Number
Thank you --- In flexcoders@yahoogroups.com, wayne_badu_johnson [EMAIL PROTECTED] wrote: Hi This might get you started: Cheers Wayne --- In flexcoders@yahoogroups.com, supercottbus stirc@ wrote: Hi, how can i get the Week-Number from a Date? Greetz -- 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 academic/volune licensing
Back when Flex 1 was announced, it was really expensive, like $15k for a 2 CPU server license. But there was a nice discount through the old MVLP volume licencing program where it was only like $7500. And there were no connection limitations or anything then. It was still on the pricey side for us and so we didn't buy. Flex 2 was announced, and after about a week or so I was able to get a volumn licencing price for Flex Builder 2 (our cost was ridiculously low), but there was no discounted prices for Flex Data Services. I've just been told that there is STILL no discounted pricing whatsoever on Flex Data Services. What's up with that?so I'm stuck buying a 2 CPU license for up to 100 concurrent connections for $12,000, or $40k for unlimited connections. Have I been misinformed by the reseller that I spoke with? My department doesn't exactly have bulging pockets full of $40,000 bills. Adobe seems to think everyone who wants to use Flex Data Services must be rich. Rick -- 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] Invalidating a control during a CPU intensive task.
I havent had a lot of luck with this approach in the past. Even though you are telling it to update at that moment, it doesnt mean the flash player will redraw at exactly that time. The player waits until it has enough resources to perform the redraw action. If your process is hogging all of the cpu cycles, then it is not going to redraw. I have successfully achieved this type of functionality by changing how I processed my data. Instead of looping over a large dataset, I used a timer to call a function every millisecond. In that function, I perform whatever action is necessary on one item. Then process the next data item in the next timer event. This gives the player a break in between function calls, where it has the resources to update the screen. The code is more complex and performs slightly slower than just looping over the data, but it also prevents any errors where the player times out the function b/c the function is taking too long to execute. This *might* help you, but I make no guarantees. It depends what your function does, and how you are processing your data. This option may not even be feasible for you. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Freiman Sent: Monday, October 16, 2006 1:41 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Invalidating a control during a CPU intensive task. There are two issues: First, the progress bar is listening for your source to send events that progress was made (that's the way bound variables are implemented). I forget whether events are dispatched immediately, or at the next free moment. If it's immediately, than this isn't a problem. Otherwise, you're going to have to update the progress directly. Second, the Progress bar redraws itself using updateDisplayList(). Whenever the progress (the internal value) is updated in the bar, the bar calls invalidateDisplayList(). Invalidate display list tells updateDisplayList() to run at the next free moment. In your scenerio, there is no next free moment, so we need to shortcut that wait. Normally this would be done by extending the progress bar and overriding some functionality, but everything you need to get to is private so we can't do that...sort of. Something that might work would be to override invalidateDisplayList() and have it call updateDisplayList() intead of doLater(updateDisplayList). However, this is a bad idea because it might cause an error on initialization and in general isn't great for performance. However, if the progress bar isn't used much it might work fine for your purposes. Otherwise you'd need to update the value directly instead of being bound. You'd want to do that through a function you create (let's call it setProgressNow) that calls setProgress() and then calls updateDisplayList() that sets the progress and then calls updateDisplayList immediately. Let me know if any of that didn't make sense or won't work for some reason I haven't thought of. - Dan On 10/16/06, Steve Kellogg @ Project SOC [EMAIL PROTECTED]com wrote: Thanks for your reply. The value of the progress bar is BOUND to a var. I also tried updating it directly. I've also tried replacing the progress bar with a LABEL that just displays text explaining where we're at, but I get the same result. Best regards, Steve From: [EMAIL PROTECTED]ups.com [mailto: [EMAIL PROTECTED]ups.com] On Behalf Of Daniel Freiman Sent: Monday, October 16, 2006 8:03 AM To: [EMAIL PROTECTED]ups.com Subject: Re: [flexcoders] Invalidating a control during a CPU intensive task. How does the progress bar know how much progress has been made? Is it bound to something, is it listening for an event, it is being updated directly, etc? - Dan On 10/15/06, Steve Kellogg @ Project SOC [EMAIL PROTECTED]com wrote: Hello, I've got a long CPU routine, and I'm using a progress bar to show the user that we're making. progress.. The PROBLEM is that the progress bar doesn't seem to be updating until my long CPU TASK is complete (presumably because I'm not relinquishing the CPU during the routine). Is there anyway to tell Flex/Flash to IMMEDIATELY redraw an element in the UI? Thanks in advance for any advice. Steve Steve Kellogg Peak8 Solutions 1401 14th Street Boulder, Colorado 80302, USA Fax: 303.415.2597 E-Mail: [EMAIL PROTECTED]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
Re: [flexcoders] Re: VO Mapping, some basic questions
Hi Renaun,thanx for the responce! I have gotten this far as well. What I am not clear on is what is being passed int eh responce from the server to Flex that makes the alias work? Is it still the _explicitType property or is there something else?cheers, Julian Julian SanderBurbacherstraße 5853129 Bonnt/f +49 228 21 27 15m +49 172 250 6524http://sander-is.com On 16.10.2006, at 21:24, Renaun Erickson wrote:AMFPHP uses _excplicitType or advancedmappings.php to make mappingeasier. With PHP 5 there is some class introspection code that makesit possible to find the object mapping automacitally. Both SabreAMFand WebORB for PHP supports the auto object mapping.As FDS and Coldfusion connectivity is based on Java it also is verycapable of class introspection and auto mapping.Basically the mapping as nothing to do with Flex.Now in regards to your question about Flex side of the VO mapping. Here is a sample AS VO file I use in my WebORB for PHP example.package com.renaun.samples.login.vo{import flash.net.registerClassAlias;[RemoteClass(alias="com.renaun.samples.login.vo.BookVO")][Bindable]public class BookVO{public var name : String;public var bookid : String;public var publishdate : String;public var createddate : Date;}}You can even type the objects in ArrayCollections by this code:[Bindable][ArrayElementType("com.renaun.samples.vo.BookVO")]private var books:ArrayCollection;Renaun--- In [EMAIL PROTECTED]ups.com, "dr.swank" [EMAIL PROTECTED]. wrote: Hi List, I am working with CakePHP 1.2, CakeAMFPHP, and Flex2 SDK to developa fairly complex community portal. I can't say too much due to client restrictions,so I will ask my questions is a very broad way.. :) I know that, in AMFPHP for AMF0 there was a var sent back to Flashcalled _excplicitType which, when used with Object.registerClass() would map the reurnedvalue object to the appropriate class. I had all that working, so how it runs is not aproblem. My issue comes up with AMF0 anf Flex2: 1. what is/are the flag/flags that Flex looks for to map returnedobjects to their counterparts inside the FLex App? 2. Is Cairngorn the better way to deal with this issue? For those who are not familiar with CakePHP, it is a Data ModelingFramework ( well, among other things) which returns Models and assosiated values. Soif a User had many Ariticles, then Cake would retun a User object which would contain aArticle object containing all the articles for the User. Any hint, tips, etc would be greatly appritiated, cheers, Julian (aka drSwank)
RE: [flexcoders] Re: Text Area question
Thanks for the compliment. I stay pretty busy with my work on the next version of the Flex framework so I don't have as many spare cycles as I'd like to devote to explaining things. A few months ago I was thinking of starting a technical blog about AS3 and Flex, but I haven't gotten that off the ground. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Saturday, October 14, 2006 7:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Text Area question Hey Gordon, you seem to have a knack for explaining things very clearly and concisely. Any chance we'll see tutorials or a book from you at some point? I'd buy it in a heartbeat. Thanks, Ben --- In [EMAIL PROTECTED]ups.com, Gordon Smith [EMAIL PROTECTED] wrote: Below is an example of forcing text input to uppercase as the user types it. The trick is to handle the 'textInput' event, which is dispatched after the user presses a key but before the new text appears in the TextArea (or TextInput, or TextField). This is a cancelable event, which means that you can call event.preventDefault() to prevent the system from doing the default handling of this event;. For this event, calling preventDefault() means that the TextArea won't process the keystroke. Instead you process it yourself by uppercasing it, inserting it in the appropriate place in the TextArea's text string, and setting the insertion point to be after the new uppercase character. - Gordon ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml mx:Script ![CDATA[ private function textInputHandler(event:TextEvent):void { event.preventDefault(); var textArea:TextArea = TextArea(event.target); var oldText:String = textArea.text; var before:String = oldText.substring(0, textArea.selectionBeginIndex); var after:String = oldText.substring(textArea.selectionEndIndex); var newText:String = event.text.toUpperCase(); var newInsertionOffset:int = (before + newText).length; textArea.text = before + newText + after; textArea.setSelection(newInsertionOffset, newInsertionOffset); } ]] /mx:Script mx:TextArea id=ti textInput=textInputHandler(event)/ /mx:Application From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of brankosli Sent: Saturday, October 14, 2006 4:14 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Re: Text Area question I have tried item.text = item.text.toUpperCase().and implemented on textArea component but is seems to change all previous typing to upperCase and that wasn't my need.I need to be able to change case when I type new line.Maybe the other solution will help but I hope that there is some other easier way to do that. If You have some idea please type it. --- In [EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com , Karl Johnson karl.johnson@ wrote: You probably can not turn on CAPS Lock from your flex app, probably a bit of a security risk. I doubt the flash player has access and/or allows flash apps to get access to do that (correct me if I am wrong). If you need to ensure that everything they type is in all CAPS, then just set the text value like this: item.text = item.text.toUpperCase(). Or another possible way is to listen on the keypress and convert it as they press. I guess you could also listen on the change event and convert it then, but it might be a bit laggy with fast typing. Hope that helps some, feel free to reply back if you need more help with it. Karl Cynergy Systems, Inc. From: [EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com [mailto:[EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of brankosli Sent: Friday, October 13, 2006 2:39 PM To: [EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Text Area question I will be more that thankful if someone could solve my problem.I'm working with textArea component and I have 2 questions: I need to know if there is any possibility to fix left and right margin in textArea component? And also I need to know if there is possibility to turn on and off capsLock by coding not by pressing keyboard? __._,_.___ -- 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
RE: [flexcoders] Invalidating a control for IMMEDIATE redraw?
You can't force the Flash Player to redraw in the middle of a long computation. You'll have to break the computation into smaller pieces that can be performed frame-by-frame or timer-event-by-timer-event and which store their state so that they can continue later. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Kellogg @ Project SOC Sent: Monday, October 16, 2006 7:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Invalidating a control for IMMEDIATE redraw? Hello, Ive got a long CPU routine, and Im using a progress bar to show the user that were making. progress.. The PROBLEM is that the progress bar doesnt seem to be updating until my long CPU TASK is complete (presumably because Im not relinquishing the CPU during the routine). Is there anyway to tell Flex/Flash to IMMEDIATELY redraw an element in the UI? Thanks in advance for any advice. Steve Steve Kellogg Peak8 Solutions 1401 14th Street Boulder, Colorado 80302, USA Fax: 303.415.2597 E-Mail: [EMAIL PROTECTED]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] Character Sets?
Ethan Miller wrote: Wondering if Flex and the Flash player use the character set specified in the HTML wrapper or if there is character set support/ configuration elsewhere? The Flash Player uses Unicode by default. However, it can be instructed to use the host operating system's current code page instead. See also: For Flash Player 8 (e.g. ActionScript 2.0 for Flash and Flex 1.5): http://livedocs.macromedia.com/flash/8/main/2729.html For Flash Player 9 and Flex 2.0 (ActionScript 3.0): http://livedocs.macromedia.com/flex/2/langref/flash/system/System.html#useCodePage Hope this helps, 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] gloablToLocal , localToGlobal
Are you aware that globalToLocal() and localToGlobal() don't modify the point you pass in? They return the modified point. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of learner Sent: Monday, October 16, 2006 1:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] gloablToLocal , localToGlobal Hello all, Ihave a application where i have one canvas -- TemplateArea , a Vbox -- Vboxid in TemplateArea and ImageComponent inside that Vboxid on mouseDownEvent i am drawing the rectangle on Canvas TemplateArea, What i need to do if i have to track the co-ordinates with respect to Vboxid. Itried with gloablToLocal and localToGlobal..but not working Can any one please suggest me what exactllyI need to do? Regards Ps. __._,_.___ -- 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: ComboBox itemEditor example inside of DataGrid??
Mike, I apologize in advance if this is now what you are asking, but, have you looked at the editorDataField property? If this isn't what you are looking for, I can post an example of a ComboBox renderer in a DataGrid. --Mike --- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED] wrote: Hello All, I am WAY beyond frustrated at the moment, and am ready to throw this computer out the window right now. I've been able to get this to work in the most simple of examples - BUT, here is what I need to do that may be considered unique in my case (although, not at all uncommon in most other typical programming environments). In my case, my OrderDetails DataGrid contains a 'ProductID' Field from the 'Products' Table. It would be redundant to create an additional field called ProductName within my OrderDetails Table - since it already exists in my Products Table. I know for a fact, that there is a way for the ComboBox itemEditor, to display the Label property of the Product (in this case, ProductName), but still leave intact, the Numeric Data property of the Product (in this case, ProductID) - so that part gets written back to the DataBase. I am having a TERRIBLE time, finding an example of how to have the ComboBox display one thing, but set the value in the DataGrid, to some OTHER thing - Could any of you help me in this regard? Thanks in advance, Mike -- 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] brasil
Has a brazilian community in your language.http://br.groups.yahoo.com/group/flex-brasil/On 10/16/06, Flávio Santos [EMAIL PROTECTED] wrote: Gostaria de saber se existe algum brasileiro na lista aqui que poderia me ajudar a começar a desenvolver em flex com database, eu já programo em coldfusion, queria começar com a ajuda de vcs att.Flávio Santos(made in Brazil) -- Igor Costawww.igorcosta.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] Is there a way to find an object if you know the name
You simply refer to components by their id. You don't have to look them up by it. For example, if you have MyApp.mxml: mx:Application mx::Canvas id=c1 mx:Button id=b1 ... then in the Application's mx:Script methods you can write expressions like b1.label. Technically, what is happening is that the MXML compiler autogenerates var c1:Canvas; var b1:Button; as instance vars of a MyApp class which extends Application. The methods you write in the mx:Script become methods of this MyApp class, so they can acess these instance vars. To access components inside components, you simply use the dot operator. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Marlon Moyer Sent: Sunday, October 15, 2006 7:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Is there a way to find an object if you know the name What's the equivalent of _javascript_'s getElementById in Flex? I've searched the help files numerous times and can't seem to find it. Thanks -- Marlon __._,_.___ -- 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: ComboBox itemEditor example inside of DataGrid??
Yes, I've been exploring that property all day long - There must be something else I am doing wrong here - So with that said, YES, if you could please post an example, I'd be grateful - Right now, I have a ComboBox Component I created - and I am binding the dataProvider property of it, to my Apps model.produstList property. And yes, this is a Cairngorm based application - but I don't think this should affect anything. My OrderDetails DataGrid, is populated using ValueObjects - and the ProductID Column initially displays only numbers. Of course, this is great - since that column should only display Integer values anyway (this is previous to applying the itemRenderer and itemEditor). BUT, now that I want the ProductName value to display all the time, do I also need to declare an itemRenderer as well? I ask this because, only the ComboBox populated with ProductID and ProductName, contains the associated information - where the underlying ProductID value contained behind the scenes, drives what is displayed to the user. The issue is though, the itemEditor only becomes active, whenever the Cell is active correct? Well, bottom line is, I am so frazzled by this incident, that I am sick and tired of racking my brain trying to figure this out. I wasted 2 incredibly valuable days on this darn problem, with absolutely nothing to show for it. If you could please post some code and examples, I would be grateful. Thanks in advance, Mike -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Labriola Sent: Monday, October 16, 2006 3:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox itemEditor example inside of DataGrid?? Mike, I apologize in advance if this is now what you are asking, but, have you looked at the editorDataField property? If this isn't what you are looking for, I can post an example of a ComboBox renderer in a DataGrid. --Mike --- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED] wrote: Hello All, I am WAY beyond frustrated at the moment, and am ready to throw this computer out the window right now. I've been able to get this to work in the most simple of examples - BUT, here is what I need to do that may be considered unique in my case (although, not at all uncommon in most other typical programming environments). In my case, my OrderDetails DataGrid contains a 'ProductID' Field from the 'Products' Table. It would be redundant to create an additional field called ProductName within my OrderDetails Table - since it already exists in my Products Table. I know for a fact, that there is a way for the ComboBox itemEditor, to display the Label property of the Product (in this case, ProductName), but still leave intact, the Numeric Data property of the Product (in this case, ProductID) - so that part gets written back to the DataBase. I am having a TERRIBLE time, finding an example of how to have the ComboBox display one thing, but set the value in the DataGrid, to some OTHER thing - Could any of you help me in this regard? Thanks in advance, Mike -- 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] Grouping result set output
Hello, I have a query result set that I am displaying with TileLists. I have it working fine where the entire result set is in one tile list, but what I really need is to group the output into separate tile lists by a certain field. Something like User1 - record a - record b... User2 - record a - record b... If this were just HTML I would be grouping the results in cfoutput. What is the best way to handle it with Flex TileLists? Should I send my query results back as an array of arrays of objects? Thanks for any advice! Rachel Maxim -- 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] Open source Hibernate projects?
Hi All, Can you suggest any open source Hibernate based projects that I could play with? I want to familiarize myself with Hibernate and (more importantly) experiment with putting a Flex front end on top of a Hibernate based app. The Roller Weblogger project kind of fits the bill, but I'm thinking that it would probably be best for me to start by playing with a smaller/simpler project. Any suggestions? TIA! Douglas -- 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] Disappearing list items
I had forgotten about the portability issue with Web services, so Rick brings up a good point. Personally, I try to stay away from Web services (with Flex) as much as possible given the speed advantage of remoting and the [amazingly] easier integration. I'm just a Flex noob, but I'm curious how the FDS - CF Object integration is similar and dissimilar to using your method. Of course your method has nothing to do with FDS, but FDS gives you straight data-type mapping and immediate updates, blah blah. | Aaron West | aaron AT trajiklyhip DOT com | http://www.trajiklyhip.com/blog/ | Certified Advanced Adobe ColdFusion MX 7 Developer | Certified Macromedia FlashMX Developer | Adobe Community Expert On Oct 16, 2006, at 1:48 PM, Douglas Knudsen wrote: I'm inviting myself into the fight club here maybe...the first rulelol Converting the query to a array of objects means I can map them to AS objects enforcing my model. This mapping is one of my three favourite things about Flex. Example, say you want to populate a datagrid with query data and make it editable. Having this AS -> CFC mapping makes this cake by returning a array of objects to Flex, then Flex returning that SAME Array of objects modified back to CF. If you populated the datagrid with a query result, how do you get the edited data back to CF? Possible yes, but painful IMHO. Data that will never be edited I'd probably use XML for. Others will disagree, but that's just been my experience so far. XML is fast light and cheap via RemoteObject. Actually I found it to be real fast via HTTPService too. Without sounding like the 'herd mentality', its just a best practise too, eh? And one more reason, its just more sexy! Having been a Math major I need all the help I can get in that department. hehe! DK Disclaimer - If any of the above annoys you, sue the coffe makers that forced me to consume so much coffee today. :) On 10/16/06, Aaron West [EMAIL PROTECTED]> wrote:Douglas, out of curiosity how come you prefer to not send queries from CF to Flex? Also, what do you do instead? You mentioned converting the query record-set to an Array of Objects or XML. What benefits do you get on the Flex end for doing this considering its more work for CF? | Aaron West | aaron AT trajiklyhip DOT com | http://www.trajiklyhip.com/blog/ | Certified Advanced Adobe ColdFusion MX 7 Developer | Certified Macromedia FlashMX Developer | Adobe Community Expert On Oct 16, 2006, at 8:55 AM, Douglas Knudsen wrote: > odd. Myself, I prefer not to return queries from CF to Flex. > Instead convert to a array of objects or XML. That said, maybe try > using the SQL for it direct, in case the Query functions are flaking > somehow. The below would be for Oracle. > > cfquery name=qry2 dbtype=query> > SELECT > TABLKEY, TABLFLD > FROM application.udf.getalldropdowns > WHERE > TABLID = '010' > UNION > SELECT '' AS TABLKEY, '' AS TABLFLD > FROM dual > > > ORDER BY TABLFLD > /cfquery> > > DK > > > On 10/16/06, Rick Root [EMAIL PROTECTED]> wrote:so, I solved > this problem. >> >> My data provider was a query returned by a remoting call created like >> this: >> >> cfquery name=qry2 dbtype=query> >> SELECT >> TABLKEY, TABLFLD >> FROM application.udf.getalldropdowns >> WHERE >> TABLID = '010' >> ORDER BY TABLFLD >> /cfquery> >> cfset queryaddrow(qry2,1)> >> cfset querysetcell(qry2,TABLKEY,)> >> cfset querysetcell(qry2,TABLFLD,)> >> cfquery name=qry dbtype=query> >> SELECT * FROM qry2 ORDER BY TABLFLD >> /cfquery> >> cfset retval.COUNTRIES = qry> >> >> I did it this way so I could always have a blank item in the >> dropdown >> >> The solution was to change the second querysetcell line to be the >> following: >> >> cfset querysetcell(qry2,TABLFLD,- not selected -)> >> >> For some reason, the blank item caused every 5th label to disappear >> for >> no apparent reason. >> >> This seems like a bug.What's the address to report flex bugs to? >> >> Rick >> >> >> -- >> 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 >> >> >> >> > > > > -- > Douglas Knudsen > http://www.cubicleman.com > this is my signature, like it? -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com image.tiff> SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company x-tad-smaller Your email settings: Individual Email|Traditional/x-tad-smallerx-tad-smallerChange settings via the Web/x-tad-smallerx-tad-smaller (Yahoo! ID required) /x-tad-smallerx-tad-smaller Change settings via email: /x-tad-smallerx-tad-smallerSwitch
[flexcoders] pop up a new window behind
Anyone know how to pop up a new window behind the one currently in focus? -- 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: SWF to image?
FlashPaper - though it is a standalone app I believe - it is made by Adobe though, so the quality of converting SWF's to images is good from what I've seen. I've used it like 2 times, so I don't know all it can/can't do or how well it will work for your situation. -Nathan --- In flexcoders@yahoogroups.com, Rick Schmitty [EMAIL PROTECTED] wrote: Does anyone have a suggestion on a swf to image tool? Preferrably not a standalone client app but rather something than can be run on a server? (user submits swf to cf/php etc) I've tried a few and the output quality is not so great Not directly flex related...but thought I'd try :) -- 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: VO Mapping, some basic questions
AMFPHP's _explicitType implementation is used to define it however you want. So for my example of the BookVO, the php VO would look like: class BookVO { public $_explicitType = com.renaun.samples.login.vo.BookVO; public $name; public $bookid; public $publishdate; public $createddate; } And the PHP service class is: include ../vo/BookVO.php; class Login { function Login() { $this-methodTable = array( checkLogin = array( description = Simple Login, access = remote, arguments = array () ) ); // Initialize db connection } function checkLogin() { $arr = array(); $book = new BookVO(); $book-name = Adobe Flex 2: Training from the Source; $book-bookid = 032142316X; $book-publishdate = date( F j, Y, g:i a, mktime(0, 0, 0, 8, 31, 2006) ); $arr[] = $book; $book = new BookVO(); $book-name = ActionScript 3.0 Cookbook : Solutions and Examples for Flash Developers; $book-bookid = 0596526954; $book-publishdate = date( F j, Y, g:i a, mktime(0, 0, 0, 9, 1, 2006) ); $arr[] = $book; $book = new BookVO(); $book-name = Programming Flex 2 : The Comprehensive Guide to Creating Rich Media Applications with Adobe Flex; $book-bookid = 059652689X; $book-publishdate = date( F j, Y, g:i a, mktime(0, 0, 0, 11, 1, 2006) ); $arr[] = $book; return $arr; } } Renaun --- In flexcoders@yahoogroups.com, Julian Sander [EMAIL PROTECTED] wrote: Hi Renaun, thanx for the responce! I have gotten this far as well. What I am not clear on is what is being passed int eh responce from the server to Flex that makes the alias work? Is it still the _explicitType property or is there something else? cheers, Julian Julian Sander BurbacherstraÃe 58 53129 Bonn t/f +49 228 21 27 15 m +49 172 250 6524 http://sander-is.com  On 16.10.2006, at 21:24, Renaun Erickson wrote: AMFPHP uses _excplicitType or advancedmappings.php to make mapping easier. With PHP 5 there is some class introspection code that makes it possible to find the object mapping automacitally. Both SabreAMF and WebORB for PHP supports the auto object mapping. As FDS and Coldfusion connectivity is based on Java it also is very capable of class introspection and auto mapping. Basically the mapping as nothing to do with Flex. Now in regards to your question about Flex side of the VO mapping. Here is a sample AS VO file I use in my WebORB for PHP example. package com.renaun.samples.login.vo { import flash.net.registerClassAlias; [RemoteClass(alias=com.renaun.samples.login.vo.BookVO)] [Bindable] public class BookVO { public var name : String; public var bookid : String; public var publishdate : String; public var createddate : Date; } } You can even type the objects in ArrayCollections by this code: [Bindable] [ArrayElementType(com.renaun.samples.vo.BookVO)] private var books:ArrayCollection; Renaun --- In flexcoders@yahoogroups.com, dr.swank dr.swank@ wrote: Hi List, I am working with CakePHP 1.2, CakeAMFPHP, and Flex2 SDK to develop a fairly complex community portal. I can't say too much due to client restrictions, so I will ask my questions is a very broad way.. :) I know that, in AMFPHP for AMF0 there was a var sent back to Flash called _excplicitType which, when used with Object.registerClass() would map the reurned value object to the appropriate class. I had all that working, so how it runs is not a problem. My issue comes up with AMF0 anf Flex2: 1. what is/are the flag/flags that Flex looks for to map returned objects to their counterparts inside the FLex App? 2. Is Cairngorn the better way to deal with this issue? For those who are not familiar with CakePHP, it is a Data Modeling Framework ( well, among other things) which returns Models and assosiated values. So if a User had many Ariticles, then Cake would retun a User object which would contain a Article object containing all the articles for the User. Any hint, tips, etc would be greatly appritiated, cheers, Julian (aka drSwank) -- 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
[flexcoders] Re: Multiline ComboBox
Michael, Problem is that ComboBase uses a textInput control to display the currently selected item. The TextInput is limited to displaying a single line of text. You could certianly change this, but, it seems as though it will require extending ComboBox, not just making an itemRenderer. --Mike --- In flexcoders@yahoogroups.com, Michael [EMAIL PROTECTED] wrote: Does anyone know how I can get my combobox to display 2 lines as opposed to only one line. I can display 2 lines in the dropdown area, but not in the main combobox display. Here is what I have so far: public function initRenderer():void { var myRenderer:ClassFactory = new ClassFactory(mx.controls.Text); myRenderer.properties = {maxHeight:60}; this.cb.itemRenderer = myRenderer; } mx:ComboBox id=cb fontSize=18 maxWidth={this.width} dataProvider={cbData} labelField={cbLabelField} selectedIndex={getSelectedIndex()} change=comboBoxChange(cb.selectedItem)/ Thanks in advance, Michael -- 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] Open source Hibernate projects?
I hate to be one of those dudes who gives you a reply without answering your question, but Im going to. I dont know of any that are small enough that you could play with. But from my experience with learning Hibernate, the best way is just to go to the Hibernate web site and start your own project using their samples on how to get started, they are easy enough to do for people who have never used Hibernate. What better way than to jump right in yourself! From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Douglas McCarroll Sent: Monday, October 16, 2006 4:12 PM To: flexcoders post Subject: [flexcoders] Open source Hibernate projects? Hi All, Can you suggest any open source Hibernate based projects that I could play with? I want to familiarize myself with Hibernate and (more importantly) experiment with putting a Flex front end on top of a Hibernate based app. The Roller Weblogger project kind of fits the bill, but I'm thinking that it would probably be best for me to start by playing with a smaller/simpler project. Any suggestions? TIA! Douglas __._,_.___ -- 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: pop up a new window behind
The PopUpManager.createPopUp method calls addPopUp which, as part of the method seems to ensure that the new Popup is on top. After it is created, you could manually move it around using setChildIndex... a good place to look is at PopUpManager.bringToFront Hope that help a little, Mike --- In flexcoders@yahoogroups.com, Lisa Nelson [EMAIL PROTECTED] wrote: Anyone know how to pop up a new window behind the one currently in focus? -- 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] ADOBE India - opening for Developers and testers ADOBE
Adobe India Systems in on a RAPID expansion mode. It requires competent ppl for the various categories: People with 1-25 years of work ex are all welcomed. Those who feel that they have worked well in any of the given technologies can apply : for Develoers: C,C++,VC++,JAVA, J2EE for Testers: Manual / automation/whiteBox Renumeration is best in the industry. Also if somebody want to switch to Testing Domain are also welcomed (please append TESTING at the end of subject line) The procedure for selection is - 1.Written exam(for less than 5 years workex) 2.Telephonic interview(If u r not frm NCR/BNGLR) 3.Interview at ADOBE- Noida/ Bnglr(Airfare n Hotel stay provided by Adobe ) Vacancies for Development: 1.UI Design Engineer 2.MTS 3.Dev Support Engineer 4.Quality Manager 5.APPLICATION DEVELOPER Please mail your resume to [EMAIL PROTECTED] com Please PLZ follow this format Subject line should be like: Total WorkEx/ Role / Current Location / Location preference for Adobe (Noida/ Banglore/ none)/ Primary skills any two/one(from C,C++,Java,J2EE, VC++)/ Current Organization e.g. 4/ Developer / NCR / NCR/ C,Java/ IBM -- 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: ComboBox itemEditor example inside of DataGrid??
Mike, Take a look at this and see if it clears things up. Sorry for the long code post... mx:Model id=myModel products product ProductID1/ProductID ProductCategory3/ProductCategory ProductNameBob/ProductName ProductDescriptionIts Bob/ProductDescription /product product ProductID2/ProductID ProductCategory2/ProductCategory ProductNameGary/ProductName ProductDescriptionIts Gary/ProductDescription /product /products /mx:Model mx:Model id=myCats categories category CategoryID2/CategoryID CategoryNameNot the name of the ID/CategoryName /category category CategoryID3/CategoryID CategoryNamereally, not an ID/CategoryName /category /categories /mx:Model mx:Script ![CDATA[ import mx.controls.ComboBox; import mx.controls.dataGridClasses.DataGridColumn; protected function displayProductCategoryName( row:Object, column:DataGridColumn ):String { //Do anything you would like here, but, at the end of the day, return a String var categoryName:String = ; //There exist better ways to do this part for ( var i:Number=0; imyCats.category.length; i++ ) { if ( row[ column.dataField ] == myCats.category[i].CategoryID ) { categoryName = myCats.category[i].CategoryName; break; } } return categoryName; } ]] /mx:Script mx:DataGrid id=grid dataProvider={myModel.product} editable=true mx:columns mx:DataGridColumn dataField=ProductName/ mx:DataGridColumn dataField=ProductCategory editorDataField=selectedCategoryID labelFunction=displayProductCategoryName mx:itemEditor mx:Component mx:ComboBox dataProvider={outerDocument.myCats.category} labelField=CategoryName mx:Script ![CDATA[ public function get selectedCategoryID():String { return selectedItem.CategoryID; } ]] /mx:Script /mx:ComboBox /mx:Component /mx:itemEditor /mx:DataGridColumn mx:DataGridColumn dataField=ProductDescription/ /mx:columns /mx:DataGrid --Mike --- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED] wrote: Yes, I've been exploring that property all day long - There must be something else I am doing wrong here - So with that said, YES, if you could please post an example, I'd be grateful - Right now, I have a ComboBox Component I created - and I am binding the dataProvider property of it, to my Apps model.produstList property. And yes, this is a Cairngorm based application - but I don't think this should affect anything. My OrderDetails DataGrid, is populated using ValueObjects - and the ProductID Column initially displays only numbers. Of course, this is great - since that column should only display Integer values anyway (this is previous to applying the itemRenderer and itemEditor). BUT, now that I want the ProductName value to display all the time, do I also need to declare an itemRenderer as well? I ask this because, only the ComboBox populated with ProductID and ProductName, contains the associated information - where the underlying ProductID value contained behind the scenes, drives what is displayed to the user. The issue is though, the itemEditor only becomes active, whenever the Cell is active correct? Well, bottom line is, I am so frazzled by this incident, that I am sick and tired of racking my brain trying to figure this out. I wasted 2 incredibly valuable days on this darn problem, with absolutely nothing to show for it. If you could please post some code and examples, I would be grateful. Thanks in advance, Mike -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Labriola Sent: Monday, October 16, 2006 3:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox itemEditor example inside of DataGrid?? Mike, I apologize in advance if this is now what you are asking, but, have you looked at the editorDataField property? If this isn't what you are looking for, I can post an example of a ComboBox renderer in a DataGrid. --Mike --- In flexcoders@yahoogroups.com, Mike Anderson mike@ wrote: Hello All, I am WAY beyond frustrated at the moment, and am ready to throw this computer out the window right now. I've been able to get this to work in the most simple of examples - BUT, here is what I need to do that may be considered unique in my case (although, not at all uncommon in most other typical programming environments). In my case, my OrderDetails DataGrid contains a 'ProductID' Field from the 'Products' Table. It would be redundant to create an additional field called ProductName within my OrderDetails Table - since it
[flexcoders] xml question
Hi guys Im new to Flex... Ive created a HTTPService which reads an XML file and once done calls a function I want this function to perform different actions based on the data received. How to do it? The xml looks like data record id131/id category4/category matc2/mat nameTeste Cyro Neto/name /record /data and for example, I want to execute some code if the category is 4, and other code if its not 4. Any other way not using HTTPService? 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 __,_._,___
[flexcoders] close an application
I want to close my flex application after a button press. I found a previous post with: var urlString:String = javascript:self.close(); var request:URLRequest = new URLRequest(urlString); navigateToURL(request, _self); which does not seem to work for me. is there an Application.close() method or something like that? Thanks 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] Open source Hibernate projects?
Thanks for your response, Allen. Yes, I've wondered if that might not be the best approach. (I considered inviting just such responses as yours when I wrote my post.) I may end up taking that route. Just wondering what my options are... :-) Another route would be to take a sample MySQL DB (I see a couple on the MySQL site) and generate a Hibernate mapping file from that, then Java classes from that... One advantage is that I'd have a DB that is already populated with lots of data... Allen Riddle wrote: I hate to be one of those dudes who gives you a reply without answering your question, but I’m going to. I don’t know of any that are small enough that you could play with. But from my experience with learning Hibernate, the best way is just to go to the Hibernate web site and start your own project using their samples on how to get started, they are easy enough to do for people who have never used Hibernate. What better way than to jump right in yourself! *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Douglas McCarroll *Sent:* Monday, October 16, 2006 4:12 PM *To:* flexcoders post *Subject:* [flexcoders] Open source Hibernate projects? Hi All, Can you suggest any open source Hibernate based projects that I could play with? I want to familiarize myself with Hibernate and (more importantly) experiment with putting a Flex front end on top of a Hibernate based app. The Roller Weblogger project kind of fits the bill, but I'm thinking that it would probably be best for me to start by playing with a smaller/simpler project. Any suggestions? TIA! Douglas -- 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: pop up a new window behind
Thanks Mike. I thought of that, but I thought it would flicker a little, popping up in the front and then going behind. I haven't tried it out yet though. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Labriola Sent: Monday, October 16, 2006 15:09 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: pop up a new window behind The PopUpManager.createPopUp method calls addPopUp which, as part of the method seems to ensure that the new Popup is on top. After it is created, you could manually move it around using setChildIndex... a good place to look is at PopUpManager.bringToFront Hope that help a little, Mike --- In flexcoders@yahoogroups.com, Lisa Nelson [EMAIL PROTECTED] wrote: Anyone know how to pop up a new window behind the one currently in focus? -- 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] Is there a way to find an object if you know the name
sorry, I didn't phrase the question correctly. I have the name of a component in a string variable (e.g. I've named a component 'name=repeater_state_{divisionRepeater.currentItem.id }) and now I want to be able to refer to that component dynamically. On 10/16/06, Gordon Smith [EMAIL PROTECTED] wrote: You simply refer to components by their id. You don't have to look them up by it. For example, if you have MyApp.mxml: mx:Application mx::Canvas id=c1 mx:Button id=b1 ... then in the Application's mx:Script methods you can write expressions like b1.label. Technically, what is happening is that the MXML compiler autogenerates var c1:Canvas; var b1:Button; as instance vars of a MyApp class which extends Application. The methods you write in the mx:Script become methods of this MyApp class, so they can acess these instance vars. To access components inside components, you simply use the dot operator. - Gordon From: [EMAIL PROTECTED]ups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Marlon Moyer Sent: Sunday, October 15, 2006 7:03 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Is there a way to find an object if you know the name What's the equivalent of _javascript_'s getElementById in Flex? I've searched the help files numerous times and can't seem to find it. Thanks -- Marlon -- Marlon __._,_.___ -- 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: pop up a new window behind
I hope that was in fact a question about using PopupManager to open Flex TitleWindow components, not about how to use javascript from within a Flex app to do those annoying popunder advertisements... --- In flexcoders@yahoogroups.com, Michael Labriola [EMAIL PROTECTED] wrote: The PopUpManager.createPopUp method calls addPopUp which, as part of the method seems to ensure that the new Popup is on top. After it is created, you could manually move it around using setChildIndex... a good place to look is at PopUpManager.bringToFront Hope that help a little, Mike --- In flexcoders@yahoogroups.com, Lisa Nelson ltwede@ wrote: Anyone know how to pop up a new window behind the one currently in focus? -- 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: HTTPService (jsp, specifically) getting cached?
I had the same issue and my work around was to change the browser option in IE : Internet Options--General Tab --Temporary Internet Files -- Settings Select the Radio Button 'Every visit to the page' under Check for newer visit to the page Hari Kolasani Integranium, Inc. Doug Lowder wrote: You can prevent caching by putting the following into your jsp: response.setHeader(Cache-Control, max-age=0, must-revalidate); --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: I've run into a situation where I want to re-issue a call to a jsp via an HTTPService with the same set of parameters. (It's a query to a db essentially, with the params specifying the WHERE clause of the SQL). The problem comes when I try and re-issue the HTTPService with the same parameters in that the jsp does NOT get called, and I simply get a cached result from the previous HTTPService call. Is there a way to cache/uncache these results so I don't have to add a guaranteed unique dummy variable as a parameter (currently using a timestamp as a workaround? -- 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 modules
Hi, This is for Roger Gonzales the author of "Modular Applications" (http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_2.html). I've download and played with the code in the last couple days and although it is raw stuff, it definitly shows the potiental of were this might go. Combined with RSLs this will make Flex apps lean and mean. Question, when will it be finished ?!:) Here is some feedback: 1) the module loaded, doesn't take on its full size (it seems to be shrunk) 2) doesn't work when the module's main container is a TitleWindow 3) The Module class extends VBox. Now the root container of every module will be either VBox, Panel, Canvas, whatever. Seems to me like thats heavy, since the outer container isn't really doing anything.. unless of course I am missing something. If it has to be a container, why not something lighter like Canvas? Or is it really not important? I was using your MXML sample more than the AS one. Thanks Roger and looking forward to more. Dimitrios Gianninas RIA Developer Optimal Payments Inc. AVIS IMPORTANT WARNING 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. 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. __._,_.___ -- 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 __,_._,___