[flexcoders] How to know the position of the column in a datagrid?
Hi All, How can I know the position of the columns in a datagrid when they are repositioned by drag and drop? I want to store the position of the columns when they are moved. The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
Re: [flexcoders] How to know the position of the column in a datagrid?
We currently have to loop through the columns array and look for the column named X. When we find it, we know what position it's in by the number of loops. If there's a better way to do this, would love to know. Thanks, Mark On Mar 18, 2007, at 11:03 AM, arpan srivastava wrote: Hi All, How can I know the position of the columns in a datagrid when they are repositioned by drag and drop? I want to store the position of the columns when they are moved. 8:00? 8:25? 8:40? Find a flick in no time with theYahoo! Search movie showtime shortcut.
Re: [flexcoders] Re: Apollo (Should Adobe Keep the Name)
If you don't care, then don't vote. :) On 17 Mar 2007 08:55:39 -0700, Paul DeCoursey [EMAIL PROTECTED] wrote: You are missing the I don't care option. What do I care what they name the product. They could call it Penciluarim and if it still did what they promise then I'd use it. p --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Rich Tretola [EMAIL PROTECTED] wrote: As of 10am est time on 3/17, the vote currently stands at: *Should Adobe keep code name Apollo as the official product name?* yes 89% (174) no 11% (22) If you haven't voted yet, please visit: http://blog.everythingflex.com/2007/03/15/apollo-the-great-debate/ Rich On 16 Mar 2007 14:49:31 -0700, shawn.gibson [EMAIL PROTECTED] wrote: Absolutely, Apollo was the God of Light, and he was strongly associated with the higher arts, as opposed to the baser arts of Dionysus (I'll leave the analogues up to you...). Apollo is the best name ever for what promises, in my limited knowledge so far, to be as important to the web and application development for many people as light is and higher art is to those who aim for somthing higher. Is this something we could petition them with? Does Adobe respond to such requests? I would love to be involved in designing the artwork revolving around its promotion etc.! Is there a reason they chose Apollo as the development name? Shawn - lover of anything Greek! haha... -- Rich Tretola mx:EverythingFlex/ http://www.EverythingFlex.com -- Rich Tretola mx:EverythingFlex/ http://www.EverythingFlex.com
[flexcoders] Binding forms to XML - advice please
Hello. I need to bind a fairly complex form to a matching XML structure. The form has text fields, lots of check-boxes and some radio-buttons. I'd like to pre-load values into some of the form fields with an XML file pulled down from the server, and then after the user SUBMITs, upload the modified XML back to the server. I'd like to take advantage of two-way binding and E4X. It seems like it ought to be easy, but I have run into problems. How do I get two-way binding with an XML structure? I can make one-way binding (from XML to Form) work, but the changes to the form are not reflected back into the XML structure. I think I have to convert the XML to an XMLListCollection, but then I can't make E4X work for simple things like CheckBox? How do I bind a CheckBox to the XML data? I tried something like: mx:checkbox selected={xdata.item.selected} / where the XML looked like this: root item selectedfalse/selected /item /root but it didn't work (always shows as selected, even when false) Of course I can convert the XML to a custom object structure and manually map everything, but then I have to give up the power of E4X and automatic binding. Am I missing something? Thanks in advance!
[flexcoders] User Interface Architect, Stealth-mode VC-backed Investing Web Startup (San Francisco, CA)
Feel free to forward along to those UI gurus you know who want to join a team building something big. -- We are a well-funded, early-stage consumer web startup: Who thinks figuring out how to invest your money is too difficult. We have a vision of how to revolutionize the way people invest and are looking for a small number of talented superstars who are excited about that vision. We just raised a multi-million dollar round of financing from a top silicon valley venture capital firm, and we are less than three months away from launching our product. If you want to play a critical role as an early member of a consumer web startup which could put a lot of large financial services companies out of business, we need to talk. The founding team has years of experience building consumer internet products (at companies including Amazon, Google, Yahoo, and Facebook) that have been used by millions of customers and have generated well over $100MM in profit.You are a User Interface Architect who: - Is scary smart and someone we can trust will find the right answers to hard problems you may have never solved before - Is technically brilliant, versatile, and creative - Your teammates love working with (you also have friends like you who would love to work with you as we continue to grow) - Will passionately bust your ass at the prospect of building something that will change the way people invest - Has valuable* experience* designing and building highly-available and fault tolerant *consumer web *applications with *performance*, * scalability*, *stability*, and *security* in mind You are adept at: - Innovative approaches to UI design (AJAX, Flex/Actionscript/Flash) - Designing and implementing production websites (HTML, CSS, XML, Javascript, etc.) - HCI principles and UI best practices, and incorporating this experience into the concept development process - Building technology at the crossroads of back-end functionality and front-end design - Managing cross-browser compatibility issues - LAMP (PHP, Python, Perl) You will: - Lead the creation of a cutting edge user interface for our platform - Start with ideas, design products and features, architect a technical solution, then build, test, and launch it - Be an integral member of our team and help shape our future - Help build and grow the engineering team as we expand over time -- if you also want to lead this team, that's in the cards depending on experience We will: - Be a group of the smartest, most trustworthy, passionate, and interesting people you know. - Make sure you have what you need to be happy and productive. - Compensate you with a flexible mixture of cash and equity depending on your preference. - Make great teammates united around a vision of how to solve some significant problems for people. *Interested candidates should send your resume to [EMAIL PROTECTED] Please also include in your email a summary what you're been up to for the past few years that makes you the right person for our team.*
[flexcoders] Re: Cairngorm FrontController
Maybe I'm missing something, but to me this is not a bug in Cairngorm. At least from my perspective the problem is about seperating generic components from code that is specific to your application. If you are going to have some component for addresses, it should be a generic component and broadcast a generic event. The parent view that the address component is in would be specific to the application, it would capture the generic event and broadcast its own event that is specific to the application. Does this make sense? I think this is what Dimitrios was suggesting as well.
Re: [flexcoders] Re: Apollo (Should Adobe Keep the Name)
So Rich, I think this poll/campaign is unfortunately going to futile. Although they're still keeping mum about the final name, Kevin Lynch assured the attendees at Apollo Camp last night that the name was 'very cool' I guess we just need to stay tuned... Brendan On 17 Mar 2007 08:55:39 -0700, Paul DeCoursey [EMAIL PROTECTED] wrote: You are missing the I don't care option. What do I care what they name the product. They could call it Penciluarim and if it still did what they promise then I'd use it. p --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Rich Tretola [EMAIL PROTECTED] wrote: As of 10am est time on 3/17, the vote currently stands at: *Should Adobe keep code name Apollo as the official product name?* yes 89% (174) no 11% (22) If you haven't voted yet, please visit: http://blog.everythingflex.com/2007/03/15/apollo-the-great-debate/ Rich On 16 Mar 2007 14:49:31 -0700, shawn.gibson [EMAIL PROTECTED] wrote: Absolutely, Apollo was the God of Light, and he was strongly associated with the higher arts, as opposed to the baser arts of Dionysus (I'll leave the analogues up to you...). Apollo is the best name ever for what promises, in my limited knowledge so far, to be as important to the web and application development for many people as light is and higher art is to those who aim for somthing higher. Is this something we could petition them with? Does Adobe respond to such requests? I would love to be involved in designing the artwork revolving around its promotion etc.! Is there a reason they chose Apollo as the development name? Shawn - lover of anything Greek! haha... -- Rich Tretola mx:EverythingFlex/ http://www.EverythingFlex.com -- Brendan Meutzner Stretch Media - RIA Adobe Flex Development [EMAIL PROTECTED] http://www.stretchmedia.ca
[flexcoders] Using Flex Components in an Actionscript Project
Hello List, I'd like to have a class with what used to the ScrollPane in AS 2.0 inside it. So 2 questions: 1. What is the equivalent of ScrollPane in Flex? 2. Is it possible to import a component into a non MXML project and how? Best regards and thanks in advance, Yotam.
Re: [flexcoders] Re: Apollo (Should Adobe Keep the Name)
What do I care what they name the product. Your missing the point, how many people play with their cell phones and are amused with that? :) Peace, Mike On 17 Mar 2007 08:55:39 -0700, Paul DeCoursey [EMAIL PROTECTED] wrote: You are missing the I don't care option. What do I care what they name the product. They could call it Penciluarim and if it still did what they promise then I'd use it. p --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Rich Tretola [EMAIL PROTECTED] wrote: As of 10am est time on 3/17, the vote currently stands at: *Should Adobe keep code name Apollo as the official product name?* yes 89% (174) no 11% (22) If you haven't voted yet, please visit: http://blog.everythingflex.com/2007/03/15/apollo-the-great-debate/ Rich On 16 Mar 2007 14:49:31 -0700, shawn.gibson [EMAIL PROTECTED] wrote: Absolutely, Apollo was the God of Light, and he was strongly associated with the higher arts, as opposed to the baser arts of Dionysus (I'll leave the analogues up to you...). Apollo is the best name ever for what promises, in my limited knowledge so far, to be as important to the web and application development for many people as light is and higher art is to those who aim for somthing higher. Is this something we could petition them with? Does Adobe respond to such requests? I would love to be involved in designing the artwork revolving around its promotion etc.! Is there a reason they chose Apollo as the development name? Shawn - lover of anything Greek! haha... -- Rich Tretola mx:EverythingFlex/ http://www.EverythingFlex.com -- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.
[flexcoders] Re: Cairngorm question
Some usefull links... http://labs.adobe.com/wiki/index.php/Cairngorm http://www.cairngormdocs.org/ -Steve --- In flexcoders@yahoogroups.com, Michael [EMAIL PROTECTED] wrote: Where can I download cairngorm 2.0. I believe I have downloaded the .99 version, but I didn't get a chance to learn it before I got tasked with a Flex 2.0 project.
[flexcoders] double refresh when transitioning between viewStack states using showEffect
Hi All, Im having a small issue when changing between viewStack states and using the showEffect, here is some sample code ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=horizontal mx:ApplicationControlBar width=100% height=30 dock=true verticalAlign=middle mx:ToggleButtonBar dataProvider={stackViews}/ /mx:ApplicationControlBar mx:Dissolve duration=500 id=hideE alphaFrom=1 alphaTo=0/ mx:Dissolve duration=500 id=showE alphaFrom=0 alphaTo=1/ mx:ViewStack id=stackViews mx:Panel title=Forum label=Forum hideEffect=hideE showEffect=showE width=300 height=300 mx:Button label=button1/ /mx:Panel mx:Panel title=Photos label=Photos hideEffect=hideE showEffect=showE width=300 height=300 mx:Button label=button2/ /mx:Panel mx:Panel title=Links label=Links hideEffect=hideE showEffect=showE width=300 height=300 mx:Button label=button3/ /mx:Panel /mx:ViewStack /mx:Application its seems as though the content in the panel is shown before the showEffect starts causing a blinking effect. Anyone know how to resolve this? Thanks in advance
RE: [flexcoders] Re: Cairngorm FrontController
Exactly :) Dimitrios Gianninas Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sleekdigital Sent: Sunday, March 18, 2007 10:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm FrontController Maybe I'm missing something, but to me this is not a bug in Cairngorm. At least from my perspective the problem is about seperating generic components from code that is specific to your application. If you are going to have some component for addresses, it should be a generic component and broadcast a generic event. The parent view that the address component is in would be specific to the application, it would capture the generic event and broadcast its own event that is specific to the application. Does this make sense? I think this is what Dimitrios was suggesting as well. -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
Re: [flexcoders] Re: Apollo (Should Adobe Keep the Name)
Yes. We also really like the Apollo name, but for various reasons we cannot use it as the final name. Apollo is just a code name, and will not be the final name. mike chambers [EMAIL PROTECTED] Brendan Meutzner wrote: So Rich, I think this poll/campaign is unfortunately going to futile. Although they're still keeping mum about the final name, Kevin Lynch assured the attendees at Apollo Camp last night that the name was 'very cool' I guess we just need to stay tuned... Brendan
[flexcoders] Re: Unbelievably embarassing question - making components talk (and modules) amongst
OK well I'm I guess one or two lines from making the 'simple' version work. When I hard-code the following in my thumbChanged method, it works...well if loading the same image no matter what thumb you click means it works LOL: Application.application.galleries_module1.imagetabs.bigImage.source=a ssets/galleries/CD2.jpg; But when I try to grab the proper {data.piclink} which corelates to the thumblink after clicking (i.e., the right image in the XML file), I get, well, nothing, not even an error LOL...but no image either...it DOES make the broken image link go blip, but it doesn't load. Here's what I am trying to do, but please keep in mind, with this sort of thing, I still have absolutely no idea what I'm doing yet (the source code in the HBox works, but my thumbChanged method is frying): mx:Script ![CDATA[ import mx.containers.HBox;//??? import mx.core.Application; //import mx.core.Application; [Bindable] public var selectedThumb:XML; // Event handler for the Tree control change event. public function thumbChanged(event:Event):void { Application.application.galleries_module1.imagetabs.bigImage.s ource={data.piclink}; Application.application.galleries_module1.thumbloader.thumbSer vice.send(); //Application.application.galleries_module1.imagetabs.bigImage .source={data.piclink}; //selectedHBoxItem=HBox(event.target).selectedThumb as XML; //Application.application.thumbService.lastResult.galle ry.piece.piclink.url=selectedThumb.piclink; // parentDocument.thumbloader.thumbService.send(); //Application.application.thumbService.send(); }; ]] /mx:Script mx:HBox click=thumbChanged(event); id=thumbbox width=100% height=100% verticalAlign=middle verticalGap=0 verticalScrollPolicy=off horizontalAlign=center backgroundColor=#00 backgroundAlpha=0.0 mx:Image id=img source={data.thumblink} horizontalAlign=center verticalAlign=middle height=75%/ /mx:HBox /mx:Canvas As usual, the source is available if I'm clear as mud...I'd really appreciate any help here, because I've spent all weekend on it and I'm just totally lost: http://www.shawngibson.com/faceitphoto.ca/shawn/index.html (click the Galleries button, anything else will probably blow up...) Shawn --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Yes, also Application.application will give you a reference to the top-level application. As I said in my other post, there are many ways. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shawn.gibson Sent: Thursday, March 15, 2007 6:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Unbelievably embarassing question - making components talk (and modules) amongst I'm sure it goes deeper than this (if you'll pardon the pun), but if you add 'parentDocument' to your parent (i.e., parentDocument.thumbloader.etc you get the kind of thing I'm hoping, at least for component-to-component-from-within-the-same-module. I typed the name of the error message into the help screen. Go figure :S Shawn --- In flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com , shawn.gibson shawn.gibson@ wrote: Thanks to Tracy's earlier help, I was able to get at least the ugly (i.e., my) version of HTTPService going (and I'll revisit it to Tracy's specs one I figure this here problem out), but in order for me to do it, I had to de-compartmentalize all my code. In other words, I have originally been using an approach where each major 'page' was a module loaded into a state of my main app, and each major chunk of a module was made of a custom component (the entire Tree, it's code, the little stuff; or the entire thumbnail with all it's itemrendering in a HorizontalList...etc)- nice separation of code, easy to understand in 6 months, and no 6,000 line files. Also offered me a fighting chance in the future to figure out model, control, and view separation. But for me to get (for example) the tree component I made to communicate with the thumbnail component, both housed in the galleries module, I had to hardcode the components back into the module (i.e., they are no longer components), so the module is now one big-ass file that has no components, they are right in the file. I can't go on like this, it's just too ugly. As a designer and a poet wannabe, that sucks LOL. But I can't for the life of me get things to talk amongst themselves, say my module has 3 custom components doing their things...how do I access something in one component from another component? I
[flexcoders] Re: Will there be a microsoft project like gantt chart in new versions of flex?
Sorry if i offended you Doug. I subscribe to your RSS feed and really appreciate all your input to the community. I agree with you that if Adobe is going to make the component that I should try to do it my self. I have actually been trying to do it and found out that it's not an easy thing! That's why at Apollo Camp I went into the ask the experts room to see what adobe's plans are for it. I have herd adobe employees elude to the possibility of a future component and the scheduling component on adobe labs looks really promising. Although it's a good learning exersize I didn't want to duplicate effort. Out of four employees none of them knew the answer(although they answered all of my apollo questions!) I guess the next charting components are being outsourced. They suggested that I clearly ask the question on flex coders and that someone from adobe would have an answer. So that's why I asked. If they don't have any plans I will continue to try to build it myself. --- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote: Bah, vaporware!?! Yeah, ok, so you're right to think that I wasn't planning on spending alot of time on that Gantt chart component, and I realize that example is VERY basic and not even close to a complete gantt chart component, but making it into a better component is in the back of my mind. And I do watch this list (and the blog posts and all that noise). I think Adobe's position is that they're not going to make a Gantt chart (or whatever Component X you want) anytime soon, and that they'd like the community to really step up to make some of these components that people want. There's no reason someone can't take the approach I took with my example and add all the functionality you want. I might do it piece by piece as well, but it's not a top priority for me right now. So I think the better approach is to lay out what you want, just like you did here, and ask people in the community to do it. Or even better, take a stab at it yourself and ask people to help. Doug On 3/17/07, Nate Pearson [EMAIL PROTECTED] wrote: Sort of, but his example, although cool, is just vapor ware. I would imagine a full fledge Gantt component to have a time lineline, an api to set startDate, endDate and percent complete. A way to save the state of a chart to use in base lining. A way to set relations between tasks like start/start or finish/start. For an even more advanced chart I would like to be able to extend it so that I could assign a resource to a task. I would like the gantt chart to have a grid connected to it to show the values of what the chart represents (i.e. start date, duration, resource). That's just a few features that I would like to see. I don't really think it would be that hard for adobe to make something like this. -Nate --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Andrew Muller andrew.muller@ wrote: Nate You mean something like this: http://dougmccune.com/blog/2007/02/01/building-a-gantt-chart-component-in- flex/ Andrew On 16 Mar 2007 22:08:00 -0700, Nate Pearson napearson99@ wrote: I just asked some adobe people at Apollo Camp but they didn't know. They suggested that I explicitly ask the question on flex coders. So here it is. Will there be any gantt chart type component in new versions of flex? Will the scheduler that is in labs be expanded to work as a gantt chart? Thanks guys, I'm really enjoying Apollo Camp. -Nate -- -- Andrew Muller http://www.webqem.com
[flexcoders] HorizantalList
how can use imagelinktooltip over HorizantalList attribure with dataprovider ?
RE: [flexcoders] Re: Will there be a microsoft project like gantt chart in new versions of flex?
Hi, (I am from Adobe). I'll try to fill in the holes below: A) The charting components are not being outsourced. :) B) That said, I am sure third parties will make additional and more varied and advanced charting components than what we ship. That would be complementary and excellent. C) We do not currently have plans to add a Gnantt chart component to the next release of Flex Charting. I do know of a third party we work with closely that might have such a component later this year, and I am sure that if and as soon as they can, they'll talk about it on this list, solicit feedback etc. I can't speak for them, but I am hopefull it will meet the needs of this frequent request--they do great work and know Gnatt charts well. In addition to that, I know folks who have done custom versions, and as Doug points out, anyone can keep going on the path he proposed. Adobe by itself will never meet the needs of every app; open source as well as commercial components are a critical part of the overall ecosystem. Hope this helps, -David From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Sunday, March 18, 2007 5:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Will there be a microsoft project like gantt chart in new versions of flex? Sorry if i offended you Doug. I subscribe to your RSS feed and really appreciate all your input to the community. I agree with you that if Adobe is going to make the component that I should try to do it my self. I have actually been trying to do it and found out that it's not an easy thing! That's why at Apollo Camp I went into the ask the experts room to see what adobe's plans are for it. I have herd adobe employees elude to the possibility of a future component and the scheduling component on adobe labs looks really promising. Although it's a good learning exersize I didn't want to duplicate effort. Out of four employees none of them knew the answer(although they answered all of my apollo questions!) I guess the next charting components are being outsourced. They suggested that I clearly ask the question on flex coders and that someone from adobe would have an answer. So that's why I asked. If they don't have any plans I will continue to try to build it myself. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Doug McCune [EMAIL PROTECTED] wrote: Bah, vaporware!?! Yeah, ok, so you're right to think that I wasn't planning on spending alot of time on that Gantt chart component, and I realize that example is VERY basic and not even close to a complete gantt chart component, but making it into a better component is in the back of my mind. And I do watch this list (and the blog posts and all that noise). I think Adobe's position is that they're not going to make a Gantt chart (or whatever Component X you want) anytime soon, and that they'd like the community to really step up to make some of these components that people want. There's no reason someone can't take the approach I took with my example and add all the functionality you want. I might do it piece by piece as well, but it's not a top priority for me right now. So I think the better approach is to lay out what you want, just like you did here, and ask people in the community to do it. Or even better, take a stab at it yourself and ask people to help. Doug On 3/17/07, Nate Pearson [EMAIL PROTECTED] wrote: Sort of, but his example, although cool, is just vapor ware. I would imagine a full fledge Gantt component to have a time lineline, an api to set startDate, endDate and percent complete. A way to save the state of a chart to use in base lining. A way to set relations between tasks like start/start or finish/start. For an even more advanced chart I would like to be able to extend it so that I could assign a resource to a task. I would like the gantt chart to have a grid connected to it to show the values of what the chart represents (i.e. start date, duration, resource). That's just a few features that I would like to see. I don't really think it would be that hard for adobe to make something like this. -Nate --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com flexcoders%40yahoogroups.com, Andrew Muller andrew.muller@ wrote: Nate You mean something like this: http://dougmccune.com/blog/2007/02/01/building-a-gantt-chart-component-i n- http://dougmccune.com/blog/2007/02/01/building-a-gantt-chart-component- in- flex/ Andrew On 16 Mar 2007 22:08:00 -0700, Nate Pearson napearson99@ wrote: I just asked some adobe people at Apollo Camp but they didn't know. They suggested that I explicitly ask the question on flex coders. So here it is. Will there be any gantt chart type component in new versions of flex? Will the scheduler that
[flexcoders] ID3 v2+ parser available for albumart
Does anyone know a class for actionscript3 which allows to grab the data stored in the ID3 data block of a mp3 file? I would like to have the albumart of mp3 files. yours, weyert
Re: [flexcoders] CursorManager, PopupManager - internal state across module load?
You must load a reference to CursorManager and Popup Manager in your shell. ie in shell main.mxml import mx.managers.CursorManager private m:CursorManager that should fix it regards Bjorn On 17/03/2007, at 3:51 AM, david_mccraw123 wrote: Hi, I've run into an issue where, after loading a module, calling CursorManager.setBusyCursor() inside that module causes an exception (Error #1009: Cannot access a property or method of a null object reference). The same happens with Alert.show (in PopupManager.createPopup). First I moved the setBusyCursor() call into a button click(), to be sure the module had loaded completely - but this had no effect. If, however, I call setBusyCursor() then removeBusyCursor() in the /module loader/ mxml file (on ready event), the module button can then also set the cursor without error. Similarly, an Alert in the module loader (on ready event) allows alerts within the module. To muddy the waters further, if I load the module at the start of the application, it works okay - it's just when I re-load it that the error starts occurring. I was hoping someone might have run into a similar problem, or have any pointers toward finding a solution. Thanks, Dave
[flexcoders] Apollo (Should Adobe Keep the Name)
Any chance you could send me picture of the Apollo logo? yours, weyert
Re: [flexcoders] Apollo (Should Adobe Keep the Name)
http://weblogs.macromedia.com/mesh/files/apollo/wallpaper/apollo_stickers.pdf mike chambers [EMAIL PROTECTED] Weyert de Boer wrote: Any chance you could send me picture of the Apollo logo? yours,
RE: [flexcoders] Using Flex Components in an Actionscript Project
Canvas is most like scrollpane. It is possible to use components in AS-only, but you'll need to subclass Application and SystemManager to do it. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dasubermutt Sent: Sunday, March 18, 2007 5:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Using Flex Components in an Actionscript Project Hello List, I'd like to have a class with what used to the ScrollPane in AS 2.0 inside it. So 2 questions: 1. What is the equivalent of ScrollPane in Flex? 2. Is it possible to import a component into a non MXML project and how? Best regards and thanks in advance, Yotam.
[flexcoders] Re: DataGrid multiple selection without CNTL key
What do you mean not intuitive?!? That is how the built in HTML selection list works. --- In flexcoders@yahoogroups.com, Frank [EMAIL PROTECTED] wrote: Is it possible to modify the behavior of the DataGrid so that user can make multiple selections without holding down the CNTL key? I'm converting an Ajax app to Flex, and the HTML component I am replacing does not require the holding down of the control key to make multiple selections. It's not intuitive to force the user to hold down the CNTL key to make multiple selections, specially when you are coming from a HTML web app. Or should I be using another component? Frank
Re: [flexcoders] Apollo (Should Adobe Keep the Name)
On 3/18/07, Weyert de Boer [EMAIL PROTECTED] wrote: Any chance you could send me picture of the Apollo logo? yours, weyert -- Brendan Meutzner Stretch Media - RIA Adobe Flex Development [EMAIL PROTECTED] http://www.stretchmedia.ca apollo.PNG Description: PNG image
[flexcoders] FMS streams, need an flv file?
Hopefully an easy question. Is it standard/normal/typical that a stream from a Flash Media Server would have a .flv file in it's url? does that matter? I'm having trouble with a VideoDisplay.source when there's no .flv in the path. -- John Wilker Vice President Software Development/Writer Red Omega Solutions, Inc. www.johnwilker.com / www.red-omega.com Everything changes, nothing remains without change. ~Buddha c.483 bc
[flexcoders] mask/clip dragged proxy image
i can't for the life of me figure out how to mask/clip a dragged proxy image (done via DragManager) to a Canvas. dragging works plenty fine except the dragged image can be dragged off the Canvas (it can't be dropped though) which is kind of annoying. i've tried adding masks to the original Image (which has no effect) as well as to the proxy image, which works except that you can't drop the image anywhere. i think i have some kind of misconception about when/where to place a mask or simply you can't mask/clip a proxy image. any guidance is most welcome. thanks.
Re: [flexcoders] mask/clip dragged proxy image
You'd need to apply the mask at the system manage level, or pop up manager because its controlling the display of the proxy image. Not sure how, but that's a place to explore... Troy. On 18 Mar 2007 19:46:49 -0700, Paul Hastings [EMAIL PROTECTED] wrote: i can't for the life of me figure out how to mask/clip a dragged proxy image (done via DragManager) to a Canvas. dragging works plenty fine except the dragged image can be dragged off the Canvas (it can't be dropped though) which is kind of annoying. i've tried adding masks to the original Image (which has no effect) as well as to the proxy image, which works except that you can't drop the image anywhere. i think i have some kind of misconception about when/where to place a mask or simply you can't mask/clip a proxy image. any guidance is most welcome. thanks.
Re: [flexcoders] Browser Print - Print Preview for Flex apps
Hi, You can use the PrintJob or FlexPrintJob API to allow printing. It's good to provide print button in your application. I am not sure, Flash Player has hooks for Print command from browser. I would love to see that in future version of Flash Player. Probably, hook for text-size from Browser etc. -abdul On 16 Mar 2007 19:49:02 -0700, mjharris73 [EMAIL PROTECTED] wrote: We are developing a flex webapp -- ie, an HTML page containing only a swf file. While running our app, if the user selects the Browser's File | Print Preview option, all you see is the blank (parent) HTML page. The current status of the SWF is not displayed. Is there a way to print the current page in the Flex app?
Re: [flexcoders] mask/clip dragged proxy image
On 3/19/07, Troy Gilbert [EMAIL PROTECTED] wrote: You'd need to apply the mask at the system manage level, or pop up manager because its controlling the display of the proxy image. Not sure how, but that's a place to explore... thanks. looking at SystemManager all i can see is getSWFRoot() method. using that to get a DisplayObject for the drag proxy mask that works except it masks everything else in the app out still can't drop the dragged image. i think i probably still have some kind of misconception on how this should work. though it seems like doDrag() needs a clip/mask parameter.
RE: [flexcoders] Re: Passing different dataFields to the same itemRenderer component
?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; horizontalAlign=center verticalAlign=middle width=16 height=16 implements=mx.controls.listClasses.IDropInListItemRenderer mx:Script ![CDATA[ import mx.controls.listClasses.IDropInListItemRenderer; import mx.controls.listClasses.BaseListData; import mx.controls.dataGridClasses.DataGridListData; import mx.controls.DataGrid; [Bindable] private var source:String; private var _listData:BaseListData; public function get listData():BaseListData { return _listData; } public function set listData(value:BaseListData):void { _listData = value; invalidateProperties(); } override protected function commitProperties():void { super.commitProperties(); if (_listData is DataGridListData) { var dgld:DataGridListData = _listData as DataGridListData; source = data[DataGrid(dgld.owner).columns[dgld.columnIndex].dataField]; } } ]] /mx:Script mx:Image source={source}/ /mx:VBox From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of missgiggygirl Sent: Saturday, March 17, 2007 10:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Passing different dataFields to the same itemRenderer component You need to implement IDropInListItemRenderer (and the listData property). The listData will give you the column that owns you. Wow, that IDropInListItemRenderer opens up a real can of worms. I can't believe that something simple like what I want to do can get so difficult all of a sudden. I am new to Flex, and have spent a couple hours reading through IDropInListItemRenderer threads and google articles and it is: 1. beyond my level of understanding 2. too fragmented; too few complete examples Anyway, you live and learn... Thanks for pointing me in the right direction. -- Ann
RE: [flexcoders] mask/clip dragged proxy image
We generally don't have ways to constrain the mouse position. Instead, the can't drop here cursor shows up except over the droptarget. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Hastings Sent: Sunday, March 18, 2007 8:23 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] mask/clip dragged proxy image On 3/19/07, Troy Gilbert [EMAIL PROTECTED] mailto:troy.gilbert%40gmail.com wrote: You'd need to apply the mask at the system manage level, or pop up manager because its controlling the display of the proxy image. Not sure how, but that's a place to explore... thanks. looking at SystemManager all i can see is getSWFRoot() method. using that to get a DisplayObject for the drag proxy mask that works except it masks everything else in the app out still can't drop the dragged image. i think i probably still have some kind of misconception on how this should work. though it seems like doDrag() needs a clip/mask parameter.
RE: [flexcoders] Re: DataGrid multiple selection without CNTL key
I suppose you could subclass DG and override selectItem(). -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul DeCoursey Sent: Sunday, March 18, 2007 6:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGrid multiple selection without CNTL key What do you mean not intuitive?!? That is how the built in HTML selection list works. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Frank [EMAIL PROTECTED] wrote: Is it possible to modify the behavior of the DataGrid so that user can make multiple selections without holding down the CNTL key? I'm converting an Ajax app to Flex, and the HTML component I am replacing does not require the holding down of the control key to make multiple selections. It's not intuitive to force the user to hold down the CNTL key to make multiple selections, specially when you are coming from a HTML web app. Or should I be using another component? Frank
[flexcoders] generated html wraper to pass args to swf?
I can pass pam to swt using some.swf?arg=23?arg2=3 and that works. but if some.swf is wraped in html (and it has to be in my case), how do i edit the generated html to pass that arg? ex some.html?arg=23?arg2=3 passed to the swf? tia, .V
RE: [flexcoders] Some optimalization questions
When a single property changes, the list is marked dirty and all visible items will be redrawn on the next frame. Seems like we should be smarter about this, but we do it this way because we don't want to assume a property only affects one item. It could affect some other item via labelFunction or some other code. Anyway, any other updates before the next frame essentially have no cost, so the only real factor is how much is visible. You can probably subclass DG, catch collection events and block them if you want to optimize further. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislaw Fiedor Sent: Saturday, March 17, 2007 2:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Some optimalization questions Hi! I've got some optimalization questions. What happens when a single property of the dataprovider of a List changes? Is the whole List and all its rows being redrawn or does it happen only to the row corresponding to the dataprovider item? What is the best 'CPUfriendly' practice when I have to update my List dataprovider quite often and it has got many items? stf
[flexcoders] Re: DataGrid multiple selection without CNTL key
Sorry, I did not want to get into a religious war ;-) It's just that my current app does not need the ctrl key to be pressed and there is no training involved if you do not have to teach people to hold down the control key. Frank --- In flexcoders@yahoogroups.com, Paul DeCoursey [EMAIL PROTECTED] wrote: What do you mean not intuitive?!? That is how the built in HTML selection list works. --- In flexcoders@yahoogroups.com, Frank bayamos@ wrote: Is it possible to modify the behavior of the DataGrid so that user can make multiple selections without holding down the CNTL key? I'm converting an Ajax app to Flex, and the HTML component I am replacing does not require the holding down of the control key to make multiple selections. It's not intuitive to force the user to hold down the CNTL key to make multiple selections, specially when you are coming from a HTML web app. Or should I be using another component? Frank
[flexcoders] Apollo Now Live on Labs | http://labs.adobe.com/technologies/apollo/
http://labs.adobe.com/technologies/apollo/
[flexcoders] question about drag drop support in list-based component
Hello! ...I developed a custom component named SwapList...to enable the user to select a set of data from List dragging and dropping it to another List. Knowing the flex drag drop support in list-based component...It seems very simple...and easy to implement...but I have a problem...if I put more SwapList component in a form...the user can drag a drop items from every List of the from to every List of the form!! and I don't find any work around to avoid nonsense drag and drop!:-( are there any control which can be performed? or have I to implement all the drag and drop support manually? ...thanks for the help! ...pratical description: the code of my component: SwapList.mxml ?xml version=1.0 encoding=utf-8? mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml; width=100% mx:Script ![CDATA[ import mx.events.DragEvent; import mx.managers.DragManager; import mx.core.UIComponent; import mx.core.DragSource; [Bindable] public var _dataProvider: Object; [Bindable] public var _labelField: String; [Inspectable(defaultValue=null)] public function set dataProvider(dataProvider:Object):void { _dataProvider = dataProvider; } [Inspectable(defaultValue=)] public function set labelField(labelField: String):void { _labelField = labelField; _labelField = labelField; } ]] /mx:Script mx:List width=300 id=listFrom dragEnter=onDragEnter(event) dataProvider={_dataProvider} labelField={_labelField} dropEnabled=true dragMoveEnabled=true dragEnabled=true height=74/mx:List mx:List width=300 id=listTo dragEnter=onDragEnter(event) labelField={_labelField} dropEnabled=true dragEnabled=true dragMoveEnabled=true height=74/mx:List /mx:HBox this component can be used in a form...as done in the following extract of code (more SwapList in a form): ... mx:Form width=100% height=100% mx:FormItem label=Set of fruit: width=100% components:SwapList id=FruitSelecton dataProvider={fruits} labelField=descr/ /mx:FormItem mx:FormItem label=Set of car: width=100% components:SwapList id=CarSelection dataProvider={cars} labelField=dsecr/ /mx:FormItem /mx:Form ... ...in this example user can drag a car from a List of available car (in the SwapList CarSelection) and drop it in the List of selected fruits! (in the SwapList FruitSelection) :-((( and my objective is avoid this kind of selection (using some event to know if the dragged item comes from the same instance of swaplist component e.g.) THANKS SALUTI Lorenzo
[flexcoders] ComboBox URLs
I hope someone can help. I have a ComboBox that has a list of options. When an option is selected, I would like a corresponding XML file to be loaded. I assume I have to declare a string variable to assign the URL. The ComboBox dataProvider is hard-coded with an mx:Array, but I'm stuck on how to assign the URL from the option selected. I appreciate any help I can get. I'm familiar with how to load the data with HTTPService. Thanks in advance...
[flexcoders] Re: DataGrid multiple selection without CNTL key
Wow, I spent days hacking a solution that was not pretty. I guess I did not look at the source as carefully as I should have. Your solution works! Just 1 line of code, calling the super method setting ctrl to true. Thank you, Paul. P.S., I'm writing some unique controls to mimick the functionality of my HTML ajax controls and I plan on contributing them to open source. This forum is great. Frank --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I suppose you could subclass DG and override selectItem(). -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul DeCoursey Sent: Sunday, March 18, 2007 6:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGrid multiple selection without CNTL key What do you mean not intuitive?!? That is how the built in HTML selection list works. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Frank bayamos@ wrote: Is it possible to modify the behavior of the DataGrid so that user can make multiple selections without holding down the CNTL key? I'm converting an Ajax app to Flex, and the HTML component I am replacing does not require the holding down of the control key to make multiple selections. It's not intuitive to force the user to hold down the CNTL key to make multiple selections, specially when you are coming from a HTML web app. Or should I be using another component? Frank
Re: [flexcoders] Apollo Now Live on Labs | http://labs.adobe.com/technologies/apollo/
oh yeah boy! On 19/03/2007, at 3:54 PM, greg h wrote: http://labs.adobe.com/technologies/apollo/
RE: [flexcoders] Apollo Now Live on Labs | http://labs.adobe.com/technologies/apollo/
give it a few hours before you start commenting on broken links, they're still working out some kinks :-) but have fun! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Sunday, March 18, 2007 10:31 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Apollo Now Live on Labs | http://labs.adobe.com/technologies/apollo/ oh yeah boy! On 19/03/2007, at 3:54 PM, greg h wrote: http://labs.adobe.com/technologies/apollo/ http://labs.adobe.com/technologies/apollo/
Re: [flexcoders] Apollo Now Live on Labs | http://labs.adobe.com/technologies/apollo/
And don't forget that both Mike Downey and Mike Chambers are presenting an Apollo opening keynote at webDU here in Sydney on Thursday so if you're in Australia and wavering perhaps now is the time to book those tickets... On 18 Mar 2007 22:32:26 -0700, Matt Chotin [EMAIL PROTECTED] wrote: give it a few hours before you start commenting on broken links, they're still working out some kinks :-) but have fun! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Sunday, March 18, 2007 10:31 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Apollo Now Live on Labs | http://labs.adobe.com/technologies/apollo/ oh yeah boy! On 19/03/2007, at 3:54 PM, greg h wrote: http://labs.adobe.com/technologies/apollo/ -- --- Andrew Muller http://www.webqem.com
RE: [flexcoders] question about drag drop support in list-based component
The droptarget lists will receive DRAG_ENTER, DRAG_OVER, and DRAG_EXIT events. The DragEvent passed in contains a dragInitiator property which points to the source of the drag. You should implement handlers for these events, and if the source is not the right one, call DragManager.showFeedback(DragManager.NONE) and preventDefault() on the event object. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lruinelli Sent: Sunday, March 18, 2007 11:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] question about drag drop support in list-based component Hello! ...I developed a custom component named SwapList...to enable the user to select a set of data from List dragging and dropping it to another List. Knowing the flex drag drop support in list-based component...It seems very simple...and easy to implement...but I have a problem...if I put more SwapList component in a form...the user can drag a drop items from every List of the from to every List of the form!! and I don't find any work around to avoid nonsense drag and drop!:-( are there any control which can be performed? or have I to implement all the drag and drop support manually? ...thanks for the help! ...pratical description: the code of my component: SwapList.mxml ?xml version=1.0 encoding=utf-8? mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml width=100% mx:Script ![CDATA[ import mx.events.DragEvent; import mx.managers.DragManager; import mx.core.UIComponent; import mx.core.DragSource; [Bindable] public var _dataProvider: Object; [Bindable] public var _labelField: String; [Inspectable(defaultValue=null)] public function set dataProvider(dataProvider:Object):void { _dataProvider = dataProvider; } [Inspectable(defaultValue=)] public function set labelField(labelField: String):void { _labelField = labelField; _labelField = labelField; } ]] /mx:Script mx:List width=300 id=listFrom dragEnter=onDragEnter(event) dataProvider={_dataProvider} labelField={_labelField} dropEnabled=true dragMoveEnabled=true dragEnabled=true height=74/mx:List mx:List width=300 id=listTo dragEnter=onDragEnter(event) labelField={_labelField} dropEnabled=true dragEnabled=true dragMoveEnabled=true height=74/mx:List /mx:HBox this component can be used in a form...as done in the following extract of code (more SwapList in a form): ... mx:Form width=100% height=100% mx:FormItem label=Set of fruit: width=100% components:SwapList id=FruitSelecton dataProvider={fruits} labelField=descr/ /mx:FormItem mx:FormItem label=Set of car: width=100% components:SwapList id=CarSelection dataProvider={cars} labelField=dsecr/ /mx:FormItem /mx:Form ... ...in this example user can drag a car from a List of available car (in the SwapList CarSelection) and drop it in the List of selected fruits! (in the SwapList FruitSelection) :-((( and my objective is avoid this kind of selection (using some event to know if the dragged item comes from the same instance of swaplist component e.g.) THANKS SALUTI Lorenzo
RE: [flexcoders] ComboBox URLs
Assuming you know the mapping of combobox items to URLs, you can populate the array as follows: mx:Array mx:Object label=choice 1 url=http://a.b.com/url1; / mx:Object label=choice 2 url=http://a.b.com/url2; / mx:Object label=choice 3 url=http://a.b.com/url3; / /mx:Array The combo box will display choice 1, choice 2, or choice3. When an option is selected, selectedItem.url is the url. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danj520 Sent: Sunday, March 18, 2007 10:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ComboBox URLs I hope someone can help. I have a ComboBox that has a list of options. When an option is selected, I would like a corresponding XML file to be loaded. I assume I have to declare a string variable to assign the URL. The ComboBox dataProvider is hard-coded with an mx:Array, but I'm stuck on how to assign the URL from the option selected. I appreciate any help I can get. I'm familiar with how to load the data with HTTPService. Thanks in advance...
[flexcoders] Re: ComboBox URLs
Thank you Alex, you are the man... --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Assuming you know the mapping of combobox items to URLs, you can populate the array as follows: mx:Array mx:Object label=choice 1 url=http://a.b.com/url1; / mx:Object label=choice 2 url=http://a.b.com/url2; / mx:Object label=choice 3 url=http://a.b.com/url3; / /mx:Array The combo box will display choice 1, choice 2, or choice3. When an option is selected, selectedItem.url is the url. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danj520 Sent: Sunday, March 18, 2007 10:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ComboBox URLs I hope someone can help. I have a ComboBox that has a list of options. When an option is selected, I would like a corresponding XML file to be loaded. I assume I have to declare a string variable to assign the URL. The ComboBox dataProvider is hard-coded with an mx:Array, but I'm stuck on how to assign the URL from the option selected. I appreciate any help I can get. I'm familiar with how to load the data with HTTPService. Thanks in advance...
[flexcoders] Re: ComboBox URLs
I tried this, but I'm not sure it will work as you suggested. Here's what I have for populating the ComboBox and the change event. mx:ComboBox id=appName styleName=glass width=161 change=dispatchFilter(); mx:dataProvider mx:Array mx:StringAll/mx:String mx:StringCellular Mobile/mx:String mx:String12.5V HF SSB/mx:String mx:String28V HF SSB/mx:String mx:String50V HF SSB/mx:String mx:StringCellular Base Station/mx:String /mx:Array /mx:dataProvider /mx:ComboBox private function dispatchFilter():void { var event:ProductFilterEvent = new ProductFilterEvent(filter, thumbBeingPressed); dispatchEvent(event); currentState = showingThumbnails; } If I choose any option, the dispatchFilter function will filter the data based on the option criteria, and it's not what I want, what I want is the URL defined for the HTTPService so I can load a new XML file on the fly. What I think I need is a different change= function to do that. Hopefully, this is not too confusing. Thank you again kindly for your time. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Assuming you know the mapping of combobox items to URLs, you can populate the array as follows: mx:Array mx:Object label=choice 1 url=http://a.b.com/url1; / mx:Object label=choice 2 url=http://a.b.com/url2; / mx:Object label=choice 3 url=http://a.b.com/url3; / /mx:Array The combo box will display choice 1, choice 2, or choice3. When an option is selected, selectedItem.url is the url. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danj520 Sent: Sunday, March 18, 2007 10:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ComboBox URLs I hope someone can help. I have a ComboBox that has a list of options. When an option is selected, I would like a corresponding XML file to be loaded. I assume I have to declare a string variable to assign the URL. The ComboBox dataProvider is hard-coded with an mx:Array, but I'm stuck on how to assign the URL from the option selected. I appreciate any help I can get. I'm familiar with how to load the data with HTTPService. Thanks in advance...
Re: [flexcoders] Apollo Now Live on Labs | http://labs.adobe.com/technologies/apollo/
Hi, It is surely a great news.I am downloading it and great days ahead. Lets make some cool apps My take is hardly anybody at this point of time can realize the way app developement is going to take shape. thanks Andrew Muller [EMAIL PROTECTED] wrote: And don't forget that both Mike Downey and Mike Chambers are presenting an Apollo opening keynote at webDU here in Sydney on Thursday so if you're in Australia and wavering perhaps now is the time to book those tickets... On 18 Mar 2007 22:32:26 -0700, Matt Chotin [EMAIL PROTECTED] wrote: give it a few hours before you start commenting on broken links, they're still working out some kinks :-) but have fun! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Sunday, March 18, 2007 10:31 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Apollo Now Live on Labs | http://labs.adobe.com/technologies/apollo/ oh yeah boy! On 19/03/2007, at 3:54 PM, greg h wrote: http://labs.adobe.com/technologies/apollo/ -- -- Andrew Muller http://www.webqem.com - TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV.
RE: [flexcoders] Re: ComboBox URLs
I would expect you would set it up something like this: mx:ComboBox id=appName styleName=glass width=161 change=dispatchFilter(); mx:dataProvider mx:Array mx:Object label=All url=http://a.b.com/somehttpservice?filter=all; / mx:Object label=Cellular Mobile url=http://a.b.com/somehttpservice?filter=cellularmobile; / ... /mx:Array /mx:dataProvider /mx:ComboBox private function dispatchFilter():void { trace(appName.selectedItem.url); // use this url to fetch the XML } From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danj520 Sent: Sunday, March 18, 2007 11:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox URLs I tried this, but I'm not sure it will work as you suggested. Here's what I have for populating the ComboBox and the change event. mx:ComboBox id=appName styleName=glass width=161 change=dispatchFilter(); mx:dataProvider mx:Array mx:StringAll/mx:String mx:StringCellular Mobile/mx:String mx:String12.5V HF SSB/mx:String mx:String28V HF SSB/mx:String mx:String50V HF SSB/mx:String mx:StringCellular Base Station/mx:String /mx:Array /mx:dataProvider /mx:ComboBox private function dispatchFilter():void { var event:ProductFilterEvent = new ProductFilterEvent(filter, thumbBeingPressed); dispatchEvent(event); currentState = showingThumbnails; } If I choose any option, the dispatchFilter function will filter the data based on the option criteria, and it's not what I want, what I want is the URL defined for the HTTPService so I can load a new XML file on the fly. What I think I need is a different change= function to do that. Hopefully, this is not too confusing. Thank you again kindly for your time. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: Assuming you know the mapping of combobox items to URLs, you can populate the array as follows: mx:Array mx:Object label=choice 1 url=http://a.b.com/url1 http://a.b.com/url1 / mx:Object label=choice 2 url=http://a.b.com/url2 http://a.b.com/url2 / mx:Object label=choice 3 url=http://a.b.com/url3 http://a.b.com/url3 / /mx:Array The combo box will display choice 1, choice 2, or choice3. When an option is selected, selectedItem.url is the url. -Alex From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of danj520 Sent: Sunday, March 18, 2007 10:05 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] ComboBox URLs I hope someone can help. I have a ComboBox that has a list of options. When an option is selected, I would like a corresponding XML file to be loaded. I assume I have to declare a string variable to assign the URL. The ComboBox dataProvider is hard-coded with an mx:Array, but I'm stuck on how to assign the URL from the option selected. I appreciate any help I can get. I'm familiar with how to load the data with HTTPService. Thanks in advance...
[flexcoders] My First Apollo App...fubar
OK, So i grabbed the Apollo alpha runtime, and installed the Apollo extension for FB 2.0.1 on my Mac and went to try out the spiffy article on labs: http://labs.adobe.com/wiki/index.php/ Apollo:Articles:Building_Your_First_Flex-based_Apollo_Application But it seems something is fubar'd at the first step when I try to debug the HTTPService call to the MXNA feed I get the following error: [RPC Fault faultString=HTTP request error faultCode=Server.Error.Request fau ltDetail=Error: [IOErrorEvent type=ioError bubbles=false cancelable=false eve ntPhase=2 text=Error #2032: Stream Error. URL: feed:// weblogs.macromedia.com/mx na/xml/rss.cfm?query=byMostRecent errorID=2032]. URL: feed:// weblogs.macromedia .com/mxna/xml/rss.cfm?query=byMostRecent] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/ internal::faultHan dler()[C:\dev\enterprise_bali\frameworks\mx\rpc\AbstractInvoker.as:193] at mx.rpc::Responder/fault()[C:\dev\enterprise_bali\frameworks\mx\rpc \Responder .as:56] at mx.rpc::AsyncRequest/fault()[C:\dev\enterprise_bali\frameworks\mx \rpc\AsyncR equest.as:107] at DirectHTTPChannel.as$139::DirectHTTPMessageResponder/errorHandler ()[C:\dev\e nterprise_bali\frameworks\mx\messaging\channels\DirectHTTPChannel.as: 323] at flash.events::EventDispatcher/ flash.events:EventDispatcher::dispatchEventFun ction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::redirectEvent() I've even tried cutting and pasting the code and removing the 'languages=1' argument, i've tried cleaning and rebuilding and relaunching FB but no luck so far. I seem to get the 2032 Stream Error if I call any feed:// address. However, if i replace the feed with say an address used in the Flex 2:TFTS book in a HTTPService call and debug it works just fine. Any thoughts, or other people with this issue?
Re: [flexcoders] My First Apollo App...fubar
Bugger You got me there Brett, somewhere between writing the article and testing the code I left that in, without a doubt it should have been http instead of feed, I've just fixed that naughty bit of code on the article. Many thanks. Andrew On 18 Mar 2007 23:37:39 -0700, Brett [EMAIL PROTECTED] wrote: OK, So i grabbed the Apollo alpha runtime, and installed the Apollo extension for FB 2.0.1 on my Mac and went to try out the spiffy article on labs: http://labs.adobe.com/wiki/index.php/Apollo:Articles:Building_Your_First_Flex-based_Apollo_Application But it seems something is fubar'd at the first step when I try to debug the HTTPService call to the MXNA feed I get the following error: [RPC Fault faultString=HTTP request error faultCode=Server.Error.Request fau ltDetail=Error: [IOErrorEvent type=ioError bubbles=false cancelable=false eve ntPhase=2 text=Error #2032: Stream Error. URL: feed://weblogs.macromedia.com/mx na/xml/rss.cfm?query=byMostRecent errorID=2032]. URL: feed://weblogs.macromedia .com/mxna/xml/rss.cfm?query=byMostRecent] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHan dler()[C:\dev\enterprise_bali\frameworks\mx\rpc\AbstractInvoker.as:193] at mx.rpc::Responder/fault()[C:\dev\enterprise_bali\frameworks\mx\rpc\Responder .as:56] at mx.rpc::AsyncRequest/fault()[C:\dev\enterprise_bali\frameworks\mx\rpc\AsyncR equest.as:107] at DirectHTTPChannel.as$139::DirectHTTPMessageResponder/errorHandler()[C:\dev\e nterprise_bali\frameworks\mx\messaging\channels\DirectHTTPChannel.as:323] at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFun ction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::redirectEvent() I've even tried cutting and pasting the code and removing the 'languages=1' argument, i've tried cleaning and rebuilding and relaunching FB but no luck so far. I seem to get the 2032 Stream Error if I call any feed:// address. However, if i replace the feed with say an address used in the Flex 2:TFTS book in a HTTPService call and debug it works just fine. Any thoughts, or other people with this issue? -- --- Andrew Muller http://www.webqem.com
Re: [flexcoders] My First Apollo App...fubar
The good news is that the sample code is correct ;-) On 19/03/07, Andrew Muller [EMAIL PROTECTED] wrote: Bugger You got me there Brett, somewhere between writing the article and testing the code I left that in, without a doubt it should have been http instead of feed, I've just fixed that naughty bit of code on the article. Many thanks. Andrew On 18 Mar 2007 23:37:39 -0700, Brett [EMAIL PROTECTED] wrote: OK, So i grabbed the Apollo alpha runtime, and installed the Apollo extension for FB 2.0.1 on my Mac and went to try out the spiffy article on labs: http://labs.adobe.com/wiki/index.php/Apollo:Articles:Building_Your_First_Flex-based_Apollo_Application But it seems something is fubar'd at the first step when I try to debug the HTTPService call to the MXNA feed I get the following error: [RPC Fault faultString=HTTP request error faultCode=Server.Error.Request fau ltDetail=Error: [IOErrorEvent type=ioError bubbles=false cancelable=false eve ntPhase=2 text=Error #2032: Stream Error. URL: feed://weblogs.macromedia.com/mx na/xml/rss.cfm?query=byMostRecent errorID=2032]. URL: feed://weblogs.macromedia .com/mxna/xml/rss.cfm?query=byMostRecent] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHan dler()[C:\dev\enterprise_bali\frameworks\mx\rpc\AbstractInvoker.as:193] at mx.rpc::Responder/fault()[C:\dev\enterprise_bali\frameworks\mx\rpc\Responder .as:56] at mx.rpc::AsyncRequest/fault()[C:\dev\enterprise_bali\frameworks\mx\rpc\AsyncR equest.as:107] at DirectHTTPChannel.as$139::DirectHTTPMessageResponder/errorHandler()[C:\dev\e nterprise_bali\frameworks\mx\messaging\channels\DirectHTTPChannel.as:323] at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFun ction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::redirectEvent() I've even tried cutting and pasting the code and removing the 'languages=1' argument, i've tried cleaning and rebuilding and relaunching FB but no luck so far. I seem to get the 2032 Stream Error if I call any feed:// address. However, if i replace the feed with say an address used in the Flex 2:TFTS book in a HTTPService call and debug it works just fine. Any thoughts, or other people with this issue? -- --- Andrew Muller http://www.webqem.com -- --- Andrew Muller http://www.webqem.com
Re: [flexcoders] My First Apollo App...fubar
Andrew, Ahh thanks for the reply, works great now. I can continue on your article now, even though its 1am :)