[flexcoders] Pass a value into a package
New to flex and attempting a small Weather app to learn flex. I'm attempting to pass a variable into a package and can't seem to find any info on how to do this. Here is the code from my app that calls the package: public function initApp():void { rssParser = new RSSParser(); rssParser.addEventListener(dataWritten, onDataReceived); } Which works just fine. What I would like to do is pass the text from an input field (zipcode.text) into the rssParser package but can't seem to get this working. Any guidance would be great.
[flexcoders] Chart question
I'm working on a chart that spans multiple days. What I would like to do is put a vertical line in at a particular time, like midnight. I've looked through the docs and I'm not seeing a way to add this. Is there an easy way to add something like this to a chart? Any help would be great. -- 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/
[flexcoders] Re: Any luck with Vista?
Someone else suggested installing Flex builder 2 on another PC, then copy the folder that it was installed to the Vista PC. Then just create a shortcut to the executable. With Eclipse, I done an install on one PC then copied it to another pc without a problem, so the same procedure should work with Vista. Chris --- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: Hi, Just wanted to see if anyone else has been able to install FlexBuilder successfully with Vista Beta? I've got Vista build 5384 (I think it's the first public beta release) and can't install Flexbuilder either way... gives me an user permissions error for registry modifications (even though I'm using an Administrator account). Also of note, is that while the Eclipse install works, MyEclipse hangs on install. Anybody else having these issues? Thanks, Brendan Yahoo! Groups Sponsor ~-- Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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/
[flexcoders] Re: I noticed something MS Vista Beta 2 out
This was just an FYI, not trying to start anything. I know some have already been trying to use Flex Builder 2 under Vista, just letting them know beta 2 was out. Chris --- In flexcoders@yahoogroups.com, Robert Thompson [EMAIL PROTECTED] wrote: Grudge, Wisdom, Warning or...or read again... Michael Schmalle [EMAIL PROTECTED] wrote: Man, You must have been burned by that stove bad.. It's not healthy holding a grudge this hard! Peace, Mike. On 6/7/06, Robert Thompson [EMAIL PROTECTED] wrote: Re: belowRegarding this Vista, I've seen this little thing called Sparkle -- a reincantation of a purely failed effort to compete against Flash back a few years ago (it was sad). But this time around, Microsoft may intend to do what it has done to other competitors regarding Adobe, and that is, to use Sparkle to crush the enemy Adobe by beating it over the head with the Windows Desktop. I do believe (but am unsure and not claiming so in order to protect myself :-) that's an actual quote by a high level exec, but a different company as to whoe the enemy was, at some time, by some person, at high levels, about another competitor, and I do believe my eyes have seen something of this sortbut I can't be sure if it was a dream or real :-) But I can say no more than that...until a short time...it will all be exposed soon enough... My Advice to Adobe: Watch out. Old cheeseburger loving dogs who have been found to have broken the law don't learn new tricks (they don't change). And believe me $50B in cash reserves buys a lot of cheeseburgers; and that's just cold hard cash; earned and blossomed all from the seed of a bald-man telling IBM they had DOS _complete_ when in actuality they did not, and instead this bald-man offered 50k to someone who wasn't aware of this information about IBM needing what he'd developed. The story spawns from there. Was that first action illegal. Probably not. Dishonest - Absolutely. Unethical - Absolutely. This bald-headed guy grew up just a few miles from me and taints the image and spirit of a beautiful school called Country Day. Question is: Was he numbed up by his boss, or was it the other way around. I kind of think being caught for soliciting prostitution in Arizona, leads me to believe it was his boss. So, obviously these people have no spiritual foundation and simply believe whatever means necessary and survival of the fittest. They've got some hot weather coming. Who am I talking about -- your guess is as good as mine -- not my thread. But I do plan on Establishing FLEX 2.0 for my future development. As Mickey softy (he's a ganster :-) fades away ever so slowly. Long live Bono a true and tried person who has a long track record of helping the poor in africa; as for the other two. I won't say it. -r christopherjdunn [EMAIL PROTECTED] wrote: Just incase anyone would like to test any of the flex apps/clients on MS Vista Beta 2, it can now be downloaded from MS's website: http://www.microsoft.com/windowsvista/getready/preview.mspx Chris __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- What goes up, does come down. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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/
[flexcoders] MS Vista Beta 2 out
Just incase anyone would like to test any of the flex apps/clients on MS Vista Beta 2, it can now be downloaded from MS's website: http://www.microsoft.com/windowsvista/getready/preview.mspx Chris Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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/
[flexcoders] Re: ComboBox qquestion
I gave that a try and it always give's me a value of -1 (binding to text field to debug). Do i need to specify what field in the datasource that it should be looking at? Chris --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Don't you want to be looking into the dataProvider of grouplist, not grouplist itself? And then basically you would do something like grouplist.selectedIndex = IList(groulist.dataProvider).getItemIndex([EMAIL PROTECTED] id); Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of christopherjdunn Sent: Thursday, April 06, 2006 11:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ComboBox qquestion I have a combobox whose datasourse is a CF CFC. This is working just fine. What i'm trying to do is select a particular item in the combobox based upon a node that is select in a Tree. The following code is what i use in a CF flash form, which works fine (Flex 1.5). Looking at the docs, i can not find any replacement code for the getItemIndex. Any help would be great. public function changeCollection() { for (var i:Number = 0; i grouplist.rowCount; i++) { if (grouplist.getItemIndex(i) == [EMAIL PROTECTED]) { grouplist.selectedIndex = i; break; } } } Chris -- 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 -- 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/ * 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/
[flexcoders] ComboBox qquestion
I have a combobox whose datasourse is a CF CFC. This is working just fine. What i'm trying to do is select a particular item in the combobox based upon a node that is select in a Tree. The following code is what i use in a CF flash form, which works fine (Flex 1.5). Looking at the docs, i can not find any replacement code for the getItemIndex. Any help would be great. public function changeCollection() { for (var i:Number = 0; i grouplist.rowCount; i++) { if (grouplist.getItemIndex(i) == [EMAIL PROTECTED]) { grouplist.selectedIndex = i; break; } } } Chris -- 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/ * 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/
[flexcoders] Re: ComboBox qquestion
I had a typo in that code, it should be getItemAt. The groupid that is returned from the dataprovider don't match the index (witch is 0 through x). I suppose i could do groupid + -1 to try and match that to the index the combebox uses. Maybe i will give that a try. The 1.5 code i got from the CFFORM real estate example that was made awhile back and that worked like charm. Chris --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I am not doing 2.0 yet, but that is very strange 1.5 code to navigate a ComboBox. First rowCount is not the number of items of data, it is the number of visible rows in the control. What if there are more items than visible rows? Why are you not working with the dataProvider? If [EMAIL PROTECTED] is an integer and specifies the index of the item you want in the combo box, just do: grouplist.selectedIndex = [EMAIL PROTECTED]; If I have misunderstood what you are doing, never mind. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of christopherjdunn Sent: Thursday, April 06, 2006 2:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ComboBox qquestion I have a combobox whose datasourse is a CF CFC. This is working just fine. What i'm trying to do is select a particular item in the combobox based upon a node that is select in a Tree. The following code is what i use in a CF flash form, which works fine (Flex 1.5). Looking at the docs, i can not find any replacement code for the getItemIndex. Any help would be great. public function changeCollection() { for (var i:Number = 0; i grouplist.rowCount; i++) { if (grouplist.getItemIndex(i) == [EMAIL PROTECTED]) { grouplist.selectedIndex = i; break; } } } Chris -- 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 -- 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/ * 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/
[flexcoders] Re: ComboBox qquestion
I just tried using the groupid and subtracting 1 so it would match the combobox index and that seems to be working just fine. Thank you for the help. Chris --- In flexcoders@yahoogroups.com, christopherjdunn [EMAIL PROTECTED] wrote: I had a typo in that code, it should be getItemAt. The groupid that is returned from the dataprovider don't match the index (witch is 0 through x). I suppose i could do groupid + -1 to try and match that to the index the combebox uses. Maybe i will give that a try. The 1.5 code i got from the CFFORM real estate example that was made awhile back and that worked like charm. Chris --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote: I am not doing 2.0 yet, but that is very strange 1.5 code to navigate a ComboBox. First rowCount is not the number of items of data, it is the number of visible rows in the control. What if there are more items than visible rows? Why are you not working with the dataProvider? If [EMAIL PROTECTED] is an integer and specifies the index of the item you want in the combo box, just do: grouplist.selectedIndex = [EMAIL PROTECTED]; If I have misunderstood what you are doing, never mind. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of christopherjdunn Sent: Thursday, April 06, 2006 2:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ComboBox qquestion I have a combobox whose datasourse is a CF CFC. This is working just fine. What i'm trying to do is select a particular item in the combobox based upon a node that is select in a Tree. The following code is what i use in a CF flash form, which works fine (Flex 1.5). Looking at the docs, i can not find any replacement code for the getItemIndex. Any help would be great. public function changeCollection() { for (var i:Number = 0; i grouplist.rowCount; i++) { if (grouplist.getItemIndex(i) == [EMAIL PROTECTED]) { grouplist.selectedIndex = i; break; } } } Chris -- 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 -- 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/ * 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/
[flexcoders] Custom component question - f2b2
Need some help I have a flex app started that most everything is working. On the default state, I have a Tree. Then I have multiple states, which one of them loads a custom component. When a Tree node is selected, a function fires, that changes the state to the one with the custom component. This works just fine and the component then gets the select node data via mx.core.Application.application.functionname(). This works on the first node selection. When any other node is select, the custom component does not update. Is there a way to tell the component that the Tree has changed and re-poll to get the new selected node data? I hope this makes sense. Chris -- 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/ * 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/
[flexcoders] Flex 2 Tree help
I'm trying out the Tree's and having some problems. I'm using an XML file and can get the 2st level of the tree, but none of the folders or sub items show up. I;m not sure where i'm going wrong, the following is both files. XML File: node node label=Technology node label=ASP.NET / node label=HTML/CSS / node label=Javascript / node label=SQL / node label=Tech Experiments / /node node label=Utilities node label=Client tools / node label=Server tools / /node node label=Design node label=Cool layouts / node label=Design experiments / /node node label=Usability /node node label=Off-topic /node /node MXML File: ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; creationComplete=devicetree.send() mx:HTTPService id=devicetree url=results.xml useProxy=false / mx:Panel width=812 height=485 layout=absolute mx:Tree labelField=label id=tree1 width=217 height=374 dataProvider={devicetree.result.node.node} x=59 y=33 /mx:Tree /mx:Panel /mx:Application -Chris -- 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/ * 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/
[flexcoders] Re: Flex 2 graph axis label question
After playing with it some more, i found the showlabels=false was working, but with the graph so small, the markers for the verical lines made it look like it was trying to render the labels. At this point i'm not going to worry about the hour marks, but thank you for the help. Chris --- In flexcoders@yahoogroups.com, Matt Horn [EMAIL PROTECTED] wrote: Remove the labels altogether and leave only a title (Response time 24hr) Since you are setting showLabels=false and that's not working, I guess it is a bug. only add labels for every hour. You can use a DateTimeAxis rather than a CategoryAxis and set dataUnits to hours. HTH, Matthew J. Horn Flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of christopherjdunn Sent: Tuesday, March 14, 2006 3:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2 graph axis label question I'm trying to do the following with no luck so far. I have a small graph to represents 24 hours worth of data (happens to be ping response times). Since it's a small graph and numerous values, the horizontal axis labels look like little lines. I would like to do one of the following, which I have not been able to get either to work. Remove the labels altogether and leave only a title (Response time 24hr) or only add labels for every hour. Here's my code for trying to remove the labels altogether: mx:LineChart id=ResponceTime width=324 height=113 showDataTips=true dataProvider={deviceList.GetData.result} mx:horizontalAxis mx:CategoryAxis title=Responce Time (24Hr) / /mx:horizontalAxis mx:horizontalAxisRenderer mx:AxisRenderer showLabels=false/ /mx:horizontalAxisRenderer mx:series mx:LineSeries yField=SCAN_POLLDATA mx:stroke mx:Stroke color=0xFF33CC weight=1/ /mx:stroke /mx:LineSeries /mx:series /mx:LineChart Any pointers would be great. Chris -- 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 -- 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/ * 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/
[flexcoders] Flex 2 graph axis label question
I'm trying to do the following with no luck so far. I have a small graph to represents 24 hours worth of data (happens to be ping response times). Since it's a small graph and numerous values, the horizontal axis labels look like little lines. I would like to do one of the following, which I have not been able to get either to work. Remove the labels altogether and leave only a title (Response time 24hr) or only add labels for every hour. Here's my code for trying to remove the labels altogether: mx:LineChart id=ResponceTime width=324 height=113 showDataTips=true dataProvider={deviceList.GetData.result} mx:horizontalAxis mx:CategoryAxis title=Responce Time (24Hr) / /mx:horizontalAxis mx:horizontalAxisRenderer mx:AxisRenderer showLabels=false/ /mx:horizontalAxisRenderer mx:series mx:LineSeries yField=SCAN_POLLDATA mx:stroke mx:Stroke color=0xFF33CC weight=1/ /mx:stroke /mx:LineSeries /mx:series /mx:LineChart Any pointers would be great. Chris -- 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/ * 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/
[flexcoders] Question from a 1st time Flex user
Is there a way to set an event to happen at certain interval while the app is one? (IE: Every 5 minutes the app polls for new data and updates a graph or grid.) Chris -- 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/ * 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/