Well, I fumbled my way through the help docs and put together a pretty coo lil' app (for my first one at least; file attached). I couldn't think of anything useful to do so I looked at the samples and saw the Blog Reader. So, I figured I'd read the MXNA feeds and display them. If someone could critique the app and let me know how everything looks that'd be great. I wanna learn how to do things right from jump.
Being I went through the entire process I now have some questions about functionality. Questions: 1) Without using ActionScript, can I make text in a TextArea clickable? Code excerpt ----------------- <mx:TextArea x="0" y="0" text="{info.selectedItem.link}newline{info.selectedItem.excerpt}" width="100%" height="100%" editable="false"/> ----------------- How can I make the info.selectedItem.link a link? 2) How can I get the NetConnection Debugger open? Do I need to import mx.remoting.debug.NetDebugger? 3) Is there a way to take an object (Array or RecordSet) and make that a Tree's dataProvider without XML'ing it up? I saw a few posts in here about it but not sure if they answered it (brief looks). Ex - function blah(result){ myTree.labelField = "name"; myTree.dataProvider = result; } I'm not sure if labelField is an option but I did see earlier setting the dataProvider worked but everything was merely an item and I had no control over the folders. What I would really be doing is this: function blah(result){ var len:Number = result.length; for(var i:Number = 0; i < len; i++){ result.items[i].posts = mxnaCFC.getFeedsByCategory(result.items[i].Category); } myTree.dataProvider = result; } This way I would have an object with each feed stored in the respective category. I may create my own cfc locally to handle this and return to Flex but I'd like to know my options. Well, it's late and I still gotta bust some suds so I better get off this thing. :-) Thx all for any responses/time invested in this post. Thx! ------------------------------------------ JDEV Inc. John C. Bland II CEO <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] fax: 480.718.7958 IM: jdevPres http://www.jdevinc.com/ ------------------------------------------ ------=_NextPart_001_0028_01C50E48.6DDAFEF0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3DUS-ASCII"= > <TITLE>Message</TITLE> <META content=3D"MSHTML 6.00.2800.1479" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D578222708-09022005><FONT face=3DArial size=3D2>Well, I f= umbled my=20 way through the help docs and put together a pretty coo lil' app (for my fi= rst=20 one at least; file attached). I couldn't think of anything useful to d= o so=20 I looked at the samples and saw the Blog Reader. So, I figured I'd read the= MXNA=20 feeds and display them. If someone could critique the app and let me know h= ow=20 everything looks that'd be great. I wanna learn how to do things right from= =20 jump. </FONT></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D578222708-09022005><FONT face=3DArial size=3D2>Being I w= ent through=20 the entire process I now have some questions about=20 functionality.</FONT></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D578222708-09022005><FONT face=3DArial=20 size=3D2>Questions:</FONT></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><FONT face=3DArial size=3D2>1) Withou= t using=20 ActionScript, can I make text in a TextArea clickable? </FONT></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><FONT face=3DArial size=3D2>Code=20 excerpt</FONT></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><FONT face=3DArial=20 size=3D2>----------------- </FONT></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><FONT face=3DArial size=3D2><!--Start= Fragment --><FONT face=3D"Times New Roman"=20 size=3D3> </FONT><FONT face=3DArial><mx:TextArea x=3D"0" y=3D"0"=20 text=3D"{info.selectedItem.link}newline{info.selectedItem.excerpt}" width= =3D"100%"=20 height=3D"100%" editable=3D"false"/></FONT></FONT></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2>-----------------</FONT></SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2></FONT></SPAN></SPAN> </DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2>How can I make the info.selectedItem.link a link?=20 </FONT></SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2></FONT></SPAN></SPAN> </DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2>2) How can I get the NetConnection Debugger open? Do = I need to=20 import mx.remoting.debug.NetDebugger? </FONT></SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2></FONT></SPAN></SPAN> </DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2>3) Is there a way to take an object (Array or RecordS= et) and=20 make that a Tree's dataProvider without XML'ing it up? I saw a few posts in= here=20 about it but not sure if they answered it (brief=20 looks).</FONT></SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2></FONT></SPAN></SPAN> </DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2>Ex - </FONT></SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2>function blah(result){</FONT></SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2> myTree.labelField =3D=20 "name";</FONT></SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2> myTree.dataProvider =3D=20 result;</FONT></SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2>}</FONT></SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2></FONT></SPAN></SPAN> </DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2>I'm not sure if labelField is an option but I did see= earlier=20 setting the dataProvider worked but everything was merely an item and I had= no=20 control over the folders. What I would really be doing is=20 this:</FONT></SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2></FONT></SPAN></SPAN> </DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2>function blah(result){</FONT></SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN=20 class=3D578222708-09022005> var len:Number =3D=20 result.length;</SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN=20 class=3D578222708-09022005></SPAN></SPAN> </DIV> <DIV><SPAN class=3D578222708-09022005><SPAN=20 class=3D578222708-09022005> for(var i:Number =3D 0; i <= ; len;=20 i++){</SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN=20 class=3D578222708-09022005> =20 result.items[i].posts =3D=20 mxnaCFC.getFeedsByCategory(result.items[i].Category);</SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN=20 class=3D578222708-09022005> }</SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN=20 class=3D578222708-09022005></SPAN></SPAN> </DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2> myTree.dataProvider =3D=20 result;</FONT></SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005><FON= T=20 face=3DArial size=3D2>}</FONT></SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN=20 class=3D578222708-09022005></SPAN></SPAN> </DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005>This= way I=20 would have an object with each feed stored in the respective category. I ma= y=20 create my own cfc locally to handle this and return to Flex but I'd like to= know=20 my options.</SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN=20 class=3D578222708-09022005></SPAN></SPAN> </DIV> <DIV><SPAN class=3D578222708-09022005><SPAN class=3D578222708-09022005>Well= , it's=20 late and I still gotta bust some suds so I better get off this thing. :-) T= hx=20 all for any responses/time invested in this post.</SPAN></SPAN></DIV> <DIV><SPAN class=3D578222708-09022005><SPAN=20 class=3D578222708-09022005></SPAN></SPAN> </DIV> <DIV><SPAN class=3D578222708-09022005><SPAN=20 class=3D578222708-09022005>Thx!</SPAN></SPAN></DIV></FONT></SPAN></SPAN></D= IV><!-- Converted from text/rtf format --> <P><SPAN lang=3Den-us><FONT face=3DVerdana=20 size=3D1>------------------------------------------</FONT></SPAN> <BR><SPAN= =20 lang=3Den-us><B><FONT face=3DVerdana size=3D1>JDEV Inc.</FONT></B></SPAN> <= BR><SPAN=20 lang=3Den-us><B><FONT face=3DVerdana size=3D1>John C. Bland II</FONT></B></= SPAN>=20 <BR><SPAN lang=3Den-us><I><FONT face=3DVerdana size=3D1>CEO</FONT></I></SPA= N>=20 <BR><SPAN lang=3Den-us></SPAN><A href=3D"mailto:[EMAIL PROTECTED]"><SPAN=20 lang=3Den-us><FONT face=3DVerdana size=3D1>[EMAIL PROTECTED]</FONT></SPAN></= A><SPAN=20 lang=3Den-us></SPAN> <BR><SPAN lang=3Den-us><FONT face=3DVerdana size=3D1>f= ax:=20 480.718.7958</FONT></SPAN> <BR><SPAN lang=3Den-us><FONT face=3DVerdana size= =3D1>IM:=20 jdevPres</FONT></SPAN> <BR><SPAN lang=3Den-us><FONT face=3DVerdana size=3D1= ><A=20 href=3D"http://www.jdevinc.com/">http://www.jdevinc.com/</A></FONT></SPAN>= =20 <BR><SPAN lang=3Den-us><FONT face=3DVerdana=20 size=3D1>------------------------------------------</FONT></SPAN> </P> <DIV> </DIV></BODY></HTML> ------=_NextPart_001_0028_01C50E48.6DDAFEF0--
binv3N1vLq3G4.bin
Description: Binary data