Re: [flexcoders]Where does my SWF gain it's weight?
This is a nice tool for visualizing the data from -link-report: http://joeberkovitz.com/blog/2008/03/26/itdepends-code-dependency-analysis-for-flexair-applications/ http://code.google.com/p/it-depends/ Cheers, -- Anirudh Sasikumar http://anirudhs.chaosnet.org/ On Wed, Apr 1, 2009 at 11:02 AM, Alex Harui aha...@adobe.com wrote: Yeah, you can specify a more sophisticated path to get it to show up elsewhere. There are some third-party link-report viewing tools available as well. I don’t recall the names. One final tip: Don’t link in Donuts.SWC ;-) Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 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:flexcoders-dig...@yahoogroups.com mailto:flexcoders-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: flexcoders-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Complex Charting in Flex
Hi, Can anyone suggest how can i draw a chart using this type of xml. ?xml version=1.0 encoding=utf-8? test stock monthAug/month close High45..87/High Low25.66/Low /close close High45.77/High Low25.96/Low /close open 25.66 /open /stock stock monthSep/month close High45.74/High Low10.23/Low /close close High45.67/High Low25.96/Low /close open 35.29 /open /stock /test For ever
RE: [flexcoders]Where does my SWF gain it's weight?
Nice find. A quick run over our main application shows mx.core is being bundled in - is this normal? If not, is there a way to have mx.core used as a dynamic link? Surely it's part of the Flex STL and not required for static linking. I mean, can you imagine if every app came with msvcr7.dll baked in... Oh? I see. Well, at least it's not the whole .NET Framework, right?... ... ... Oh. :) Tim Rowe Software Engineer carsales.com Ltd -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Anirudh Sasikumar Sent: Wednesday, 1 April 2009 5:01 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]Where does my SWF gain it's weight? This is a nice tool for visualizing the data from -link-report: http://joeberkovitz.com/blog/2008/03/26/itdepends-code-dependency-analysis-for-flexair-applications/ http://code.google.com/p/it-depends/ Cheers, -- Anirudh Sasikumar http://anirudhs.chaosnet.org/ On Wed, Apr 1, 2009 at 11:02 AM, Alex Harui aha...@adobe.com wrote: Yeah, you can specify a more sophisticated path to get it to show up elsewhere. There are some third-party link-report viewing tools available as well. I don't recall the names. One final tip: Don't link in Donuts.SWC ;-) Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
RE: [flexcoders] Making button in data grid invisible based on other columns in the data grid row
Use binding braces: visible={isButtonVisible()} However, if you do not pass in a variable that is bindable, the function will fire only once. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tony Obermeit Sent: Wednesday, April 01, 2009 3:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Making button in data grid invisible based on other columns in the data grid row I'm trying to control whether a button is rendered programmatically. But the code below returns the following error: Initializer for 'visible': cannot parse value of type Boolean from text 'isButtonVisible()'. Please advise. mx:DataGridColumn headerText=Phone number dataField=phone_number/ mx:DataGridColumn headerText=Reset pin mx:itemRenderer mx:Component mx:Button label = Reset pin enabled=false visible=isButtonVisible() / /mx:Component /mx:itemRenderer /mx:DataGridColumn private function isButtonVisible():Boolean{ return false; }
[flexcoders] Making button in data grid invisible based on other columns in the data grid row
I'm trying to control whether a button is rendered programmatically. But the code below returns the following error: Initializer for 'visible': cannot parse value of type Boolean from text 'isButtonVisible()'. Please advise. mx:DataGridColumn headerText=Phone number dataField=phone_number/ mx:DataGridColumn headerText=Reset pin mx:itemRenderer mx:Component mx:Button label = Reset pin enabled=false visible=isButtonVisible() / /mx:Component /mx:itemRenderer /mx:DataGridColumn private function isButtonVisible():Boolean{ return false; }
RE: [flexcoders] Application.application.parameters.
The html wrapper does not automatically pass parameters into the swf. You need some java script like this to get the parameters into an array: var _sPassedUrlParms = new String(document.location).split('?')[1]; //Get any passed-in querystring parms then pass that into the SF in the AC_FL_RunContent() function: flashvars, _sPassedUrlParms, Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Vikram Singh Sent: Wednesday, April 01, 2009 1:13 AM To: Flex Coders Subject: [flexcoders] Application.application.parameters. Hello Everybody. I am facing problem in getting value using Application.application.parameters. I will run my application with http://www.XYZ. http://www.XYZ.com/home.html?user_id=10 com/home.html?user_id=10 in Flex at initialize() function i wrote like this user = Application.application.parameters.user_id but i don't get value 10 in user variable which is declare like [Bindable] private var user : uint; is there any package to include for this? -Vikram. _ Add more friends to your messenger and enjoy! Invite http://in.rd.yahoo.com/tagline_messenger_6/*http:/messenger.yahoo.com/invit e/ them now.
[flexcoders] Issue with Display of textbox setfocus
Friends, I have a Panel, called, Create Array and few text box, when i try to set focus on Name text box it shows me some thing, like, which is in sreen shot, Any solution for it ? Code is mx:Panel title=Create Array width=100% height=100% layout=vertical mx:Form height=100% width=100% FlexComponent:ExtFormItem align_left=true id=name1 label=Name required=true mx:TextInput id=ti_arrayName restrict=A-Za-z0123456789 styleName=padTextInput width=150 / /FlexComponent:ExtFormItem /mx:Form /mx:Panel And is use this command, ti_arrayName.setFocus(); // which i called on a button click Code is very simple, but some times, i see, proper display but some times i see, as per screen shot. Y the hell, adobe flash player showing such behavious, I am using, Flash 10 player. Any solution i would really appricate. -- Regards, Paresh M. More Software Engineer Nashik/Pune, Maharashtra, India. Email - pareshm...@gmail.com attachment: Display.JPG
[flexcoders] Re: Making button in data grid invisible based on other columns in
Thanks Tracy, I tried that but it wasn't any better. I get error Call to possibly undefined method isButtonVisible. Tried making the function definition bindable (not sure if that makes sense) but it wasn't successful. I need to set the button to be visible or not on each row of the data grid. Thanks Re: Making button in data grid invisible based on other columns in http://groups.yahoo.com/group/flexcoders/message/140097;_ylc=X3oDMTJ0NWI4NWJoBF9TAzk3MzU5NzE1BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxNDAwOTcEc2VjA2Rtc2cEc2xrA3Ztc2cEc3RpbWUDMTIzODU3MTk2NQ-- Posted by: Tracy Spratt tspr...@lariatinc.com tspr...@lariatinc.com?subject=+re%3a%20making%20button%20in%20data%20grid%20invisible%20based%20on%20other%20columns%20in%20t nts333rd http://profiles.yahoo.com/nts333rd Wed Apr 1, 2009 12:36 am (PDT) Use binding braces: visible={isButtonVisible()} However, if you do not pass in a variable that is bindable, the function will fire only once. Tracy Spratt, Lariat Services, development services available _
[flexcoders] Re: Can I set specific AdvancedDataGridColumn to be draggable false?
Does anybody knows if a specific ADvancedDataGridColumn can be freezed? not using lockedColumnCount, because it doesnt work for me :( Thanks --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Tuesday 31 Mar 2009, yossi.baram wrote: columns in an AdvancedDataGrid, Can i set it to be false for specific columns and true for the rest? Is a suitable property listed on the live docs ? -- Tom Chiverton Helping to heterogeneously syndicate real-time low-risk content as part of the IT team of the year, '09 and '08 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.halliwells.com.
Re: [flexcoders] Issue with Display of textbox setfocus
Did you try replacing ExtFormItem with mx:FormItem? I think your problem may lie there. If so, you should ask the person who wrote that code. Peter On Wed, Apr 1, 2009 at 8:04 AM, Paresh M More pareshm...@gmail.com wrote: Friends, I have a Panel, called, Create Array and few text box, when i try to set focus on Name text box it shows me some thing, like, which is in sreen shot, Any solution for it ? Code is mx:Panel title=Create Array width=100% height=100% layout=vertical mx:Form height=100% width=100% FlexComponent:ExtFormItem align_left=true id=name1 label=Name required=true mx:TextInput id=ti_arrayName restrict=A-Za-z0123456789 styleName=padTextInput width=150 / /FlexComponent:ExtFormItem /mx:Form /mx:Panel And is use this command, ti_arrayName.setFocus(); // which i called on a button click Code is very simple, but some times, i see, proper display but some times i see, as per screen shot. Y the hell, adobe flash player showing such behavious, I am using, Flash 10 player. Any solution i would really appricate. -- Regards, Paresh M. More Software Engineer Nashik/Pune, Maharashtra, India. Email - pareshm...@gmail.com Messages in this topic http://groups.yahoo.com/group/flexcoders/message/140095;_ylc=X3oDMTM5cDBxY2k3BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxNDAwOTUEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMjM4NTY5NTE1BHRwY0lkAzE0MDA5NQ--( 1) Reply (via web post) http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJzZThiZ2o4BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxNDAwOTUEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMjM4NTY5NTE1?act=replymessageNum=140095| Start a new topic http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJmNWdrY3VpBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNudHBjBHN0aW1lAzEyMzg1Njk1MTU- Messageshttp://groups.yahoo.com/group/flexcoders/messages;_ylc=X3oDMTJmOGo3ajlxBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNtc2dzBHN0aW1lAzEyMzg1Njk1MTQ- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com [image: Yahoo! Groups]http://groups.yahoo.com/;_ylc=X3oDMTJlY2lvMm9oBF9TAzk3NDc2NTkwBGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNnZnAEc3RpbWUDMTIzODU2OTUxNQ-- Change settings via the Webhttp://groups.yahoo.com/group/flexcoders/join;_ylc=X3oDMTJnMWhqZmRoBF9TAzk3NDc2NTkwBGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNzdG5ncwRzdGltZQMxMjM4NTY5NTE1(Yahoo! ID required) Change settings via email: Switch delivery to Daily Digestflexcoders-dig...@yahoogroups.com?subject=email+delivery:+Digest| Switch format to Traditionalflexcoders-traditio...@yahoogroups.com?subject=change+delivery+format:+Traditional Visit Your Group http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJlaTdqNTdmBF9TAzk3NDc2NTkwBGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNocGYEc3RpbWUDMTIzODU2OTUxNQ--| Yahoo! Groups Terms of Use http://docs.yahoo.com/info/terms/ | Unsubscribe flexcoders-unsubscr...@yahoogroups.com?subject=
Re: [flexcoders] Issue with Display of textbox setfocus
yeah, U have replaced by ExtFormItem and here is the code for that package FlexComponent{ import flash.display.DisplayObject; import mx.containers.FormItem; import mx.controls.Label; public class ExtFormItem extends FormItem { public var align_left:Boolean = false; override protected function updateDisplayList(w : Number, h : Number) : void { super.updateDisplayList(w, h); if(align_left) { var index_label:int = -1; var current_label:Label = null; if (label.length 0) { for(var i:Number = 0; i rawChildren.numChildren; i++) { if(rawChildren.getChildAt(i) is Label) { index_label = i; current_label = Label(rawChildren.getChildAt(i)); current_label.x = 0; break; } } } if (required current_label) { for(var k:Number = rawChildren.numChildren-1; k = 0; k--) { if(k != index_label rawChildren.getChildAt(k) is DisplayObject) { var indicator : DisplayObject = rawChildren.getChildAt(k); indicator.x = current_label.width + ((getStyle(indicatorGap)-indicator.width) / 2); break; } } } } } } } On Wed, Apr 1, 2009 at 4:07 PM, Peter Hall peterj...@gmail.com wrote: Did you try replacing ExtFormItem with mx:FormItem? I think your problem may lie there. If so, you should ask the person who wrote that code. Peter On Wed, Apr 1, 2009 at 8:04 AM, Paresh M More pareshm...@gmail.comwrote: Friends, I have a Panel, called, Create Array and few text box, when i try to set focus on Name text box it shows me some thing, like, which is in sreen shot, Any solution for it ? Code is mx:Panel title=Create Array width=100% height=100% layout=vertical mx:Form height=100% width=100% FlexComponent:ExtFormItem align_left=true id=name1 label=Name required=true mx:TextInput id=ti_arrayName restrict=A-Za-z0123456789 styleName=padTextInput width=150 / /FlexComponent:ExtFormItem /mx:Form /mx:Panel And is use this command, ti_arrayName.setFocus(); // which i called on a button click Code is very simple, but some times, i see, proper display but some times i see, as per screen shot. Y the hell, adobe flash player showing such behavious, I am using, Flash 10 player. Any solution i would really appricate. -- Regards, Paresh M. More Software Engineer Nashik/Pune, Maharashtra, India. Email - pareshm...@gmail.com Messages in this topic http://groups.yahoo.com/group/flexcoders/message/140095;_ylc=X3oDMTM5cDBxY2k3BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxNDAwOTUEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMjM4NTY5NTE1BHRwY0lkAzE0MDA5NQ--( 1) Reply (via web post) http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJzZThiZ2o4BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxNDAwOTUEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMjM4NTY5NTE1?act=replymessageNum=140095| Start a new topic http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJmNWdrY3VpBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNudHBjBHN0aW1lAzEyMzg1Njk1MTU- Messageshttp://groups.yahoo.com/group/flexcoders/messages;_ylc=X3oDMTJmOGo3ajlxBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNtc2dzBHN0aW1lAzEyMzg1Njk1MTQ- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com [image: Yahoo! Groups]http://groups.yahoo.com/;_ylc=X3oDMTJlY2lvMm9oBF9TAzk3NDc2NTkwBGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNnZnAEc3RpbWUDMTIzODU2OTUxNQ-- Change settings via the Webhttp://groups.yahoo.com/group/flexcoders/join;_ylc=X3oDMTJnMWhqZmRoBF9TAzk3NDc2NTkwBGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNzdG5ncwRzdGltZQMxMjM4NTY5NTE1(Yahoo! ID required) Change settings via email: Switch delivery to Daily Digestflexcoders-dig...@yahoogroups.com?subject=email+delivery:+Digest| Switch format to Traditionalflexcoders-traditio...@yahoogroups.com?subject=change+delivery+format:+Traditional Visit Your Group http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJlaTdqNTdmBF9TAzk3NDc2NTkwBGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNocGYEc3RpbWUDMTIzODU2OTUxNQ--| Yahoo! Groups Terms of Use http://docs.yahoo.com/info/terms/ | Unsubscribe flexcoders-unsubscr...@yahoogroups.com?subject= -- Regards, Paresh M.
Re: [flexcoders] Issue with Display of textbox setfocus
Sry i have replaced by ExtFormItem and here is the code for that package FlexComponent{ import flash.display.DisplayObject; import mx.containers.FormItem; import mx.controls.Label; public class ExtFormItem extends FormItem { public var align_left:Boolean = false; override protected function updateDisplayList(w : Number, h : Number) : void { super.updateDisplayList(w, h); if(align_left) { var index_label:int = -1; var current_label:Label = null; if (label.length 0) { for(var i:Number = 0; i rawChildren.numChildren; i++) { if(rawChildren.getChildAt(i) is Label) { index_label = i; current_label = Label(rawChildren.getChildAt(i)); current_label.x = 0; break; } } } if (required current_label) { for(var k:Number = rawChildren.numChildren-1; k = 0; k--) { if(k != index_label rawChildren.getChildAt(k) is DisplayObject) { var indicator : DisplayObject = rawChildren.getChildAt(k); indicator.x = current_label.width + ((getStyle(indicatorGap)-indicator.width) / 2); break; } } } } } } } On Wed, Apr 1, 2009 at 4:11 PM, Paresh M More pareshm...@gmail.com wrote: yeah, U have replaced by ExtFormItem and here is the code for that package FlexComponent{ import flash.display.DisplayObject; import mx.containers.FormItem; import mx.controls.Label; public class ExtFormItem extends FormItem { public var align_left:Boolean = false; override protected function updateDisplayList(w : Number, h : Number) : void { super.updateDisplayList(w, h); if(align_left) { var index_label:int = -1; var current_label:Label = null; if (label.length 0) { for(var i:Number = 0; i rawChildren.numChildren; i++) { if(rawChildren.getChildAt(i) is Label) { index_label = i; current_label = Label(rawChildren.getChildAt(i)); current_label.x = 0; break; } } } if (required current_label) { for(var k:Number = rawChildren.numChildren-1; k = 0; k--) { if(k != index_label rawChildren.getChildAt(k) is DisplayObject) { var indicator : DisplayObject = rawChildren.getChildAt(k); indicator.x = current_label.width + ((getStyle(indicatorGap)-indicator.width) / 2); break; } } } } } } } On Wed, Apr 1, 2009 at 4:07 PM, Peter Hall peterj...@gmail.com wrote: Did you try replacing ExtFormItem with mx:FormItem? I think your problem may lie there. If so, you should ask the person who wrote that code. Peter On Wed, Apr 1, 2009 at 8:04 AM, Paresh M More pareshm...@gmail.comwrote: Friends, I have a Panel, called, Create Array and few text box, when i try to set focus on Name text box it shows me some thing, like, which is in sreen shot, Any solution for it ? Code is mx:Panel title=Create Array width=100% height=100% layout=vertical mx:Form height=100% width=100% FlexComponent:ExtFormItem align_left=true id=name1 label=Name required=true mx:TextInput id=ti_arrayName restrict=A-Za-z0123456789 styleName=padTextInput width=150 / /FlexComponent:ExtFormItem /mx:Form /mx:Panel And is use this command, ti_arrayName.setFocus(); // which i called on a button click Code is very simple, but some times, i see, proper display but some times i see, as per screen shot. Y the hell, adobe flash player showing such behavious, I am using, Flash 10 player. Any solution i would really appricate. -- Regards, Paresh M. More Software Engineer Nashik/Pune, Maharashtra, India. Email - pareshm...@gmail.com Messages in this topic http://groups.yahoo.com/group/flexcoders/message/140095;_ylc=X3oDMTM5cDBxY2k3BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxNDAwOTUEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMjM4NTY5NTE1BHRwY0lkAzE0MDA5NQ--( 1) Reply (via web post) http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJzZThiZ2o4BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxNDAwOTUEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMjM4NTY5NTE1?act=replymessageNum=140095| Start a new
[flexcoders] Re: Custom Classes and Custom Events
I did some testing and debugging. I even added a button in my main application. The clickevent just shows the number of records of my datagrid. click = Alert.show(myCustComp.myDG.length); And this gives me the exact number of records. Even if I do following : click = Alert.show(myCustComp.myDG.source[0].fieldname); it showed me the right record. Finally I discovered that the fieldname I used to populate the datagrid started with a capital letter while the fieldname itselves started with a small letter. It took me about 2 days to figure this out, but I'm quite sure I will know faster next time. Thanks for all your help. --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: In the line, dataProvider = {_data}, how is _data in scope? If your handler sets the array collection in CustComp.as, .wait a minute, you can't have an .as component and a .mxml component with the same name. I see you wrote the same thing with Main. Maybe you are not saying these are different component/files? Have you debugged into the setter function to see if you have your data there? If _data and myDG are in the same component, then what you shave should work. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of secrit.service Sent: Tuesday, March 31, 2009 5:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Custom Classes and Custom Events OK, I put the eventlistener on my instance of the RemoteObject custom component (in the main application) and guess what the evenhandler is catched. BUT ... (there's always a but) I don't get my data in my datagrid custom component yet. Here's a short overview : Main.mxml comp:CustComp id=myCustComp Main.as private function databaseChange_EventHandler (evt:CustEvent):void { myCustComp.data = evt.data; } CustComp.as [Bindable] private var _data:ArrayCollection; public function set data (pData:ArrayCollection) : void { this._data = pData; } CustComp.mxml mx:HBOX id = myToolBar/ mx:DataGrid id = myDG dataProvider = {_data}/ mx:HBOX id = myStatusBar/ In my main app I have the databaseChange_EventHandler. This eventHandler gets the data as expected, meaning evt.data is an arrayCollection containing all the records I needed. These records are mapped to an arrayCollection of my instance of myCustComp which is made bindable and acts as the dataprovider of my datagrid in myCustComp. However my datagrid is not populated at all and to my opinion it should. Any remarks? Thansk again!! --- In flexcoders@yahoogroups.com, secrit.service secrit-service@ wrote: Hi, thanks for your responses so far. Based on what I read, I'm quite sure I'm on the right track. But unfortunately it still doesn't work. I will explain my problem a bit more in detail, hoping to get a clue of what's wrong. When starting my application, I make a call to a mySQL database to retrieve the available records and want to populate a datagrid with these records. These are the steps I took : -1- My main application is separated in a mxml- (main.mxml) and an AS-file (main.as). -2- To avoid lots of resulthandlers in my main application, I created a custom class extended from a RemoteObject (CustRO.as) In this class I defined a public static const GET_ALL_DATA and mapped it to getAllData public const GET_ALL_DATA:String = getAllData; Also I defined a var _data of type ArrayCollection. private var _data:ArrayCollection = new ArrayCollection(); In the constructor I added an eventListener : this.getOperation(GET_ALL_DATA).addEventListener(result, getAllData_resultHandler); -3- I also created a custom class extended from Event (CustEvent.as) with following vars : public static const CHANGE:String = databaseChange; private var _data:ArrayCollection; -4- The main.mxml contains a custom component (myComp) with the datagrid in it (also included : toolbar and statusbar). -5- In main.as I created an instance of CustRO.as (myRO). -6- Using myRO.getOperation(myRO.GET_ALL_DATA).send() I make a call to the database -7- In my resultHandler I wrote this._data = evt.result. While debugging my application I can see that this part works fine. Also in the resultHandler I make a new instance of CustEvent and called it myEventObj var myEventObj:CustEvent = new CustEvent(CustEvent.CHANGE); myEventObj.data = this._data; dispatchEvent(myEventObj); -8- Event is dispatched. The only thing I need to do is to catch it. Therefor I added a listener to my datagrid by adding following line in the creationComplete of my custom component myComp myDataGrid.addEventListener(CustEvent.CHANGE, databaseChange_eventHandler); -9- Finally in the databaseChange_eventHandler I map _data to evt.result and use _data as dataprovider of my datagrid. As I mentioned before, aa event with
Re: [flexcoders] Issue with Display of textbox setfocus
Yes, that looks like the problem. Peter On Wed, Apr 1, 2009 at 11:42 AM, Paresh M More pareshm...@gmail.com wrote: Sry i have replaced by ExtFormItem and here is the code for that package FlexComponent{ import flash.display.DisplayObject; import mx.containers.FormItem; import mx.controls.Label; public class ExtFormItem extends FormItem { public var align_left:Boolean = false; override protected function updateDisplayList(w : Number, h : Number) : void { super.updateDisplayList(w, h); if(align_left) { var index_label:int = -1; var current_label:Label = null; if (label.length 0) { for(var i:Number = 0; i rawChildren.numChildren; i++) { if(rawChildren.getChildAt(i) is Label) { index_label = i; current_label = Label(rawChildren.getChildAt(i)); current_label.x = 0; break; } } } if (required current_label) { for(var k:Number = rawChildren.numChildren-1; k = 0; k--) { if(k != index_label rawChildren.getChildAt(k) is DisplayObject) { var indicator : DisplayObject = rawChildren.getChildAt(k); indicator.x = current_label.width + ((getStyle(indicatorGap)-indicator.width) / 2); break; } } } } } } } On Wed, Apr 1, 2009 at 4:11 PM, Paresh M More pareshm...@gmail.comwrote: yeah, U have replaced by ExtFormItem and here is the code for that package FlexComponent{ import flash.display.DisplayObject; import mx.containers.FormItem; import mx.controls.Label; public class ExtFormItem extends FormItem { public var align_left:Boolean = false; override protected function updateDisplayList(w : Number, h : Number) : void { super.updateDisplayList(w, h); if(align_left) { var index_label:int = -1; var current_label:Label = null; if (label.length 0) { for(var i:Number = 0; i rawChildren.numChildren; i++) { if(rawChildren.getChildAt(i) is Label) { index_label = i; current_label = Label(rawChildren.getChildAt(i)); current_label.x = 0; break; } } } if (required current_label) { for(var k:Number = rawChildren.numChildren-1; k = 0; k--) { if(k != index_label rawChildren.getChildAt(k) is DisplayObject) { var indicator : DisplayObject = rawChildren.getChildAt(k); indicator.x = current_label.width + ((getStyle(indicatorGap)-indicator.width) / 2); break; } } } } } } } On Wed, Apr 1, 2009 at 4:07 PM, Peter Hall peterj...@gmail.com wrote: Did you try replacing ExtFormItem with mx:FormItem? I think your problem may lie there. If so, you should ask the person who wrote that code. Peter On Wed, Apr 1, 2009 at 8:04 AM, Paresh M More pareshm...@gmail.comwrote: Friends, I have a Panel, called, Create Array and few text box, when i try to set focus on Name text box it shows me some thing, like, which is in sreen shot, Any solution for it ? Code is mx:Panel title=Create Array width=100% height=100% layout=vertical mx:Form height=100% width=100% FlexComponent:ExtFormItem align_left=true id=name1 label=Name required=true mx:TextInput id=ti_arrayName restrict=A-Za-z0123456789 styleName=padTextInput width=150 / /FlexComponent:ExtFormItem /mx:Form /mx:Panel And is use this command, ti_arrayName.setFocus(); // which i called on a button click Code is very simple, but some times, i see, proper display but some times i see, as per screen shot. Y the hell, adobe flash player showing such behavious, I am using, Flash 10 player. Any solution i would really appricate. -- Regards, Paresh M. More Software Engineer Nashik/Pune, Maharashtra, India. Email - pareshm...@gmail.com Messages in this topic http://groups.yahoo.com/group/flexcoders/message/140095;_ylc=X3oDMTM5cDBxY2k3BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxNDAwOTUEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMjM4NTY5NTE1BHRwY0lkAzE0MDA5NQ--( 1) Reply (via web post)
Re: [flexcoders] Issue with Display of textbox setfocus
where can we figure it out ? On Wed, Apr 1, 2009 at 4:31 PM, Peter Hall peterj...@gmail.com wrote: Yes, that looks like the problem. Peter On Wed, Apr 1, 2009 at 11:42 AM, Paresh M More pareshm...@gmail.comwrote: Sry i have replaced by ExtFormItem and here is the code for that package FlexComponent{ import flash.display.DisplayObject; import mx.containers.FormItem; import mx.controls.Label; public class ExtFormItem extends FormItem { public var align_left:Boolean = false; override protected function updateDisplayList(w : Number, h : Number) : void { super.updateDisplayList(w, h); if(align_left) { var index_label:int = -1; var current_label:Label = null; if (label.length 0) { for(var i:Number = 0; i rawChildren.numChildren; i++) { if(rawChildren.getChildAt(i) is Label) { index_label = i; current_label = Label(rawChildren.getChildAt(i)); current_label.x = 0; break; } } } if (required current_label) { for(var k:Number = rawChildren.numChildren-1; k = 0; k--) { if(k != index_label rawChildren.getChildAt(k) is DisplayObject) { var indicator : DisplayObject = rawChildren.getChildAt(k); indicator.x = current_label.width + ((getStyle(indicatorGap)-indicator.width) / 2); break; } } } } } } } On Wed, Apr 1, 2009 at 4:11 PM, Paresh M More pareshm...@gmail.comwrote: yeah, U have replaced by ExtFormItem and here is the code for that package FlexComponent{ import flash.display.DisplayObject; import mx.containers.FormItem; import mx.controls.Label; public class ExtFormItem extends FormItem { public var align_left:Boolean = false; override protected function updateDisplayList(w : Number, h : Number) : void { super.updateDisplayList(w, h); if(align_left) { var index_label:int = -1; var current_label:Label = null; if (label.length 0) { for(var i:Number = 0; i rawChildren.numChildren; i++) { if(rawChildren.getChildAt(i) is Label) { index_label = i; current_label = Label(rawChildren.getChildAt(i)); current_label.x = 0; break; } } } if (required current_label) { for(var k:Number = rawChildren.numChildren-1; k = 0; k--) { if(k != index_label rawChildren.getChildAt(k) is DisplayObject) { var indicator : DisplayObject = rawChildren.getChildAt(k); indicator.x = current_label.width + ((getStyle(indicatorGap)-indicator.width) / 2); break; } } } } } } } On Wed, Apr 1, 2009 at 4:07 PM, Peter Hall peterj...@gmail.com wrote: Did you try replacing ExtFormItem with mx:FormItem? I think your problem may lie there. If so, you should ask the person who wrote that code. Peter On Wed, Apr 1, 2009 at 8:04 AM, Paresh M More pareshm...@gmail.comwrote: Friends, I have a Panel, called, Create Array and few text box, when i try to set focus on Name text box it shows me some thing, like, which is in sreen shot, Any solution for it ? Code is mx:Panel title=Create Array width=100% height=100% layout=vertical mx:Form height=100% width=100% FlexComponent:ExtFormItem align_left=true id=name1 label=Name required=true mx:TextInput id=ti_arrayName restrict=A-Za-z0123456789 styleName=padTextInput width=150 / /FlexComponent:ExtFormItem /mx:Form /mx:Panel And is use this command, ti_arrayName.setFocus(); // which i called on a button click Code is very simple, but some times, i see, proper display but some times i see, as per screen shot. Y the hell, adobe flash player showing such behavious, I am using, Flash 10 player. Any solution i would really appricate. -- Regards, Paresh M. More Software Engineer Nashik/Pune, Maharashtra, India. Email - pareshm...@gmail.com Messages in this topic
[flexcoders] Re: No message broker found
work around for my use case: because a client uploads a file which then starts the multiple inserts into the managed collection i could refresh that collection from the client side after my upload complete event. Because the client then gets new data, all other clients's (with that managed collection open) data also updates. This would obviously not work if the change to my data was initiated by a non flex client. On Tue, Mar 31, 2009 at 6:36 PM, Johannes Nel johannes@gmail.comwrote: Hi All Using a many to one relationship on a collection and I have more than one client which has the collection visible. From my java code I refresh my fills and then I get the no message broker error. Yet if I add anything to the collection from within my flex app the changes propagate fine. So really this only happens when telling my hibernate assembler to refresh post me creating more items in the collection. The error is as clear as mud, so can someone point me in some direction. johan -- j:pn \\no comment -- j:pn \\no comment
Re: [flexcoders]Where does my SWF gain it's weight?
If you have multiple modules in the compile, am I right to think the link report only shows the info for the last module built? That's how it seems, but perhaps I'm just missing something... Guy On 01/04/2009, at 4:32 PM, Alex Harui wrote: Yeah, you can specify a more sophisticated path to get it to show up elsewhere. There are some third-party link-report viewing tools available as well. I don’t recall the names. One final tip: Don’t link in Donuts.SWC ;-) Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of dorkie dork from dorktown Sent: Tuesday, March 31, 2009 10:17 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]Where does my SWF gain it's weight? Hi Alex, Thanks, FFR - –link-report outputfile.xml, shows up in bin-debug. On Sat, Mar 28, 2009 at 11:15 AM, Alex Harui aha...@adobe.com wrote: Use –link-report. The sizes aren’t accurate as absolute, but are as relative sizes Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]on Behalf Of Nicolas Noben Sent: Friday, March 27, 2009 5:23 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]Where does my SWF gain it's weight? Yeah make a search through all the files for 'Embed' and make sure that everything that is embedded really needs to be. That's the biggest hog. Also make sure your final build is published using 'Export release build'. You will save a fair bit at release time. But it's mostly assets' fault. Unless you've added plenty of custom components who extend default ones.. HTH -- Nicolas Noben P http://noben.org B http://idletogether.com T http://twitter.com/keyle --- In flexcoders@yahoogroups.com, dorkie dork from dorktown dorkiedorkfromdorkt...@... wrote: Is there a tool or a way to find out what classes are making my SWF fat? It's been a few months since I last checked my SWF file size and it's 1.2mb. It used to be 600kb and I've made so many changes since then I don't know where the weight is coming in.
[flexcoders] Re: Flex Debug Problem
Thank you for the answer but the problems still remains... I've tried to import the project to another PC (WIN XP) and I get these 2 problems: A) if I create a new project (copying my old files later) I get the same problem of my first message B) if I import the project directory there's a new problem: my bin-debug directory remains with old compiled files (it seems that he can't write on them, it's impossibile!) and I see the old version of my application. Every change (deleting, moving, ecc..) to the bin-debug directory it get me to A) problem. I'm very confused and I can't do anything... please help me! --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: First, try closing ad re-opening FlexBuilder and the project. That fixed this error for me. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of alexprando Sent: Tuesday, March 31, 2009 10:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Debug Problem I have imported an AIR project to Flex Builder 3.2.0, but I get this error: Process terminated without establishing connection to debugger. Command: /Applications/Adobe Flex Builder 3/sdks/3.2.0/bin/adl -runtime /Applications/Adobe Flex Builder 3/sdks/3.2.0/runtimes/air/mac /Users/mac_video/Documents/Flex Builder 3/PSM Flash2/bin-debug/psmflash-app.xml /Users/mac_video/Documents/Flex Builder 3/PSM Flash2/bin-debug Output from command: initial content not found I have changed the 2nd line of project specs with application xmlns=http://ns.adobe. http://ns.adobe.com/air/application/1.5 com/air/application/1.5 but it doesn't work... Anyone have an idea about that? Thank you very much, it's very important for me and for my work.
[flexcoders] Concurrent acces of data by more than one users - throws error
I am a newbie to Flex. I am using Flex, BlazDS, Tomcat 6, MySQL 5.1 for the project I am working on. When more that one users access the database concurrently (which has over 800 records), it throws an error message sying No operations allowed after statement closed. I know this issue has been addressed before, but none of the solutions seems to be working for me. If it is accessed by one user at a time, it works alright. I am using the connection pooling. Please see the resource setting for the connection pooling I am using below. Resource name=jdbc/DSMDB auth=Container type=javax.sql.DataSource maxWait=1 maxActive=1500 maxIdle=300 removeAbandoned=true removeAbandonedTimeout=1 logAbandoned=true username=root password=emergent driverClassName=com.mysql.jdbc.Driver url=jdbc:mysql://localhost:3306/jjrr?autoReconnect=true/ please help me to fix this issue. I really appreciate your time. Thanks Simon
[flexcoders] removing the alignment AdvancedDataGridColumnGroup's
Hey Guys, Doing a gantt chart style application like doug, as Im building up my advanced date grid, I noticed I DID NOT want the columns all to align under each group. For instance if group 1, consisted of child 1 and child 2, is it possible to have the right hand edge of child 2, cross over into the space occupied by group 2? bah I hope this isnt confusing .. but if you look at this website http://www.yutiti.com/yutiti/index.jsp and select the staff scheduling option in the top of the right hand column .. if you zoom the chart out to a year view .. you will notice that week columns CAN actually span multiple month column groups ... anyway Im finding it difficult to work out how to do this odd alignment .. hope its not too confusing ... Thanks
[flexcoders] Concurrent acces of data by more than one users
I am a newbie to Flex. I am using Flex, BlazDS, Tomcat 6, MySQL 5.1 for the project I am working on. When more that one users access the database concurrently (which has over 800 records), it throws an error message sying No operations allowed after statement closed. I know this issue has been addressed before, but none of the solutions seems to be working for me. If it is accessed by one user at a time, it works alright. I am using the connection pooling. Please see the resource setting for the connection pooling I am using below. Resource name=jdbc/DSMDB auth=Container type=javax.sql.DataSource maxWait=1 maxActive=1500 maxIdle=300 removeAbandoned=true removeAbandonedTimeout=1 logAbandoned=true username=root password=emergent driverClassName=com.mysql.jdbc.Driver url=jdbc:mysql://localhost:3306/jjrr?autoReconnect=true/ please help me to fix this issue. I really appreciate your time. Thanks Simon
Re: [flexcoders] Concurrent acces of data by more than one users
Probably something wrong with your servlet/tomcat code... You close a connection where you should not closing it or somehting similar... I do not think it has anything to do with flex. On Wed, Apr 1, 2009 at 8:08 AM, Simon Mathew avara...@yahoo.com wrote: I am a newbie to Flex. I am using Flex, BlazDS, Tomcat 6, MySQL 5.1 for the project I am working on. When more that one users access the database concurrently (which has over 800 records), it throws an error message sying No operations allowed after statement closed. I know this issue has been addressed before, but none of the solutions seems to be working for me. If it is accessed by one user at a time, it works alright. I am using the connection pooling. Please see the resource setting for the connection pooling I am using below. Resource name=jdbc/DSMDB auth=Container type=javax.sql.DataSource maxWait=1 maxActive=1500 maxIdle=300 removeAbandoned=true removeAbandonedTimeout=1 logAbandoned=true username=root password=emergent driverClassName=com.mysql.jdbc.Driver url=jdbc:mysql://localhost:3306/jjrr?autoReconnect=true/ please help me to fix this issue. I really appreciate your time. Thanks Simon -- Fotis Chatzinikos, Ph.D. Founder, Phinnovation fotis.chatzini...@gmail.com,
[flexcoders] Re: Context Menu Bug in FlashPlayer ?
Not here. I am still using Flash Player 9.0.124. --- In flexcoders@yahoogroups.com, jmfillman jmfill...@... wrote: Thank you for the follow-up. The blankMenu is actually a left over from my actual application and wasn't needed for this sample code. This worked fine in FlashPlayer 9, so must be a bug with 10. JF --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote: I tried your code and it crashes my browser here. I could not find a way to stop that behavior in my (Admittedly short) testing. The only thing that jumped out at me was that your blankMenu is a null object as it is never instantiated. Unfortunately, even if it is instantiated, the crashing continues. The one question I have is why you are assigning a blank menu on mouseout? There is no reason to do this. If the mouse is no longer over the button, there is no context menu. I would just ignore a mouseout entirely. If I get some more time I will have another look. Other that that, maybe someone else has a suggestion. Steve --- In flexcoders@yahoogroups.com, jmfillman jmfillman@ wrote: Any suggestions? Am I doing something wrong? JF --- In flexcoders@yahoogroups.com, jmfillman jmfillman@ wrote: The code below causes both IE and Firefox to crash (haven't tried others). The problem seems to occure when removing an item from a custom context menu. It doesn't even debug, just crashes the browser. If I add this one line: menu.customItems.pop(); then the browser crashes. If I remove it, if functions as expected. Please help. Sample code below: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.controls.Alert; [Bindable] public var menu:ContextMenu; [Bindable] public var blankMenu:ContextMenu; public function mouseOvr(event:MouseEvent):void { menu = new ContextMenu; var addPop:ContextMenuItem = new ContextMenuItem(Do Something); addPop.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, newPop); menu.customItems.push(addPop); myButton.contextMenu = menu; } public function newPop (event:ContextMenuEvent):void { Alert.show(Hi); } public function mouseOt(event:MouseEvent):void { myButton.contextMenu = blankMenu; menu.customItems.pop(); } ]] /mx:Script mx:Button x=349 y=189 label=Button width=101 height=41 id=myButton mouseOver=mouseOvr(event) mouseOut=mouseOt(event)/ /mx:Application
[flexcoders] Re: Context Menu Bug in FlashPlayer ?
I think I know why it crashes (Although it should not crash the browser - it should fail with a Flash null object error. You should file a bug). When a right click event happens, a mouse out event happens first (Why? I don't know. Maybe this is a bug too) so your mouseOt function gets called which removes the context menu item. I assume, at this point, that the eventlistener is no longer valid but the event has already fired and is trying to find somewhere to go. This is what causes the crash. The moral of this is that you should not remove something willy nilly like this. First make sure you do not need it any more and then remove it. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Not here. I am still using Flash Player 9.0.124. --- In flexcoders@yahoogroups.com, jmfillman jmfillman@ wrote: Thank you for the follow-up. The blankMenu is actually a left over from my actual application and wasn't needed for this sample code. This worked fine in FlashPlayer 9, so must be a bug with 10. JF --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote: I tried your code and it crashes my browser here. I could not find a way to stop that behavior in my (Admittedly short) testing. The only thing that jumped out at me was that your blankMenu is a null object as it is never instantiated. Unfortunately, even if it is instantiated, the crashing continues. The one question I have is why you are assigning a blank menu on mouseout? There is no reason to do this. If the mouse is no longer over the button, there is no context menu. I would just ignore a mouseout entirely. If I get some more time I will have another look. Other that that, maybe someone else has a suggestion. Steve --- In flexcoders@yahoogroups.com, jmfillman jmfillman@ wrote: Any suggestions? Am I doing something wrong? JF --- In flexcoders@yahoogroups.com, jmfillman jmfillman@ wrote: The code below causes both IE and Firefox to crash (haven't tried others). The problem seems to occure when removing an item from a custom context menu. It doesn't even debug, just crashes the browser. If I add this one line: menu.customItems.pop(); then the browser crashes. If I remove it, if functions as expected. Please help. Sample code below: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.controls.Alert; [Bindable] public var menu:ContextMenu; [Bindable] public var blankMenu:ContextMenu; public function mouseOvr(event:MouseEvent):void { menu = new ContextMenu; var addPop:ContextMenuItem = new ContextMenuItem(Do Something); addPop.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, newPop); menu.customItems.push(addPop); myButton.contextMenu = menu; } public function newPop (event:ContextMenuEvent):void { Alert.show(Hi); } public function mouseOt(event:MouseEvent):void { myButton.contextMenu = blankMenu; menu.customItems.pop(); } ]] /mx:Script mx:Button x=349 y=189 label=Button width=101 height=41 id=myButton mouseOver=mouseOvr(event) mouseOut=mouseOt(event)/ /mx:Application
Re: [flexcoders] Re: Can I set specific AdvancedDataGridColumn to be draggable false?
On Wednesday 01 Apr 2009, yossi.baram wrote: Does anybody knows if a specific ADvancedDataGridColumn can be freezed? not using lockedColumnCount, because it doesnt work for me :( Do you have a reproducible test case ? -- Helping to vitalistically transition low-risk fifth-generation six-generation granular designs as part of the IT team of the year, '09 and '08 Tom Chiverton Developer Tel: +44 0161 618 5032 Fax: +44 0161 618 5099 tom.chiver...@halliwells.com 3 Hardman Square, Manchester, M3 3EB www.Halliwells.com 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.Halliwells.com.
RE: [flexcoders]Where does my SWF gain it's weight?
If you name the link-reports differently, they shouldn't overwrite themselves. (Coming to this late) You using Ant? Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/ The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact is.helpd...@inps.co.uk From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Guy Morton Sent: 01 April 2009 13:11 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]Where does my SWF gain it's weight? If you have multiple modules in the compile, am I right to think the link report only shows the info for the last module built? That's how it seems, but perhaps I'm just missing something... Guy On 01/04/2009, at 4:32 PM, Alex Harui wrote: Yeah, you can specify a more sophisticated path to get it to show up elsewhere. There are some third-party link-report viewing tools available as well. I don't recall the names. One final tip: Don't link in Donuts.SWC ;-) Alex Harui Flex SDK Developer Adobe Systems Inc. http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcoders@ mailto:flexcoders@ yahoogroups.com] On Behalf Of dorkie dork from dorktown Sent: Tuesday, March 31, 2009 10:17 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]Where does my SWF gain it's weight? Hi Alex, Thanks, FFR - -link-report outputfile.xml, shows up in bin-debug. On Sat, Mar 28, 2009 at 11:15 AM, Alex Harui aha...@adobe.com mailto:aha...@adobe.com wrote: Use -link-report. The sizes aren't accurate as absolute, but are as relative sizes Alex Harui Flex SDK Developer Adobe Systems Inc. http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ]On Behalf Of Nicolas Noben Sent: Friday, March 27, 2009 5:23 PM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: Re: [flexcoders]Where does my SWF gain it's weight? Yeah make a search through all the files for 'Embed' and make sure that everything that is embedded really needs to be. That's the biggest hog. Also make sure your final build is published using 'Export release build'. You will save a fair bit at release time. But it's mostly assets' fault. Unless you've added plenty of custom components who extend default ones.. HTH -- Nicolas Noben P http://noben.org http://noben.org B http://idletogether.com http://idletogether.com T http://twitter.com/keyle http://twitter.com/keyle --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , dorkie dork from dorktown dorkiedorkfromdorkt...@... wrote: Is there a tool or a way to find out what classes are making my SWF fat? It's been a few months since I last checked my SWF file size and it's 1.2mb. It used to be 600kb and I've made so many changes since then I don't know where the weight is coming in.
Re: [flexcoders] Re: Ribbon in FLEX
On Wednesday 01 Apr 2009, Jeffry Houser wrote: It is most likely due to the massive interface change between 2003 and 2007. I understood that the research showed that this approach was more approachable and easier for beginners. shrug If I were having to retrain thousands of staff from scratch, I might well be looking at a free office suite to teach them... More importantly, I have a concern. There is plenty of room in RIA and Microsoft-oriented forums and groups to make their case. I'm even fine with some open debate in Flexcoders. What I don't want to see is Microsoft's Rich Platforms Product Manager, let alone other Microsofties, spamming our Flex group with spin on thread after thread after thread. Given the traffic on this list, I hardly think that the 2-3 on-topic posts I've seen from Scott in the past week classify as spam. (moderator hat on) No, I don't think so either. I think it's good they chime in from time to time, same as anyone else. (moderator hat off) Microsoft has a view point, I might not agree or like what they say, do or produce, but they just as much right to say it (as long as it's on topic for the thread, etc.). -- Helping to autoschediastically seize essential market-driven eigth-generation essential networks as part of the IT team of the year, '09 and '08 Tom Chiverton Developer Tel: +44 0161 618 5032 Fax: +44 0161 618 5099 tom.chiver...@halliwells.com 3 Hardman Square, Manchester, M3 3EB www.Halliwells.com 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.Halliwells.com.
Re: [flexcoders] Ruben's FlexBook component question
On Wednesday 25 Mar 2009, Igor Costa wrote: I found a guy who added a couple of public methods but no one that made the size of book re sizable when the screen gets bigger or less. I would imagine it's easy enough to observe the application size, and the re-call the components layout code... -- Helping to professionally foster corporate world-class transparent mission-critical content as part of the IT team of the year, '09 and '08 Tom Chiverton Developer Tel: +44 0161 618 5032 Fax: +44 0161 618 5099 tom.chiver...@halliwells.com 3 Hardman Square, Manchester, M3 3EB www.Halliwells.com 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.Halliwells.com.
Re: [flexcoders] ADG Memory leak.
Hi All, Here is the Adobe bug that this issue is attached to, including the test case I mentioned (though it returns super() vs. .this) ...as of this morning, they have the bug marked as fixed/resolved in changelist 227803. http://bugs.adobe.com/jira/browse/FLEXDMV-1968 Best, Adrian Tom Chiverton wrote: On Monday 23 Mar 2009, Adrian Williams wrote: a sieve. And as an experiment, we setup a custom renderer that simply returned .this and it leaked like crazy. We have a fairly large ADG (100+ columns) and every time we'd scroll right to see more columns, Could you attach this as a test case to an issue in the DMV project on bugs.adobe.com ? -- Tom Chiverton Helping to continuously mesh compelling e-tailers as part of the IT team of the year, '09 and '08 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.halliwells.com http://www.halliwells.com/.
[flexcoders] Ellipses in Advanced datagrid's data
hi i need to implement ellipses(to avoid truncation of long name of data in column) concept in Advanced datagrid in flex. Ellipses concept: If name(Ex:Senthilkumar) exceed its length,it will show like Senthi..
[flexcoders] Re: Application.application.parameters.
I use a custom QueryString class for this... package { import flash.external.*; import flash.utils.*; public class QueryString { private var _queryString:String; private var _all:String; private var _params:Object; public function get queryString():String { return _queryString; } public function get url():String { return _all; } public function get parameters():Object { return _params; } public function QueryString() { readQueryString(); } private function readQueryString():void { _params = {}; try { _all = ExternalInterface.call(window.location.href.toString); _queryString = ExternalInterface.call(window.location.search.substring, 1); if(_queryString) { var params:Array = _queryString.split(''); var length:uint = params.length; for (var i:uint=0,index:int=-1; ilength; i++) { var kvPair:String = params[i]; if((index = kvPair.indexOf(=)) 0) { var key:String = kvPair.substring(0,index); var value:String = kvPair.substring(index+1); _params[key] = value; } } } }catch(e:Error) { trace(Some error occured. ExternalInterface doesn't work in Standalone player.); } } } } And to use it... import QueryString; private var queryString:QueryString = new QueryString(); user = queryString.parameters.user_id; HTH Steve --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: The html wrapper does not automatically pass parameters into the swf. You need some java script like this to get the parameters into an array: var _sPassedUrlParms = new String(document.location).split('?')[1]; //Get any passed-in querystring parms then pass that into the SF in the AC_FL_RunContent() function: flashvars, _sPassedUrlParms, Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Vikram Singh Sent: Wednesday, April 01, 2009 1:13 AM To: Flex Coders Subject: [flexcoders] Application.application.parameters. Hello Everybody. I am facing problem in getting value using Application.application.parameters. I will run my application with http://www.XYZ. http://www.XYZ.com/home.html?user_id=10 com/home.html?user_id=10 in Flex at initialize() function i wrote like this user = Application.application.parameters.user_id but i don't get value 10 in user variable which is declare like [Bindable] private var user : uint; is there any package to include for this? -Vikram. _ Add more friends to your messenger and enjoy! Invite http://in.rd.yahoo.com/tagline_messenger_6/*http:/messenger.yahoo.com/i\ nvit e/ them now.
[flexcoders] How to dispatch an Event in static function?
hey there, I was trying to dispatch an Event in static function and I got an error msg of 1180: Call to a possibly undefined method dispatchEvent. There is no problem in normal function ( without static function ). Would u pls show me how to address this problem? Thank you so much --- code --- package com { public final class MyClass { import flash.events.EventDispatcher; public function MyClass() extends EventDispatcher { } public static function checkLink():void { // My code is here, once it has finished then call the onComplete() method to dispatch a new EVENT } private static function onComplete():void { var e:MyEvent = new MyEvent( MyEvent.COMPLETE ); dispatchEvent( e ); // Display an error msg of 1180: Call to a possibly undefined method dispatchEvent. } } }
[flexcoders] Flash player fails to install on vista!
Hi all, this is veard, I have a clean install(Windows Vista Ultimate) on my laptop and IExploer do not want to install the flash player (ActiveX) ! switching to FireFox, up yours MS!
[flexcoders] Re: How to dispatch an Event in static function?
In this case, there is no need to inherit. Instead use a static EventDispatcher instance as a class member, which dispatches an Event in the static function. Best regards. --- In flexcoders@yahoogroups.com, flexawesome flexawes...@... wrote: hey there, I was trying to dispatch an Event in static function and I got an error msg of 1180: Call to a possibly undefined method dispatchEvent. There is no problem in normal function ( without static function ). Would u pls show me how to address this problem? Thank you so much --- code --- package com { public final class MyClass { import flash.events.EventDispatcher; public function MyClass() extends EventDispatcher { } public static function checkLink():void { // My code is here, once it has finished then call the onComplete() method to dispatch a new EVENT } private static function onComplete():void { var e:MyEvent = new MyEvent( MyEvent.COMPLETE ); dispatchEvent( e ); // Display an error msg of 1180: Call to a possibly undefined method dispatchEvent. } } }
[flexcoders] Creating exceptions to an eventlistener
Hi all, I've got a canvas with an event listener, that allows the user to drag the canvas around. The only problem is that I have a datagrid inside this canvas, and the event listener is interfering with it. IE I cannot drag the slider in the datagrid, or resize the column etc, as the event listener kicks in and moves the whole canvas instead. How can I create an exception for the datagrid? Thanks Shaun
[flexcoders] closing-a-pop-up-window-using-the-keyboard-in-flex
Hi I seen the example in the code link and it work fine http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/ but if i change the code in the View MXML to below mx:Script ![CDATA[ import mx.managers.PopUpManager; public var popUpTitleWindow:PopUpTitleWindow; private function button_click(evt:MouseEvent):void { if(popUpTitleWindow == null) popUpTitleWindow = new PopUpTitleWindow(); PopUpManager.addPopUp(popUpTitleWindow, this, true); } ]] /mx:Script it works fine for the first time but does not work second time. Second time the keyboard event is not being fired. I do not know why.. Can anybody please provide workaround for this solution to make it work. Thanks ilikelfex
[flexcoders] Send an Email, and Email in Form
Hello, How to send an Email from a flex application to confirm a registration ? How to verify that the text in an INPUT is corresponding to an email ? Thank you, Christophe,
Re: [flexcoders] Send an Email, and Email in Form
On Wed, Apr 1, 2009 at 7:18 PM, christophe_jacquelin christophe_jacque...@yahoo.fr wrote: Hello, How to send an Email from a flex application to confirm a registration ? http://www.esnips.com/web/SMTPMailer How to verify that the text in an INPUT is corresponding to an email ? Try EmailValidator Thank you, Christophe, -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
Re: [flexcoders] Flash player fails to install on vista!
Its still a binary component therfore just as much a risk as an activex one. 2009/4/1 Cato Paus ca...@brannsikring.no Hi all, this is veard, I have a clean install(Windows Vista Ultimate) on my laptop and IExploer do not want to install the flash player (ActiveX) ! switching to FireFox, up yours MS! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
Re: [flexcoders] Ruben's FlexBook component question
I've tried a lot, read the source code of component but for sure it doesnt fit as it works. scaling the component itself works and pretty smooth set. But the draw things don't really work out. Still getting any feedback I appreciate. Regards Igor On Wed, Apr 1, 2009 at 10:29 AM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Wednesday 25 Mar 2009, Igor Costa wrote: I found a guy who added a couple of public methods but no one that made the size of book re sizable when the screen gets bigger or less. I would imagine it's easy enough to observe the application size, and the re-call the components layout code... -- Helping to professionally foster corporate world-class transparent mission-critical content as part of the IT team of the year, '09 and '08 Tom Chiverton Developer Tel: +44 0161 618 5032 Fax: +44 0161 618 5099 tom.chiver...@halliwells.com 3 Hardman Square, Manchester, M3 3EB www.Halliwells.com 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.Halliwells.com. -- Igor Costa www.igorcosta.com www.igorcosta.org
[flexcoders] RemoteObject in AS3 Project
Hello all! I am trying to use the RemoteObject class along with ResultEvent etc in an AS3 project in FB3. Ideally I would like to remote out using these objects and not have to load the entire Flex framework within an Application container. Is this possible? I have done some searching and my results suggests it is not BUT I could of sworn I have seen some people doing this a while back. Am I mistaken? I appreciate it!! Thanks. Nick
[flexcoders] TextSnapshot and Flex, who lucky done?
Hi there crew. Does anyone here put TextSnapShot Class to work truely with loaded SWF with statics text? This bug http://bugs.adobe.com/jira/browse/SDK-15295 was the only close thing I found googling and is still opened. If you were lucky enough can you tell me the work arround done? the Docummentation of Class and even reading source code didn't helped me out. Regards -- Igor Costa www.igorcosta.com www.igorcosta.org
RE: [flexcoders] RemoteObject in AS3 Project
While there shouldn't be too many dependencies, I know rpc.swc depends on this class from framework.swc: http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/messaging/config/LoaderConfig.as ... you could try to mimicking this class and see how far you get? You'll also want to avoid the mxml subclasses of the service APIs, e.g. http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.x/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.x/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/Operation.as ... and focus on the classes in the parent package. Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nick Sent: Wednesday, April 01, 2009 1:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] RemoteObject in AS3 Project Hello all! I am trying to use the RemoteObject class along with ResultEvent etc in an AS3 project in FB3. Ideally I would like to remote out using these objects and not have to load the entire Flex framework within an Application container. Is this possible? I have done some searching and my results suggests it is not BUT I could of sworn I have seen some people doing this a while back. Am I mistaken? I appreciate it!! Thanks. Nick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] Re: closing-a-pop-up-window-using-the-keyboard-in-flex
Try this: import mx.managers.PopUpManager; public var popUpTitleWindow:PopUpTitleWindow = new PopUpTitleWindow(); private function button_click(evt:MouseEvent):void { if(!popUpTitleWindow.isPopUp) { popUpTitleWindow = new PopUpTitleWindow(); } PopUpManager.addPopUp(popUpTitleWindow, this, true); } --- In flexcoders@yahoogroups.com, ilikeflex ilikef...@... wrote: Hi I seen the example in the code link and it work fine http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-th\ e-keyboard-in-flex/ but if i change the code in the View MXML to below mx:Script ![CDATA[ import mx.managers.PopUpManager; public var popUpTitleWindow:PopUpTitleWindow; private function button_click(evt:MouseEvent):void { if(popUpTitleWindow == null) popUpTitleWindow = new PopUpTitleWindow(); PopUpManager.addPopUp(popUpTitleWindow, this, true); } ]] /mx:Script it works fine for the first time but does not work second time. Second time the keyboard event is not being fired. I do not know why.. Can anybody please provide workaround for this solution to make it work. Thanks ilikelfex
[flexcoders] Re: cant get the hand cursor to show up on the titleBar of the Panel
No luck. I kept buttonMode = true useHandCursor = true, while toggling between ALL combinations of mouseEnabled mouseChildren. I get the same results. only a hand cursor around the borders. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Try twiddling mouseEnabled as well. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of gmoniey22 Sent: Tuesday, March 31, 2009 3:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] cant get the hand cursor to show up on the titleBar of the Panel I am extending the Panel class, and I want the hand cursor to show up when the mouse if over the titleBar. I tried something such as: this.titleBar.useHandCursor = true; this.titleBar.buttonMode = true; this.titleBar.mouseChildren = false; And variations of each above, but nothing seems to work. I get a mouse cursor around the borders of the titleBar, but not within it. It seems that the contents of the titleBar (titleTextField, statusTextField, etc) are overriding my code. On way it to have mouse_over mouse_events fire, and use the cursorManager to set the hand cursor, but that would require me to embed a custom hand cursor (I cant find a reference to flex's) Anyone have any suggestions?
[flexcoders] Re: Complex Charting in Flex
Hi, Take a look at Using HighLowOpenClose charts (HLOCChart); in the help docs. -TH --- In flexcoders@yahoogroups.com, kotha poornima poorni_ag...@... wrote: Hi, Can anyone suggest how can i draw a chart using this type of xml. ?xml version=1.0 encoding=utf-8? test stock monthAug/month close High45..87/High Low25.66/Low /close close High45.77/High Low25.96/Low /close open 25.66 /open /stock stock monthSep/month close High45.74/High Low10.23/Low /close close High45.67/High Low25.96/Low /close open 35.29 /open /stock /test For ever
RE: [flexcoders] Re: Making button in data grid invisible based on other columns in
Sorry, that is because of the scoping opf the itemRenderer. Use visible={outerDocument.isButtonVisible()} but still, even when that compiles and works, you still have functional problems. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tony Obermeit Sent: Wednesday, April 01, 2009 4:08 AM To: flexcoders Subject: [flexcoders] Re: Making button in data grid invisible based on other columns in Thanks Tracy, I tried that but it wasn't any better. I get error Call to possibly undefined method isButtonVisible. Tried making the function definition bindable (not sure if that makes sense) but it wasn't successful. I need to set the button to be visible or not on each row of the data grid. Thanks http://groups.yahoo.com/group/flexcoders/message/140097;_ylc=X3oDMTJ0NWI4NW JoBF9TAzk3MzU5NzE1BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxND AwOTcEc2VjA2Rtc2cEc2xrA3Ztc2cEc3RpbWUDMTIzODU3MTk2NQ-- Re: Making button in data grid invisible based on other columns in Posted by: Tracy Spratt mailto:tspr...@lariatinc.com?subject=+re%3a%20making%20button%20in%20data%2 0grid%20invisible%20based%20on%20other%20columns%20in%20t tspr...@lariatinc.comhttp://profiles.yahoo.com/nts333rd nts333rd Wed Apr 1, 2009 12:36 am (PDT) Use binding braces: visible={isButtonVisible()} However, if you do not pass in a variable that is bindable, the function will fire only once. Tracy Spratt, Lariat Services, development services available _
[flexcoders] Re: RemoteObject in AS3 Project
channelSet = new ChannelSet(); amfChannel = new AMFChannel(my-amf, http://myserver.com/WebORB/weborb.php;); channelSet.addChannel(amfChannel); myService = new RemoteObject(); myService.channelSet = channelSet; myService.destination = WeborbTesting.MyService; myService.requestTimeout = 30; myService.getData.addEventListener(ResultEvent.RESULT, resultHandler); myService.addEventListener(FaultEvent.FAULT, faultHandler); --- In flexcoders@yahoogroups.com, Nick nick...@... wrote: Hello all! I am trying to use the RemoteObject class along with ResultEvent etc in an AS3 project in FB3. Ideally I would like to remote out using these objects and not have to load the entire Flex framework within an Application container. Is this possible? I have done some searching and my results suggests it is not BUT I could of sworn I have seen some people doing this a while back. Am I mistaken? I appreciate it!! Thanks. Nick
[flexcoders] Re: Creating exceptions to an eventlistener
Hi, First, make sure, in the Canvas tag, that mouseChildren=true. You can also check in the drag event handler function if the currentTarget is a canvas or not: if ( !event.currentTarget is Canvas ) { event.stopImmediatePropagation; } There are probably better ways to do this, but this is a quick fix. -TH --- In flexcoders@yahoogroups.com, smccran s_mcc...@... wrote: Hi all, I've got a canvas with an event listener, that allows the user to drag the canvas around. The only problem is that I have a datagrid inside this canvas, and the event listener is interfering with it. IE I cannot drag the slider in the datagrid, or resize the column etc, as the event listener kicks in and moves the whole canvas instead. How can I create an exception for the datagrid? Thanks Shaun
[flexcoders] Re: Ribbon in FLEX
Ha, still laughing at autoschediastically. :) -TH --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Wednesday 01 Apr 2009, Jeffry Houser wrote: It is most likely due to the massive interface change between 2003 and 2007. I understood that the research showed that this approach was more approachable and easier for beginners. shrug If I were having to retrain thousands of staff from scratch, I might well be looking at a free office suite to teach them... More importantly, I have a concern. There is plenty of room in RIA and Microsoft-oriented forums and groups to make their case. I'm even fine with some open debate in Flexcoders. What I don't want to see is Microsoft's Rich Platforms Product Manager, let alone other Microsofties, spamming our Flex group with spin on thread after thread after thread. Given the traffic on this list, I hardly think that the 2-3 on-topic posts I've seen from Scott in the past week classify as spam. (moderator hat on) No, I don't think so either. I think it's good they chime in from time to time, same as anyone else. (moderator hat off) Microsoft has a view point, I might not agree or like what they say, do or produce, but they just as much right to say it (as long as it's on topic for the thread, etc.). -- Helping to autoschediastically seize essential market-driven eigth-generation essential networks as part of the IT team of the year, '09 and '08 Tom Chiverton Developer Tel: +44 0161 618 5032 Fax: +44 0161 618 5099 tom.chiver...@... 3 Hardman Square, Manchester, M3 3EB www.Halliwells.com 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.Halliwells.com.
[flexcoders] Has anyone done a file upload and download, store data into database
I am in need of a flex app that will upload a file and that file will go into a database using PHP backed. I know what most of this has to do with PHP, I am not sure how to take the data out of flex and hand it back to the user via flex. Has anyone done something like this? Thank you, timgerr
RE: [flexcoders] Has anyone done a file upload and download, store data into database
Yes, it is not difficult. The examples in the docs are nearly usable as they are. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of timgerr Sent: Wednesday, April 01, 2009 2:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Has anyone done a file upload and download, store data into database I am in need of a flex app that will upload a file and that file will go into a database using PHP backed. I know what most of this has to do with PHP, I am not sure how to take the data out of flex and hand it back to the user via flex. Has anyone done something like this? Thank you, timgerr
Re: [flexcoders] RemoteObject in AS3 Project
Hi Nick The dependancies really get a bit convoluted due to the localization classes that are intertwined for error messages and the like. Literally almost drove me to drinking trying to get this stuff to stand by itself - even just the ArrayCollection class to stand by itself. At best I've ever been able to do is root off of SimpleApplication instead of Application. This automatically includes some of the classes that are needed. Note: SimpleApplication does not appear as an option in any dropdown list, but its there (hidden). In essence it creates a very light bootstrapped version of the application that doesn't require nor will it allow you to use, any of the Flex components if I remember right. However, it *will* allow you Remoting standalone. If memory serves me right, you have to still be a bit careful in how you approach things. In order to use Remoting I believe you will need to specify everything manually vs. relying on compile settings. I ran into a problem with Remoting not working right when having a complex startup structure, but I was relying more on compile settings for the endpoints. At the time that was enough to make me abandon things, however later when I got things working with Application using settings I loaded manually from an xml file I didn't get a chance to go back and test if it would have worked with SimpleApplication. By that time I had wasted several days of research and needed to get things happening. So if I were you and I was attempting to do things I'd start out by doing the following: a) Create a Flex Application based on Application and figure out and get RemoteObject working without using the configuration settings in the project - that is do not declare that you are using remoting or any server type. Use as few UI components as possible. - I don't like MXML very much so I let Flex create the project and its main.mxml. I then create my own ActionScript class that extends Application in my normal package hiearchy. I then import the package using xmlns into the main.mxml and change the class defininition from mx:Application to the new namespace:MyApplication. I then ignore the MXML from there on out. b) Once a) is working, change out Application with SimpleApplication (same package, so just add Simple to the import and extends. Replace any UI components with simple things like TextFields and the like. See if it will work. c) Once your comfortable with a) b) then I would take the concept and see if I could get it to work with the ActionScript project. Or if your like me, I stay with the Flex App project as there are a couple of other minor benefits in terms of automation and the lack of need to sort out the rest of the references to the libraries. SimpleAppication does not base off of a Container like Application does. It does bring along some baggage but the baggage depends on the amount of the Flex framework you access. Not sure if this will help you, but it summarizes how I attempted to approach it. Like I said I made some mistakes, and then didn't have time to go back and retest so the above might get it to work, might not. But take baby steps in the transition from one to the other vs. attempting huge leaps and you might be rewarded. Also, if you are going ot manually configure things I think I wound up needing to use: mx.rpc.remoting.mxml.RemoteObject and not just RemoteObject. sample manual configuration from an XML file _remoteObject = new RemoteObject(); _remoteObject.source = _configda...@source; _remoteObject.destination = pconfigda...@destination; _remoteObject.endpoint = pconfigda...@endpoint; where the config xml node looks like this: (FlourineFX) remoting destination=mydestination endpoint=http://{server.name}/Gateway.aspx; source=Service.ServiceFacade / or (ColdFusion) remoting destination=ColdFusion endpoint=http://{server.name}:{server.port}/flex2gateway/; source=Service.ServiceFacade / Sincerely Mark R. Jonkman - Original Message - From: Nick nick...@gmail.com To: flexcoders@yahoogroups.com Sent: Wednesday, April 1, 2009 1:45:10 PM GMT -05:00 US/Canada Eastern Subject: [flexcoders] RemoteObject in AS3 Project Hello all! I am trying to use the RemoteObject class along with ResultEvent etc in an AS3 project in FB3. Ideally I would like to remote out using these objects and not have to load the entire Flex framework within an Application container. Is this possible? I have done some searching and my results suggests it is not BUT I could of sworn I have seen some people doing this a while back. Am I mistaken? I appreciate it!! Thanks. Nick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives:
[flexcoders] Re: cant get the hand cursor to show up on the titleBar of the Panel
Hi, the text field is on top of the titleBar. Try this: package controls { import mx.containers.Panel; public class MyPanel extends Panel { override protected function createChildren():void { super.createChildren(); titleBar.buttonMode = true; titleBar.useHandCursor = true; titleTextField.mouseEnabled = false; } } } -TH --- In flexcoders@yahoogroups.com, gmoniey22 gmonie...@... wrote: No luck. I kept buttonMode = true useHandCursor = true, while toggling between ALL combinations of mouseEnabled mouseChildren. I get the same results. only a hand cursor around the borders. --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: Try twiddling mouseEnabled as well. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of gmoniey22 Sent: Tuesday, March 31, 2009 3:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] cant get the hand cursor to show up on the titleBar of the Panel I am extending the Panel class, and I want the hand cursor to show up when the mouse if over the titleBar. I tried something such as: this.titleBar.useHandCursor = true; this.titleBar.buttonMode = true; this.titleBar.mouseChildren = false; And variations of each above, but nothing seems to work. I get a mouse cursor around the borders of the titleBar, but not within it. It seems that the contents of the titleBar (titleTextField, statusTextField, etc) are overriding my code. On way it to have mouse_over mouse_events fire, and use the cursorManager to set the hand cursor, but that would require me to embed a custom hand cursor (I cant find a reference to flex's) Anyone have any suggestions?
[flexcoders] Re: RemoteObject in AS3 Project
Thanks everyone! I really learned alot from your posts!! I think I found the solution to my problem. I am using the NetConnection object described in this post: http://www.oscartrelles.com/archives/as3_flash_remoting_example It seems to be giving me the same results as I was looking for with the RemoteObject path I was going down. Any draw back to this approach that I may be missing? Thanks! Nick --- In flexcoders@yahoogroups.com, Nick nick...@... wrote: Hello all! I am trying to use the RemoteObject class along with ResultEvent etc in an AS3 project in FB3. Ideally I would like to remote out using these objects and not have to load the entire Flex framework within an Application container. Is this possible? I have done some searching and my results suggests it is not BUT I could of sworn I have seen some people doing this a while back. Am I mistaken? I appreciate it!! Thanks. Nick
RE: [flexcoders] Re: RemoteObject in AS3 Project
If you're comfortable with calling the NetConnection API directly and are fine with having to manage connectivity issues, faults, setting up request/response messages etc... then you could go that route. Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nick Sent: Wednesday, April 01, 2009 3:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: RemoteObject in AS3 Project Thanks everyone! I really learned alot from your posts!! I think I found the solution to my problem. I am using the NetConnection object described in this post: http://www.oscartrelles.com/archives/as3_flash_remoting_example It seems to be giving me the same results as I was looking for with the RemoteObject path I was going down. Any draw back to this approach that I may be missing? Thanks! Nick --- In flexcoders@yahoogroups.com, Nick nick...@... wrote: Hello all! I am trying to use the RemoteObject class along with ResultEvent etc in an AS3 project in FB3. Ideally I would like to remote out using these objects and not have to load the entire Flex framework within an Application container. Is this possible? I have done some searching and my results suggests it is not BUT I could of sworn I have seen some people doing this a while back. Am I mistaken? I appreciate it!! Thanks. Nick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] Re: closing-a-pop-up-window-using-the-keyboard-in-flex
Hi valdhor Thanks for your solution and it works but the issue is that i cannot do popUpTitleWindow = new PopUpTitleWindow(); every time. I want to use only one instance of the popUpTitleWindow . Thanks ilikeflex --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Try this: import mx.managers.PopUpManager; public var popUpTitleWindow:PopUpTitleWindow = new PopUpTitleWindow(); private function button_click(evt:MouseEvent):void { if(!popUpTitleWindow.isPopUp) { popUpTitleWindow = new PopUpTitleWindow(); } PopUpManager.addPopUp(popUpTitleWindow, this, true); } --- In flexcoders@yahoogroups.com, ilikeflex ilikeflex@ wrote: Hi I seen the example in the code link and it work fine http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-th\ e-keyboard-in-flex/ but if i change the code in the View MXML to below mx:Script ![CDATA[ import mx.managers.PopUpManager; public var popUpTitleWindow:PopUpTitleWindow; private function button_click(evt:MouseEvent):void { if(popUpTitleWindow == null) popUpTitleWindow = new PopUpTitleWindow(); PopUpManager.addPopUp(popUpTitleWindow, this, true); } ]] /mx:Script it works fine for the first time but does not work second time. Second time the keyboard event is not being fired. I do not know why.. Can anybody please provide workaround for this solution to make it work. Thanks ilikelfex
[flexcoders] Re: cant get the hand cursor to show up on the titleBar of the Panel
Thank you...that did it. I added the same thing for the statusTextField, and it works perfect. Thanks again. --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: Hi, the text field is on top of the titleBar. Try this: package controls { import mx.containers.Panel; public class MyPanel extends Panel { override protected function createChildren():void { super.createChildren(); titleBar.buttonMode = true; titleBar.useHandCursor = true; titleTextField.mouseEnabled = false; } } } -TH --- In flexcoders@yahoogroups.com, gmoniey22 gmoniey22@ wrote: No luck. I kept buttonMode = true useHandCursor = true, while toggling between ALL combinations of mouseEnabled mouseChildren. I get the same results. only a hand cursor around the borders. --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: Try twiddling mouseEnabled as well. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of gmoniey22 Sent: Tuesday, March 31, 2009 3:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] cant get the hand cursor to show up on the titleBar of the Panel I am extending the Panel class, and I want the hand cursor to show up when the mouse if over the titleBar. I tried something such as: this.titleBar.useHandCursor = true; this.titleBar.buttonMode = true; this.titleBar.mouseChildren = false; And variations of each above, but nothing seems to work. I get a mouse cursor around the borders of the titleBar, but not within it. It seems that the contents of the titleBar (titleTextField, statusTextField, etc) are overriding my code. On way it to have mouse_over mouse_events fire, and use the cursorManager to set the hand cursor, but that would require me to embed a custom hand cursor (I cant find a reference to flex's) Anyone have any suggestions?
Re: [flexcoders]Where does my SWF gain it's weight?
FlexBuilder How can I get individual reports? There's only one spot where I can request the link report, afaik. Guy On 02/04/2009, at 12:26 AM, Gregor Kiddie wrote: If you name the link-reports differently, they shouldn’t overwrite themselves. (Coming to this late) You using Ant? Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact is.helpd...@inps.co.uk From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Guy Morton Sent: 01 April 2009 13:11 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]Where does my SWF gain it's weight? If you have multiple modules in the compile, am I right to think the link report only shows the info for the last module built? That's how it seems, but perhaps I'm just missing something... Guy On 01/04/2009, at 4:32 PM, Alex Harui wrote: Yeah, you can specify a more sophisticated path to get it to show up elsewhere. There are some third-party link-report viewing tools available as well. I don’t recall the names. One final tip: Don’t link in Donuts.SWC ;-) Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of dorkie dork from dorktown Sent: Tuesday, March 31, 2009 10:17 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]Where does my SWF gain it's weight? Hi Alex, Thanks, FFR - –link-report outputfile.xml, shows up in bin-debug. On Sat, Mar 28, 2009 at 11:15 AM, Alex Harui aha...@adobe.com wrote: Use –link-report. The sizes aren’t accurate as absolute, but are as relative sizes Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]on Behalf Of Nicolas Noben Sent: Friday, March 27, 2009 5:23 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]Where does my SWF gain it's weight? Yeah make a search through all the files for 'Embed' and make sure that everything that is embedded really needs to be. That's the biggest hog. Also make sure your final build is published using 'Export release build'. You will save a fair bit at release time. But it's mostly assets' fault. Unless you've added plenty of custom components who extend default ones.. HTH -- Nicolas Noben P http://noben.org B http://idletogether.com T http://twitter.com/keyle --- In flexcoders@yahoogroups.com, dorkie dork from dorktown dorkiedorkfromdorkt...@... wrote: Is there a tool or a way to find out what classes are making my SWF fat? It's been a few months since I last checked my SWF file size and it's 1.2mb. It used to be 600kb and I've made so many changes since then I don't know where the weight is coming in.
[flexcoders] Running AIR application with ADL in Linux
Is it possible to debug AIR applications on Linux using ADL? If I try and run it from command line by ./adl, I get errors saying cannot execute binary file. Is there something I need to do to make it work? I'm using Ubuntu 8.04, and Flex 3.3.0.4582. I'm able to compile AIR apps just fine with amxmlc, I just can't run them yet using ADL :-|
RE: [flexcoders] Running AIR application with ADL in Linux
You need to overlay the AIR SDK on top of your Flex SDK: http://blogs.adobe.com/ashutosh/2009/03/flex_builder_linux_with_air_15.html#comments I think the adl that you are trying to run is the Mac version of adl. -James From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of rfkrockteekers Sent: Wednesday, April 01, 2009 2:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Running AIR application with ADL in Linux Is it possible to debug AIR applications on Linux using ADL? If I try and run it from command line by ./adl, I get errors saying cannot execute binary file. Is there something I need to do to make it work? I'm using Ubuntu 8.04, and Flex 3.3.0.4582. I'm able to compile AIR apps just fine with amxmlc, I just can't run them yet using ADL :-| inline: image001.jpginline: image002.jpg
Re: [flexcoders] Re: Ribbon in FLEX
On 01/04/2009, at 11:49 AM, Jeffry Houser wrote: Given the traffic on this list, I hardly think that the 2-3 on- topic posts I've seen from Scott in the past week classify as spam. Give him a chance, he's only just warming up. ;-) Guy
[flexcoders] Re: closing-a-pop-up-window-using-the-keyboard-in-flex
OK, slight variation: import mx.managers.PopUpManager; public var popUpTitleWindow:PopUpTitleWindow; private function button_click(evt:MouseEvent):void { if(popUpTitleWindow == null) { popUpTitleWindow = new PopUpTitleWindow(); } PopUpManager.addPopUp(popUpTitleWindow, this, true); popUpTitleWindow.setFocus(); } HTH Steve --- In flexcoders@yahoogroups.com, ilikeflex ilikef...@... wrote: Hi valdhor Thanks for your solution and it works but the issue is that i cannot do popUpTitleWindow = new PopUpTitleWindow(); every time. I want to use only one instance of the popUpTitleWindow . Thanks ilikeflex --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote: Try this: import mx.managers.PopUpManager; public var popUpTitleWindow:PopUpTitleWindow = new PopUpTitleWindow(); private function button_click(evt:MouseEvent):void { if(!popUpTitleWindow.isPopUp) { popUpTitleWindow = new PopUpTitleWindow(); } PopUpManager.addPopUp(popUpTitleWindow, this, true); } --- In flexcoders@yahoogroups.com, ilikeflex ilikeflex@ wrote: Hi I seen the example in the code link and it work fine http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-th\ \ e-keyboard-in-flex/ but if i change the code in the View MXML to below mx:Script ![CDATA[ import mx.managers.PopUpManager; public var popUpTitleWindow:PopUpTitleWindow; private function button_click(evt:MouseEvent):void { if(popUpTitleWindow == null) popUpTitleWindow = new PopUpTitleWindow(); PopUpManager.addPopUp(popUpTitleWindow, this, true); } ]] /mx:Script it works fine for the first time but does not work second time. Second time the keyboard event is not being fired. I do not know why.. Can anybody please provide workaround for this solution to make it work. Thanks ilikelfex
[flexcoders] Re: Has anyone done a file upload and download, store data into database
I have seen many for uploading something then storing the item in a directory. I think I can figure the upload out, but the download part I am not sure how to do. I don't know how to take binary data and convert it to a picture or document. If you know of a link that shows this being done, can you please post it??? Thanks, timgerr --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: Yes, it is not difficult. The examples in the docs are nearly usable as they are. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of timgerr Sent: Wednesday, April 01, 2009 2:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Has anyone done a file upload and download, store data into database I am in need of a flex app that will upload a file and that file will go into a database using PHP backed. I know what most of this has to do with PHP, I am not sure how to take the data out of flex and hand it back to the user via flex. Has anyone done something like this? Thank you, timgerr
[flexcoders] Re: closing-a-pop-up-window-using-the-keyboard-in-flex
Hi valdhor It worked and thanks a lot. Thanks ilikeflex --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: OK, slight variation: import mx.managers.PopUpManager; public var popUpTitleWindow:PopUpTitleWindow; private function button_click(evt:MouseEvent):void { if(popUpTitleWindow == null) { popUpTitleWindow = new PopUpTitleWindow(); } PopUpManager.addPopUp(popUpTitleWindow, this, true); popUpTitleWindow.setFocus(); } HTH Steve --- In flexcoders@yahoogroups.com, ilikeflex ilikeflex@ wrote: Hi valdhor Thanks for your solution and it works but the issue is that i cannot do popUpTitleWindow = new PopUpTitleWindow(); every time. I want to use only one instance of the popUpTitleWindow . Thanks ilikeflex --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote: Try this: import mx.managers.PopUpManager; public var popUpTitleWindow:PopUpTitleWindow = new PopUpTitleWindow(); private function button_click(evt:MouseEvent):void { if(!popUpTitleWindow.isPopUp) { popUpTitleWindow = new PopUpTitleWindow(); } PopUpManager.addPopUp(popUpTitleWindow, this, true); } --- In flexcoders@yahoogroups.com, ilikeflex ilikeflex@ wrote: Hi I seen the example in the code link and it work fine http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-th\ \ e-keyboard-in-flex/ but if i change the code in the View MXML to below mx:Script ![CDATA[ import mx.managers.PopUpManager; public var popUpTitleWindow:PopUpTitleWindow; private function button_click(evt:MouseEvent):void { if(popUpTitleWindow == null) popUpTitleWindow = new PopUpTitleWindow(); PopUpManager.addPopUp(popUpTitleWindow, this, true); } ]] /mx:Script it works fine for the first time but does not work second time. Second time the keyboard event is not being fired. I do not know why.. Can anybody please provide workaround for this solution to make it work. Thanks ilikelfex
RE: [flexcoders] Re: Has anyone done a file upload and download, store data into database
Can you be more clear on what you want? Download typically means to take a physical file from a remote file system and save it in a local filesystem. There is no conversion involved. Perhaps you do not mean download? What kinds of file formats are you talking about, and what do you want to do with the data in the Flex client? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of timgerr Sent: Wednesday, April 01, 2009 4:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Has anyone done a file upload and download, store data into database I have seen many for uploading something then storing the item in a directory. I think I can figure the upload out, but the download part I am not sure how to do. I don't know how to take binary data and convert it to a picture or document. If you know of a link that shows this being done, can you please post it??? Thanks, timgerr --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Tracy Spratt tspr...@... wrote: Yes, it is not difficult. The examples in the docs are nearly usable as they are. Tracy Spratt, Lariat Services, development services available _ From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of timgerr Sent: Wednesday, April 01, 2009 2:38 PM To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Has anyone done a file upload and download, store data into database I am in need of a flex app that will upload a file and that file will go into a database using PHP backed. I know what most of this has to do with PHP, I am not sure how to take the data out of flex and hand it back to the user via flex. Has anyone done something like this? Thank you, timgerr
[flexcoders] Problem migrating from Flex 2 to Flex 3
Hi we have a component some thing like this. This code works properly with Flex 2, but when we try to migrate to flex 3 we are getting ERROR 1067: Implicit coercion of a value of type Array to an unrelated type classes.ixrev.industry:ResultObject. CellData.mxml - mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% xmlns:MyComps=common.* . mx:Script ![CDATA[ [Bindable] public var result:ResultObject = null; ]] /mx:Script MyComps:detailListingCommodity id=detailListingId headerIndex=0 verticalAlign=top result={result}/ /mx:Canvas detailListingCommodity.mxml --- mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% creationPolicy=all mx:Script ![CDATA[ [Bindable] public var result:ResultObject = null; .. .. ]] /mx:Script /mx:VBox I dont't know why it needs implicit coercion, both are type ResultObject. Anybody have any idea? Thanks -Sruthi
[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2
I am experiencing the same problems trying to profile an AIR 1.5 app. Here is my stack trace: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///C|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203%2F.metadata%2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhostport=9998 cannot load data from localhost:9998. at ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent.as:127] at runtime::ContentPlayer/loadInitialContent() at runtime::ContentPlayer/playRawContent() at runtime::ContentPlayer/playContent() at runtime::AppRunner/run() at global/runtime::ADLEntry() I have tried changing the port from to other values without success, I disabled my firewall to try it (although I don't think localhost would be an issue). The strange thing is that a coworker of mine appears to have the same set up as I do and it works fine for him. Here is what I have: Flex Builder v 3.0.2 Flash Player 10 AIR 1.5.1 If you have solved the problem Tim, or anyone else for the matter, please help me out. Thanks, Nate --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: Hi all, I just updated the Flex SDK to version 3.2, and am now getting a Security sandbox violation error everytime that I launch an AIR application from Eclipse. I was wondering if anyone else has run into this and might know of a fix. The stack trace is listed below. Thanks, -TH Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.pr\ ofiler%2FProfilerAgent.swf?host=localhostport= file:///C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.p\ rofiler%2FProfilerAgent.swf?host=localhostport= cannot load data from localhost:. at ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.a\ s:127] at runtime::ContentPlayer/loadInitialContent() at runtime::ContentPlayer/playRawContent() at runtime::ContentPlayer/playContent() at runtime::AppRunner/run() at global/runtime::ADLEntry()
[flexcoders] Re: TextSnapshot and Flex, who lucky done?
Well, Let me share with others here, finally I found a solution for this problem. Than in future who work with TextSnapshot (with static texts) and Loaded swf can play smooth in Flex. Here's my attempt. private var mySnap:TextSnapshot; private var snapCount:int ; public function search(textToFind:String,caseSensitive:Boolean=false):void { var ar:Array; mySnap = libMC.textSnapshot; mySnap.findText(0,textToFind,false); snapCount = mySnap.findText(snapCount,textToFind,false); var t:String = ...+ mySnap.getText(snapCount,mySnap.charCount,false); Alert.show(t); snapCount = 0; //Alert.show(t); } ]] /mx:Script mx:SWFLoader id=loadedSWF x=193 y=197 width=650 height=462/ mx:TextInput id=magicWord x=193 y=167/ mx:Button x=361 y=167 label=Search It! width=99 click=search(magicWord.text) / But the only problem still persists is http://bugs.adobe.com/jira/browse/SDK-15295 this one. If anyone there with good response please, vote to fix this problem. Regards Igor Costa On Wed, Apr 1, 2009 at 2:49 PM, Igor Costa igorco...@gmail.com wrote: Hi there crew. Does anyone here put TextSnapShot Class to work truely with loaded SWF with statics text? This bug http://bugs.adobe.com/jira/browse/SDK-15295 was the only close thing I found googling and is still opened. If you were lucky enough can you tell me the work arround done? the Docummentation of Class and even reading source code didn't helped me out. Regards -- Igor Costa www.igorcosta.com www.igorcosta.org -- Igor Costa www.igorcosta.com www.igorcosta.org
RE: [flexcoders] Problem migrating from Flex 2 to Flex 3
Maybe a name collision with the result event? Also, have you cleaned the Project? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of sruthi Sent: Wednesday, April 01, 2009 4:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problem migrating from Flex 2 to Flex 3 Hi we have a component some thing like this. This code works properly with Flex 2, but when we try to migrate to flex 3 we are getting ERROR 1067: Implicit coercion of a value of type Array to an unrelated type classes.ixrev.industry:ResultObject. CellData.mxml - mx:Canvas xmlns:mx=http://www.adobe. http://www.adobe.com/2006/mxml com/2006/mxml width=100% height=100% xmlns:MyComps=common.* . mx:Script ![CDATA[ [Bindable] public var result:ResultObject = null; ]] /mx:Script MyComps:detailListingCommodity id=detailListingId headerIndex=0 verticalAlign=top result={result}/ /mx:Canvas detailListingCommodity.mxml --- mx:VBox xmlns:mx=http://www.adobe. http://www.adobe.com/2006/mxml com/2006/mxml width=100% height=100% creationPolicy=all mx:Script ![CDATA[ [Bindable] public var result:ResultObject = null; .. .. ]] /mx:Script /mx:VBox I dont't know why it needs implicit coercion, both are type ResultObject. Anybody have any idea? Thanks -Sruthi
[flexcoders] Re: Has anyone done a file upload and download, store data into database
Sorry for not being clear. I want to transfer a file (image or document) to my back end PHP using flex. I then want PHP to convert the file to binary and store the data into a database. I think I know how to do that. I then want to be able to retrieve that data from a query to the back end via flex and then have the user download the file (in the correct file format). Can the 2nd part be done with flex, retrieving the file??? Thanks, timgerr --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: Can you be more clear on what you want? Download typically means to take a physical file from a remote file system and save it in a local filesystem. There is no conversion involved. Perhaps you do not mean download? What kinds of file formats are you talking about, and what do you want to do with the data in the Flex client? Tracy Spratt, Lariat Services, development services available _
[flexcoders] Adding tabs dynamically
I am having a problem adding tabs to tabnavigator. While I am going in one order tabs are generated in a different then mine. Here is some code although it's simplified: // Scan thru scanning each zone and add as many as needed zoneNumber = resultXML.children().length(); currentZone = 0; createNextTab(resultXML); private function createNextTab(resultXML:XML):void { if (currentZone zoneNumber) { node = resultXML.zoneconfiguration[currentZone]; var Tab:boxing = new boxing(); Tab.id = node.lineid.toString(); Tab.label = Boxing Area + Tab.id + ; Tab.paramObj.lineid = node.lineid; Tab.attachJobInProgress(boxingareas); callLater(createNextTab, [resultXML]); currentZone++; } } resultXML looks very simple: nodes with lineid. Tab.paramObj.lineid drives IDs of tabs. While I am going from 1 to 6, Tabs have a random order: mostly 2, 1, Hope my problem is clear. Thanks
Re: [flexcoders] Re: Ribbon in FLEX
More importantly, I have a concern. There is plenty of room in RIA and Microsoft-oriented forums and groups to make their case. I'm even fine with some open debate in Flexcoders. What I don't want to see is Microsoft's Rich Platforms Product Manager, let alone other Microsofties, spamming our Flex group with spin on thread after thread after thread. Given the traffic on this list, I hardly think that the 2-3 on-topic posts I've seen from Scott in the past week classify as spam. -- Jeffry Houser, Technical Entrepreneur Jeffry, no fair editing out the next sentence: More importantly, I have a concern. There is plenty of room in RIA and Microsoft-oriented forums and groups to make their case. I'm even fine with some open debate in Flexcoders. What I don't want to see is Microsoft's Rich Platforms Product Manager, let alone other Microsofties, spamming our Flex group with spin on thread after thread after thread. I'm not saying we are there, I'm saying I'm concerned about it. Just reading the language, the last couple of posts are certainly exploring that territory. I think there are more appropriate venues for that than Flexcoders. Being on-topic does not change the nature of the content. Take the third example. Looking over the body of threads of this group, I can't recall seeing a nice bullet-formatted explanation like the one offered by Scott of why IE does not want to support SVG. I'm not saying this was a copy-paste thing, but it is visually very different. Adobe, Microsoft, and others have plenty of propoganda (or spam) posts, and no one is arguing that point. But I'm not going to pretend this particular content is of the same casual nature of the posts typical members of this group make. Scott uses Microsoft's participation in standards bodies and knowledge of gui research that clearly expresses an authority posture to legitimize his point. The typical posts here are overtly subjective developer opinions taken with a grain of salt. Clearly not the same content. Secondly, this is not a response from a Flex developer, doing Flex stuff every work day. (...imagining Scott with a Flex sticker on his laptop as Steve Ballmer walks by...) This is a corporate-sounding explanation, from actual Microsoft management, on an Adobe Flex group, suggesting we use ribbons in Flex, ignore SVG and thank Microsoft for their h.264 standards compliance. Any part of that sentence not accurate? I'm sure Scott is not programming in Flex, and could not possibly be confused as a member of the Flex community or an objective observer. Therefore, his responses in this group must be viewed in the approriate context, in a truthful light. Clearly not a typical poster. If Flexcoders' threads become an active corporate information outlet for Adobe competitors, I don't think that's a good thing for the group. That is my point, and I think it's a perfectly legitimate one.
[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2
Hi Nate, Unfortunately I'm still having the problem as well. The difference is that mine shows up only when launching an Air app. I'm able to run the profiler just fine, but for some reason the profiler swf is trying to be loaded with a regular launch. I tried Alex's suggestion (mm.cfg) with no success yet. -TH --- In flexcoders@yahoogroups.com, nateross83 nateros...@... wrote: I am experiencing the same problems trying to profile an AIR 1.5 app. Here is my stack trace: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///C|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203%2F.metadata%\ 2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost\ port=9998 cannot load data from localhost:9998. at ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent\ .as:127] at runtime::ContentPlayer/loadInitialContent() at runtime::ContentPlayer/playRawContent() at runtime::ContentPlayer/playContent() at runtime::AppRunner/run() at global/runtime::ADLEntry() I have tried changing the port from to other values without success, I disabled my firewall to try it (although I don't think localhost would be an issue). The strange thing is that a coworker of mine appears to have the same set up as I do and it works fine for him. Here is what I have: Flex Builder v 3.0.2 Flash Player 10 AIR 1.5.1 If you have solved the problem Tim, or anyone else for the matter, please help me out. Thanks, Nate --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Hi all, I just updated the Flex SDK to version 3.2, and am now getting a Security sandbox violation error everytime that I launch an AIR application from Eclipse. I was wondering if anyone else has run into this and might know of a fix. The stack trace is listed below. Thanks, -TH Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.pr\ \ ofiler%2FProfilerAgent.swf?host=localhostport= file:///C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.p\ \ rofiler%2FProfilerAgent.swf?host=localhostport= cannot load data from localhost:. at ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.a\ \ s:127] at runtime::ContentPlayer/loadInitialContent() at runtime::ContentPlayer/playRawContent() at runtime::ContentPlayer/playContent() at runtime::AppRunner/run() at global/runtime::ADLEntry()
Re: [flexcoders] Re: Ribbon in FLEX
2009/4/2 Cole Joplin cole_jop...@yahoo.com: Scott uses Microsoft's participation in standards bodies and knowledge of gui research that clearly expresses an authority posture to legitimize his point. The typical posts here are overtly subjective developer opinions taken with a grain of salt. Clearly not the same content. I thought declaring yourself as a Microsoft employee immediately meant everything you say is to be taken with multiple grains of salt :P You might want to look into Scott's history - he might not be doing Flex stuff day-in, day-out in recent times, but he has a solid background in Flex, and I'm sure he's kept up with development on Flex/Flash and other Adobe stuff. If he disclosed his affliations, I don't have an issue with it (as long as it doesn't become a war between MS and Adobe people, which to be fair, has happened with Scott before). I'd rather hear excuses from them (and Adobe people for that matter), than nothing at all.
Re: [flexcoders] Adding tabs dynamically
How are you adding the tabs to the tabnavigator? 2009/4/2 markgoldin_2000 markgoldin_2...@yahoo.com: I am having a problem adding tabs to tabnavigator. While I am going in one order tabs are generated in a different then mine. Here is some code although it's simplified: // Scan thru scanning each zone and add as many as needed zoneNumber = resultXML.children().length(); currentZone = 0; createNextTab(resultXML); private function createNextTab(resultXML:XML):void { if (currentZone zoneNumber) { node = resultXML.zoneconfiguration[currentZone]; var Tab:boxing = new boxing(); Tab.id = node.lineid.toString(); Tab.label = Boxing Area + Tab.id + ; Tab.paramObj.lineid = node.lineid; Tab.attachJobInProgress(boxingareas); callLater(createNextTab, [resultXML]); currentZone++; } } resultXML looks very simple: nodes with lineid. Tab.paramObj.lineid drives IDs of tabs. While I am going from 1 to 6, Tabs have a random order: mostly 2, 1, Hope my problem is clear. Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
RE: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2
Is there a preloaderSWF in your mm.cfg or is one being written there as you launch the app? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Hoff Sent: Wednesday, April 01, 2009 3:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2 Hi Nate, Unfortunately I'm still having the problem as well. The difference is that mine shows up only when launching an Air app. I'm able to run the profiler just fine, but for some reason the profiler swf is trying to be loaded with a regular launch. I tried Alex's suggestion (mm.cfg) with no success yet. -TH --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, nateross83 nateros...@... wrote: I am experiencing the same problems trying to profile an AIR 1.5 app. Here is my stack trace: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///Cfile:///\\C|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203%2F.metadata%\ 2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost\ port=9998 cannot load data from localhost:9998. at ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent\ .as:127] at runtime::ContentPlayer/loadInitialContent() at runtime::ContentPlayer/playRawContent() at runtime::ContentPlayer/playContent() at runtime::AppRunner/run() at global/runtime::ADLEntry() I have tried changing the port from to other values without success, I disabled my firewall to try it (although I don't think localhost would be an issue). The strange thing is that a coworker of mine appears to have the same set up as I do and it works fine for him. Here is what I have: Flex Builder v 3.0.2 Flash Player 10 AIR 1.5.1 If you have solved the problem Tim, or anyone else for the matter, please help me out. Thanks, Nate --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Tim Hoff TimHoff@ wrote: Hi all, I just updated the Flex SDK to version 3.2, and am now getting a Security sandbox violation error everytime that I launch an AIR application from Eclipse. I was wondering if anyone else has run into this and might know of a fix. The stack trace is listed below. Thanks, -TH Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///Cfile:///\\C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.pr\ \ ofiler%2FProfilerAgent.swf?host=localhostport= file:///Cfile:///\\C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.p\ \ rofiler%2FProfilerAgent.swf?host=localhostport= cannot load data from localhost:. at ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.a\ \ s:127] at runtime::ContentPlayer/loadInitialContent() at runtime::ContentPlayer/playRawContent() at runtime::ContentPlayer/playContent() at runtime::AppRunner/run() at global/runtime::ADLEntry()
Re: [flexcoders] Flash player fails to install on vista!
This just sounds like the tech support calls I get from customers. Given you're a developer, I expected better - What was the error message, how is it not installing? 2009/4/2 Cato Paus ca...@brannsikring.no: Hi all, this is veard, I have a clean install(Windows Vista Ultimate) on my laptop and IExploer do not want to install the flash player (ActiveX) ! switching to FireFox, up yours MS! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
Re: [flexcoders] Re: Ribbon in FLEX
Can we perhaps have a separate flexcoders-scott-barnes list to discuss whether or not Scott Barnes should be allowed to post to flexcoders and to what extent? Every post by Scott generates three to five posts discussing whether or not his commentary/evangelism is welcome here--this is unarguably more off-topic noise than his actual contributions. -Maciek -Original Message- From: Cole Joplin cole_jop...@yahoo.com Reply-to: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Ribbon in FLEX Date: Wed, 1 Apr 2009 14:41:10 -0700 (PDT) More importantly, I have a concern. There is plenty of room in RIA and Microsoft-oriented forums and groups to make their case. I'm even fine with some open debate in Flexcoders. What I don't want to see is Microsoft's Rich Platforms Product Manager, let alone other Microsofties, spamming our Flex group with spin on thread after thread after thread. Given the traffic on this list, I hardly think that the 2-3 on-topic posts I've seen from Scott in the past week classify as spam. -- Jeffry Houser, Technical Entrepreneur Jeffry, no fair editing out the next sentence: More importantly, I have a concern. There is plenty of room in RIA and Microsoft-oriented forums and groups to make their case. I'm even fine with some open debate in Flexcoders. What I don't want to see is Microsoft's Rich Platforms Product Manager, let alone other Microsofties, spamming our Flex group with spin on thread after thread after thread. I'm not saying we are there, I'm saying I'm concerned about it. Just reading the language, the last couple of posts are certainly exploring that territory. I think there are more appropriate venues for that than Flexcoders. Being on-topic does not change the nature of the content. Take the third example. Looking over the body of threads of this group, I can't recall seeing a nice bullet-formatted explanation like the one offered by Scott of why IE does not want to support SVG. I'm not saying this was a copy-paste thing, but it is visually very different. Adobe, Microsoft, and others have plenty of propoganda (or spam) posts, and no one is arguing that point. But I'm not going to pretend this particular content is of the same casual nature of the posts typical members of this group make. Scott uses Microsoft's participation in standards bodies and knowledge of gui research that clearly expresses an authority posture to legitimize his point. The typical posts here are overtly subjective developer opinions taken with a grain of salt. Clearly not the same content. Secondly, this is not a response from a Flex developer, doing Flex stuff every work day. (...imagining Scott with a Flex sticker on his laptop as Steve Ballmer walks by...) This is a corporate-sounding explanation, from actual Microsoft management, on an Adobe Flex group, suggesting we use ribbons in Flex, ignore SVG and thank Microsoft for their h.264 standards compliance. Any part of that sentence not accurate? I'm sure Scott is not programming in Flex, and could not possibly be confused as a member of the Flex community or an objective observer. Therefore, his responses in this group must be viewed in the approriate context, in a truthful light. Clearly not a typical poster. If Flexcoders' threads become an active corporate information outlet for Adobe competitors, I don't think that's a good thing for the group. That is my point, and I think it's a perfectly legitimate one.
[flexcoders] Re: Ribbon in FLEX
Agreed.. Welcome flexcoders-scott-barnes http://groups.yahoo.com/group/flexcoders-scott-barnes I didn't really feel like it fit under the tech category so i placed it under online relationships. Enjoy We now have a place for all of our Scott Barnes loves Adobe conversations. --- In flexcoders@yahoogroups.com, Maciek Sakrejda msakre...@... wrote: Can we perhaps have a separate flexcoders-scott-barnes list to discuss whether or not Scott Barnes should be allowed to post to flexcoders and to what extent? Every post by Scott generates three to five posts discussing whether or not his commentary/evangelism is welcome here--this is unarguably more off-topic noise than his actual contributions. -Maciek -Original Message- From: Cole Joplin cole_jop...@... Reply-to: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Ribbon in FLEX Date: Wed, 1 Apr 2009 14:41:10 -0700 (PDT) More importantly, I have a concern. There is plenty of room in RIA and Microsoft-oriented forums and groups to make their case. I'm even fine with some open debate in Flexcoders. What I don't want to see is Microsoft's Rich Platforms Product Manager, let alone other Microsofties, spamming our Flex group with spin on thread after thread after thread. Given the traffic on this list, I hardly think that the 2-3 on-topic posts I've seen from Scott in the past week classify as spam. -- Jeffry Houser, Technical Entrepreneur Jeffry, no fair editing out the next sentence: More importantly, I have a concern. There is plenty of room in RIA and Microsoft-oriented forums and groups to make their case. I'm even fine with some open debate in Flexcoders. What I don't want to see is Microsoft's Rich Platforms Product Manager, let alone other Microsofties, spamming our Flex group with spin on thread after thread after thread. I'm not saying we are there, I'm saying I'm concerned about it. Just reading the language, the last couple of posts are certainly exploring that territory. I think there are more appropriate venues for that than Flexcoders. Being on-topic does not change the nature of the content. Take the third example. Looking over the body of threads of this group, I can't recall seeing a nice bullet-formatted explanation like the one offered by Scott of why IE does not want to support SVG. I'm not saying this was a copy-paste thing, but it is visually very different. Adobe, Microsoft, and others have plenty of propoganda (or spam) posts, and no one is arguing that point. But I'm not going to pretend this particular content is of the same casual nature of the posts typical members of this group make. Scott uses Microsoft's participation in standards bodies and knowledge of gui research that clearly expresses an authority posture to legitimize his point. The typical posts here are overtly subjective developer opinions taken with a grain of salt. Clearly not the same content. Secondly, this is not a response from a Flex developer, doing Flex stuff every work day. (...imagining Scott with a Flex sticker on his laptop as Steve Ballmer walks by...) This is a corporate-sounding explanation, from actual Microsoft management, on an Adobe Flex group, suggesting we use ribbons in Flex, ignore SVG and thank Microsoft for their h.264 standards compliance. Any part of that sentence not accurate? I'm sure Scott is not programming in Flex, and could not possibly be confused as a member of the Flex community or an objective observer. Therefore, his responses in this group must be viewed in the approriate context, in a truthful light. Clearly not a typical poster. If Flexcoders' threads become an active corporate information outlet for Adobe competitors, I don't think that's a good thing for the group. That is my point, and I think it's a perfectly legitimate one.
[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2
Actually, I couldn't find that specific file on my system (vista ultimate). The closest thing that I could find was C:/Windows/System32/Macromed/Flash/FlashAuthor.cfg. Any clue where that file might be located? It didn't come up in a search. When I launch an Air app, this is what shows in the console: [SWF] C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAge\ nt.swf - 17,476 bytes after decompression [SWF] MyApp.swf - 2,472,578 bytes after decompression -TH --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Is there a preloaderSWF in your mm.cfg or is one being written there as you launch the app? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Hoff Sent: Wednesday, April 01, 2009 3:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2 Hi Nate, Unfortunately I'm still having the problem as well. The difference is that mine shows up only when launching an Air app. I'm able to run the profiler just fine, but for some reason the profiler swf is trying to be loaded with a regular launch. I tried Alex's suggestion (mm.cfg) with no success yet. -TH --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, nateross83 nateross83@ wrote: I am experiencing the same problems trying to profile an AIR 1.5 app. Here is my stack trace: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///Cfile:///\\C|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203\ %2F.metadata%\ 2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost\ \ port=9998 cannot load data from localhost:9998. at ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent\ \ .as:127] at runtime::ContentPlayer/loadInitialContent() at runtime::ContentPlayer/playRawContent() at runtime::ContentPlayer/playContent() at runtime::AppRunner/run() at global/runtime::ADLEntry() I have tried changing the port from to other values without success, I disabled my firewall to try it (although I don't think localhost would be an issue). The strange thing is that a coworker of mine appears to have the same set up as I do and it works fine for him. Here is what I have: Flex Builder v 3.0.2 Flash Player 10 AIR 1.5.1 If you have solved the problem Tim, or anyone else for the matter, please help me out. Thanks, Nate --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Tim Hoff TimHoff@ wrote: Hi all, I just updated the Flex SDK to version 3.2, and am now getting a Security sandbox violation error everytime that I launch an AIR application from Eclipse. I was wondering if anyone else has run into this and might know of a fix. The stack trace is listed below. Thanks, -TH Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///Cfile:///\\C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.a\ dobe.flash.pr\ \ ofiler%2FProfilerAgent.swf?host=localhostport= file:///Cfile:///\\C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.\ adobe.flash.p\ \ rofiler%2FProfilerAgent.swf?host=localhostport= cannot load data from localhost:. at ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.a\ \ \ s:127] at runtime::ContentPlayer/loadInitialContent() at runtime::ContentPlayer/playRawContent() at runtime::ContentPlayer/playContent() at runtime::AppRunner/run() at global/runtime::ADLEntry()
Re: [flexcoders] Why SharedObject.flush so slowly
Hi claudiu, thanks for the tip, that's a good idea, but well, if user all the time being active, then exit, the data may lose, but however, it's better than before now. 2009/3/31 claudiu ursica the_bran...@yahoo.com Runned into the same issue and we decided to write on the Flex Idle event instead immediately, that should help you with animation and all taht to make a smooth UE ... C -- *From:* iiley iiley.c...@gmail.com *To:* flexcoders@yahoogroups.com *Sent:* Tuesday, March 31, 2009 1:30:59 PM *Subject:* [flexcoders] Why SharedObject.flush so slowly Hi folks, We are making a online game and want to store some little data to local disk(although it is not very important data, but we don't hope it often be lost), but we found that SharedObject. flush is so slowly, whatever we write something, even a little String test, it need almost 100ms, you know, 100ms blocked for a game, is deadly for feeling. Well, maybe you'll say just don't call flush, the asdoc says it will be automatically written when GC or SWF is closed, but with my test, sadly it doesn't work every time. So, maybe you faced similar issue like me before and have a solution? Thanks in advance. -- iiley AsWing http://www.aswing. org http://www.aswing.org Personal http://www.iiley. com http://www.iiley.com -- iiley AsWing http://www.aswing.org Personal http://www.iiley.com
[flexcoders] Re: Adding tabs dynamically
From the inside of a new Tab: TabNavigatorObj.addChildAt(this, TabNavigatorObj.getChildren().length - 1); --- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote: How are you adding the tabs to the tabnavigator? 2009/4/2 markgoldin_2000 markgoldin_2...@...: I am having a problem adding tabs to tabnavigator. While I am going in one order tabs are generated in a different then mine. Here is some code although it's simplified: // Scan thru scanning each zone and add as many as needed zoneNumber = resultXML.children().length(); currentZone = 0; createNextTab(resultXML); private function createNextTab(resultXML:XML):void { if (currentZone zoneNumber) { node = resultXML.zoneconfiguration[currentZone]; var Tab:boxing = new boxing(); Tab.id = node.lineid.toString(); Tab.label = Boxing Area + Tab.id + ; Tab.paramObj.lineid = node.lineid; Tab.attachJobInProgress(boxingareas); callLater(createNextTab, [resultXML]); currentZone++; } } resultXML looks very simple: nodes with lineid. Tab.paramObj.lineid drives IDs of tabs. While I am going from 1 to 6, Tabs have a random order: mostly 2, 1, Hope my problem is clear. Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] Re: Ribbon in FLEX
There's already two members on that list. I wonder if you can change the lauguage setting from English to MicroSpeak? :) -TH --- In flexcoders@yahoogroups.com, Bjorn Schultheiss bjorn.mailingli...@... wrote: Agreed.. Welcome flexcoders-scott-barnes http://groups.yahoo.com/group/flexcoders-scott-barnes I didn't really feel like it fit under the tech category so i placed it under online relationships. Enjoy We now have a place for all of our Scott Barnes loves Adobe conversations. --- In flexcoders@yahoogroups.com, Maciek Sakrejda msakrejda@ wrote: Can we perhaps have a separate flexcoders-scott-barnes list to discuss whether or not Scott Barnes should be allowed to post to flexcoders and to what extent? Every post by Scott generates three to five posts discussing whether or not his commentary/evangelism is welcome here--this is unarguably more off-topic noise than his actual contributions. -Maciek -Original Message- From: Cole Joplin cole_joplin@ Reply-to: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Ribbon in FLEX Date: Wed, 1 Apr 2009 14:41:10 -0700 (PDT) More importantly, I have a concern. There is plenty of room in RIA and Microsoft-oriented forums and groups to make their case. I'm even fine with some open debate in Flexcoders. What I don't want to see is Microsoft's Rich Platforms Product Manager, let alone other Microsofties, spamming our Flex group with spin on thread after thread after thread. Given the traffic on this list, I hardly think that the 2-3 on-topic posts I've seen from Scott in the past week classify as spam. -- Jeffry Houser, Technical Entrepreneur Jeffry, no fair editing out the next sentence: More importantly, I have a concern. There is plenty of room in RIA and Microsoft-oriented forums and groups to make their case. I'm even fine with some open debate in Flexcoders. What I don't want to see is Microsoft's Rich Platforms Product Manager, let alone other Microsofties, spamming our Flex group with spin on thread after thread after thread. I'm not saying we are there, I'm saying I'm concerned about it. Just reading the language, the last couple of posts are certainly exploring that territory. I think there are more appropriate venues for that than Flexcoders. Being on-topic does not change the nature of the content. Take the third example. Looking over the body of threads of this group, I can't recall seeing a nice bullet-formatted explanation like the one offered by Scott of why IE does not want to support SVG. I'm not saying this was a copy-paste thing, but it is visually very different. Adobe, Microsoft, and others have plenty of propoganda (or spam) posts, and no one is arguing that point. But I'm not going to pretend this particular content is of the same casual nature of the posts typical members of this group make. Scott uses Microsoft's participation in standards bodies and knowledge of gui research that clearly expresses an authority posture to legitimize his point. The typical posts here are overtly subjective developer opinions taken with a grain of salt. Clearly not the same content. Secondly, this is not a response from a Flex developer, doing Flex stuff every work day. (...imagining Scott with a Flex sticker on his laptop as Steve Ballmer walks by...) This is a corporate-sounding explanation, from actual Microsoft management, on an Adobe Flex group, suggesting we use ribbons in Flex, ignore SVG and thank Microsoft for their h.264 standards compliance. Any part of that sentence not accurate? I'm sure Scott is not programming in Flex, and could not possibly be confused as a member of the Flex community or an objective observer. Therefore, his responses in this group must be viewed in the approriate context, in a truthful light. Clearly not a typical poster. If Flexcoders' threads become an active corporate information outlet for Adobe competitors, I don't think that's a good thing for the group. That is my point, and I think it's a perfectly legitimate one.
Re: [flexcoders] Re: Ribbon in FLEX
There were two, but then I left. The only thing worse than being talked about is not being talked about. Guy On 02/04/2009, at 12:33 PM, Tim Hoff wrote: There's already two members on that list. I wonder if you can change the lauguage setting from English to MicroSpeak? :) -TH
[flexcoders] Search auto the other web
Can you help me! I have a program, now i want that when i blacken a word after to click right mouse to it and to select search function, it will auto link to a web that i defaulted after to fill the word in the web next auto click Search button. Thanks so much!
[flexcoders] Error on deserialization of Array Collection in Flex: RangeError: Error #2006
I am getting this error during deserialization: RangeError: Error #2006: The supplied index is out of bounds. The error occurs in AbstractMessage.as when it attempts to read input of timestamp. After that my fault handler gets this error: faultCode:Server.Acknowledge.Failed faultString:'Didn't receive an acknowledge message' faultDetail:'Was expecting mx.messaging.messages.AcknowledgeMessage, but received null' It appears to be happening as a result of an ArrayCollection coming back from the server. Is it necessary to create custom classes to handle serialization of ArrayCollections with custom objects as shown here (http://iamjosh.wordpress.com/2007/12/12/serialization-of-custom-collections-for-flex-data-services/) ? I've also followed the serialization recommendations here(http://www.brooksandrus.com/blog/2008/03/25/flex-air-serialization-lessons-learned/) with no luck. Can you have non-empty constructors on the java side? Thanks for your help!
RE: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2
http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html Looks like it will be in c:\users\username Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Hoff Sent: Wednesday, April 01, 2009 6:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2 Actually, I couldn't find that specific file on my system (vista ultimate). The closest thing that I could find was C:/Windows/System32/Macromed/Flash/FlashAuthor.cfg. Any clue where that file might be located? It didn't come up in a search. When I launch an Air app, this is what shows in the console: [SWF] C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf - 17,476 bytes after decompression [SWF] MyApp.swf - 2,472,578 bytes after decompression -TH --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Is there a preloaderSWF in your mm.cfg or is one being written there as you launch the app? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Hoff Sent: Wednesday, April 01, 2009 3:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2 Hi Nate, Unfortunately I'm still having the problem as well. The difference is that mine shows up only when launching an Air app. I'm able to run the profiler just fine, but for some reason the profiler swf is trying to be loaded with a regular l! aunch. I tried Alex's suggestion (mm.cfg) with no success yet. -TH --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, nateross83 nateross83@ wrote: I am experiencing the same problems trying to profile an AIR 1.5 app. Here is my stack trace: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///Cfile:///\\C|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203%2F.metadata%\ 2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost\ port=9998 cannot load data from localhost:9998. at ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent\ .as:127] at runtime::ContentPlayer/loadInitialContent(! ) at runtime::ContentPlayer/playRawContent() at runtime::ContentPlayer/playContent() at runtime::AppRunner/run() at global/runtime::ADLEntry() I have tried changing the port from to other values without success, I disabled my firewall to try it (although I don't think localhost would be an issue). The strange thing is that a coworker of mine appears to have the same set up as I do and it works fine for him. Here is what I have: Flex Builder v 3.0.2 Flash Player 10 AIR 1.5.1 If you have solved the problem Tim, or anyone else for the matter, please help me out. Thanks, Nate --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Tim Hoff TimHoff@ wrote: g! t; Hi all, I just updated the Flex SDK to version 3.2, and am now getting a Security sandbox violation error everytime that I launch an AIR application from Eclipse. I was wondering if anyone else has run into this and might know of a fix. The stack trace is listed below. Thanks, -TH Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///Cfile:///\\C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.pr\ \ ofiler%2FProfilerAgent.swf?host=localhostport= file:///Cfile:///\\C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.p\ \ ! rofiler%2FProfilerAgent.swf?host=localhost! ;port=99 99 cannot load data from localhost:. at ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.a\ \ s:127] at runtime::ContentPlayer/loadInitialContent() at runtime::ContentPlayer/playRawContent() at runtime::ContentPlayer/playContent() at runtime::AppRunner/run() at global/runtime::ADLEntry()
[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2
Nailed it! C:\Users\Tim\mm.cfg: TraceOutputFileName=C:\Users\Tim\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt ErrorReportingEnable=1 MaxWarnings=0 TraceOutputFileEnable=1 PreloadSwf=C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/\ ProfilerAgent.swf?host=localhostport= Removed the last line and problem solved. In thinking about it, this was more of a technical support issue; that I could have investigated more thoroughly. Thank you very much for your continued help though Alex. Hope that this helps you too, Nate. -TH --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html Looks like it will be in c:\users\username Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Hoff Sent: Wednesday, April 01, 2009 6:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2 Actually, I couldn't find that specific file on my system (vista ultimate). The closest thing that I could find was C:/Windows/System32/Macromed/Flash/FlashAuthor.cfg. Any clue where that file might be located? It didn't come up in a search. When I launch an Air app, this is what shows in the console: [SWF] C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAge\ nt.swf - 17,476 bytes after decompression [SWF] MyApp.swf - 2,472,578 bytes after decompression -TH --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: Is there a preloaderSWF in your mm.cfg or is one being written there as you launch the app? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Hoff Sent: Wednesday, April 01, 2009 3:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2 Hi Nate, Unfortunately I'm still having the problem as well. The difference is that mine shows up only when launching an Air app. I'm able to run the profiler just fine, but for some reason the profiler swf is trying to be loaded with a regular l! aunch. I tried Alex's suggestion (mm.cfg) with no success yet. -TH --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, nateross83 nateross83@ wrote: I am experiencing the same problems trying to profile an AIR 1.5 app. Here is my stack trace: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///Cfile:///\\C|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203\ %2F.metadata%\ 2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost\ \ port=9998 cannot load data from localhost:9998. at ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent\ \ .as:127] at runtime::ContentPlayer/loadInitialContent(! ) at runtime::ContentPlayer/playRawContent() at runtime::ContentPlayer/playContent() at runtime::AppRunner/run() at global/runtime::ADLEntry() I have tried changing the port from to other values without success, I disabled my firewall to try it (although I don't think localhost would be an issue). The strange thing is that a coworker of mine appears to have the same set up as I do and it works fine for him. Here is what I have: Flex Builder v 3.0.2 Flash Player 10 AIR 1.5.1 If you have solved the problem Tim, or anyone else for the matter, please help me out. Thanks, Nate --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Tim Hoff TimHoff@ wrote: g! t; Hi all, I just updated the Flex SDK to version 3.2, and am now getting a Security sandbox violation error everytime that I launch an AIR application from Eclipse. I was wondering if anyone else has run into this and might know of a fix. The stack trace is listed below. Thanks, -TH Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///Cfile:///\\C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.a\ dobe.flash.pr\ \ ofiler%2FProfilerAgent.swf?host=localhostport= file:///Cfile:///\\C|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.\ adobe.flash.p\ \ ! rofiler%2FProfilerAgent.swf?host=localhost! ;port=99 99 cannot load data from localhost:. at ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.a\ \ \ s:127] at runtime::ContentPlayer/loadInitialContent() at runtime::ContentPlayer/playRawContent() at runtime::ContentPlayer/playContent() at runtime::AppRunner/run() at global/runtime::ADLEntry()
Re: [flexcoders] AutoComplete with multiple items
I too, would like this? Does anyone know of such a component? -- View this message in context: http://www.nabble.com/AutoComplete-with-multiple-items-tp16840144p22840425.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] AutoComplete with multiple items
Yahoo has a bundle of components you can drop into your projects. Google it (how ironic). On 02/04/2009, at 2:57 PM, Mark Carter wrote: I too, would like this? Does anyone know of such a component? -- View this message in context: http://www.nabble.com/AutoComplete-with-multiple-items-tp16840144p22840425.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Ellipsis in Advanced datagrid(in flex)
hi i want to implement the ellipsis concept in Advanced datagrid in flex to avoid truncation of lengthy name of data.
RE: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2
Glad that worked. For the record if you kill a profiler session unexpectedly (which can happen when the profiler barfs or hangs on a large app) it won't clean up mm.cfg and you can run into this problem. And even if you don't get security errors in other configs, you'll find your debug sessions are running really slowly. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Hoff Sent: Wednesday, April 01, 2009 9:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2 Nailed it! C:\Users\Tim\mm.cfg: TraceOutputFileName=C:\Users\Tim\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt ErrorReportingEnable=1 MaxWarnings=0 TraceOutputFileEnable=1 PreloadSwf=C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhostport= Removed the last line and problem solved. In thinking about it, this was more of a technical support issue; that I could have investigated more thoroughly. Thank you very much for your continued help though Alex. Hope that this helps you too, Nate. -TH --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html Looks like it will be in c:\users\username Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Hoff Sent: Wednesday, April 01, 2009 6:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2 Actually, I couldn't find that specific file on my system (vista ultimate). The closest thing that I could find was C:/Windows/System32/Macromed/Flash/FlashAuthor.cfg. Any! clue where that file might be located? It didn't come up in a search. When I launch an Air app, this is what shows in the console: [SWF] C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf - 17,476 bytes after decompression [SWF] MyApp.swf - 2,472,578 bytes after decompression -TH --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: Is there a preloaderSWF in your mm.cfg or is one being written there as you launch the app? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Hoff Sent: Wednesday, April 01, 2009 3:29 PM To: f! lexcod...@yahoogroups.com Subject: [flexcode! rs] Re: Security sandbox violation error after upgrade to SDK 3.2 Hi Nate, Unfortunately I'm still having the problem as well. The difference is that mine shows up only when launching an Air app. I'm able to run the profiler just fine, but for some reason the profiler swf is trying to be loaded with a regular l! aunch. I tried Alex's suggestion (mm.cfg) with no success yet. -TH --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, nateross83 nateross83@ wrote: I am experiencing the same problems trying to profile an AIR 1.5 app. Here is my stack trace: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///Cfile:///\\C! ;|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203%2F.metadata%\ 2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost\ port=9998 cannot load data from localhost:9998. at ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent\ .as:127] at runtime::ContentPlayer/loadInitialContent(! ) at runtime::ContentPlayer/playRawContent() at runtime::ContentPlayer/playContent() at runtime::AppRunner/run() at global/runtime::ADLEntry() I have tried changing the port from to other values without success, I disabled my firewall to try it (although I don't think localhost would be an issue). The strange thin! g is that a coworker of mine appears to have the ! same set up as I do and it works fine for him. Here is what I have: Flex Builder v 3.0.2 Flash Player 10 AIR 1.5.1 If you have solved the problem Tim, or anyone else for the matter, please help me out. Thanks, Nate --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Tim Hoff TimHoff@ wrote: g! t; Hi all, I just updated the Flex SDK to version 3.2, and am now getting a Security sandbox violation error everytime that I launch an AIR application from Eclipse. I was wondering if anyone else has run into this ! and might know of a fix. The stack trace is listed below. Thanks, -TH Error #2044: Unhandled securityError:. text=Error #2048:
Re: [flexcoders] Re: Complex Charting in Flex
Hi, Sorry this is not what iam asking. I need to create a column chart with one bar representing high value and one bar representing low value. Like this it has to continue for all the high and low values in the same key(in this case month). And repeat the same for all the keys.I hope you got what iam saying..Thanks.. Thanks in Advance, Poornima From: Tim Hoff timh...@aol.com To: flexcoders@yahoogroups.com Sent: Wednesday, April 1, 2009 11:48:34 PM Subject: [flexcoders] Re: Complex Charting in Flex Hi, Take a look at Using HighLowOpenClose charts (HLOCChart); in the help docs. -TH --- In flexcod...@yahoogro ups.com, kotha poornima poorni_agile@ ... wrote: Hi, Can anyone suggest how can i draw a chart using this type of xml. ?xml version=1.0 encoding=utf- 8? test stock monthAug/ month close High45..87 /High Low25.66/ Low /close close High45.77 /High Low25.96/ Low /close open 25.66 /open /stock stock monthSep/ month close High45.74 /High Low10.23/ Low /close close High45.67 /High Low25.96/ Low /close open 35.29 /open /stock /test For ever
Re: [flexcoders] Re: Application.application.parameters.
Thanks dear friends.. I got solution by both 2 methods. (Application.application.parameters AND external class QueryString) Best Regards. From: valdhor valdhorli...@embarqmail.com To: flexcoders@yahoogroups.com Sent: Wednesday, 1 April, 2009 7:20:09 PM Subject: [flexcoders] Re: Application.application.parameters. I use a custom QueryString class for this... package { import flash.external. *; import flash.utils. *; public class QueryString { private var _queryString: String; private var _all:String; private var _params:Object; public function get queryString( ):String { return _queryString; } public function get url():String { return _all; } public function get parameters() :Object { return _params; } public function QueryString( ) { readQueryString( ); } private function readQueryString( ):void { _params = {}; try { _all = ExternalInterface. call(window. location. href.toString ); _queryString = ExternalInterface. call(window. location. search.substring , 1); if(_queryString) { var params:Array = _queryString. split(''); var length:uint = params.length; for (var i:uint=0,index: int=-1; ilength; i++) { var kvPair:String = params[i]; if((index = kvPair.indexOf( =)) 0) { var key:String = kvPair.substring( 0,index); var value:String = kvPair.substring( index+1); _params[key] = value; } } } }catch(e:Error) { trace(Some error occured. ExternalInterface doesn't work in Standalone player.); } } } } And to use it import QueryString; private var queryString: QueryString = new QueryString( ); user = queryString. parameters. user_id; HTH Steve --- In flexcod...@yahoogro ups.com, Tracy Spratt tspr...@... wrote: The html wrapper does not automatically pass parameters into the swf. You need some java script like this to get the parameters into an array: var _sPassedUrlParms = new String(document. location) .split('? ')[1]; //Get any passed-in querystring parms then pass that into the SF in the AC_FL_RunContent( ) function: flashvars, _sPassedUrlParms, Tracy Spratt, Lariat Services, development services available _ From: flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Vikram Singh Sent: Wednesday, April 01, 2009 1:13 AM To: Flex Coders Subject: [flexcoders] Application. application. parameters. Hello Everybody. I am facing problem in getting value using Application. application. parameters. I will run my application with http://www. XYZ. http://www.XYZ. com/home. html?user_ id=10 com/home..html? user_id=10 in Flex at initialize() function i wrote like this user = Application. application. parameters. user_id but i don't get value 10 in user variable which is declare like [Bindable] private var user : uint; is there any package to include for this? -Vikram. _ Add more friends to your messenger and enjoy! Invite http://in.rd. yahoo.com/ tagline_messenge r_6/*http: /messenger. yahoo.com/ invit e/ them now. Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/