Re: [flexcoders] My website Project
you need to compile pages with to seperate swf files and use the Loader class to load them. don't include them in the main swf! On Feb 17, 2008 9:17 AM, bornaeon [EMAIL PROTECTED] wrote: Hi all. how do you do? I'm working on my personal website, and that's a full Flex website. I have a little problem: I have a main mxml page in my project that come up first. In that page I have some button to go to another part of my site, Like Articles, Events, Gllery, Contact and etc. I want to load page of each button externaly! you know, I want to decrease my project size and want to load each part, when user click on that's part button, and I don't want load all of my site in first time that my main page will come up. Just imagine that I have a conatct form in my Contact part, that's form has 3 texbox and 1 button to send a mail to me. I made that form with a custom component and run it when someone click my contact bottun on main page, but it didn't load it externaly, and my custom component had been loaded when my main project was loading. Please help me, how can I fix it? thanks borna
Re: [flexcoders] My website Project
Hello, You can use the following two options to load rest of the features of your application. 1. Modules 2. RSL (Runtime Shared Libraries) Both of the aforementioned techniques will load the components only when they are used instead of loading them on main application initialization. Regards, Jehanzeb --- bornaeon [EMAIL PROTECTED] wrote: Hi all. how do you do? I'm working on my personal website, and that's a full Flex website. I have a little problem: I have a main mxml page in my project that come up first. In that page I have some button to go to another part of my site, Like Articles, Events, Gllery, Contact and etc. I want to load page of each button externaly! you know, I want to decrease my project size and want to load each part, when user click on that's part button, and I don't want load all of my site in first time that my main page will come up. Just imagine that I have a conatct form in my Contact part, that's form has 3 texbox and 1 button to send a mail to me. I made that form with a custom component and run it when someone click my contact bottun on main page, but it didn't load it externaly, and my custom component had been loaded when my main project was loading. Please help me, how can I fix it? thanks borna Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Re: [flexcoders]Flex Charting - Export to PDF and Images
Ok, and what about converting a Flex chart into a JPG or other image? Does ALDS do that too? Or, some other Adobe tool? On Feb 17, 2008 3:03 AM, Andrew D. Goodfellow [EMAIL PROTECTED] wrote: We used the AlivePDF library on one of our client projects to generate PDF reports. I was very happy with the results. http://www.alivepdf.org/ http://code.google.com/p/alivepdf/ -Andy On Feb 16, 2008 9:40 PM, Eduardo Dias [EMAIL PROTECTED] wrote: Is there any way with Flex Charting (or some 3rd party tool integrated with Flex) to output a FlexChart as a PDF or an image for inclusion in a report?
[flexcoders] Web services problems
Hi guys, What on earth does this mean: [RPC Fault faultString=Cannot resolve element definition for name 'urn: www.sgintl.biz:schemas:disposals:v0::disposableVehicle' faultCode=DecodingError faultDetail=null] I've been racking my brains trying to sort it out for a couple of days now. Any pointers much appreciated! -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
RE: [flexcoders] How do i get rid of the white box?
Well really I think the problem could be solved (1 way anyway) by just telling it not to move to the next view (viewstack) until my initDataDrovider function finishes. Is there a way to do this? I'm not used to things operating in parallel. I need the program to wait until the dataprovider function returns. brad -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Saturday, February 16, 2008 6:03 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How do i get rid of the white box? never mind, i guess it is called whiteBox who woulda thought it would be that easy. - Original Message From: Sherif Abdou [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, February 16, 2008 4:55:49 PM Subject: [flexcoders] How do i get rid of the white box? Picture is attatched, i have no idea what it is or how to get rid of it. Thanks _ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i6 2sR8HDtDypao8Wcj9tAcJ _ Looking for last minute shopping deals? Find http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsear ch/category.php?category=shopping them fast with Yahoo! Search.
RE: [flexcoders] Prohibiting Old Chart from Displaying while new Chart renders
Well really I think the problem could be solved (1 way anyway) by just telling it not to move to the next view (viewstack) until my initDataDrovider function finishes. Is there a way to do this? I'm not used to things operating in parallel. I need the program to wait until the dataprovider function returns. brad -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Saturday, February 16, 2008 6:00 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Prohibiting Old Chart from Displaying while new Chart renders can you do some sort of mockup file, you can always try to call any of the validation methods and see if that works - Original Message From: Brad Bueche [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, February 16, 2008 3:12:13 PM Subject: [flexcoders] Prohibiting Old Chart from Displaying while new Chart renders I have a chart that, at year level, allows users to drill down into individual months. The problem is that if the user drills down into march, then comes back up to the year level (via viewstack bread-crumb trail button), and then drills down into October, for a spilt second the march data will still be on the screen. I have been knocking my head against the wall all day (on a weekend!) trying to prohibit the old data from continuing to show until the new data is rendered but I cant get anything to work. Any ideas? brad _ Looking for last minute shopping deals? Find http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsear ch/category.php?category=shopping them fast with Yahoo! Search.
RE: [flexcoders] How do i get rid of the white box?
Sorry, responded on the wrong thread. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brad Bueche Sent: Sunday, February 17, 2008 8:36 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] How do i get rid of the white box? Well really I think the problem could be solved (1 way anyway) by just telling it not to move to the next view (viewstack) until my initDataDrovider function finishes. Is there a way to do this? I'm not used to things operating in parallel. I need the program to wait until the dataprovider function returns. brad -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Saturday, February 16, 2008 6:03 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How do i get rid of the white box? never mind, i guess it is called whiteBox who woulda thought it would be that easy. - Original Message From: Sherif Abdou [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, February 16, 2008 4:55:49 PM Subject: [flexcoders] How do i get rid of the white box? Picture is attatched, i have no idea what it is or how to get rid of it. Thanks _ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i6 2sR8HDtDypao8Wcj9tAcJ _ Looking for last minute shopping deals? Find http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsear ch/category.php?category=shopping them fast with Yahoo! Search.
[flexcoders] Re: Key Down event lost after add a child component
hi all, thank you guys so much... it works! --- In flexcoders@yahoogroups.com, maunger [EMAIL PROTECTED] wrote: Like Dan said, you gotta get focus back! you can do something like stage.focus = this; or stage.focus = Application.application.someobjectname; // if you want to point to something specific that you've named. --- In flexcoders@yahoogroups.com, xmwang1982 askycn@ wrote: Hi, I have an component base on Canvas. It allows adding new child component via drag-drop. the problem is, every time after a new child is added, its Key Down event is not triggerred anymore. The event will be back after click on one of the children. No code exists for the mouse events of children. So I think something happen in background Any idea? Thanks.
Re: [flexcoders] How do i get rid of the white box?
well it is a protected variable so you need to extend whatever componenet your working on, you can just remove it in validateDisplayList or just remove it totally override public function validateDisplayList():void{ super.validateDisplayList(); //we really dont need to be running this everytime we invalidate so we do it only once //we hide all the scrolls and the boxes, reason we cant exclude them is we need information //about the positions and what not if(firstTime){ whiteBox.visible=false; firstTime=false; } } - Original Message From: Vivian Richard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, February 17, 2008 1:21:39 AM Subject: Re: [flexcoders] How do i get rid of the white box? So!!! How did you remove it. Please let me know!!! Thanks.. On Feb 16, 2008 3:03 PM, Sherif Abdou [EMAIL PROTECTED] com wrote: never mind, i guess it is called whiteBox who woulda thought it would be that easy. - Original Message From: Sherif Abdou [EMAIL PROTECTED] com To: [EMAIL PROTECTED] ups.com Sent: Saturday, February 16, 2008 4:55:49 PM Subject: [flexcoders] How do i get rid of the white box? Picture is attatched, i have no idea what it is or how to get rid of it. Thanks Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. Looking for last minute shopping deals? Find them fast with Yahoo! Search. Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
[flexcoders] override not overriding????
I have a class hierarchy of classes as follows: MyBaseTextInput extends TextInput { override public function set text(value:String):void { // my base code here } } MySpecialTextInput extends MyBaseTextInput { override public function set text(value:String):void { // my special code here } } Okay, in MySpecialTextInput I am overriding the set text function and NOT calling super.text = value; So, why when I have MySpecialTextInput on an mxml view does the set text in MyBaseTextInput get called? This is causing me to copy/paste the code from MyBaseInputText into MySpecialTextInput, modifying as needed, and then have MySpecialTextInput extend TextInput instead of MyBaseTextInput. I REALLY HATE COPY/PASTE PROGRAMMING! Can someone please shed some light on why the super class function is being called even when I'm not calling super? Thanks, Dale
Re: [flexcoders] override not overriding????
try overriding the getter too - Original Message From: dbronk [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, February 17, 2008 9:59:56 AM Subject: [flexcoders] override not overriding I have a class hierarchy of classes as follows: MyBaseTextInput extends TextInput { override public function set text(value:String) :void { // my base code here } } MySpecialTextInput extends MyBaseTextInput { override public function set text(value:String) :void { // my special code here } } Okay, in MySpecialTextInput I am overriding the set text function and NOT calling super.text = value; So, why when I have MySpecialTextInput on an mxml view does the set text in MyBaseTextInput get called? This is causing me to copy/paste the code from MyBaseInputText into MySpecialTextInput, modifying as needed, and then have MySpecialTextInput extend TextInput instead of MyBaseTextInput. I REALLY HATE COPY/PASTE PROGRAMMING! Can someone please shed some light on why the super class function is being called even when I'm not calling super? Thanks, Dale Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Re: [flexcoders]Flex Charting - Export to PDF and Images
we convert to a png using this... http://www.kaourantin.net/2005/10/png-encoder-in-as3.html --- In flexcoders@yahoogroups.com, Eduardo Dias [EMAIL PROTECTED] wrote: Ok, and what about converting a Flex chart into a JPG or other image? Does ALDS do that too? Or, some other Adobe tool? On Feb 17, 2008 3:03 AM, Andrew D. Goodfellow [EMAIL PROTECTED] wrote: We used the AlivePDF library on one of our client projects to generate PDF reports. I was very happy with the results. http://www.alivepdf.org/ http://code.google.com/p/alivepdf/ -Andy On Feb 16, 2008 9:40 PM, Eduardo Dias [EMAIL PROTECTED] wrote: Is there any way with Flex Charting (or some 3rd party tool integrated with Flex) to output a FlexChart as a PDF or an image for inclusion in a report?
Re: [flexcoders] changing an Hbox
Have you tried the paddingBottom style http://livedocs.adobe.com/labs/flex3/langref/mx/containers/Box.html#style:paddingBottom? You would set this programmatically using the setStyle() method. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com [EMAIL PROTECTED] wrote: I am creating HBoxes with actionscript, based on XML content. I want to give them bottom margins. How do I do that?
[flexcoders] changing an Hbox
I am creating HBoxes with actionscript, based on XML content. I want to give them bottom margins. How do I do that?
Re: [flexcoders] Prohibiting Old Chart from Displaying while new Chart renders
On 16 Feb 2008, at 21:12, Brad Bueche wrote: I have a chart that, at year level, allows users to drill down into individual months. The problem is that if the user drills down into march, then comes back up to the year level (via viewstack bread-crumb trail button), and then drills down into October, for a spilt second the march data will still be on the screen. I have been knocking my head against the wall all day (on a weekend!) trying to prohibit the old data from continuing to show until the new data is rendered but I cant get anything to work. Any ideas? Clear the chart of data when you navigate from March to Year? Then when you drill into October you shouldn't see the March data?
Re: AW: [flexcoders] Rich Text Editor
Easiest way is just to use a dynamic text field and make your own editor.
Re: [flexcoders] changing an Hbox
Yes I've tried that. It doesn't work. gridItem = new HBox( ); gridItem.setStyle(paddingBottom, 20); Scott Melby wrote: Have you tried the paddingBottom style http://livedocs.adobe.com/labs/flex3/langref/mx/containers/Box.html#style:paddingBottom? You would set this programmatically using the setStyle() method. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com [EMAIL PROTECTED] wrote: I am creating HBoxes with actionscript, based on XML content. I want to give them bottom margins. How do I do that?
RE: [flexcoders] Prohibiting Old Chart from Displaying while new Chart renders
Put a progress bar in a model popup window when you call the data provider routine. Add a listener for the result event from the data provider routine, and take the model popup down when you finish processing the result from your data provider. ~randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brad Bueche Sent: Sunday, February 17, 2008 8:20 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Prohibiting Old Chart from Displaying while new Chart renders Well really I think the problem could be solved (1 way anyway) by just telling it not to move to the next view (viewstack) until my initDataDrovider function finishes. Is there a way to do this? I'm not used to things operating in parallel. I need the program to wait until the dataprovider function returns. brad -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Saturday, February 16, 2008 6:00 PM To: [EMAIL PROTECTED] Subject: Re: [flexcoders] Prohibiting Old Chart from Displaying while new Chart renders can you do some sort of mockup file, you can always try to call any of the validation methods and see if that works - Original Message From: Brad Bueche [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 16, 2008 3:12:13 PM Subject: [flexcoders] Prohibiting Old Chart from Displaying while new Chart renders I have a chart that, at year level, allows users to drill down into individual months. The problem is that if the user drills down into march, then comes back up to the year level (via viewstack bread-crumb trail button), and then drills down into October, for a spilt second the march data will still be on the screen. I have been knocking my head against the wall all day (on a weekend!) trying to prohibit the old data from continuing to show until the new data is rendered but I cant get anything to work. Any ideas? brad _ Looking for last minute shopping deals? HYPERLINK http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/c ategory.php?category=shoppingFind them fast with Yahoo! Search. No virus found in this outgoing message. Checked by AVG. Version: 7.5.516 / Virus Database: 269.20.7/1283 - Release Date: 2/16/2008 2:16 PM
[flexcoders] 1)detecting that model changed in custom component, 2)setting HTTP connection
hej. im developing gui based on flex3+cairngorm lib+tomcat6 as a backend. now I have two issues 1)let say I made custom component which is extending panel (canvas whatever), it contains [Bindable] public variable called model. model is assigned to every textInput in that component. so when content of the model changes then all values in TI will change as well. I have more controls on my component. PROBLEM now how can I figure out that model has really changed and that I should update the view of component (switch to other state, or tick the field in checkbox or make form disabled). user can load new data form remote service any time filling the model and component should know how to look with new data. I could put new variables into my model that will do the job but this is short term solution. 2)I want to login using https by httpservice, but then I want to use AMF. if I download flex app using http then login want work but amf is, or if I connect to server by https then login works but amf will not. and here I have a problem because as Flex documentation is saying I need add crossdomain.xml, but I cant find any good example how to prepare the xml file and finaly where to put it to make it working and visible to flex app. thanks
[flexcoders] Accessing Multi Dimensional Array Collection Data in a DataGrid
Hi there, Probably a rather straightforward solution that I am just overlooking. I have an array collection that is acting as the data provider for a datagrid. I have mapped out all the columns between the array collection and the data grid with the DataGridColumn element. However, my array collection is multi dimensional, and I can't figure out how to map deeper content to the data field. The each collection row contains a nested array called practice that has values. How do I map my datagrid column to the name property of the nested array practice? mx:DataGrid id=myCases dataProvider={cases} mx:columns mx:DataGridColumn dataField=practice.name headerText=Practice / mx:DataGridColumn dataField=acknowledged headerText=Ack / mx:DataGridColumn dataField=id headerText=Case / mx:DataGridColumn dataField=arrival_date headerText=Arrival / /mx:columns /mx:DataGrid Thanks, Mike
Re: [flexcoders] changing an Hbox
Hmmm... well that is how I always do it. To be clear, what that should set is the amount of space inside the HBox (at the bootm) that will be left empty (below any children that are added in there). Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com [EMAIL PROTECTED] wrote: Yes I've tried that. It doesn't work. gridItem = new HBox( ); gridItem.setStyle(paddingBottom, 20); Scott Melby wrote: Have you tried the paddingBottom style http://livedocs.adobe.com/labs/flex3/langref/mx/containers/Box.html#style:paddingBottom http://livedocs.adobe.com/labs/flex3/langref/mx/containers/Box.html#style:paddingBottom? You would set this programmatically using the setStyle() method. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://www.fastlanesw.com [EMAIL PROTECTED] mailto:info1%40reenie.org wrote: I am creating HBoxes with actionscript, based on XML content. I want to give them bottom margins. How do I do that?
[flexcoders] Re: override not overriding????
Didn't realize that was important information. I am overriding the getter also. Just didn't show it in my post. Thanks, Dale --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: try overriding the getter too - Original Message From: dbronk [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, February 17, 2008 9:59:56 AM Subject: [flexcoders] override not overriding I have a class hierarchy of classes as follows: MyBaseTextInput extends TextInput { override public function set text(value:String) :void { // my base code here } } MySpecialTextInput extends MyBaseTextInput { override public function set text(value:String) :void { // my special code here } } Okay, in MySpecialTextInput I am overriding the set text function and NOT calling super.text = value; So, why when I have MySpecialTextInput on an mxml view does the set text in MyBaseTextInput get called? This is causing me to copy/paste the code from MyBaseInputText into MySpecialTextInput, modifying as needed, and then have MySpecialTextInput extend TextInput instead of MyBaseTextInput. I REALLY HATE COPY/PASTE PROGRAMMING! Can someone please shed some light on why the super class function is being called even when I'm not calling super? Thanks, Dale Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Re: AW: [flexcoders] Rich Text Editor
A response I got from the Buzzword team: Thanks for your feedback, and your focus on making Flex an even better platform for developing rich Internet applications. We have often heard the request for a rich editing component in Flex - it certainly would have made the Buzzword development task easier. There are a number of ways for Adobe to approach this, and I know the Flex team is looking at just such a capability for their next big release. A native component will be a better solution than any attempt to morph Buzzword in that direction. For more information on developments in Flex, you could check out Adobe Labs (http://labs.adobe.com). So do not put your hopes up for a buzzword component. Greetz Erik On 2/17/08, Weyert de Boer [EMAIL PROTECTED] wrote: Easiest way is just to use a dynamic text field and make your own editor. Messages in this topic http://groups.yahoo.com/group/flexcoders/message/102754;_ylc=X3oDMTM5aWFpNjg4BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxMDI3OTEEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMjAzMjcyOTI0BHRwY0lkAzEwMjc1NA--( 2) Reply (via web post) http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJzczNlYzF0BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxMDI3OTEEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMjAzMjcyOTI0?act=replymessageNum=102791| Start a new topic http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJmZGhxMTVsBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNudHBjBHN0aW1lAzEyMDMyNzI5MjQ- Messageshttp://groups.yahoo.com/group/flexcoders/messages;_ylc=X3oDMTJmZ2V2YWRtBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNtc2dzBHN0aW1lAzEyMDMyNzI5MjQ- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com [image: Yahoo! Groups]http://groups.yahoo.com/;_ylc=X3oDMTJlZG9xcmFsBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNnZnAEc3RpbWUDMTIwMzI3MjkyNA-- Change settings via the Webhttp://groups.yahoo.com/group/flexcoders/join;_ylc=X3oDMTJncGJhMDU3BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNzdG5ncwRzdGltZQMxMjAzMjcyOTI0(Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest[EMAIL PROTECTED]:+Digest| Switch format to Traditional[EMAIL PROTECTED]:+Traditional Visit Your Group http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJlODNyOHYyBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNocGYEc3RpbWUDMTIwMzI3MjkyNA--| Yahoo! Groups Terms of Use http://docs.yahoo.com/info/terms/ | Unsubscribe [EMAIL PROTECTED] Recent Activity - 92 New Membershttp://groups.yahoo.com/group/flexcoders/members;_ylc=X3oDMTJndDBxMjM0BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxMjAzMjcyOTI0 Visit Your Group http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJmZTc3OGpsBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzEyMDMyNzI5MjQ- Yahoo! Finance It's Now Personalhttp://us.ard.yahoo.com/SIG=13ohat3oi/M=493064.12016257.12445664.8674578/D=groups/S=1705007207:NC/Y=YAHOO/EXP=1203280124/L=/B=4LeqFULaX9c-/J=1203272924734759/A=4507179/R=0/SIG=12de4rskk/*http://us.rd.yahoo.com/evt=50284/*http://finance.yahoo.com/personal-finance Guides, news, advice more. Ads on Yahoo! Learn more now.http://us.ard.yahoo.com/SIG=13on50fu9/M=493064.12016308.12445700.8674578/D=groups/S=1705007207:NC/Y=YAHOO/EXP=1203280124/L=/B=4beqFULaX9c-/J=1203272924734759/A=3848643/R=0/SIG=131q47hek/*http://searchmarketing.yahoo.com/arp/srchv2.php?o=US2005cmp=Yahooctv=Groups4s=Ys2=s3=b=50 Reach customers searching for you. Women of Curves on Yahoo! Groupshttp://us.ard.yahoo.com/SIG=13peo0v88/M=493064.12016299.12445691.11322765/D=groups/S=1705007207:NC/Y=YAHOO/EXP=1203280124/L=/B=4reqFULaX9c-/J=1203272924734759/A=4990222/R=0/SIG=11odsb6gn/*http://new.groups.yahoo.com/Women_Of_Curves_Everywhere see how women are changing their lives. .
Re: AW: [flexcoders] Rich Text Editor
If you start with a simple one-line editor without rich. You can do this: 1. create text field instance (set dynamic, disable selectable, editable) 2. create your own caret cursor (simple drawing api) 3. create your own canvas instance (for the selection rectangle) 4. catch the keydown-events (to handle left, right keys, and to update the text etc.) 5. catch mousedown-event (to reposition the caret) 6. handle the selection yourself (caret position, selection start, selection end) 7. write method to resolve a x,y position to the character index (e.g that caret position ;)) 8. write method to resolve x,y position from a character index (to position to caret correctly) 9. write method to move the caret to this position Really easy! Second step would be to support multiline in a similar matter and then support richtext... Yours, Weyert
[flexcoders] Re: Error tooltip
OK, it was 4 in the morning when I wrote this, let me try to be a bit more coherent. I have created an extended version of the TextInput class that does data validation, etc. When my code determines that there is invalid data, I create an errorString. This will of course cause the error tooltip to display on mouse over. I would like to extend this by also displaying the tooltip when the field has focus. Does anybody know what the mechanism is that causes the tooltip to appear and disappear? Or a way of accessing the tooltip's properties so that I can make it visible and invisible when I need? Paul --- In flexcoders@yahoogroups.com, aceoohay [EMAIL PROTECTED] wrote: I would like to use the same error tooltip that flex uses for displaying errorString, but I would like it to display on focusIn, and disappear on focusOut. Is there a way of tweaking the existing behavior to use focus instead of rollOver/rollOut? Anybody know how to do this? Are you willing to share? Paul
[flexcoders] Extending DateField...
I have extended the TextInput class. Some of the features I have added include data validation, of which date validation is one. In some cases I would like to use the DateField to get dates. I always make the date field editable, I would like to reuse my extended TextInput component by having the DatefField call that instead of the standard TextInput component. Any ideas on how to do this? Paul
[flexcoders] Best Practice to override Styles?
I am extending a comboBox and i need to set my own styles in it like arrowButtonWidth to 0, where is the best place to do that? Constructor? Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
[flexcoders] Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)?
Hi Guys, Is there something good out there I can use to view the raw XML request/response data going to and from the server when making SOAP calls? A vcr proxy? An option in the debugger I don't know about? -Josh -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
Re: [flexcoders] Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)?
Firebug plugin for firefox or wireshark. Both are free Sent via BlackBerry from T-Mobile -Original Message- From: Josh McDonald [EMAIL PROTECTED] Date: Mon, 18 Feb 2008 10:13:28 To:flexcoders@yahoogroups.com flexcoders@yahoogroups.com Subject: [flexcoders] Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)? Hi Guys, Is there something good out there I can use to view the raw XML request/response data going to and from the server when making SOAP calls? A vcr proxy? An option in the debugger I don't know about? -Josh -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)?
while not free, I've found service capture to be incredibly valuable. At 07:20 PM 2/17/2008, you wrote: Firebug plugin for firefox or wireshark. Both are free Sent via BlackBerry from T-Mobile -Original Message- From: Josh McDonald [EMAIL PROTECTED] Date: Mon, 18 Feb 2008 10:13:28 To:flexcoders@yahoogroups.com flexcoders@yahoogroups.com Subject: [flexcoders] Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)? Hi Guys, Is there something good out there I can use to view the raw XML request/response data going to and from the server when making SOAP calls? A vcr proxy? An option in the debugger I don't know about? -Josh -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Jeff Tapper Senior Technologist Digital Primates IT Consulting Group [EMAIL PROTECTED] http://www.digitalprimates.net
Re: [flexcoders] Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)?
Firebug isn't working, it gives me nothing for the requests, and somehow shows me html invokers instead of the response. I managed to get a proxy named Charles working and it shows the conversation pretty well and can also interpret soap request / reponse data which is kinda nice. -JH On Feb 18, 2008 10:44 AM, Jeff Tapper [EMAIL PROTECTED] wrote: while not free, I've found service capture to be incredibly valuable. At 07:20 PM 2/17/2008, you wrote: Firebug plugin for firefox or wireshark. Both are free Sent via BlackBerry from T-Mobile -Original Message- From: Josh McDonald [EMAIL PROTECTED] dznuts%40gmail.com Date: Mon, 18 Feb 2008 10:13:28 To:flexcoders@yahoogroups.com flexcoders%40yahoogroups.com flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Subject: [flexcoders] Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)? Hi Guys, Is there something good out there I can use to view the raw XML request/response data going to and from the server when making SOAP calls? A vcr proxy? An option in the debugger I don't know about? -Josh -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]josh%40gfunk007.com com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Jeff Tapper Senior Technologist Digital Primates IT Consulting Group [EMAIL PROTECTED] jtapper%40digitalprimates.net http://www.digitalprimates.net -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
Re: [flexcoders] Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)?
It works. I think you need to be on the console tab. Sent via BlackBerry from T-Mobile -Original Message- From: Josh McDonald [EMAIL PROTECTED] Date: Mon, 18 Feb 2008 10:47:30 To:flexcoders@yahoogroups.com Subject: Re: [flexcoders] Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)? Firebug isn't working, it gives me nothing for the requests, and somehow shows me html invokers instead of the response. I managed to get a proxy named Charles working and it shows the conversation pretty well and can also interpret soap request / reponse data which is kinda nice. -JH On Feb 18, 2008 10:44 AM, Jeff Tapper [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] net wrote: while not free, I've found service capture to be incredibly valuable. At 07:20 PM 2/17/2008, you wrote: Firebug plugin for firefox or wireshark. Both are free Sent via BlackBerry from T-Mobile -Original Message- From: Josh McDonald [EMAIL PROTECTED] mailto:dznuts%40gmail.com com Date: Mon, 18 Feb 2008 10:13:28 To:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)? Hi Guys, Is there something good out there I can use to view the raw XML request/response data going to and from the server when making SOAP calls? A vcr proxy? An option in the debugger I don't know about? -Josh -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:josh%40gfunk007.com com com -- Flexcoders Mailing List FAQ: http://groups. http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail- http://www.mail-archive.com/flexcoders%40yahoogroups.com archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Jeff Tapper Senior Technologist Digital Primates IT Consulting Group [EMAIL PROTECTED] mailto:jtapper%40digitalprimates.net ates.net http://www.digitalp http://www.digitalprimates.net rimates.net -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)?
I'm sure it usally works, it just wasn't working for me :) It was updating and such, just giving me an empty box in the request tab, and something completely different in the response tab. On Feb 18, 2008 11:02 AM, Phil Krasko [EMAIL PROTECTED] wrote: It works. I think you need to be on the console tab. Sent via BlackBerry from T-Mobile -Original Message- From: Josh McDonald [EMAIL PROTECTED] Date: Mon, 18 Feb 2008 10:47:30 To:flexcoders@yahoogroups.com Subject: Re: [flexcoders] Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)? Firebug isn't working, it gives me nothing for the requests, and somehow shows me html invokers instead of the response. I managed to get a proxy named Charles working and it shows the conversation pretty well and can also interpret soap request / reponse data which is kinda nice. -JH On Feb 18, 2008 10:44 AM, Jeff Tapper [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] net wrote: while not free, I've found service capture to be incredibly valuable. At 07:20 PM 2/17/2008, you wrote: Firebug plugin for firefox or wireshark. Both are free Sent via BlackBerry from T-Mobile -Original Message- From: Josh McDonald [EMAIL PROTECTED] mailto:dznuts%40gmail.com com Date: Mon, 18 Feb 2008 10:13:28 To:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)? Hi Guys, Is there something good out there I can use to view the raw XML request/response data going to and from the server when making SOAP calls? A vcr proxy? An option in the debugger I don't know about? -Josh -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: josh%40gfunk007.com com com -- Flexcoders Mailing List FAQ: http://groups. http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail- http://www.mail-archive.com/flexcoders%40yahoogroups.com archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Jeff Tapper Senior Technologist Digital Primates IT Consulting Group [EMAIL PROTECTED] mailto:jtapper%40digitalprimates.net ates.net http://www.digitalp http://www.digitalprimates.net rimates.net -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
[flexcoders] Re: Tree Branch???
actually you can define a function to labelFunction. Check http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/ raf --- In flexcoders@yahoogroups.com, xmwang1982 [EMAIL PROTECTED] wrote: Hi experts, Can we determine the isBranch property of a tree node in a function? I need to set this property according to XML node name. It would be nice if we can define a function like labelFunction. However it seems not existing. I don't want to translate my XML to new XML node lable=... isBranch=.. How to set the property in runtime? Thanks.
[flexcoders] Re: Tree nodes expansion
Try TreeForm.updateList(); Raf --- In flexcoders@yahoogroups.com, Tom Preet [EMAIL PROTECTED] wrote: Hi All, In my application am using Tree with nodes when I click on the node it was displaying the alert, but when I selected the first node the related page was displaying, next time when I click on another node it was not displaying the second page. Now I need to use it as when I click on particular node the related page was displayed. how to refresh the nodes when selecting the each node simultaniously. *My Application:*?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=1094 height=640 verticalScrollPolicy=off horizontalScrollPolicy=off mx:Script ![CDATA[ import mx.controls.Alert; private function changeEvt(event:Event):void { var selectedNode:String = if ([EMAIL PROTECTED] ) { selectedNode = [EMAIL PROTECTED]; //Alert.show(the data +selectedNode); if(selectedNode==abc Node) { var abc:abcForm = new abcForm(); rightPane.addChild(abc); } else if(selectedNode==ddd Node) { Alert.show(Access); var ddd:ddForm = new ddForm(); rightPane.addChild(ddd); } else if(selectedNode==zzz Node) { Alert.show(Error); var zzz:zzForm = new zzForm(); rightPane.addChild (zzz); } } } ]] /mx:Script mx:HBox width=1089 id=rightPane height=630 x=5 y=10 verticalScrollPolicy=off horizontalScrollPolicy=off mx:VBox width=230 height=627 verticalGap=10 mx:Panel width=229 height=628 title=Tree verticalScrollPolicy=off horizontalScrollPolicy=off backgroundColor=white mx:Tree id=TreeForm change=changeEvt(event) labelField=@label showRoot=true width=210 height=595 mx:XMLListCollection id=nodes mx:XMLList node label=abc Node / node label=Main Forms isBranch=true node label=ddd Form / node label=zzz Form/ /node /node /mx:XMLList /mx:XMLListCollection /mx:Tree /mx:Panel /mx:VBox /mx:HBox /mx:Canvas can you suggest me how to achieve this. Thanks, Tomt.
[flexcoders] Re: resizing children of hdividedbox
hi, anyone? :( it would help to know that if i have to listen to an event, which one and where... or something... anything... again, thanks... --- In flexcoders@yahoogroups.com, Lee [EMAIL PROTECTED] wrote: hi, i couldn't do that because the added component had computations and if i used percent width/height, i was having problems finding the dimensions needed for those computations... so the width and height were set instead of the percent values... i know it would be better if i used percentage values but... that's what happened... i can't do a recode right now because there are just so many child components (they're different views) so i have to find a solution (even a temporary one) until i have time to do just that :) Any further help will be appreciated :) Thanks!!! May God bless! Lee -- Y!M : callistachan Blog: http://callie16.livejournal.com Multiply: http://callie16.multiply.com - Original Message From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 12:44:58 AM Subject: Re: [flexcoders] resizing children of hdividedbox On Tuesday 12 Feb 2008, callistachan wrote: anyway, when i do drag the divider, and i resize the component i added dynamically to panel1, it still sees the original dimensions of Did you set a percentWidth on this added component ? -- Tom Chiverton Helping to authoritatively utilize open-source experiences on: http://thefalken.livejournal.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. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. 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 Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ settings: Individual Email | Traditional settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] from this group, send an email to: [EMAIL PROTECTED] of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders] Re: resizing children of hdividedbox
try FlexEvent.UPDATE_COMPLETE - Original Message From: callistachan [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, February 17, 2008 9:09:38 PM Subject: [flexcoders] Re: resizing children of hdividedbox hi, anyone? :( it would help to know that if i have to listen to an event, which one and where... or something... anything... again, thanks... --- In [EMAIL PROTECTED] ups.com, Lee callistachan@ ... wrote: hi, i couldn't do that because the added component had computations and if i used percent width/height, i was having problems finding the dimensions needed for those computations. .. so the width and height were set instead of the percent values... i know it would be better if i used percentage values but... that's what happened... i can't do a recode right now because there are just so many child components (they're different views) so i have to find a solution (even a temporary one) until i have time to do just that :) Any further help will be appreciated :) Thanks!!! May God bless! Lee -- Y!M : callistachan Blog: http://callie16. livejournal. com Multiply: http://callie16. multiply. com - Original Message From: Tom Chiverton tom.chiverton@ ... To: [EMAIL PROTECTED] ups.com Sent: Wednesday, February 13, 2008 12:44:58 AM Subject: Re: [flexcoders] resizing children of hdividedbox On Tuesday 12 Feb 2008, callistachan wrote: anyway, when i do drag the divider, and i resize the component i added dynamically to panel1, it still sees the original dimensions of Did you set a percentWidth on this added component ? -- Tom Chiverton Helping to authoritatively utilize open-source experiences on: http://thefalken. livejournal. 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. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. 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 Mailing List FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder sFAQ.txt Search Archives: http://www.mail- archive.com/ flexcoders% 40yahoogroups. com Yahoo! Groups Links your group on the web, go to: http://groups. yahoo.com/ group/flexcoders / settings: Individual Email | Traditional settings online go to: http://groups. yahoo.com/ group/flexcoders /join (Yahoo! ID required) settings via email: mailto:flexcoders-digest@ yahoogroups. com mailto:flexcoders-fullfeat [EMAIL PROTECTED] .com from this group, send an email to: flexcoders-unsubscr [EMAIL PROTECTED] com of Yahoo! Groups is subject to: http://docs. yahoo.com/ info/terms/ _ _ _ _ _ _ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile. yahoo.com/ ;_ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
[flexcoders] Extending Tree component
I'm extending the Tree component and i have had some great progress with it. Somethings still bug me like the place you will drop the item. Whenever you drag an item, a thick black line show marking where will be drop it. The thing is, sometimes i'm positioning the element over the element i want to drop and the line is still on the item above it. The line i'm mentioning is this one: http://www.rafaelfaria.net/tree.png Is there any way to controle this line? I mean, is there any way to choose exactly the item i want to drop it? Thanks
Re: [flexcoders]Flex Charting - Export to PDF and Images
No, I don't think so. Use the AS3 Core Libraries for that. http://code.google.com/p/as3corelib/ On Feb 17, 2008 7:01 AM, Eduardo Dias [EMAIL PROTECTED] wrote: Ok, and what about converting a Flex chart into a JPG or other image? Does ALDS do that too? Or, some other Adobe tool? On Feb 17, 2008 3:03 AM, Andrew D. Goodfellow [EMAIL PROTECTED] wrote: We used the AlivePDF library on one of our client projects to generate PDF reports. I was very happy with the results. http://www.alivepdf.org/ http://code.google.com/p/alivepdf/ -Andy On Feb 16, 2008 9:40 PM, Eduardo Dias [EMAIL PROTECTED] wrote: Is there any way with Flex Charting (or some 3rd party tool integrated with Flex) to output a FlexChart as a PDF or an image for inclusion in a report?
Re: [flexcoders] Re: resizing children of hdividedbox
call the validationMethods when that happens, and you shouldnt use width and height if we keep assigning just use setActualSize - Original Message From: Lee [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, February 17, 2008 9:23:50 PM Subject: Re: [flexcoders] Re: resizing children of hdividedbox hi, i remember that i tried using that but i can't seem to get the children (the components, that is) to get the dimensions of the parent... more like, i do get to reassign the width and height of the parent but the UI doesn't refresh to show the new dimensions.. . reminds me of caching for some reason... May God bless! Kiwotsukete ^^x Lee -- Y!M : callistachan Blog: http://callie16. livejournal. com Multiply: http://callie16. multiply. com - Original Message From: Sherif Abdou [EMAIL PROTECTED] com To: [EMAIL PROTECTED] ups.com Sent: Monday, February 18, 2008 11:18:37 AM Subject: Re: [flexcoders] Re: resizing children of hdividedbox try FlexEvent.UPDATE_ COMPLETE - Original Message From: callistachan callistachan@ yahoo.com To: [EMAIL PROTECTED] ups.com Sent: Sunday, February 17, 2008 9:09:38 PM Subject: [flexcoders] Re: resizing children of hdividedbox hi, anyone? :( it would help to know that if i have to listen to an event, which one and where... or something... anything... again, thanks... --- In [EMAIL PROTECTED] ups.com, Lee callistachan@ ... wrote: hi, i couldn't do that because the added component had computations and if i used percent width/height, i was having problems finding the dimensions needed for those computations. .. so the width and height were set instead of the percent values... i know it would be better if i used percentage values but... that's what happened... i can't do a recode right now because there are just so many child components (they're different views) so i have to find a solution (even a temporary one) until i have time to do just that :) Any further help will be appreciated :) Thanks!!! May God bless! Lee -- Y!M : callistachan Blog: http://callie16. livejournal. com Multiply: http://callie16. multiply. com - Original Message From: Tom Chiverton tom.chiverton@ ... To: [EMAIL PROTECTED] ups.com Sent: Wednesday, February 13, 2008 12:44:58 AM Subject: Re: [flexcoders] resizing children of hdividedbox On Tuesday 12 Feb 2008, callistachan wrote: anyway, when i do drag the divider, and i resize the component i added dynamically to panel1, it still sees the original dimensions of Did you set a percentWidth on this added component ? -- Tom Chiverton Helping to authoritatively utilize open-source experiences on: http://thefalken. livejournal. 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. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. 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 Mailing List FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder sFAQ.txt Search Archives: http://www.mail- archive.com/ flexcoders% 40yahoogroups. com Yahoo! Groups Links your group on the web, go to: http://groups. yahoo.com/ group/flexcoders / settings: Individual Email | Traditional settings online go to: http://groups. yahoo.com/ group/flexcoders /join (Yahoo! ID required) settings via email: mailto:flexcoders-digest@ yahoogroups. com mailto:flexcoders-fullfeat [EMAIL PROTECTED] .com from this group, send an email to: flexcoders-unsubscr [EMAIL PROTECTED] com of Yahoo! Groups is subject to:
Re: [flexcoders] Re: resizing children of hdividedbox
hi, i remember that i tried using that but i can't seem to get the children (the components, that is) to get the dimensions of the parent... more like, i do get to reassign the width and height of the parent but the UI doesn't refresh to show the new dimensions... reminds me of caching for some reason... May God bless! Kiwotsukete ^^x Lee -- Y!M : callistachan Blog: http://callie16.livejournal.com Multiply: http://callie16.multiply.com - Original Message From: Sherif Abdou [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 18, 2008 11:18:37 AM Subject: Re: [flexcoders] Re: resizing children of hdividedbox try FlexEvent.UPDATE_COMPLETE - Original Message From: callistachan [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, February 17, 2008 9:09:38 PM Subject: [flexcoders] Re: resizing children of hdividedbox hi, anyone? :( it would help to know that if i have to listen to an event, which one and where... or something... anything... again, thanks... --- In [EMAIL PROTECTED] ups.com, Lee callistachan@ ... wrote: hi, i couldn't do that because the added component had computations and if i used percent width/height, i was having problems finding the dimensions needed for those computations. .. so the width and height were set instead of the percent values... i know it would be better if i used percentage values but... that's what happened... i can't do a recode right now because there are just so many child components (they're different views) so i have to find a solution (even a temporary one) until i have time to do just that :) Any further help will be appreciated :) Thanks!!! May God bless! Lee -- Y!M : callistachan Blog: http://callie16. livejournal. com Multiply: http://callie16. multiply. com - Original Message From: Tom Chiverton tom.chiverton@ ... To: [EMAIL PROTECTED] ups.com Sent: Wednesday, February 13, 2008 12:44:58 AM Subject: Re: [flexcoders] resizing children of hdividedbox On Tuesday 12 Feb 2008, callistachan wrote: anyway, when i do drag the divider, and i resize the component i added dynamically to panel1, it still sees the original dimensions of Did you set a percentWidth on this added component ? -- Tom Chiverton Helping to authoritatively utilize open-source experiences on: http://thefalken. livejournal. 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. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. 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 Mailing List FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder sFAQ.txt Search Archives: http://www.mail- archive.com/ flexcoders% 40yahoogroups. com Yahoo! Groups Links your group on the web, go to: http://groups. yahoo.com/ group/flexcoders / settings: Individual Email | Traditional settings online go to: http://groups. yahoo.com/ group/flexcoders /join (Yahoo! ID required) settings via email: mailto:flexcoders-digest@ yahoogroups. com mailto:flexcoders-fullfeat [EMAIL PROTECTED] .com from this group, send an email to: flexcoders-unsubscr [EMAIL PROTECTED] com of Yahoo! Groups is subject to: http://docs. yahoo.com/ info/terms/ _ _ _ _ _ _ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile. yahoo.com/ ;_ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ Be a better friend, newshound, and
Re: [flexcoders] Re: resizing children of hdividedbox
ok thanks :) i will try that May God bless! Kiwotsukete ^^x Lee -- Y!M : callistachan Blog: http://callie16.livejournal.com Multiply: http://callie16.multiply.com - Original Message From: Sherif Abdou [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 18, 2008 11:41:54 AM Subject: Re: [flexcoders] Re: resizing children of hdividedbox call the validationMethods when that happens, and you shouldnt use width and height if we keep assigning just use setActualSize - Original Message From: Lee [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, February 17, 2008 9:23:50 PM Subject: Re: [flexcoders] Re: resizing children of hdividedbox hi, i remember that i tried using that but i can't seem to get the children (the components, that is) to get the dimensions of the parent... more like, i do get to reassign the width and height of the parent but the UI doesn't refresh to show the new dimensions.. . reminds me of caching for some reason... May God bless! Kiwotsukete ^^x Lee -- Y!M : callistachan Blog: http://callie16. livejournal. com Multiply: http://callie16. multiply. com - Original Message From: Sherif Abdou [EMAIL PROTECTED] com To: [EMAIL PROTECTED] ups.com Sent: Monday, February 18, 2008 11:18:37 AM Subject: Re: [flexcoders] Re: resizing children of hdividedbox try FlexEvent.UPDATE_ COMPLETE - Original Message From: callistachan callistachan@ yahoo.com To: [EMAIL PROTECTED] ups.com Sent: Sunday, February 17, 2008 9:09:38 PM Subject: [flexcoders] Re: resizing children of hdividedbox hi, anyone? :( it would help to know that if i have to listen to an event, which one and where... or something... anything... again, thanks... --- In [EMAIL PROTECTED] ups.com, Lee callistachan@ ... wrote: hi, i couldn't do that because the added component had computations and if i used percent width/height, i was having problems finding the dimensions needed for those computations. .. so the width and height were set instead of the percent values... i know it would be better if i used percentage values but... that's what happened... i can't do a recode right now because there are just so many child components (they're different views) so i have to find a solution (even a temporary one) until i have time to do just that :) Any further help will be appreciated :) Thanks!!! May God bless! Lee -- Y!M : callistachan Blog: http://callie16. livejournal. com Multiply: http://callie16. multiply. com - Original Message From: Tom Chiverton tom.chiverton@ ... To: [EMAIL PROTECTED] ups.com Sent: Wednesday, February 13, 2008 12:44:58 AM Subject: Re: [flexcoders] resizing children of hdividedbox On Tuesday 12 Feb 2008, callistachan wrote: anyway, when i do drag the divider, and i resize the component i added dynamically to panel1, it still sees the original dimensions of Did you set a percentWidth on this added component ? -- Tom Chiverton Helping to authoritatively utilize open-source experiences on: http://thefalken. livejournal. 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. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. 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 Mailing List FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder sFAQ.txt Search Archives: http://www.mail- archive.com/ flexcoders% 40yahoogroups. com Yahoo! Groups Links your group on the web, go to: http://groups. yahoo.com/ group/flexcoders / settings: Individual Email |
[flexcoders] Re: Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)?
I do not do Soap, I use FluorineFX, but my tool of choice is fiddler. You can get here; http://www.fiddlertool.com/fiddler/ It has the added benefit of being free. Paul --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Hi Guys, Is there something good out there I can use to view the raw XML request/response data going to and from the server when making SOAP calls? A vcr proxy? An option in the debugger I don't know about? -Josh -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
Re: [flexcoders] Re: Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)?
Free is good, thanks for the tip. My problem turned out to be Hotfix 3 (or 2), which apparently contains a new RPC engine that doens't actually work ;-) -J On Feb 18, 2008 2:01 PM, aceoohay [EMAIL PROTECTED] wrote: I do not do Soap, I use FluorineFX, but my tool of choice is fiddler. You can get here; http://www.fiddlertool.com/fiddler/ It has the added benefit of being free. Paul --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Hi Guys, Is there something good out there I can use to view the raw XML request/response data going to and from the server when making SOAP calls? A vcr proxy? An option in the debugger I don't know about? -Josh -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
[flexcoders] Re: textAlign attribute not accessible from TextInput extended class.
Jason: I don't think that would get me what I need. Unfortunately the thing I want to do is determine if the textAlign property was explicitly set in the mxml. If it is set in the mxml, I will leave it be, otherwise, I may change it. Thanks for the input though. Paul --- In flexcoders@yahoogroups.com, jmfillman [EMAIL PROTECTED] wrote: Paul, Off the top of my head, I can't think of any way to inheritantly determine whether or not the default has been changed. What I would suggest is setting a boolean variable, and then whenever in your code you modify the textAlign property, change the variable so you can check against it going forward. Jason --- In flexcoders@yahoogroups.com, aceoohay pauls@ wrote: Jason: That works great. Thanks for the info. That still leaves one question, Is there a way of telling if the textAlign attribute is at its default (left) state or was it set in the mxml (or programmatically) to left? What I am trying to do is override default behavior in my extended TextInput, but if someone actually specifies textAlign=left I don't want to override that. Paul --- In flexcoders@yahoogroups.com, jmfillman jmfillman@ wrote: Paul, I believe that the answer to your original question is that you need to use setStyle(). For example: mx:TextInput id=myTextInput/ private function textAlign():void{ myTextInput.setStyle(textAlign, center); } Jason --- In flexcoders@yahoogroups.com, aceoohay pauls@ wrote: Well I found the answer, but I have another question or two. The answer is this.nonInheritingStyles.textAlign. One new question is how can I tell whether this value is the default value, or a value set by the mxml? If I change the value during run time, it doesn't seem to honor the new value. How can I go about making this happen? Paul --- In flexcoders@yahoogroups.com, aceoohay pauls@ wrote: I am trying to extend the TextInput class and one thing I would like to do is check the current value of the textAlign attribute, and change it if needed. I access the other attributes that I need using the syntax this.attributeName such as this.maxChars, I cannot, however access this.textAlign. The compiler barfs with error 1119 Access of possibly undefined property... It also doesn't appear in the intellisense for the this keyword in my extended class. It does appear in the intellisense for the mx:TextInput tag. Any ideas? Paul
Re: [flexcoders] Re: Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)?
Hmm, I'm on Mac, so there'll be no fiddler for me :) On Feb 18, 2008 2:11 PM, Josh McDonald [EMAIL PROTECTED] wrote: Free is good, thanks for the tip. My problem turned out to be Hotfix 3 (or 2), which apparently contains a new RPC engine that doens't actually work ;-) -J On Feb 18, 2008 2:01 PM, aceoohay [EMAIL PROTECTED] wrote: I do not do Soap, I use FluorineFX, but my tool of choice is fiddler. You can get here; http://www.fiddlertool.com/fiddler/ It has the added benefit of being free. Paul --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Hi Guys, Is there something good out there I can use to view the raw XML request/response data going to and from the server when making SOAP calls? A vcr proxy? An option in the debugger I don't know about? -Josh -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
Re: [flexcoders] Web services problems
I've had that before. It's usually a misspelling between your WSDL and your Flex code.
[flexcoders] Re: [flexcomponents] simple renderer please help..........please review it
thanks a ton Alex.. I don't see anything wrong with my avatarHolder's code.. still pasting the code here. Please see the code of my avatarHolder ..i think your thoughtful eyes can catch a loophole... I am just want my code to be seen by the experience ppl here.. as i don't have anything to validate it. so please help me out.. -- package { import flash.display.Bitmap; import flash.display.BitmapData; import flash.display.Loader; import flash.display.Sprite; import flash.events.Event; import flash.events.IOErrorEvent; import flash.net.URLRequest; import ms.imfusion.util.MsLogger; import mx.core.BitmapAsset; import mx.core.Container; import mx.core.UIComponent; import mx.states.RemoveChild; public class ImageHolder extends Container { private var loader:Loader; private var myBitmap:Bitmap; private var imageSrc:String; private var imageSprite:Sprite; private var request:URLRequest; private var uiComp:UIComponent function ImageHolder(){ super(); setStyle(borderColor,#989898); setStyle(borderStyle,solid); setStyle(borderAlpha,0); setStyle(cornerRadius,3); setStyle(dropShadowEnabled,true); createControls() } [Bindable] public function set imageSource(img:String):void{ try{ imageSrc = img; imageSprite = new Sprite(); //trace(before loading an image imageSrc : + imageSrc); request = new URLRequest(imageSrc); loader.contentLoaderInfo.addEventListener( Event.COMPLETE, completeHandler); loader.contentLoaderInfo.addEventListener( IOErrorEvent.IO_ERROR,function (){ MsLogger.getInstance().Log(this,URL not found); }) loader.load(request); //trace(after loading an image imageSrc: + imageSrc); imageSprite.visible = false; imageSprite.addChild(loader); } catch(e:Error){ MsLogger.getInstance().Log(this,e.message,unable to load image); } } public function unloadImage(){ //removeChild(uiComp) loader.unload(); } private function createControls():void{ imageSprite = new Sprite(); loader = new Loader(); } private function completeHandler(event:Event){ try{ //trace(completeHandler an image imageSrc : + imageSrc); var loader:Loader = Loader(event.target.loader); var myBitmapData:BitmapData = Bitmap(loader.content ).bitmapData var myBitmapDataAsset:BitmapAsset = new BitmapAsset(myBitmapData); imageSprite.addChild(myBitmapDataAsset); uiComp = new UIComponent(); imageSprite.visible= true; uiComp.addChild(imageSprite) addChild(uiComp); this.visible = true; } catch(e:Error){ //trace(in completeHandler unable to load image); MsLogger.getInstance().Log(this,e.message,in completeHandler unable to load image); } } override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void{ super.updateDisplayList(unscaledWidth,unscaledHeight); if(uiComp!=null){ uiComp.x = (this.unscaledWidth - imageSprite.width )/2; uiComp.y = (this.unscaledHeight - imageSprite.height )/2; } } } } -- I will incorporate all your suggestion... and let me read the doc again... Thanks a ton.. I really appreciate your interest in solving our queries.. that helps a lot to dumbs like me... PS. On Feb 16, 2008 12:11 AM, Alex Harui [EMAIL PROTECTED] wrote: Not bad for a first try. I would: 1) extend UIComponent instead of Canvas. You aren't using any of Canvas's features so you'll save on size and performance 2) only call invalidateProperties() in the data setter. Move the code in there to commitProperties instead. That'll probably remove the need for the try/catch block. The way it is coded now, you'll get exceptions if the data setter is run before child objects have been set up in createChildren 3) Move the positioning of your components to updateDisplayList(). 4) Calculate measuredWidth/Height in measure(), but you shouldn't set x,y there as you may not actually be sized to your
[flexcoders] flex + webservices
Hi all, Do we need to change any configuration in flex-config.xml file for consumption of web services. Thanks, DN Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: [flexcoders] Web services problems
The problem was a bug (apparently fixed in some future version) in 2.0.1Hotfix 2 or 3, I rolled back to 2.0.1 hf 1 and it works. Here's hoping the fix made it into 3 ;-) -J On Feb 18, 2008 2:14 PM, Peter Connolly [EMAIL PROTECTED] wrote: I've had that before. It's usually a misspelling between your WSDL and your Flex code. -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
[flexcoders] Re: [flexcomponents] simple renderer please help..........please review it
Can you please also give me the link to the this template in doc?? Thanks Ps On Feb 16, 2008 12:11 AM, Alex Harui [EMAIL PROTECTED] wrote: Not bad for a first try. I would: 1) extend UIComponent instead of Canvas. You aren't using any of Canvas's features so you'll save on size and performance 2) only call invalidateProperties() in the data setter. Move the code in there to commitProperties instead. That'll probably remove the need for the try/catch block. The way it is coded now, you'll get exceptions if the data setter is run before child objects have been set up in createChildren 3) Move the positioning of your components to updateDisplayList(). 4) Calculate measuredWidth/Height in measure(), but you shouldn't set x,y there as you may not actually be sized to your measured size and in general, you'll probably want to react to that in updateDisplayList(). The measure method should compute measuredWidth/Height from the getExplicitOrMeasuredWidth/Height of the child components plus any spacing and gap styles or properties. 5) not bother to set the avatarholder's imagesource in measure(). If these are external images, they won't be measureable in measure() because loading external images is asynchronous. I don't see any particular reason for why your images end up on the wrong row. Maybe there's some problem with AvatarHolder? *The 'template' for this is in our docs. I'm sure our doc team would love to know why the docs weren't clear enough for you.* -Alex -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *learner *Sent:* Friday, February 15, 2008 12:52 AM *To:* flexcoders@yahoogroups.com; [EMAIL PROTECTED] *Subject:* [flexcomponents] simple renderer please help..please review it Hi all, I am doing my constant effort to learn and make a decent item renderer for a list .. I have also attached a code that i have written for it... please please have a look at it and tell me where i am doing wrong and loopholes are... the problem that i am facing is ; in my image holder the images are not shown properly ... meaning sometimes the image from the different row gets displayed in the other row.. I guessed that there is a way in which u can cache the bitmap in image holder and things like that.. don't know in details ... can any body please suggest me the proper way to design a renderer for this.. please review the following code... (Would be a great help if any body can design this properly for me...i know its too much too ask.. but that will give me guideline and a sort of template . And I once for all ,will get the authentic way to make renderer...till this time .. for me its just blind chess which has really exhausted me ) Thanks my item rendere contains : 1) image.. 2) a text comming next to image 3) a text comming below the text in 2) (Code file is attached) package ms.messengermodule { import mx.containers.Canvas; import mx.controls.Image; import mx.controls.Label; public class ContactBox extends Canvas { /*private var memberStatus:Label;*/ [Embed(source='style.swf', symbol='memberOnline')] private var onlineIcon:Class; [Embed(source='style.swf', symbol='memberOffline')] private var offlineIcon:Class; [Embed(source='ms/felix/css /assets/felixStyle.swf', symbol='memberBusy')] private var busyIcon:Class; [Embed(source='style.swf', symbol='organizer')] private var organizerIcon:Class; private var memberName:Label; private var memberDescription1:Label; private var memberDescription2:Label; private var memberDescription3:Label; private var avatarHolder:ImageHolder; private var description1:String; private var description2:String; private var description3:String; private var contactObject:ContactObject; private var statusImage:Image; private var statusIcon:Object; private var memberNamestr:String; private var userImage:String; /** * Constructor */ function ContactBox() { super(); this.horizontalScrollPolicy = off; this.verticalScrollPolicy = off; } override public function set data(value:Object):void { try{ super.data = value; contactObject = value as ContactObject; description1 = contactObject.extensionObject[E]; // take the value from some dictinory object memberNamestr = contactObject.name.split( )[0]; userImage = contactObject.imageUrl; // user image statusIcon = ; getStatusIcon(); invalidateProperties(); } catch(e:Error){
Re: [flexcoders] Flex Book
While I see your direction I am just not sure thats what I want to do. The xml needed is to display the 1st image and that needs to come from the xml file. Is that what my problem is? Is the component looking for values before they are available? It works using mx:XML/ and that makes sense since its compiled. Dan On Feb 15, 2008 8:07 PM, Jim Hayes [EMAIL PROTECTED] wrote: Dan, I'd set the components dataprovider to an XML variable, and initialise that variable as either empty or whatever the minimum xml information needs to be to prevent the component getting upset about null values. make that variable bindable. Then, when you get the http service results, convert that to xml and put it into the variable that the component is bound to, the binding should result in the component updating. If binding isn't working (for whatever reason), then just reset the dataprovider to the new xml from the http result (and think about binding later if you have to). Hopefully that should get you started on something that works, at least. -Original Message- From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com on behalf of Dan Vega Sent: Fri 15/02/2008 20:55 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Subject: Re: [flexcoders] Flex Book Rob, Great tip on using http instead of xml. The problem I am having now is I think the component is trying to load before the service is completed. I don't think the dataSet is filled when the component is setting up. I tried to create the component in AS but it would not let me. Any help is appreciated, I am racking my brain over this. Dan [SWF] //bin-debug/.swf - 925,285 bytes after decompression TypeError: Error #1009: Cannot access a property or method of a null object reference. at /loadContent()[C:\Program Files\Apache\htdocs\src\.mxml:62] at /__book_turnEnd()[C:\Program Files\Apache\htdocs\\src\.mxml:85] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:9041] at qs.controls::FlexBook/dispatchEventForPage()[C:\Program Files\Apache\htdocs\\src\qs\controls\FlexBook.as:733] at qs.controls::FlexBook/commitProperties()[C:\Program Files\Apache\htdocs\\src\qs\controls\FlexBook.as:777] at mx.core::UIComponent/validateProperties ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:5660] at mx.managers::LayoutManager/validateProperties ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:517] at mx.managers::LayoutManager/doPhasedInstantiation ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:637] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/callLaterDispatcher2 ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8450] at mx.core::UIComponent/callLaterDispatcher ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8393] here is my code ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:l=* layout=absolute xmlns:controls=qs.controls.* creationComplete=initApp(); xmlns:containers=qs.containers.* xmlns:effects=qs.effects.* width=720 height=430 mx:Style FlexBook { color: #00; textRollOverColor: #00; border-thickness: 0; border-style: none; page-slope: .6; active-grab-area: page; page-shadow-strength: 1; curve-shadow-strength: 1; auto-turn-duration: 1500; } Application { color: #F1F1CC; textRollOverColor: #000; backgroundColor: #ff; } SuperImage { border-thickness: 0; border-style: none; } /mx:Style mx:Script ![CDATA[ import mx.rpc.events.ResultEvent; import qs.caching.ContentCache; import qs.controls.flexBookClasses.FlexBookEvent; import mx.core.UIComponent; //variables private var loader:URLLoader; private function initApp():void { dataSet.send(); dataSet.addEventListener(ResultEvent.RESULT,onResult); } private function onResult(e:Event):void { var thumbs:XMLList = [EMAIL PROTECTED]; for(var i:int =0;ithumbs.length();i++) { ContentCache.getCache().preloadContent(thumbs[i]); } } private function loadContent(event:FlexBookEvent):void { var page:ImagePage = ImagePage(event.renderer); page.load(); } private function next():void { if(book.currentPageIndex+1 book.pageCount) book.turnToPage(book.currentPageIndex + 1); } private function previous():void { if(book.currentPageIndex 0) book.turnToPage(book.currentPageIndex -12); } ]] /mx:Script mx:HTTPService id=dataSet url=data/images.xml resultFormat=e4x / controls:FlexBook id=book width=720 height=430 horizontalCenter=0 backgroundColor=#00
[flexcoders] Flex3 REST API Connection
Greetings flexcoders, this is my first post. I'm also trying to build my first Flex project, i'm no stranger to actionscript 3, but i don't have much experience working with REST based API's. I wanted to start simple, so i am trying to interact with the harvestapp api here: http://www.getharvest.com/api I have absolutely no problem connecting and returning XML using the RestTest plugin for Firefox. All i can do with Flex is return the page html, i have included the HTTPService code below: mx:HTTPService id=harvestTest url=https://chop.harvestapp.com/daily; headers=Accept:application/xml, Content-Type:application/xml, Authorization:Basic({encodedUser}) method=GET showBusyCursor=true result=handleXml(event) fault=handleFault(event) resultFormat=e4x /mx:HTTPService Flex 3, beta 3. Any help would be greatly appreciated, thanks.
Re: [flexcoders] Editable DataGrid - is there such as thing?
Editing with a Datagrid A Flex 2 Remoting Tutorial: http://iummug.indiana.edu/docs/tutorials/tutorial1/ http://iummug.indiana.edu/docs/tutorials/tutorial1/ You've thrown down the gauntlet. Here's what I have. Try downloading and running the little example application in the zip file, I'm curious if you'll see the same issues. Very interesting if Adobe only intended the DataGrid for display, I would think updating a table with it is something everyone would want and that they'd want to promote as a cool thing. Renee -- View this message in context: http://www.nabble.com/Editable-DataGrid---is-there-such-as-thing--tp15368033p15483450.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] OpenEJB - Geronimo - Jetty Confusion -- Please Help!!
Yusuf, I can't thank you enough for this...i'm trying it out now! p On Fri, Feb 15, 2008 at 8:37 PM, yusuf baker [EMAIL PROTECTED] wrote: Hi P I am using EJB in gernomimo2.2 with tomcat, lcds express The issues i encountered - flex.war was not deploying in Geronimo properly. flex-jsp-bootstrap.jar contained a tld file that could not b e parsed by Geronimo's xml parser - solution: remove jar, live without custom tags - OpenEjb cannot handle huge entity beans. - solution:make your beans/tables smaller until next version in which its reported to be fixed(avg size i think was about 20 columns) - Google for FlexEJBFactory this is jar that is needed to call ejbs directly from flex the jar is written for ejb2.1 but some guy has updated for 3.0. - Solution throw jar in with other flex jars. - When you list your ejb in remote-config use the prefix java:comp/env/ejb/ this is how Geronimo looks up in jndi - Add in this xml snippet into service-config factories factory id=ejb class=com.adobe.ac.ejb.EJBFactory / /factories - If your using eclipse and the servers plugin i recommend you write your own ant script for deploying the one in eclipse is shite. - Oh yeah there an eclipses plugin of Geronimo on apaches site. Hope this helps Thanks Yusuf On Fri, Feb 15, 2008 at 8:27 PM, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: Hi Folks... Please pardon the X-POST but i really need some help here...i've been battleing this for a week now and can't find any ansers basically what Ive done is configure everything correctly(hopefully) and created a facade that uses my EJB's (stateless beans ) and then tried to access that facade with Flex and get this error RPC Fault faultString=java.lang.NullPointerException : null faultCode=Server.Processing faultDetail=null] at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::faultHandler()http://www.adobe.com/2006/flex/mx/internal::faultHandler%28%29 [E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:223] at mx.rpc::Responder/fault ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\Responder.as:56] at mx.rpc::AsyncRequest/fault ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:110] at NetConnectionMessageResponder/statusHandler()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:531] at mx.messaging::MessageResponder/status ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\messaging\MessageResponder.as:229] has anyone had this problem? can anyone give me some pointers using EJB3 and Flex... Thanks Much! p
[flexcoders] how do I tell a MC to stop?
Hi, I'm loading a swf as a skin into Flex. Swf has animations (i.e. MovieClips) for each state. Animations were created using a timeline in something called Flash. At the end of the animation I used an antiquated and far-too-simple-to- leave-alone method formerly known as stop(); Flex doesn't recognize stop() on a timeline, so my animations loop over and over. How do I make them stop? Thank you. -radley (Note: please forgive the sarcasm. Am currently migrating to AS3 at the moment and do *not!!* like it.)
Re: [flexcoders] Re: Error tooltip
just simple,like this: if(vResult02.type==ValidationResultEvent.INVALID){ setValidationFocus(passwordL); } private function setValidationFocus(formObject:Object):void{ formObject.setFocus(); formObject.dispatchEvent(new FocusEvent(FocusEvent.FOCUS_OUT)); formObject.dispatchEvent(new MouseEvent(MouseEvent.MOUSE_OVER)); } Urs Smartkit! ^-^ - Original Message From: aceoohay [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 18, 2008 6:08:32 AM Subject: [flexcoders] Re: Error tooltip OK, it was 4 in the morning when I wrote this, let me try to be a bit more coherent. I have created an extended version of the TextInput class that does data validation, etc. When my code determines that there is invalid data, I create an errorString. This will of course cause the error tooltip to display on mouse over. I would like to extend this by also displaying the tooltip when the field has focus. Does anybody know what the mechanism is that causes the tooltip to appear and disappear? Or a way of accessing the tooltip's properties so that I can make it visible and invisible when I need? Paul --- In [EMAIL PROTECTED] ups.com, aceoohay [EMAIL PROTECTED] wrote: I would like to use the same error tooltip that flex uses for displaying errorString, but I would like it to display on focusIn, and disappear on focusOut. Is there a way of tweaking the existing behavior to use focus instead of rollOver/rollOut? Anybody know how to do this? Are you willing to share? Paul !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} .bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} .MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} .replbq{margin:4;} -- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
[flexcoders] Swfloader event
So I'm using SWFloader to load a flash animation and I want to pass an event after its done playingis that possible? So it runs though its timeline, stops and tells Flex...Hey I'm done here. Possible?
[flexcoders] detecting that model changed in custom control and setting HTTP connection
hej. im developing gui based on flex3+cairngorm lib+tomcat6 as a backend. now I have two issue 1)let say I made custom component which is extending panel (canvas whatever), it contains [Bindable] public variable called model. model is assigned to every textInput in that component. so when content of the model changes then all values in TI will change as well. I have more controls on my component. PROBLEM now how can I figure out that model has really changed and that I should update the view of component (switch to other state, or tick the field in checkbox or make form disabled). user can load new data form remote service any time filling the model and component should know how to look with new data. I could put new variables into my model that will do the job but this is short term solution. 2)I want to login using https by httpservice, but then I want to use AMF. if I download flex app using http then login want work but amf is, or if I connect to server by https then login works but amf will not. and here I have a problem because as Flex documentation is saying I need add crossdomain.xml, but I cant find any good example how to prepare the xml file and finaly where to put it to make it working and visible to flex app. thanks -- View this message in context: http://www.nabble.com/detecting-that-model-changed-in-custom-control-and-setting-HTTP-connection-tp15518589p15518589.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] How to go about LCDS
Hi all, I'am very new into flex and i need help from u all. I need some info on LCDS and SAP integration of RFCs to FLex builder thr' LCDS. Please send me some related docs or steps to do this. i have downloaded and installed LCDS, but dont know how to go about it. Can anyone please help.
[flexcoders] Flex Builder Code Assist not working properly
Hi all, Flex Builder's code assist has gone awry. Can only see data structures. No component hints, etc. For example, I can type mx: and see mx:Component, but I can't get mx:VBox when I type mx:V. Using Flex Builder 3, beta 3.477. Wondering if it's some key combo I accidently hit thanks -radley
[flexcoders] Change Flex Editor Font Size
Does anyone know how to change the Flex editors font size. When I'm looking at the code I would like the font to be a little smaller so I can get more code on the screen. Any ideas?
RE: [flexcoders] headless mode
You can create and work with display objects, including Flex UIComponents, without adding them to the display list, so they are in memory only not on the screen. Or you can add them to the display but set visible=false. Cheers, Tim From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of arieljake Sent: Saturday, 16 February 2008 7:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] headless mode Can a library like the Flex Charting be used in headless mode if I don't want to display the chart but rather just want to iterate over multiple data sets and generate a JPG image of the chart for each data set, for saving to a file in AIR?
[flexcoders] Re: Any way to version a swf with major and minor
Hey everyone, first post here. The other day I posted this to flashcoders, doesn't seem like too many were interested, so I'll try here: Ola, I thought some of you might be interested in this. Before starting a little Actionscript project in FB, I installed git, the newest craze in source version control. I saw a bunch of netizens freaking out about it all over the place, and the ability to create branches effortlessly and to back up things easily appealed to me. So after a relatively painless install on my Mac, I had it going in the Terminal. I then started to experiment in FB. I created an Actionscript project, and then started a git repository in that folder (using basically only these commands: http://www.kernel.org/pub/software/scm/git/docs/everyday.html -- Individual Developer (Standalone)). I wrote the basic engine for the swf and then created a new branch for guiing up this engine. At this point I saw the power in this approach. Basically, when I switch from the engine branch to the GUI branch, the AS code is updated in FB, quickly and correctly, which I sort of expected. But not only that, all the external assets are then loaded into the project. Furthermore as long as I keep committing changes to branches at important intervals, or new branches for new approaches/ideas, I have a complete annotated history of the project. I can load in any code at any point I committed and keep dead ends that might prove useful in some other project, or redo the gui for another swf some other day, and everything, including images and even compiled swfs, are loaded in as well. Dirt cheap and easy. I don't know, this is freaking me out, it is so good. You can check out the swf here: www.pandakar.com/blog --- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED] wrote: this is exactly what we do too, except we use cruisecontrol to update a build version rather than use an svn rev. We show our version in the UI. --- In flexcoders@yahoogroups.com, Samuel Neff srneff.lists@ wrote: We have a Version.as class which defines a version number in a constant and then use the build script to populate the version number prior to compilation. We include major, minor, and include svn revision number. HTH, Sam On Fri, Feb 15, 2008 at 8:10 AM, essuark essuark@ wrote: See subject? thanks r
Re: [flexcoders] Re: Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)?
no fiddler, but you should be able to use charles: http://www.xk72.com/charles/ /matthew On Feb 17, 2008, at 11:12 PM, Josh McDonald wrote: Hmm, I'm on Mac, so there'll be no fiddler for me :) On Feb 18, 2008 2:11 PM, Josh McDonald [EMAIL PROTECTED] wrote: Free is good, thanks for the tip. My problem turned out to be Hotfix 3 (or 2), which apparently contains a new RPC engine that doens't actually work ;-) -J On Feb 18, 2008 2:01 PM, aceoohay [EMAIL PROTECTED] wrote: I do not do Soap, I use FluorineFX, but my tool of choice is fiddler. You can get here; http://www.fiddlertool.com/fiddler/ It has the added benefit of being free. Paul --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Hi Guys, Is there something good out there I can use to view the raw XML request/response data going to and from the server when making SOAP calls? A vcr proxy? An option in the debugger I don't know about? -Josh -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] -- Therefore, send not to know For whom the bell tolls, It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] --- Matthew Richmond, Principal/Designer The Chopping Block, Inc. 481 Broadway, 3rd Floor, New York, NY 10013 p 212.463.7574 f 917.591.7584 http://choppingblock.com http://chopshopstore.com --- World Domination Through Graphic Design ---
RE: [flexcoders] Accessing Multi Dimensional Array Collection Data in a DataGrid
Hi, I too was frustratetd by this. I think it ought to work in the way you've coded it. You can get it to work with labelFunction as follows, but its more long-winded. mx:DataGridColumn labelFunction=practiceName headerText=Practice / private function labelFunction (case : Object, column : DataGridColumn) : String { return case.practice.name; } Cheers, Tim From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of michaelisraelcaplan Sent: Monday, 18 February 2008 6:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Accessing Multi Dimensional Array Collection Data in a DataGrid Hi there, Probably a rather straightforward solution that I am just overlooking. I have an array collection that is acting as the data provider for a datagrid. I have mapped out all the columns between the array collection and the data grid with the DataGridColumn element. However, my array collection is multi dimensional, and I can't figure out how to map deeper content to the data field. The each collection row contains a nested array called practice that has values. How do I map my datagrid column to the name property of the nested array practice? mx:DataGrid id=myCases dataProvider={cases} mx:columns mx:DataGridColumn dataField=practice.name headerText=Practice / mx:DataGridColumn dataField=acknowledged headerText=Ack / mx:DataGridColumn dataField=id headerText=Case / mx:DataGridColumn dataField=arrival_date headerText=Arrival / /mx:columns /mx:DataGrid Thanks, Mike
[flexcoders] Re: [flexcomponents] simple renderer please help..........please review it
Can you please also give me the link to the this template in doc?? When I changed the code and made my itemrender to extend UIcomponent... its giving me error as : Type Coercion failed: cannot convert ms.messengermodule::[EMAIL PROTECTED] to mx.controls.listClasses.IListItemRenderer. Thanks Ps On Feb 16, 2008 12:11 AM, Alex Harui [EMAIL PROTECTED] wrote: Not bad for a first try. I would: 1) extend UIComponent instead of Canvas. You aren't using any of Canvas's features so you'll save on size and performance 2) only call invalidateProperties() in the data setter. Move the code in there to commitProperties instead. That'll probably remove the need for the try/catch block. The way it is coded now, you'll get exceptions if the data setter is run before child objects have been set up in createChildren 3) Move the positioning of your components to updateDisplayList(). 4) Calculate measuredWidth/Height in measure(), but you shouldn't set x,y there as you may not actually be sized to your measured size and in general, you'll probably want to react to that in updateDisplayList(). The measure method should compute measuredWidth/Height from the getExplicitOrMeasuredWidth/Height of the child components plus any spacing and gap styles or properties. 5) not bother to set the avatarholder's imagesource in measure(). If these are external images, they won't be measureable in measure() because loading external images is asynchronous. I don't see any particular reason for why your images end up on the wrong row. Maybe there's some problem with AvatarHolder? *The 'template' for this is in our docs. I'm sure our doc team would love to know why the docs weren't clear enough for you.* -Alex -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *learner *Sent:* Friday, February 15, 2008 12:52 AM *To:* flexcoders@yahoogroups.com; [EMAIL PROTECTED] *Subject:* [flexcomponents] simple renderer please help..please review it Hi all, I am doing my constant effort to learn and make a decent item renderer for a list .. I have also attached a code that i have written for it... please please have a look at it and tell me where i am doing wrong and loopholes are... the problem that i am facing is ; in my image holder the images are not shown properly ... meaning sometimes the image from the different row gets displayed in the other row.. I guessed that there is a way in which u can cache the bitmap in image holder and things like that.. don't know in details ... can any body please suggest me the proper way to design a renderer for this.. please review the following code... (Would be a great help if any body can design this properly for me...i know its too much too ask.. but that will give me guideline and a sort of template . And I once for all ,will get the authentic way to make renderer...till this time .. for me its just blind chess which has really exhausted me ) Thanks my item rendere contains : 1) image.. 2) a text comming next to image 3) a text comming below the text in 2) (Code file is attached) package ms.messengermodule { import mx.containers.Canvas; import mx.controls.Image; import mx.controls.Label; public class ContactBox extends Canvas { /*private var memberStatus:Label;*/ [Embed(source='style.swf', symbol='memberOnline')] private var onlineIcon:Class; [Embed(source='style.swf', symbol='memberOffline')] private var offlineIcon:Class; [Embed(source='ms/felix/css /assets/felixStyle.swf', symbol='memberBusy')] private var busyIcon:Class; [Embed(source='style.swf', symbol='organizer')] private var organizerIcon:Class; private var memberName:Label; private var memberDescription1:Label; private var memberDescription2:Label; private var memberDescription3:Label; private var avatarHolder:ImageHolder; private var description1:String; private var description2:String; private var description3:String; private var contactObject:ContactObject; private var statusImage:Image; private var statusIcon:Object; private var memberNamestr:String; private var userImage:String; /** * Constructor */ function ContactBox() { super(); this.horizontalScrollPolicy = off; this.verticalScrollPolicy = off; } override public function set data(value:Object):void { try{ super.data = value; contactObject = value as ContactObject; description1 =
[flexcoders] RE: [flexcomponents] simple renderer please help..........please review it
Sorry, don't have time to look it up right now, but you're probabl missing implements IListItemRenderer From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of learner Sent: Sunday, February 17, 2008 10:22 PM To: [EMAIL PROTECTED] Cc: flexcoders@yahoogroups.com Subject: Re: [flexcomponents] simple renderer please help..please review it Can you please also give me the link to the this template in doc?? When I changed the code and made my itemrender to extend UIcomponent... its giving me error as : Type Coercion failed: cannot convert ms.messengermodule::[EMAIL PROTECTED] to mx.controls.listClasses.IListItemRenderer. Thanks Ps On Feb 16, 2008 12:11 AM, Alex Harui [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Not bad for a first try. I would: 1) extend UIComponent instead of Canvas. You aren't using any of Canvas's features so you'll save on size and performance 2) only call invalidateProperties() in the data setter. Move the code in there to commitProperties instead. That'll probably remove the need for the try/catch block. The way it is coded now, you'll get exceptions if the data setter is run before child objects have been set up in createChildren 3) Move the positioning of your components to updateDisplayList(). 4) Calculate measuredWidth/Height in measure(), but you shouldn't set x,y there as you may not actually be sized to your measured size and in general, you'll probably want to react to that in updateDisplayList(). The measure method should compute measuredWidth/Height from the getExplicitOrMeasuredWidth/Height of the child components plus any spacing and gap styles or properties. 5) not bother to set the avatarholder's imagesource in measure(). If these are external images, they won't be measureable in measure() because loading external images is asynchronous. I don't see any particular reason for why your images end up on the wrong row. Maybe there's some problem with AvatarHolder? The 'template' for this is in our docs. I'm sure our doc team would love to know why the docs weren't clear enough for you. -Alex From: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] On Behalf Of learner Sent: Friday, February 15, 2008 12:52 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ; [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Subject: [flexcomponents] simple renderer please help..please review it Hi all, I am doing my constant effort to learn and make a decent item renderer for a list .. I have also attached a code that i have written for it... please please have a look at it and tell me where i am doing wrong and loopholes are... the problem that i am facing is ; in my image holder the images are not shown properly ... meaning sometimes the image from the different row gets displayed in the other row.. I guessed that there is a way in which u can cache the bitmap in image holder and things like that.. don't know in details ... can any body please suggest me the proper way to design a renderer for this.. please review the following code... (Would be a great help if any body can design this properly for me...i know its too much too ask.. but that will give me guideline and a sort of template . And I once for all ,will get the authentic way to make renderer...till this time .. for me its just blind chess which has really exhausted me ) Thanks my item rendere contains : 1) image.. 2) a text comming next to image 3) a text comming below the text in 2) (Code file is attached) package ms.messengermodule { import mx.containers.Canvas; import mx.controls.Image; import mx.controls.Label; public class ContactBox extends Canvas { /*private var memberStatus:Label;*/ [Embed(source='style.swf', symbol='memberOnline')] private var onlineIcon:Class;
[flexcoders] Tools to monitor flex network traffic for debugging SOAP calls
Service Capture. http://kevinlangdon.com/serviceCapture/ it's a great little tool, and costs only around $30. You'll wonder how you ever managed with it. This is just a personal recommendation. Glenn image001.png