RE: [flexcoders] Re: Cool Flex Site with Free 30 day trial
I finally got in because someone on this list kindly offered their account info to me. Looks very nice. I had wondered how Flex could be used for e-learning (since that is my field) and this answers it (though Im still a little confused looking at it what is pure Flex and what is pure Flash I mean some things are obviously Flash, but not sure how much extra flash was involved and where actionscript was used for what would love to see the source code). Jason Merrill | E-Learning Solutions | icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dave Carabetta Sent: Thursday, November 10, 2005 1:33 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Cool Flex Site with Free 30 day trial On 11/10/05, fowleryj [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Merrill, Jason [EMAIL PROTECTED] wrote: Perhaps their e-mail filter doesn't like e-mail addresses with underscores like my Yahoo one does. Either that or they don't like free e-mail addresses. I've seen some sites that won't let you register with Hotmail or Yahoo e-mail accounts. No, I registered with my Hotmail account and I got a response right away. But I think there servers are hosed or something, as I cannot log in for the life of me. I keep getting a connection error message when I hit the Login button. Oh well. NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Cool Flex Site with Free 30 day trial
Interesting, just now after navigating in some other courses, it locked up on me when I clicked the Management Training button using Firefox. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Yahoo Maps built with Flex!
As has already been pointed out, this part of their text: SWC (ShockWave Control) is incorrect. Read this and also read up on swc on macromedia.com http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=3109.html Jason Merrill | E-Learning Solutions | icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Thompson Sent: Thursday, November 03, 2005 9:48 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Yahoo Maps built with Flex! Why does the Flex API require use of a Shockwave Control instead of simply the Flash control? I dont think this is true. Maybe I'm just mis-understanding this (is SWC a new way to deploy Flex Builder components or something?): From http://ws1.inf.scd.yahoo.com/maps/flash/flexGettingStarted.html In order to create and test applications using Yahoo! Flash Maps using the Flex component, you'll need...You will also need to accept the terms and download the Yahoo! Maps SWC (ShockWave Control) file that contains the Flex components. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] How to access control attributes inside a repeater
I cant believe I am actually answering a question here. What does department.xml look like? If your XML is like this for example: dashboard menu button label=Help/ dropDowns dropDown label=Site Location: item label=AFDW/ You should be able to just add the next node name after the currentItem, like this: mx:Repeater id=r2 dataProvider={dataService.result.dashboard.menu.dropDowns.dropDown} startingIndex=0 mx:Text text={r2.currentItem.label} textAlign=right/ Jason Merrill | E-Learning Solutions | icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doodi, Hari - BLS CTR Sent: Wednesday, October 26, 2005 10:14 AM To: 'flexcoders@yahoogroups.com' Subject: [flexcoders] How to access control attributes inside a repeater Hi, I would like to know how to access text property of an TextInput control in a Form which is repeated inside a repeater? Here is what I was doing.. I have two mxml file one department.mxml with repeater tag in it and another deptComp.mxml has form component with TextInput controls. I was able to display data from the source xml file. I want to know how to set data in to TextInput controls of different instance. Also found files are attached for your reference. Any kind of help is appreciated. Thanks in advance. Department.mxml contains ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml xmlns=* mx:Model id=deptList source=Department.xml/ mx:Repeater id=deptRepeater dataProvider={deptList.hari} deptComp deptModel={deptRepeater.currentItem} initialize=initialize()/ /mx:Repeater /mx:Application DeptComp.mxml contains ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml mx:Script import mx.controls.Alert; ![CDATA[ function accessData( ) // display/set data from/to other instance { // I tried diff possible ways to access text property of TextInput control, deptName, but unable to display content. // None of the following Alert display text content. Alert.show(this.parent.deptForm[1].deptName.text,1); Alert.show(this.parent.deptForm.deptName[1].text,2); Alert.show(this.deptForm[1].deptName.text,3); Alert.show(this.deptName[1].text,4); Alert.show(deptName[1].text,5); Alert.show(deptForm[1].deptName.text,6); Alert.show(parent.deptName[1].text,7); Alert.show(this.parent.deptComp[1].deptForm.deptName.text,8); } ]] /mx:Script mx:Model id=deptModel deptNum/ deptNum deptDesc/deptDesc employees / /mx:Model mx:Form id=deptForm mx:FormItem mx:Button label=Click me click= accessData ()/ /mx:FormItem mx:FormItem label=Dept ID: mx:TextInput id=deptId text={deptModel. deptNum } width=200/ /mx:FormItem mx:FormItem label=Dept Name: mx:TextInput id=deptName text={deptModel. deptDesc} width=200 / /mx:FormItem mx:FormItem label=Employees: mx:DataGrid id=employee_dg dataProvider={deptModel.employees.employee} / /mx:FormItem /mx:Form mx:HRule width=668 height=20 / /mx:VBox Thanks! Hari NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] How to access control attributes inside a repeater
I didnt see you attached files since I am viewing via Outlook. Usually thats frowned upon on lists, but maybe with Yahoo lists like this its OK. Anyway, since I was off on your question apparently, now I really cant believe I responded. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] How to access control attributes inside a repeater
I just re-read what I wrote, and I meant that last sentence in a humorous way by the way Jason Merrill | E-Learning Solutions | icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Merrill, Jason Sent: Wednesday, October 26, 2005 11:48 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] How to access control attributes inside a repeater I didnt see you attached files since I am viewing via Outlook. Usually thats frowned upon on lists, but maybe with Yahoo lists like this its OK. Anyway, since I was off on your question apparently, now I really cant believe I responded. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] F2 Alpha: Repeaters and dynamic HTML text?
Sending this again because it never seems to have gone through: Thanks Ashish that works now. Seems like a lot of work just to get it to render as HTML does, but oh well. I guess there is a lot to learn about layout in Flex 2. By the way, in the F2 Alpha, I could not get older versions of the bullet.gif to go away, no matter how many times I deleted the file from the file system in the project folder, and the bin folder Flex produces. I even deleted it in Flex and re-imported it, made sure it was updated in the project and bin folders, deleted my browser cache, etc. Still showed the old graphic when it compiled. The only way I could get it to update with the new graphic was to comment out the line: mx:Image source=@Embed('assets/bullet.gif')/ , then compile, then un-comment the line and compile again. Then the graphic was updated. Weird it was like Flexbuilder keeps some other cache somewhere else outside the project folder. Thanks for the help. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Layout problems in Flex 2
Thanks Andreas, Ill have a look at your code. On Friday I ended up positioning the Tile area with hard coded X and Y values (not desirable, but it works) so that it starts below the title bar. Thanks for the help! Jason Merrill | E-Learning Solutions | icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andreas Weber Sent: Sunday, October 23, 2005 6:04 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Layout problems in Flex 2 Hi Jason, good to see you around here too! This is all very new to me too, but as far as I see the Tile acts very much like a very basic HTML table in which cells cannot be merged: basically all cells in a row have the same height and all cells in a column have the same width - as a result the Tile will work best when used for items with a certain similarity in size. In your example the first element in the Tile is the ControlBar which spreads over the entire width of the base canvas - if the Tile can 'flow naturally' it will in this case consist of 3 rows and only 1 column - this according to the 'law' that all cells in a column have the same width. Now the Tile allows us to change the 'natural flow' - e.g. by setting the tileWidth property (as you do). This will make that the cell size will not adapt to the size of the element inside but will crop it to the given value: panels will appear on top of the ControlBar, left edge of the first one at x=200, the second one at x=400, as the tileWidth is set to 200. To avoid this, I'd suggest to remove the ControlBar from the Tile: it's probably just too wide and dissimilar to give good results. In this scenario it is not necessary to set the tileWidth: this has the advantage that the Tile Layout will adapt automatically when the panels change size. See code below. hth Andreas Weber ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml xmlns= * backgroundColor= 0xF4F4F4 creationComplete=init(); mx:Script ![CDATA[ private function init():Void { dataService.send(); } [Bindable] public var selectedItem:Object ]] /mx:Script mx:HTTPService id=dataService resultFormat= object url="" / mx:Canvas width=812 height=100% fillColors=[0xFCF395, 0xFCF395] themeColor=haloSilver mx:Image id=logo source=assets/afdwLogo.jpg alpha=1 x=0 y= 0 width=810/ mx:ApplicationControlBar width=810 height= 49 cornerRadius=5 fillColors=[0xF0DF31, 0xFCF395] alpha= 1 x=0 y=67 mx:Repeater id=r dataProvider={ dataService.result.dashboard.menu.menuItem} startingIndex=0 mx:Spacer width=10/ mx:Label id=nameLabel text={ r.currentItem.label}/ mx:Spacer width=10/ mx:VRule height=10/ /mx:Repeater mx:Spacer width=10/ mx:Text width=130 text={ [EMAIL PROTECTED]/ mx:ComboBox dataProvider={dataService.result.dashboard.locations.site } width=150 change=selectedItem=ComboBox(event.target).selectedItem/ /mx:ApplicationControlBar mx:Tile id=myFlow marginTop=119 marginBottom=0 marginRight=0 marginLeft= 0 verticalGap=10 horizontalGap=10 width= 100% mx:Repeater y=150 id=panels_r dataProvider={dataService.result.dashboard.categories.category} startingIndex= 0 mx:Panel width=200 height=200 fillColors=[0xF0DF31, 0xFCF395] title={panels_r.currentItem.label } mx:Text text=Hello / /mx:Panel /mx:Repeater /mx:Tile /mx:Canvas /mx:Application -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Merrill, Jason Sent: Friday, October 21, 2005 9:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Layout problems in Flex 2 Getting to know Flexbuilder 2. Having problems getting my panels to lay out right in a tiled area. See: http://cmt.icfconsulting.com/temp/AFDW/AFDWTOC.swf I would like the panels to be left-justified and below the application bar. My script follows. The problem begins in line 36 where the panel repeater starts. Any help is much appreciated. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=* backgroundColor=0xF4F4F4 creationComplete=init(); mx:Script ![CDATA[ private function init():Void{ dataService.send(); } [Bindable] public var selectedItem:Object ]] /mx:Script mx:HTTPService id=dataService resultFormat=object url="" / mx:Canvas width=812 height=100% fillColors=[0xFCF395, 0xFCF395] themeColor=haloSilver mx:Image id=logo source=assets/afdwLogo.jpg alpha=1 x=0 y=0 width=810/ mx:Tile id=myFlow marginTop=65 marginBottom=0 marginRight=0 marginLeft=0 verticalGap=10 horizontalGap=10 width=100% tileWidth=200 mx:ApplicationControlBar width=810 height=49 cornerRadius=5 fillColors=[0xF0DF31, 0xFCF395] alpha=1 x=0 y=100 mx:Repeater id=r dataProvider={dataService.result.dashboard.menu.menuItem} startingIndex=0 mx:Spacer width=10/ mx:Label id=nameLabel text={r.currentItem.label}/ mx:Spacer width=10/ mx:VRule height=10/ /mx:Repeater mx:Spacer width=10/ mx:Text width=130 t
[flexcoders] What is a transcoding error in Flexbuilder 2?
I am getting some errors in the Flexbuilder 2 Alpha which have me perplexed. I am embedding a .swf file in my application with: mx:Image source=@Embed('assets/titleBackground.swf') creationCompleteEffect={SlowFade}/ And it works fine. The .swf displays as expected, and is in the proper asset folder in my project. However, today I am getting these error messages every time I compile: Unable to resolve assets/titleBackground.swf for transcoding. Unable to transcode assets/titleBackground.swf What do those mean? The only thing I could find in the help docs about transcoding was: The following example points to an ambiguously typed source property and specifies a MIME type so that Flex uses the proper transcoder to import the resource: [Embed(source=http://getpic.com/getsvg, mimeType=image/svg)] var pic:String; But I dont see how that would relate to my project. Just an Alpha thing? Thanks for any insight. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] What is a transcoding error in Flexbuilder 2?
Yeah, as I said, the file path is correct, the file is there, and it also shows up in the application after compiling, so thats why Im baffled about the error. Jason Merrill | E-Learning Solutions | icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Roger Gonzalez Sent: Monday, October 24, 2005 3:24 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] What is a transcoding error in Flexbuilder 2? Transcoding is what happens to convert one form of encoding (i.e. a GIF) to another form of encoding (SWF). In this case, its really just a wrap SWF asset up for use inside the application transcoder. But anyway, the error here is that it couldn't resolve (locate) the file. Make sure your relative path is correct. -Roger Roger Gonzalez [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Merrill, Jason Sent: Monday, October 24, 2005 12:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] What is a transcoding error in Flexbuilder 2? I am getting some errors in the Flexbuilder 2 Alpha which have me perplexed. I am embedding a .swf file in my application with: mx:Image source=@Embed('assets/titleBackground.swf') creationCompleteEffect={SlowFade}/ And it works fine. The .swf displays as expected, and is in the proper asset folder in my project. However, today I am getting these error messages every time I compile: Unable to resolve assets/titleBackground.swf for transcoding. Unable to transcode assets/titleBackground.swf What do those mean? The only thing I could find in the help docs about transcoding was: The following example points to an ambiguously typed source property and specifies a MIME type so that Flex uses the proper transcoder to import the resource: [Embed(source=http://getpic.com/getsvg, mimeType=image/svg)] var pic:String; But I dont see how that would relate to my project. Just an Alpha thing? Thanks for any insight. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] F2 Alpha: Repeaters and dynamic HTML text?
Full of questions today. So using Flexbuilder 2 Alpha, I want to use a repeater to show text, and so this works fine: mx:Repeater id=CMMetricsTextRepeater dataProvider={dataService.result.dashboard.categories.category} mx:Image source=@Embed('assets/bullet.gif') / mx:Text text={CMMetricsTextRepeater.currentItem.label}/ /mx:Repeater However, I want that bullet graphic to appear next to the text, but it doesnt the bullet appears, but the text that follows drops to the next line. So, I thought I would try HTML text, but Im not sure how to use the dynamic data of a repeater since the text is supposed to be enclosed in a CDATA tag. For example, this does not work: mx:Repeater id=CMMetricsTextRepeater dataProvider={dataService.result.dashboard.categories.category} mx:htmlText ![CDATA[img src=''/ {CMMetricsTextRepeater.currentItem.label} ]] /mx:htmlText /mx:Repeater What happens is the {CMMetricsTextRepeater.currentItem.label} is shown literally since its in the CDATA tag. How do I use repeaters and dynamic HTML text? Do I *have* to use Actionscript for this? If so, how? Thanks. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] F2 Alpha: Repeaters and dynamic HTML text?
OK thanks Ashish, getting closer. However, the text drops down and to the right from the bullet, and the bullet is completely snug at the far and upper left. When rendered as straight HTML it doesnt do this. i.e. mx:Text mx:htmlText ![CDATA[img src=''/Test HTML Text]] /mx:htmlText /mx:Text That positions the text and graphic completely different. See the differences here: http://cmt.icfconsulting.com/temp/AFDW/AFDWTOC.html Any ideas? Thanks. Jason Merrill | E-Learning Solutions | icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish Goyal Sent: Monday, October 24, 2005 3:53 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] F2 Alpha: Repeaters and dynamic HTML text? Wrap your Image and Text tag in HBox inside Repeater. -Ashish From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Merrill, Jason Sent: Monday, October 24, 2005 12:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] F2 Alpha: Repeaters and dynamic HTML text? Full of questions today. So using Flexbuilder 2 Alpha, I want to use a repeater to show text, and so this works fine: mx:Repeater id=CMMetricsTextRepeater dataProvider={dataService.result.dashboard.categories.category} mx:Image source=@Embed('assets/bullet.gif') / mx:Text text={CMMetricsTextRepeater.currentItem.label}/ /mx:Repeater However, I want that bullet graphic to appear next to the text, but it doesnt the bullet appears, but the text that follows drops to the next line. So, I thought I would try HTML text, but Im not sure how to use the dynamic data of a repeater since the text is supposed to be enclosed in a CDATA tag. For example, this does not work: mx:Repeater id=CMMetricsTextRepeater dataProvider={dataService.result.dashboard.categories.category} mx:htmlText ![CDATA[img src=''/ {CMMetricsTextRepeater.currentItem.label} ]] /mx:htmlText /mx:Repeater What happens is the {CMMetricsTextRepeater.currentItem.label} is shown literally since its in the CDATA tag. How do I use repeaters and dynamic HTML text? Do I *have* to use Actionscript for this? If so, how? Thanks. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Layout problems in Flex 2
Title: Layout problems in Flex 2 Getting to know Flexbuilder 2. Having problems getting my panels to lay out right in a tiled area. See: http://cmt.icfconsulting.com/temp/AFDW/AFDWTOC.swf I would like the panels to be left-justified and below the application bar. My script follows. The problem begins in line 36 where the panel repeater starts. Any help is much appreciated. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=* backgroundColor=0xF4F4F4 creationComplete=init(); mx:Script ![CDATA[ private function init():Void{ dataService.send(); } [Bindable] public var selectedItem:Object ]] /mx:Script mx:HTTPService id=dataService resultFormat=object url="">data/dashboard.xml / mx:Canvas width=812 height=100% fillColors=[0xFCF395, 0xFCF395] themeColor=haloSilver mx:Image id=logo source=assets/afdwLogo.jpg alpha=1 x=0 y=0 width=810/ mx:Tile id=myFlow marginTop=65 marginBottom=0 marginRight=0 marginLeft=0 verticalGap=10 horizontalGap=10 width=100% tileWidth=200 mx:ApplicationControlBar width=810 height=49 cornerRadius=5 fillColors=[0xF0DF31, 0xFCF395] alpha=1 x=0 y=100 mx:Repeater id=r dataProvider={dataService.result.dashboard.menu.menuItem} startingIndex=0 mx:Spacer width=10/ mx:Label id=nameLabel text={r.currentItem.label}/ mx:Spacer width=10/ mx:VRule height=10/ /mx:Repeater mx:Spacer width=10/ mx:Text width=130 text={[EMAIL PROTECTED]}/ mx:ComboBox dataProvider={dataService.result.dashboard.locations.site} width=150 change=selectedItem=ComboBox(event.target).selectedItem/ /mx:ApplicationControlBar mx:Repeater y=150 id=panels_r dataProvider={dataService.result.dashboard.categories.category} startingIndex=0 mx:Panel width=200 height=200 fillColors=[0xF0DF31, 0xFCF395] title={panels_r.currentItem.label} mx:Text text=Hello / /mx:Panel /mx:Repeater /mx:Tile /mx:Canvas /mx:Application Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.