[flexcoders] Passing XMLListCollection to .NET
Hi FlexCoders, Been quite a while. Had been busy with a lot of things other than Flex. Anyway, I want to pass an XMLListCollection to a .NET web service. What type of variable should I assign it to in .NET? I am thinking of ArrayList but it seems it does not match properly. Thanks and regards. Angelo
[flexcoders] this group isn't very good
Sorry for the provocative message title. The contents of the group, and the people who are exchanging information, are fine. Yahoo Groups aren't very good. Information is organized poorly, and Search doesn't work. I searched for a message I sent last week and it wasn't found. Searching for my name turns up some messages I sent several months ago but no recent ones. Google Groups work much better than Yahoo Groups. Information is easier to find, and search works. I wish this group were hosted on Google instead of Yahoo.
Re: [flexcoders] this group isn't very good
I agree with you. Sometimes the same search that I make in Yahoo does not return what I expect, but when I search it in my gmail, it does. Google Groups is really better than Yahoo. =/ Regards On Mon, Aug 3, 2009 at 9:14 AM, mitchgrrt mitch_g...@hotmail.com wrote: Sorry for the provocative message title. The contents of the group, and the people who are exchanging information, are fine. Yahoo Groups aren't very good. Information is organized poorly, and Search doesn't work. I searched for a message I sent last week and it wasn't found. Searching for my name turns up some messages I sent several months ago but no recent ones. Google Groups work much better than Yahoo Groups. Information is easier to find, and search works. I wish this group were hosted on Google instead of Yahoo. -- /** * Pedro Sena * Systems Architect * Sun Certified Java Programmer * Sun Certified Web Component Developer */
RE: [flexcoders] this group isn't very good
Can I suggest the searchcoders app? http://labs.searchcoders.com/dashboard/demo/ Makes searching through the archives much easier. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/ The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact is.helpd...@inps.co.uk From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Pedro Sena Sent: 03 August 2009 13:18 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] this group isn't very good I agree with you. Sometimes the same search that I make in Yahoo does not return what I expect, but when I search it in my gmail, it does. Google Groups is really better than Yahoo. =/ Regards
Re: [flexcoders] this group isn't very good
Moving to Google groups would be a great idea... 2009/8/3 Gregor Kiddie gkid...@inpses.co.uk Can I suggest the searchcoders app? http://labs.searchcoders.com/dashboard/demo/ Makes searching through the archives much easier. Gk. *Gregor Kiddie* Senior Developer *INPS* Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact is.helpd...@inps.co.uk -- *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Pedro Sena *Sent:* 03 August 2009 13:18 *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] this group isn't very good I agree with you. Sometimes the same search that I make in Yahoo does not return what I expect, but when I search it in my gmail, it does. Google Groups is really better than Yahoo. =/ Regards
[flexcoders] Browser cache problem
Hi Any one know how to remove the browser cache using flex? Thanks to Advance
Re: [flexcoders] this group isn't very good
For heaven's sake don't fork the community, just use Google to search the group. Put use the following line in your search terms: site:tech.groups.yahoo.com inurl:flexcoders -- Howard Fore, howard.f...@hofo.com The worthwhile problems are the ones you can really solve or help solve, the ones you can really contribute something to. ... No problem is too small or too trivial if we can really do something about it. - Richard P. Feynman On Mon, Aug 3, 2009 at 8:14 AM, mitchgrrt mitch_g...@hotmail.com wrote: Sorry for the provocative message title. The contents of the group, and the people who are exchanging information, are fine. Yahoo Groups aren't very good. Information is organized poorly, and Search doesn't work. I searched for a message I sent last week and it wasn't found. Searching for my name turns up some messages I sent several months ago but no recent ones. Google Groups work much better than Yahoo Groups. Information is easier to find, and search works. I wish this group were hosted on Google instead of Yahoo. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] Re: Browser cache problem
http://tech.groups.yahoo.com/group/flexcoders/message/135077 --- In flexcoders@yahoogroups.com, yamunaeaswer yamunaeas...@... wrote: Hi Any one know how to remove the browser cache using flex? Thanks to Advance
[flexcoders] Unload several modules at the same time
Hi all,i want to ask.Suppose i got an application with several modules..Suppose i load the modules,then i want to unload them at the same time,is it possible?Also if i put a close button within the modules,what code should i put?Thanks a lot... ^_^
Re: [flexcoders] this group isn't very good
Or use: http://www.mail-archive.com/flexcoders@yahoogroups.com/ - Original Message - From: Howard Fore howard.f...@hofo.com To: flexcoders@yahoogroups.com Sent: Monday, August 03, 2009 2:59 PM Subject: Re: [flexcoders] this group isn't very good For heaven's sake don't fork the community, just use Google to search the group. Put use the following line in your search terms: site:tech.groups.yahoo.com inurl:flexcoders -- Howard Fore, howard.f...@hofo.com The worthwhile problems are the ones you can really solve or help solve, the ones you can really contribute something to. ... No problem is too small or too trivial if we can really do something about it. - Richard P. Feynman On Mon, Aug 3, 2009 at 8:14 AM, mitchgrrt mitch_g...@hotmail.com wrote: Sorry for the provocative message title. The contents of the group, and the people who are exchanging information, are fine. Yahoo Groups aren't very good. Information is organized poorly, and Search doesn't work. I searched for a message I sent last week and it wasn't found. Searching for my name turns up some messages I sent several months ago but no recent ones. Google Groups work much better than Yahoo Groups. Information is easier to find, and search works. I wish this group were hosted on Google instead of Yahoo.
[flexcoders] Trying to build slideshow functionality with wipe effects.
Hello All, I've built a slideshow feature in our application. One of the requirements was that the images transition to the next with a nice wipe/slide effect. I built up two solutions, both with drawbacks: 1) Used a view stack, added a repeater that added a VBox and Image for each photo to display. I was able to get the appropriate slide/scrolling effect to work by attaching show and hide effects on a VBox that contained the image. This worked really well when there was 10 imgeas. However, when I loaded 200 images...ouch memory management nightmare up to 1 gig of memory being used before crashing. Next solution, I tried something simpler: 2) Used a HorizontalList component and built some code to scroll through all the images. This worked much better from a memory management perspective, however, I've LOST the ability to have the transitions of sliding from one image to the next. My questions: 1) Has anyone seen any code that uses the List (HorizontalList) components for sliding/moving images into the main view area? How do you get the effects to work with moving the itemRenderers around (this doesn't seem possible?) 2) Anyone tried writing a component where there's a main view area, and an area to the left and right where you buffer images off screen for the sake of wiping/sliding them in? Then when you move to the next image, the main image slides left, the left (off-screen image container) is then moved to the right, and he the right image slides into the middle. This is a sort of recycling of components. Seems like a lot of work and would be prone to bugs. I'm open for any other ideas on making a slideshow with these sliding/scrolling transitions. Thanks for any suggestions.
Re: [flexcoders] need help to print text file available on server
I would look at Merapi (http://www.merapiproject.net/) and/or Alchemy (http://labs.adobe.com/technologies/alchemy/ ) If the LAN printer has code available to print, Alchemy may be your best bet. HTH Steve On Aug 2, 2009, at 3:40 AM, raja_s_patil wrote: Hi, If a text file is created on server through PHP Can Flex application print it directly on client's LAN printer ? If yes HOW ? Can it print that in Fast DMP mode i.e. raw text printing to dot matrix printers ? if not what alternative can be used ? I am able to download it from server and save locally or show it in another browser window/tab. The user wants it to be printed directly from flex application in fast DMP mode rather than using DOS commands like copy filename.txt lpt1: cr or any other local GUI program which can put raw output to windows print queue but that is not acceptable. Thanks and best regards. Raja
Re: [flexcoders] this group isn't very good
I agree with you. Yahoo only seems to update their search database after a few months. Whenever I need to search the group, I use Nabble (http://www.nabble.com/FlexCoders-f16212.html ). They are extremely up to date. On Aug 3, 2009, at 8:14 AM, mitchgrrt wrote: Sorry for the provocative message title. The contents of the group, and the people who are exchanging information, are fine. Yahoo Groups aren't very good. Information is organized poorly, and Search doesn't work. I searched for a message I sent last week and it wasn't found. Searching for my name turns up some messages I sent several months ago but no recent ones. Google Groups work much better than Yahoo Groups. Information is easier to find, and search works. I wish this group were hosted on Google instead of Yahoo.
[flexcoders] Re: Unload several modules at the same time
http://livedocs.adobe.com/flex/3/html/help.html?content=modular_3.html --- In flexcoders@yahoogroups.com, yonghan79 yongha...@... wrote: Hi all,i want to ask.Suppose i got an application with several modules..Suppose i load the modules,then i want to unload them at the same time,is it possible?Also if i put a close button within the modules,what code should i put?Thanks a lot... ^_^
[flexcoders] Re: Trying to build slideshow functionality with wipe effects.
Have you seen this example slideshow by Adobe? http://examples.adobe.com/flex2/inproduct/sdk/photoviewer/PhotoViewer.html --- In flexcoders@yahoogroups.com, Todd tpreka...@... wrote: Hello All, I've built a slideshow feature in our application. One of the requirements was that the images transition to the next with a nice wipe/slide effect. I built up two solutions, both with drawbacks: 1) Used a view stack, added a repeater that added a VBox and Image for each photo to display. I was able to get the appropriate slide/scrolling effect to work by attaching show and hide effects on a VBox that contained the image. This worked really well when there was 10 imgeas. However, when I loaded 200 images...ouch memory management nightmare up to 1 gig of memory being used before crashing. Next solution, I tried something simpler: 2) Used a HorizontalList component and built some code to scroll through all the images. This worked much better from a memory management perspective, however, I've LOST the ability to have the transitions of sliding from one image to the next. My questions: 1) Has anyone seen any code that uses the List (HorizontalList) components for sliding/moving images into the main view area? How do you get the effects to work with moving the itemRenderers around (this doesn't seem possible?) 2) Anyone tried writing a component where there's a main view area, and an area to the left and right where you buffer images off screen for the sake of wiping/sliding them in? Then when you move to the next image, the main image slides left, the left (off-screen image container) is then moved to the right, and he the right image slides into the middle. This is a sort of recycling of components. Seems like a lot of work and would be prone to bugs. I'm open for any other ideas on making a slideshow with these sliding/scrolling transitions. Thanks for any suggestions.
[flexcoders] Re: creation timing on panel component
Found my issue was a higher Viewstack causing 1009 error I've since now looked for creationpolicy to avoid this issue --- In flexcoders@yahoogroups.com, claudiu ursica the_bran...@... wrote: Hi did not go throgh your code but the problem is that you get your data on app creationComplete. By the time you have the data the poanel is not created yet. That is why you get the error. I don't know what are you trying to accomplish and why are you loading another swf in the main app. My suggestion is to restructure you code a little bit MVC style. Get the data into a model, put a variable currentPlanType and wit respect to that bind to you current selected plan. It will work with binding as you already said, because the bindings fire first when null and secionnd time after you get your data and have the component created. You keep duplicated code in createBreakfast , Luynch and dinner which is not OK. HTH, C From: Jason B nos...@... To: flexcoders@yahoogroups.com Sent: Saturday, August 1, 2009 10:07:02 PM Subject: [flexcoders] Re: creation timing on panel component I didnt include all the code I'll zip it up and email it to you. --- In flexcod...@yahoogro ups.com, claudiu ursica the_braniak@ ... wrote: From what I see here the button click does not make the call to the http service. The general rule of the thumb is aftter the service call you push the data into a model which usually updates the view via binding. I always parse data into array collections or other strong typed objects. Having the items into an array collection enables you to bind to it if you're using List based components in the view. However in your case yuou could listed to the collection change event and do your thing manually. Send me the code via email and I'll try to debug it. I cannot figure it out from what I see. I guess you make the call for the data and the result gets back before the creation complete venet fopr the panel fires. C _ _ __ From: Jason B nospam@ To: flexcod...@yahoogro ups.com Sent: Saturday, August 1, 2009 9:14:34 PM Subject: [flexcoders] Re: creation timing on panel component mx:Button label=Create Breakfast click=createBreakf ast()/ is in the main.mxml --- In flexcod...@yahoogro ups.com, claudiu ursica the_braniak@ ... wrote: when are you calling the service? C _ _ __ From: Jason B nospam@ To: flexcod...@yahoogro ups.com Sent: Saturday, August 1, 2009 5:51:26 PM Subject: [flexcoders] Re: creation timing on panel component Just so you know if I use this on the component it works fine mx:VBox nutrition:Panelcre atemeal id=pnlCreateBreakf ast meal={nutritionDat a.breakfast} / /mx:VBox --- In flexcod...@yahoogro ups.com, Jason B nospam@ wrote: Main.mxml -- [Bindable] private var nutritionData: XML; // create breakfast private function createBreakfast( ):void { vsMain.selectedInde x = 1; vsCreateMeals. selectedIndex = 0; plantype = 'Breakfast'; #1009 ERROR HERE BELOW ! pnlCreateBreakfast. meal = nutritionData. breakfast; } mx:HTTPService id=hsNutrition url=/main.php/ flexnutrition/ nutritioncal result=nutritionRe sultHandler( event) fault=nutritionFau ltHandler( event) resultFormat= e4x/ mx:VBox width=100% height=100% mx:ViewStack width=40% height=410 borderStyle= inset borderThickness= 2 id=vsCreateMeals mx:VBox nutrition:Panelcre atemeal id=pnlCreateBreakf ast / /mx:VBox - - - - - panelcreatemeal. mxml - ?xml version=1.0 encoding=utf- 8? borderThicknessLeft =0 borderThicknessRigh t=0 borderThicknessBott om=0 dropShadowEnabled= false horizontalAlign= center xmlns:containers= com.dougmccune. containers. * title=Select An Item from below creationPolicy= all mx:Script ![CDATA[ //import com.createmealPanel ; [Bindable] private var _meal:XMLList; public function set meal(value:XMLList) :void {
[flexcoders] Re: Trying to build slideshow functionality with wipe effects.
Yes, I've seen that. Not useful to me. There's not wiple/slide in transition. All that sample is doing is loading a selected image from the list into the main viewing component, and adding a little Fade effect to it. I need something that will actually bring the Image in from the right or left, which will involve being able to actually MOVE components somehow. --- In flexcoders@yahoogroups.com, Jason B nos...@... wrote: Have you seen this example slideshow by Adobe? http://examples.adobe.com/flex2/inproduct/sdk/photoviewer/PhotoViewer.html --- In flexcoders@yahoogroups.com, Todd tprekaski@ wrote: Hello All, I've built a slideshow feature in our application. One of the requirements was that the images transition to the next with a nice wipe/slide effect. I built up two solutions, both with drawbacks: 1) Used a view stack, added a repeater that added a VBox and Image for each photo to display. I was able to get the appropriate slide/scrolling effect to work by attaching show and hide effects on a VBox that contained the image. This worked really well when there was 10 imgeas. However, when I loaded 200 images...ouch memory management nightmare up to 1 gig of memory being used before crashing. Next solution, I tried something simpler: 2) Used a HorizontalList component and built some code to scroll through all the images. This worked much better from a memory management perspective, however, I've LOST the ability to have the transitions of sliding from one image to the next. My questions: 1) Has anyone seen any code that uses the List (HorizontalList) components for sliding/moving images into the main view area? How do you get the effects to work with moving the itemRenderers around (this doesn't seem possible?) 2) Anyone tried writing a component where there's a main view area, and an area to the left and right where you buffer images off screen for the sake of wiping/sliding them in? Then when you move to the next image, the main image slides left, the left (off-screen image container) is then moved to the right, and he the right image slides into the middle. This is a sort of recycling of components. Seems like a lot of work and would be prone to bugs. I'm open for any other ideas on making a slideshow with these sliding/scrolling transitions. Thanks for any suggestions.
Re: [flexcoders] Re: Trying to build slideshow functionality with wipe effects.
Most of the time when I do any page transitions I take a bitmap of the current page and display that over everything. Then swap the content below this. Finally applying the effect to the bitmap. If you need the 'next' page to do the effect (like a slide in effect) then you take two bitmaps. Using bitmaps this way isn't always the simplest, but it can help with performance of the effect. Steve On Mon, Aug 3, 2009 at 8:41 AM, Todd tpreka...@gmail.com wrote: Yes, I've seen that. Not useful to me. There's not wiple/slide in transition. All that sample is doing is loading a selected image from the list into the main viewing component, and adding a little Fade effect to it. I need something that will actually bring the Image in from the right or left, which will involve being able to actually MOVE components somehow. --- In flexcoders@yahoogroups.com, Jason B nos...@... wrote: Have you seen this example slideshow by Adobe? http://examples.adobe.com/flex2/inproduct/sdk/photoviewer/PhotoViewer.html --- In flexcoders@yahoogroups.com, Todd tprekaski@ wrote: Hello All, I've built a slideshow feature in our application. One of the requirements was that the images transition to the next with a nice wipe/slide effect. I built up two solutions, both with drawbacks: 1) Used a view stack, added a repeater that added a VBox and Image for each photo to display. I was able to get the appropriate slide/scrolling effect to work by attaching show and hide effects on a VBox that contained the image. This worked really well when there was 10 imgeas. However, when I loaded 200 images...ouch memory management nightmare up to 1 gig of memory being used before crashing. Next solution, I tried something simpler: 2) Used a HorizontalList component and built some code to scroll through all the images. This worked much better from a memory management perspective, however, I've LOST the ability to have the transitions of sliding from one image to the next. My questions: 1) Has anyone seen any code that uses the List (HorizontalList) components for sliding/moving images into the main view area? How do you get the effects to work with moving the itemRenderers around (this doesn't seem possible?) 2) Anyone tried writing a component where there's a main view area, and an area to the left and right where you buffer images off screen for the sake of wiping/sliding them in? Then when you move to the next image, the main image slides left, the left (off-screen image container) is then moved to the right, and he the right image slides into the middle. This is a sort of recycling of components. Seems like a lot of work and would be prone to bugs. I'm open for any other ideas on making a slideshow with these sliding/scrolling transitions. Thanks for any suggestions. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] MouseCursor Change Event?
Hi, Does anyone know if there is a way to detect when the mouse cursor changes? I am trying to detect when a link is rolled over in the text area component and listening to the mouse seems to be the only way I could do it. Any help or pointers much appreciated.
[flexcoders] Class linking with custom Metadata
Referencing a class in [Event] metadata (ie. [Event(type=something]) has the same affect as referencing it through code: the class is linked and included in the output. Is there a compiler flag that will allow me to enable class linking for my own metadata fields (ones that were included via -keep-as3-metadata)? If the answer is yes (if not, you can skip this part), does that functionality stick to libraries like -keep-as3-metadata does? (ie. if you -keep-as3-metadata in libraryA and reference it from applicationB, applicationB will also keep that metadata)
[flexcoders] Re: Flex scheduler application
Jake, Thanks for your reply. What I was thinking of doing was passing the clients time from flex to coldfusion, working out the time difference between the client computer and my coldfusion server and then storing both the reminder time with the offset from my server time. Then when my reminder script runs it will work out the selected reminder time. But as you say this may be an issue with the DST. I really like your scheduler though. As a small app it works well. I have yet to try using air. Does the application communicate with a database on your server? Do you use any backend technology like coldfusion etc? I would be interested in seeing your code for interests sake if you wouldn't mind? --- In flexcoders@yahoogroups.com, Jake Churchill j...@... wrote: It will use whatever the client computer's current date/time is. It only takes daylight savings time into account if the client's computer has it set correctly and you'd be surprised how many times that doesn't happen. My company wrote a stock charting application and ran into some issues with this. I suggest attempting to do date operations on the server and pass the current date/time into the flex app on load. I recently wrote an AIR (Flex) reminder application (http://www.reynacho.com/projects/reminder-application/). If this is the type of thing you need, I'd be happy to share some of the code with you. It uses a SQLite DB to store everything and depends entirely on the computer's time settings Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of joyfulrodger Sent: Sunday, August 02, 2009 9:10 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex scheduler application Hey all, I have been assigned a new project where i have to code a reminder scheduling application in flex with a coldfusion backend and sqlserver db. Basically user will select an hour when they receive a reminder to do a task. Its intended to be deployed world wide so I have to take into consideration time zones. What i wanted to know is, how is the date in flex worked out if i create a new date variable like so. var myDate:Date = new Date(); Will it pick up the time in the client computers timezone? Will it allow for daylight savings time? All help much appreciated. Thanks, Dave
[flexcoders] Re: AIR app, need MouseMove events NOT bounded by screen
That has the same downfall of some of the other solutions in that it requires the user to take an action to STOP the panning. This experience is the worse with a joystick. My current approach, using an OS level functionality to move the mouse position back to center (the pointer is invisible) seems the closest so far. Thanks, Tracy --- In flexcoders@yahoogroups.com, Ian Thomas i...@... wrote: Tracy, Can't you take a different approach? This is for panning the map, yes? How about, every frame: - if the mouseX is less than a certain amount (e.g. is in the left third of the screen), pan your map left. - if the mouseX is greater than a certain amount (e.g. the right third of the screen), pan your map right. You could add more complication than that - the further it is to the edge of the screen, the higher the move acceleration or whatever. That should get around your problem - not sure if it'll give you the user experience you desire, but it could be worth trying. HTH, Ian On Fri, Jul 31, 2009 at 2:26 PM, Tracy Spratttr...@... wrote: Once the mouse pointer position hits a screen border, further attempts to move in that direction do not generate mouseMove events. For example, put the pointer in the top left corner, and once you get (0,0), no more events are generated. If you put the pointer on a border and wiggle it along that border, the changes in the other axis do generate events, but that doesn't really help me. I do not know what is happening at the AIR runtime/OS/driver level, but the mouse and joystick have the same behavior at the application level. Tracy Spratt, Lariat Services, development services available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: Thursday, July 30, 2009 2:58 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: AIR app, need MouseMove events NOT bounded by screen If the app is fullscreen, how can you miss any mousemoves? Does the joystick continue to send events the AIR and the mouseMove doesn't get sent or is it that the mouseMove doesn't have different coordinates? Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Wednesday, July 29, 2009 9:31 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: AIR app, need MouseMove events NOT bounded by screen Thanks, but my issue is that the AIR app is full screen. And AIR does not provide any way to set the system cursor(mouse pointer) position. I think I have an interim solution that notes when the mouse position reaches a boundary and sends a message to the socket server which calls an OS level program to reset the cursor position. As hoped, AIR recognizes this action and the next mouse move begins at the reset position. I still have some wrinkles to work out but I think this will keep us going until we figure out something better. Tracy Spratt, Lariat Services, development services available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Adrian Resa Jones Sent: Wednesday, July 29, 2009 1:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: AIR app, need MouseMove events NOT bounded by screen Do I understand correctly that you want to track when the mouse cursor/joystick leaves the Air App window? I don't see why you shouldn't be able to reset the x y coordinates when they go off of the main application window. Not that logic always has anything to do with it. This is another one of those things that should be a given. Maybe this will help: http://nexus.zteo.com/2008/11/02/flex-how-i-worked-around-mouse_outs-inefficiencies/ --- In flexcoders@yahoogroups.com, Tracy Spratt tracy@ wrote: This AIR app is to be embedded in a consumer electronics product. It is a transparent UI that indirectly controls an underlying map application by sending messages via sockets. The product actually has a joystick and not a mouse and one requirement is that moving the joystick will cause the map to pan. In development, using a real mouse, when the mouse pointer hits a screen boundary, MouseMove events are no longer dispatched in that direction. In a corner, all events cease. This is causing me problems with continuing to send messages to the application to continue panning. I am hoping the joystick will behave differently, but am also looking for any other suggestions. I have considered using a timer to send repeated increments (the back-end app only needs position deltas), but I haven't figured out how to stop that. As far as I can tell, there
[flexcoders] Re: this group isn't very good
Yup that works perfect I love google search engine --- In flexcoders@yahoogroups.com, Howard Fore howard.f...@... wrote: For heaven's sake don't fork the community, just use Google to search the group. Put use the following line in your search terms: site:tech.groups.yahoo.com inurl:flexcoders -- Howard Fore, howard.f...@... The worthwhile problems are the ones you can really solve or help solve, the ones you can really contribute something to. ... No problem is too small or too trivial if we can really do something about it. - Richard P. Feynman On Mon, Aug 3, 2009 at 8:14 AM, mitchgrrt mitch_g...@... wrote: Sorry for the provocative message title. The contents of the group, and the people who are exchanging information, are fine. Yahoo Groups aren't very good. Information is organized poorly, and Search doesn't work. I searched for a message I sent last week and it wasn't found. Searching for my name turns up some messages I sent several months ago but no recent ones. Google Groups work much better than Yahoo Groups. Information is easier to find, and search works. I wish this group were hosted on Google instead of Yahoo. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
RE: [flexcoders] Re: Flex scheduler application
My app takes advantage of the built-in support for SQLite which comes with the AIR runtime. There's just a .db file stored on the user's machine where the data is at. I built it using Cairngorm so it'd be really easy to modify the service to communicate with a server rather than SQLite Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com http://www.cfwebtools.com 402-408-3733 x103 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of joyfulrodger Sent: Monday, August 03, 2009 10:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex scheduler application Jake, Thanks for your reply. What I was thinking of doing was passing the clients time from flex to coldfusion, working out the time difference between the client computer and my coldfusion server and then storing both the reminder time with the offset from my server time. Then when my reminder script runs it will work out the selected reminder time. But as you say this may be an issue with the DST. I really like your scheduler though. As a small app it works well. I have yet to try using air. Does the application communicate with a database on your server? Do you use any backend technology like coldfusion etc? I would be interested in seeing your code for interests sake if you wouldn't mind? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jake Churchill j...@... wrote: It will use whatever the client computer's current date/time is. It only takes daylight savings time into account if the client's computer has it set correctly and you'd be surprised how many times that doesn't happen. My company wrote a stock charting application and ran into some issues with this. I suggest attempting to do date operations on the server and pass the current date/time into the flex app on load. I recently wrote an AIR (Flex) reminder application (http://www.reynacho.com/projects/reminder-application/). If this is the type of thing you need, I'd be happy to share some of the code with you. It uses a SQLite DB to store everything and depends entirely on the computer's time settings Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of joyfulrodger Sent: Sunday, August 02, 2009 9:10 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Flex scheduler application Hey all, I have been assigned a new project where i have to code a reminder scheduling application in flex with a coldfusion backend and sqlserver db. Basically user will select an hour when they receive a reminder to do a task. Its intended to be deployed world wide so I have to take into consideration time zones. What i wanted to know is, how is the date in flex worked out if i create a new date variable like so. var myDate:Date = new Date(); Will it pick up the time in the client computers timezone? Will it allow for daylight savings time? All help much appreciated. Thanks, Dave No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.41/2277 - Release Date: 08/03/09 05:57:00
[flexcoders] Re: Any suggestion for server (java) side run-time styling solution?
Read the documentation here: http://livedocs.adobe.com/flex/3/html/help.html?content=styles_10.html End of first section: You cannot load an uncompiled CSS file into your Flex application at run time. You must compile it into a SWF file before loading it Obviously we can load the CSS and programatically set the style where needed but this is not a generic solution. --- In flexcoders@yahoogroups.com, Tim Rowe tim.r...@... wrote: I'm a bit puzzled that you mention the need to compile in changes. Surely a SWF can load in an external css file? If so, could the swf not typically be made to access a CSS file (via whatever method) specifically for that user via their credentials, or via a token? This would allow run-time loading, and the ability to store, modify and retrieve it however you like on the server-side. Tim Rowe Software Engineer carsales.com Ltd From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of guy.tomer Sent: Saturday, 1 August 2009 6:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Any suggestion for server (java) side run-time styling solution? Hi, We read the documentation about loading styles from out side but unfortunately they all discuss loading swf compiled files. While it is possible to let an editor edit the style on the server and then run the compiler on the server to generate a swf file, it looks like redundant complexity. The server is a cluster and it'll require additional set-up for every server. Does anyone have a different solution? Just to clarify - the requirement is to have the client load the style in run-time. This style should be manageable on a management interface running on a java server. Thanks, Guy __ Notice: This email and attachments (if any) is for the exclusive use of the addressee and may contain information that is privileged and confidential. Any unauthorised use of the contents of the email and/or attachments is expressly prohibited. If you are not the addressee of this email, please notify me immediately by email and then immediately destroy any electronic or paper copy of this email and/or attachments. Carsales.com Ltd and its related companies do not accept responsibility for the views expressed in the email or for the consequences of any computer viruses that may be transmitted with this email. This email is subject to copyright. No part of it should be reproduced, adapted or transmitted without the written consent of the copyright owner.
Re: [flexcoders] Re: this group isn't very good [1 Attachment]
you can always add a search plugin to firefox. http://labnol.blogspot.com/2006/09/learn-to-create-firefox-search-plugin.html or to IE http://www.microsoft.com/windows/ie/searchguide/en-en/default.mspx# or probably any other browser that supports open search OpenSearchDescription xmlns=http://a9.com/-/spec/opensearch/1.1/; xmlns:moz=http://www.mozilla.org/2006/browser/search/; ShortNameGoogle (FC)/ShortName DescriptionGoogle - Flexcoders/Description InputEncodingUTF-8/InputEncoding Image width=16 height=16data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%10%00%00%00%10%08%02%00%00%00%90%91h6%00%00%00%15tEXtCreation%20Time%00%07%D9%06%19%10%0F%1B%9Fn%9F%D1%00%00%00%07tIME%07%D9%06%19%10%1B%0D%90%15%1E%A5%00%00%00%09pHYs%00%00%0A%F0%00%00%0A%F0%01B%AC4%98%00%00%01bIDATx%DAc%FC%FF%FF%3F%03n%60%BDU%1D%5D%08Y%03%84%FD%1F%0C%20%8C%AF%3F~%FFG%02%A7E%F8%98%E0J%E1%3A%19%19%19%E1F(%D8%AD%9B%B4%F2%DE%91%8B%9F%FF%FD%FB%8F%D3%06d%EE%E6%DDo%14%3D%E6q%A8V%BEz%FB%05b%03%8A3%E0ldk_%BD%FB%FE%E9%CB7%B8%93X%90%9D%81%AC%14%EE0QA%0EdkYp%B9%0AW%E81)%C6%9E%FE%F5%E7%BFf%D8V%19%C7%A9%0CD%00h(%3D%B9%FF%EB%DFwnb4%80%9C%C4%CA%CC((%CD%F7%E6%EE%FB%2F%DF~%F2p%B1%C3%E5%FE%FEc8q%E3%E7%EF%3F%FF8%D8%99%3F%7C%FE%E6n%CC%0F%B5%01%E8%BD%40gUf%DE%BFS%97%9DG6%EC%FE%F3%EF%E9%D5%2B%C2r%179%06%2F%DD%BE%FB%00%24%18%A0N*%8F%14%FB%FF%9D%A7y%EA%FD%B9%1B%AE%C35%A8Hs%5EY%1F%7Fa%7D%EA%BF%CF%EF%E4%C48P%FC%20%25%C2%B1k%81%0B%0B%D3%BF%FC%A6K%93%D6%3C%FD%F6%F3%1F%5C%DB%CB%8F%FF%81%26%FF%F8%F1%03%E1%07%08%B0%D2%17%7Dp%20d%E3%EE%9B%3B%0E%DD%ACn%DE%FB%E7%3B%B3%B0%DC%0FF%26F%01%5E%F6%9EZ%1D_%0F%23Xj%899%F5%1F%03%FC%FD%F7%EF%DB%8F%1F%BF%FF%FCA%13%07%C64%A3%D5%165bB%13%02%26%26%BC%00%00%2B_%F9%5E%CF%5Ca%C5%00%00%00%00IEND%AEB%60%82/Image Url type=text/html method=GET template= http://www.google.com/search; Param name=q value=site%3Atech.groups.yahoo.com+inurl%3Aflexcoders+{searchTerms} / Param name=ie value=utf-8 / Param name=oe value=utf-8 / Param name=lr value=lang_en / /Url /OpenSearchDescription On Mon, Aug 3, 2009 at 7:53 PM, Jason B nos...@advancedonsite.com wrote: Yup that works perfect I love google search engine --- In flexcoders@yahoogroups.com, Howard Fore howard.f...@... wrote: For heaven's sake don't fork the community, just use Google to search the group. Put use the following line in your search terms: site:tech.groups.yahoo.com inurl:flexcoders -- Howard Fore, howard.f...@... The worthwhile problems are the ones you can really solve or help solve, the ones you can really contribute something to. ... No problem is too small or too trivial if we can really do something about it. - Richard P. Feynman On Mon, Aug 3, 2009 at 8:14 AM, mitchgrrt mitch_g...@... wrote: Sorry for the provocative message title. The contents of the group, and the people who are exchanging information, are fine. Yahoo Groups aren't very good. Information is organized poorly, and Search doesn't work. I searched for a message I sent last week and it wasn't found. Searching for my name turns up some messages I sent several months ago but no recent ones. Google Groups work much better than Yahoo Groups. Information is easier to find, and search works. I wish this group were hosted on Google instead of Yahoo. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
Re: [flexcoders] Re: this group isn't very good
Well, it is true that yahoo search is not as good as google. That is why I am using gmail. I am using this account for last 2 years and have all the email here. As of today I have 21000+ emails :-). I just use my email search to find old emails!!! On Mon, Aug 3, 2009 at 10:53 AM, Jason Bnos...@advancedonsite.com wrote: Yup that works perfect I love google search engine --- In flexcoders@yahoogroups.com, Howard Fore howard.f...@... wrote: For heaven's sake don't fork the community, just use Google to search the group. Put use the following line in your search terms: site:tech.groups.yahoo.com inurl:flexcoders -- Howard Fore, howard.f...@... The worthwhile problems are the ones you can really solve or help solve, the ones you can really contribute something to. ... No problem is too small or too trivial if we can really do something about it. - Richard P. Feynman On Mon, Aug 3, 2009 at 8:14 AM, mitchgrrt mitch_g...@... wrote: Sorry for the provocative message title. The contents of the group, and the people who are exchanging information, are fine. Yahoo Groups aren't very good. Information is organized poorly, and Search doesn't work. I searched for a message I sent last week and it wasn't found. Searching for my name turns up some messages I sent several months ago but no recent ones. Google Groups work much better than Yahoo Groups. Information is easier to find, and search works. I wish this group were hosted on Google instead of Yahoo. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
RE: [flexcoders] Class linking with custom Metadata
Event metadata should not be affecting the classes linked in. Usually, there is an event handler with a parameter of that type Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of richardsza...@rocketmail.com Sent: Monday, August 03, 2009 9:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Class linking with custom Metadata Referencing a class in [Event] metadata (ie. [Event(type=something]) has the same affect as referencing it through code: the class is linked and included in the output. Is there a compiler flag that will allow me to enable class linking for my own metadata fields (ones that were included via -keep-as3-metadata)? If the answer is yes (if not, you can skip this part), does that functionality stick to libraries like -keep-as3-metadata does? (ie. if you -keep-as3-metadata in libraryA and reference it from applicationB, applicationB will also keep that metadata)
[flexcoders] help with java Flex plz
I'm java developer and i like flex very much .. my problem that i don't know successful way to connect java with flex. So plz any one was connected Java with Flex and was making good projects with them plz tell me the steps step by step... because i tried a lot of ways through the internet and not worked successfully. Thanks and i hope ur response very soon my friends. M.adam
RE: [flexcoders] help with java Flex plz
I have some starter links (videos, articles, etc) on my blog: http://www.jamesward.com/blog/flex-and-java-resources/ -James From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of adamlee2010 Sent: Monday, August 03, 2009 12:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] help with java Flex plz I'm java developer and i like flex very much .. my problem that i don't know successful way to connect java with flex. So plz any one was connected Java with Flex and was making good projects with them plz tell me the steps step by step... because i tried a lot of ways through the internet and not worked successfully. Thanks and i hope ur response very soon my friends. M.adam
Re: [flexcoders] Re: this group isn't very good
I got a message saying 'click here to request to be migrated to the new message search' (paraphrased) when looking at another Yahoo! Group, and found this in their blog (http://www.ygroupsblog.com/blog/2009/07/08/bug-update-782009/) so I think they're getting on to this, probably after they fix the RepDB problem. 2009/8/4 Vivian Richard kanps...@gmail.com: Well, it is true that yahoo search is not as good as google. That is why I am using gmail. I am using this account for last 2 years and have all the email here. As of today I have 21000+ emails :-). I just use my email search to find old emails!!! On Mon, Aug 3, 2009 at 10:53 AM, Jason Bnos...@advancedonsite.com wrote: Yup that works perfect I love google search engine --- In flexcoders@yahoogroups.com, Howard Fore howard.f...@... wrote: For heaven's sake don't fork the community, just use Google to search the group. Put use the following line in your search terms: site:tech.groups.yahoo.com inurl:flexcoders -- Howard Fore, howard.f...@... The worthwhile problems are the ones you can really solve or help solve, the ones you can really contribute something to. ... No problem is too small or too trivial if we can really do something about it. - Richard P. Feynman On Mon, Aug 3, 2009 at 8:14 AM, mitchgrrt mitch_g...@... wrote: Sorry for the provocative message title. The contents of the group, and the people who are exchanging information, are fine. Yahoo Groups aren't very good. Information is organized poorly, and Search doesn't work. I searched for a message I sent last week and it wasn't found. Searching for my name turns up some messages I sent several months ago but no recent ones. Google Groups work much better than Yahoo Groups. Information is easier to find, and search works. I wish this group were hosted on Google instead of Yahoo. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] Filtering of ToggleButtonBar/ViewStack items
I'm using a ToggleButtonBar with a ViewStack in the classic sense, where ToggleButtonBar.dataProvider = theViewStack. I want to configure what buttons are available to click based on runtime conditions and cannot find any property that makes this possible. What I'd like to do is provide a filterFunction on the ToggleButtonBar.dataProvider but unlike most dataProvider properties in various list-based constructs, ToggleButtonBar.dataProvider is not stored as a filterable collection. My kludge is to call toggleButtonBar.removeItemAt(n) based on the conditions after it's been constructed. It works, but there must be a more elegant way to filter the ButtonBar data provider so various runtime conditions will control which ViewStack views are available to the user. Thanks for your suggestions. Erik Erik J. Thomas | intuit | Email Marketing | Staff Engineer | 650-944-2602 | Boulder, CO
[flexcoders] MultiPage printing
Hi, I am trying to print a series of pages of labels in AIR. I have a single page working where I have a VBox component with a tilelist. My main code creates a new FlexPrintJob, adds the printview and adds the tilelist array collection to the printview and sends the job // Create a PrintJob instance. private function doPrint():void { var TileListdp:ArrayCollection; currentnum = int(txt_startnum.text); // Create an instance of the FlexPrintJob class. var printJob:FlexPrintJob = new FlexPrintJob(); // Start the print job. if (printJob.start() ){ for (var i:int=1; i=but_numpages.value; i++) { var thePrintView:MyPrintView = new MyPrintView(); this.addChild(thePrintView); TileListdp = new ArrayCollection(createlist()); thePrintView.tilelistprint.dataProvider = TileListdp; printJob.addObject(thePrintView,ShowAll); } printJob.send(); removeChild(thePrintView); } } As a single page it works, as multipage it doesn't. All examples that I have seen use the PrintDataGrid which doesn't support using tilelists. Any suggestions? Thanks
[flexcoders] Flex Accordion Menu?
I am creating a website in Flex, and one of the requirements is an accordion like menu. See this image for what it needs to look like: http://i25.tinypic.com/1735hy.png The gray items do not have children. The dark blue items are children of the light blue item. Would someone tell me a good way to make this? I tried using a Tree with custom item renderers but have so far been unsuccessful. Any help is greatly appreciated.
Re: [flexcoders] Flex Accordion Menu?
See if this helps http://flexlib.googlecode.com/svn/trunk/examples/WindowShade/WindowShade_Sample.swf On Mon, Aug 3, 2009 at 5:59 PM, Benthegoosm...@gmail.com wrote: I am creating a website in Flex, and one of the requirements is an accordion like menu. See this image for what it needs to look like: http://i25.tinypic.com/1735hy.png The gray items do not have children. The dark blue items are children of the light blue item. Would someone tell me a good way to make this? I tried using a Tree with custom item renderers but have so far been unsuccessful. Any help is greatly appreciated.
Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService
Hi Tracy, apologies that it took me quite a while to reply and continue this. been sidetracked on another project. anyway, when I have passed the xmllistcollection as string to .net, what method would i use to parse the information in the .net side? thanks. regards, Angelo From: Tracy Spratt tr...@nts3rd.com To: flexcoders@yahoogroups.com Sent: Wednesday, 8 July, 2009 12:48:27 Subject: RE: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService var sXML:String = “root”; sXML += myXMLListCollection .toXMLSTring( ); sXML+= “/root”; myWebService. setUserPermits( sXML,sSID) ; on the .net side: WebMethod(Descripti on:=Updates multiple UserPermit records) _ Public Function setUserPermits(ByVal sRowsXml As String, ByVal sSId As String) As DataTable … Tracy Spratt, Lariat Services, development services available From:flexcod...@yahoogro ups.com [mailto: flexcod...@yahoogro ups.com ] On Behalf Of Angelo Anolin Sent: Tuesday, July 07, 2009 8:09 PM To: flexcod...@yahoogro ups.com Subject: Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService Hi Tracy, I would certainly appreciate if you could point me in the right direction on using XMLListCollection and sending it back to .NET as a string. Thanks. Regards, Angelo From:Tracy Spratt tr...@nts3rd. com To: flexcod...@yahoogro ups.com Sent: Tuesday, 7 July, 2009 4:45:56 Subject: RE: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService Why not use XMLListCollection and send the xml to .net as a string? There is little value in building an ArrayCollection of generic obects. You can sort/filter an XMLListCollection. XML is more verbose than some other methods, but if bandwidth is truly an issue, then you should be looking at a binary protocol. Tracy Spratt, Lariat Services, development services available From:flexcod...@yahoogro ups.com [mailto: flexcod...@yahoogro ups.com ] On Behalf Of Angelo Anolin Sent: Friday, July 03, 2009 2:09 AM To: flexcod...@yahoogro ups.com Subject: Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService Hi Sam, Basically this is the process which I am using. .NET Retrieve records from Oracle DB and store the same into a dataset. Return the dataset as XML string via the command DataSet.GetXML. Flex In the event handler of my webservice method call, I parse the string into XML, then ArrayCollection via the following codes: private var _xmlData:XML; [Bindable] private var arrDP:ArrayCollecti on = new ArrayCollection; _xmlData = XML(event.result) ; var oTemp:Object; var xl:XMLList = _xmlData.children( ); var i:int; for(i = 0; i xl.length(); i++) { oTemp = {NAME:xl[i]. NAME.text( ), TEAM:xl[i].TEAM. text(), JERSEY :xl[i] .JERSEY.text( ), MANAGER:xl[i] .MANAGER. text()}; arrDP.addItem( oTemp); } and in my datagrid, I am setting its dataProvider to the arrDP variable. I used Array Collection because I implemented a search and filter functionality which searches and filters the data accordingly for the dataprovider which is then reflected back to the datagrid. Now, when I need to return the ArrayCollection to .NET, I simply pass the same as a parameter to a .NET function which accepts ArrayList as parameter. .NET Once the function receieves the arraycollection (which is then now an array list), I get the arrays inside the arraylist and get the values inside the array. I think by doing things like this, it may not be the best way. You mentioned you'd map the XML to typed objects in .NET. How can I do this? Instead of using arraycollection as dataprovider in my datagrid, can I use another which would be much easier when I pass back to the .NET function? Whats the best way to interact large set of data (datasets) between .NET and Flex? Thanks a lot. From:Sam Lai samuel@gmail. com To: flexcod...@yahoogro ups.com Sent: Friday, 3 July, 2009 13:52:12 Subject: Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService Instead of using an array list and trying to emulate the type-less abilities of AS3, I'd try to map the XML to typed objects in .NET. Or does the XML from your Flex app differ too wildly to do this? Are you using the XmlSerializer to deserialize this? Or are you using WCF? Or are you doing it some other way, or manually? I'd provide an example, but I don't know enough details on your situation to give something useful :) 2009/7/3 Angelo Anolin angelo_anolin@ yahoo.com: Hi Sam, Care to show some examples? I am parsing the arrayCollection into an ArrayList on .NET. This is particularly not too appealing since I just discovered that for example, if one of the objects in the
[flexcoders] Re: Flex Accordion Menu?
Thank you! That works perfectly. I'm using normal buttons for the top level items with no children, and I'm using a window shade for top level items with children. I also set the verticalGap and the paddingTop to 0 on the window shade to remove extra space. --- In flexcoders@yahoogroups.com, Vivian Richard kanps...@... wrote: See if this helps http://flexlib.googlecode.com/svn/trunk/examples/WindowShade/WindowShade_Sample.swf On Mon, Aug 3, 2009 at 5:59 PM, Benthegoosm...@... wrote: I am creating a website in Flex, and one of the requirements is an accordion like menu. See this image for what it needs to look like: http://i25.tinypic.com/1735hy.png The gray items do not have children. The dark blue items are children of the light blue item. Would someone tell me a good way to make this? I tried using a Tree with custom item renderers but have so far been unsuccessful. Any help is greatly appreciated.
[flexcoders] Adobe Air: open file with associated application
Hello, Is there a way to make an Air application to open a file, let's say a *.doc or *.ppt with their associated applications? -- Jhonny Everson