RE: [flexcoders] another screwing from microsoft
If you're Flex 1.5-ing apparently you need this hotfix. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=ace0407 Cheers, Paul. -Original Message-From: Andy Johnston [mailto:[EMAIL PROTECTED]Sent: Thursday, 30 March 2006 14:59To: flexcoders@yahoogroups.comSubject: [flexcoders] another screwing from microsoftAnyone care to comment on this little gem?http://www.eweek.com/article2/0,1895,1943847,00.asphow will this affect RIA's in general, swf in particular? *~~~DISCLAIMER*~~~* This e-mail may contain confidential information. If you are not the intended recipient, please notify the sender immediately and delete this e-mail from your system. You must not disclose this email to anyone without express permission from the sender. The contents of all emails sent to, and received from, Optus may be scanned, stored, or disclosed to others by Optus at Optus' discretion. Optus has exercised care to avoid errors in the information contained in this e-mail but does not warrant that the information is error or omission free.. -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] instanceof on Object
Hmm might be missing something here but Joe's suggestion in http://www.mail-archive.com/flexcoders@yahoogroups.com/msg09275.html works ok. eg.. Fred.as class Fred { public function Fred() {} } App.mxml mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" initialize="myInitialize()"mx:Script![CDATA[import Fred;var f:Fred;function myInitialize():Void{f = new Fred();var g = Object(f);var _t; _t = new g.__constructor__();trace("_t instanceof Fred = " + (_t instanceof Fred));}]]/mx:Script/mx:Application ... produces 'true' for me. Cheers, Paul. -Original Message-From: JesterXL [mailto:[EMAIL PROTECTED]Sent: Thursday, 1 December 2005 05:55To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] instanceof on Object mx.utils.ObjectCopy does not do deep copies, nor work right: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg09275.html She's got array's in her too, so that definately rules in it, and I need prototype integrity (subclass vs. superclass). - Original Message - From: Clint Modien To: flexcoders@yahoogroups.com Sent: Wednesday, November 30, 2005 2:09 PM Subject: Re: [flexcoders] instanceof on Object http://www.mail-archive.com/cgi-bin/htsearch?config=flexcoders_yahoogroups_comrestrict=exclude=words=mx.utils.ObjectCopy On 11/30/05, JesterXL [EMAIL PROTECTED] wrote: ...I guess I'll have to implement a clone method on all of my VO's.Anyother solution/hack?- Original Message - From: "JesterXL" [EMAIL PROTECTED]To: "Flexcoders" flexcoders@yahoogroups.com Sent: Wednesday, November 30, 2005 1:40 PMSubject: [flexcoders] instanceof on ObjectI have some VO's, and I use their class type to render a form.My DialogueI'm passing this VO into is bound to an object, like so: private var formData:Object;mx:TextInput text="{formData.label}" /When I call this method externally:myDialogue.setFormData(someVO);Function looks something like this: function setFormData(o){ for(var p in o) { formData[p] = o[p]; }}My bindings work great.However, instanceof does not.If I do this:formData = o;It DOES work; naturally because it's just a reference.However, this dialogue works like a preferences.As such, I need to create my own localcopy; the above for loop is actually more involved since I need a deep copy,and thus get a true, deep copy, not a reference.However, this in turn breaks my instanceof code.I've tried: formData.__proto__ = o.prototypeformData.__proto__ = o.__proto__...none of which work.Frankly, I really don't care formData is truly asub-class, I just want my instanceof to work, even if it's taked. ???--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back!http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM~- --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/ * 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/ *~~~DISCLAIMER~~~* This e-mail may contain confidential information. If you are not the intended recipient, please notify the sender immediately and delete this e-mail from your system. You must not disclose this email to anyone without express permission from the sender. The contents of all emails sent to, and received from, Optus may be scanned, stored, or disclosed to others by Optus at Optus' discretion. Optus has exercised care to avoid errors in the information contained in this e-mail but does not warrant that the information is error or omission free. -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] fdb and flash debug player 8
Title: fdb and flash debug player 8 Any word on whether we'll get a Flex 1.5 update with a new fdb supporting a new flash 8 debug player? Thinking about deploying our product's next release on 8 but don't know if I can recommend it if I can't debug it. Cheers, Paul. ~~--- This e-mail may contain confidential information. If you are not the intended recipient, please notify the sender immediately and delete this e-mail from your system. You must not disclose this e-mail to anyone without express permission from the sender. The contents of all e-mails sent to and received from Optus may be scanned, stored, or disclosed to others at Optus discretion. Optus has exercised care to avoid errors in the information contained in this e-mail but does not warrant that the information is error or omission free. The information (including any pricing information) contained in this e-mail is subject to change. This e-mail is not a quotation or proposal and no contractual obligations arise until you and Optus sign a formal written contract or formal variation to your existing contract. Any pricing contained in this e-mail is exclusive of GST unless otherwise stated. -- 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 Web site design development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] creationPolicy=queued only works in application mxml?
Title: creationPolicy=queued only works in application mxml? Hi, Just wanted to make sure I'm not missing something. I tried changing the Flex doc example at http://livedocs.macromedia.com/flex/15/flex_docs_en/1152.htm to application.mxml... mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml xmlns=* container/ /mx:Application container.mxml mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml mx:Panel id=panel1 creationPolicy=queued mx:Button id=button1a / mx:Button id=button1b / /mx:Panel mx:Panel id=panel2 creationPolicy=queued mx:Button id=button2a / mx:Button id=button2b / /mx:Panel mx:Panel id=panel3 creationPolicy=queued mx:Button id=button3a / mx:Button id=button3b / /mx:Panel /mx:VBox and all of a sudden the panel children aren't created. Am I missing something or can you only use the queued creationPolicy at the application level? Cheers, Paul. ~~--- This e-mail may contain confidential information. If you are not the intended recipient, please notify the sender immediately and delete this e-mail from your system. You must not disclose this e-mail to anyone without express permission from the sender. The contents of all e-mails sent to and received from Optus may be scanned, stored, or disclosed to others at Optus discretion. Optus has exercised care to avoid errors in the information contained in this e-mail but does not warrant that the information is error or omission free. The information (including any pricing information) contained in this e-mail is subject to change. This e-mail is not a quotation or proposal and no contractual obligations arise until you and Optus sign a formal written contract or formal variation to your existing contract. Any pricing contained in this e-mail is exclusive of GST unless otherwise stated. -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] DataGrid column resizing
Hi all, I've been trying to make my DataGrid's resize appropriately when their parent containers are resized but there is no joy to be had. When you run the following demo code mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; load=myLoad() mx:Script import mx.core.Application; public var app:Application; function myLoad() { app = Application(mx.core.Application.application); } /mx:Script mx:DataGrid width=100% mx:columns mx:Array mx:DataGridColumn headerText=25% width={app.width * .25}/ mx:DataGridColumn headerText=50% width={app.width * .50}/ mx:DataGridColumn headerText=25% width={app.width * .25}/ /mx:Array /mx:columns /mx:DataGrid /mx:Application .. it initially draws in the correct proportion but if you resize the screen you get all sorts of variations in column sizes. Any ideas? Thanks, Paul. ~~--- This e-mail may contain confidential information. If you are not the intended recipient, please notify the sender immediately and delete this e-mail from your system. You must not disclose this e-mail to anyone without express permission from the sender. The contents of all e-mails sent to and received from Optus may be scanned, stored, or disclosed to others at Optus discretion. Optus has exercised care to avoid errors in the information contained in this e-mail but does not warrant that the information is error or omission free. The information (including any pricing information) contained in this e-mail is subject to change. This e-mail is not a quotation or proposal and no contractual obligations arise until you and Optus sign a formal written contract or formal variation to your existing contract. Any pricing contained in this e-mail is exclusive of GST unless otherwise stated. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] DataGrid column resizing
To solve my own issue (at least after testing so far)... mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns:common="ibs.sm.ui.common.*" mx:Script function setColumnSizes():Void { datagrid.getColumnAt(0).__width = datagrid.width * 25 / 100; datagrid.getColumnAt(1).__width = datagrid.width * 50 / 100; datagrid.getColumnAt(2).__width = datagrid.width * 25 / 100; datagrid.getColumnAt(0).resizable = false; datagrid.getColumnAt(1).resizable = false; datagrid.getColumnAt(2).resizable = false; doLater(this, "resizableTrue"); } function resizableTrue():Void { datagrid.getColumnAt(0).resizable = true; datagrid.getColumnAt(1).resizable = true; datagrid.getColumnAt(2).resizable = true; } /mx:Script common:SMDataGrid id="datagrid" width="100%" resize="setColumnSizes()" common:columns mx:Array mx:DataGridColumn headerText="25%"/ mx:DataGridColumn headerText="50%"/ mx:DataGridColumn headerText="25%"/ /mx:Array /common:columns /common:SMDataGrid /mx:Application This is big hack but seems to avoid the redraw nastiness. But of course its using 'undocumented internals that may change in future versions' :-) -Original Message-From: Paul Frantz [mailto:[EMAIL PROTECTED]Sent: Wednesday, 13 April 2005 12:02To: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] DataGrid column resizing Thanks Manish. I had to change the resize attribute to resize="doLater(app, 'setColumnSizes')" for it to work and it you can see it wrestling with flex for control of the widths when its drawing but its better than what I had :) Any other ideas? Cheers, Paul -Original Message-From: Manish Jethani [mailto:[EMAIL PROTECTED]Sent: Wednesday, 13 April 2005 11:37To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] DataGrid column resizingOn 4/13/05, Paul Frantz [EMAIL PROTECTED] wrote: mx:DataGrid width="100%" mx:columns mx:Array mx:DataGridColumn headerText="25%" width="{app.width * .25}"/ mx:DataGridColumn headerText="50%" width="{app.width * .50}"/ mx:DataGridColumn headerText="25%" width="{app.width * .25}"/ /mx:Array /mx:columns /mx:DataGridFor some reason your DataGrid overrides the widths specified by you. To get around this, set up a resize handler and reset the widths indoLater(): function setColumnSizes():Void { datagrid.getColumnAt(0).width = app.width * 25 / 100; datagrid.getColumnAt(1).width = app.width * 50 / 100; datagrid.getColumnAt(2).width = app.width * 25 / 100; } mx:DataGrid width="100%" id="datagrid" resize="doLater(setColumnSizes)"setColumnSizes() is called on the next frame after the DataGrid is resized.-- [EMAIL PROTECTED]http://manish.revise.org/~~---This e-mail may contain confidential information. If you are not the intended recipient, please notify the sender immediately and delete this e-mail from your system. You must not disclose this e-mail to anyone without express permission from the sender. The contents of all e-mails sent to and received from Optus may be scanned, stored, or disclosed to others at Optus discretion.Optus has exercised care to avoid errors in the information contained in this e-mail but does not warrant that the information is error or omission free. The information (including any pricing information) contained in this e-mail is subject to change. This e-mail is not a quotation or proposal and no contractual obligations arise until you and Optus sign a formal written contract or formal variation to your existing contract. Any pricing contained in this e-mail is exclusive of GST unless otherwise stated. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] DataGrid column resizing
Bugger. This should have been... mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Script function setColumnSizes():Void { datagrid.getColumnAt(0).__width = datagrid.width * 25 / 100; datagrid.getColumnAt(1).__width = datagrid.width * 50 / 100; datagrid.getColumnAt(2).__width = datagrid.width * 25 / 100; datagrid.getColumnAt(0).resizable = false; datagrid.getColumnAt(1).resizable = false; datagrid.getColumnAt(2).resizable = false; doLater(this, "resizableTrue"); } function resizableTrue():Void { datagrid.getColumnAt(0).resizable = true; datagrid.getColumnAt(1).resizable = true; datagrid.getColumnAt(2).resizable = true; } /mx:Script mx:DataGrid id="datagrid" width="100%" resize="setColumnSizes()" mx:columns mx:Array mx:DataGridColumn headerText="25%" width="{datagrid.width * .25}"/ mx:DataGridColumn headerText="50%" width="{datagrid.width * .25}"/ mx:DataGridColumn headerText="25%" width="{datagrid.width * .25}"/ /mx:Array /mx:columns /mx:DataGrid /mx:Application -Original Message-From: Paul Frantz [mailto:[EMAIL PROTECTED]Sent: Wednesday, 13 April 2005 15:26To: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] DataGrid column resizing To solve my own issue (at least after testing so far)... SNIP/ ~~--- This e-mail may contain confidential information. If you are not the intended recipient, please notify the sender immediately and delete this e-mail from your system. You must not disclose this e-mail to anyone without express permission from the sender. The contents of all e-mails sent to and received from Optus may be scanned, stored, or disclosed to others at Optus discretion. Optus has exercised care to avoid errors in the information contained in this e-mail but does not warrant that the information is error or omission free. The information (including any pricing information) contained in this e-mail is subject to change. This e-mail is not a quotation or proposal and no contractual obligations arise until you and Optus sign a formal written contract or formal variation to your existing contract. Any pricing contained in this e-mail is exclusive of GST unless otherwise stated. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Left aligned form labels
Yep :) But the following seems to do the trick... test.mxml ?xml version="1.0" encoding="iso-8859-1"? mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" mx:Form HackedFormItem label="small label" mx:TextInput / /HackedFormItem HackedFormItem label="really big label" mx:TextInput / /HackedFormItem HackedFormItem label="really really really big label" mx:TextInput / /HackedFormItem /mx:Form /mx:Application HackedFormItem.as import mx.controls.FormItemLabel; class HackedFormItem extends mx.containers.FormItem { function layoutChildren():Void { super.layoutChildren(); label_mc.x = 0; } } Cheers, Paul. -Original Message-From: Robin Hilliard [mailto:[EMAIL PROTECTED]Sent: Friday, 11 March 2005 13:31To: flexcoders@yahoogroups.comSubject: [flexcoders] Left aligned form labelsHi,Does anyone else find the inability to left align FormItem labels a problem? We have a major US financial client whos style guide requires left aligned labels on forms. I tried to use the FormItem.labelObject property to see if I could get to the label's style attributes but it seems that although it's documented the labelObject property doesn't exist. Has anyone worked out a workaround? We have to build a lot of forms, would be good to be able to use the Flex tags.Cheers,Robinhttp://www.rocketboots.com.au ~~--- This e-mail may contain confidential information. If you are not the intended recipient, please notify the sender immediately and delete this e-mail from your system. You must not disclose this e-mail to anyone without express permission from the sender. The contents of all e-mails sent to and received from Optus may be scanned, stored, or disclosed to others at Optus discretion. Optus has exercised care to avoid errors in the information contained in this e-mail but does not warrant that the information is error or omission free. The information (including any pricing information) contained in this e-mail is subject to change. This e-mail is not a quotation or proposal and no contractual obligations arise until you and Optus sign a formal written contract or formal variation to your existing contract. Any pricing contained in this e-mail is exclusive of GST unless otherwise stated.
DateField memory leak
Hi all, I've been trying to track down a memory leak in our app and I believe I've tracked it down to the DateField widget. It appears that if I select a date programmatically and then delete the component memory usage starts to creep up and is seemingly never garbage collected. The sample code below when run on my machine uses up a delta of ~50M between when the app is first loaded and after 100 iterations of this sequence. Additionally after 100 iterations the Internet Explorer process is chewing up ~20% of my CPU while the app is supposedly idling. Has anyone else run into this issue and perhaps found a workaround? I gotta feeling Matt is going to tell me to go wish :) Cheers, Paul. ?xml version=1.0 encoding=iso-8859-1? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; load=myLoad() mx:Script ![CDATA[ var counter:Number; var intervalId1:Number; var intervalId2:Number; var date:Date; function destroy():Void { clearInterval(intervalId2); viewStack.destroyChildAt(0); counter = counter + 1; if (counter == 100) { clearInterval(intervalId1); } } function create():Void { trace(date = + date); var dateField = viewStack.createChild(mx.controls.DateField, undefined); dateField.selectedDate = date; intervalId2 = setInterval(this, destroy, 2000); } function myLoad():Void { counter = 0; date = new Date(); } function startIterations():Void { intervalId1 = setInterval(this, create, 3000); } function stopIterations():Void { clearInterval(intervalId1); } ]] /mx:Script mx:VBox mx:ViewStack id=viewStack / mx:Button label=start iterations click=startIterations()/ mx:Button label=stop iterations click=stopIterations()/ mx:Label text={counter} / /mx:VBox /mx:Application ~~--- This e-mail may contain confidential information. If you are not the intended recipient, please notify the sender immediately and delete this e-mail from your system. You must not disclose this e-mail to anyone without express permission from the sender. The contents of all e-mails sent to and received from Optus may be scanned, stored, or disclosed to others at Optus discretion. Optus has exercised care to avoid errors in the information contained in this e-mail but does not warrant that the information is error or omission free. The information (including any pricing information) contained in this e-mail is subject to change. This e-mail is not a quotation or proposal and no contractual obligations arise until you and Optus sign a formal written contract or formal variation to your existing contract. Any pricing contained in this e-mail is exclusive of GST unless otherwise stated.