Re: [flexcoders] How to get reference to current Active window?
What I did before was just set a member var to whatever the last window clicked was: function onWindowClicked(event_obj:Object) // forwarded from mouseDown { event_obj.target.setDepthAbove(activeWindow); activeWindow = event_obj.target; } - Original Message - From: owls_yang [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, August 25, 2005 3:24 AM Subject: [flexcoders] How to get reference to current Active window? Hello all: I want to get reference to currently Active window. For example, 4 TitleWindows popup above an application, how could I determine which one is currently active? Does there exist some FlashPlayer level classes could provide static method to get active window reference? Thanks very much, Owls Yang -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] carriage return in XML(gordon)
i am not able to send you the full code since its too large... i use it in the viewhelper labels.bundle.BTN_ENTRY = label.BTN_ENTRY_1.French#13; label.BTN_ENTRY_2.French; and display it in buttonlabel like this: mx:Button id="Btn_Entry" label="{helper.labels.bundle.BTN_ENTRY}"/ if u are not able to get it , then i shall build a small code and send it again... thanks nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Passing Multipleselect array to ColdFusion cfc based web service
I have a data gird that allows for multiple selections: mx:DataGrid id=dgNotAttended x=605 y=285 width=172 height={dgInt.height} dataProvider={wsInt.getNotAttended.result} enabled={dgInt.selectedIndex != undefined} multipleSelection=true mx:columns mx:Array mx:DataGridColumn headerText=Name columnName=NAME / /mx:Array /mx:columns /mx:Datagrid with a corresponding button that should trigger a web service call: mx:Button x=605 y=480 label=Add enabled={dgNotAttended.selectedIndex != undefined} click=wsInt.writeNotAttended.send()/ web service call: mx:WebService wsdl=http://localhost:8500/trainingcfc/inttraining.cfc?wsdl; id=wsInt mx:operation name=writeNotAttended mx:request notattended {dgNotAttended.selectedItems} /notattended /mx:request /mx:operation Obviously I am doing something wrong because I get an error message that no deserializer is available for the anyType. So, how do you bind a Flex array to a web service parameter? Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Passing Multipleselect array to ColdFusion cfc based web service
--- In flexcoders@yahoogroups.com, dval823 [EMAIL PROTECTED] wrote: To further clarify, I can edit the mx:operation tag to add items: mx:operation name=writeNotAttended mx:request notattended item100/item item200/item item300/item /notattended /mx:request /mx:operation and these are passed just fine. But I thought Coldfusion could read Flex structure and vise-versa??? I have a data gird that allows for multiple selections: mx:DataGrid id=dgNotAttended x=605 y=285 width=172 height={dgInt.height} dataProvider={wsInt.getNotAttended.result} enabled={dgInt.selectedIndex != undefined} multipleSelection=true mx:columns mx:Array mx:DataGridColumn headerText=Name columnName=NAME / /mx:Array /mx:columns /mx:Datagrid with a corresponding button that should trigger a web service call: mx:Button x=605 y=480 label=Add enabled={dgNotAttended.selectedIndex != undefined} click=wsInt.writeNotAttended.send()/ web service call: mx:WebService wsdl=http://localhost:8500/trainingcfc/inttraining.cfc?wsdl; id=wsInt mx:operation name=writeNotAttended mx:request notattended {dgNotAttended.selectedItems} /notattended /mx:request /mx:operation Obviously I am doing something wrong because I get an error message that no deserializer is available for the anyType. So, how do you bind a Flex array to a web service parameter? Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hu4qel8/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124981604/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] OH, For the love of all that's good, please help!
One piece of advice: Avoid rpc/encoded web services and use doc/literal whenever possible From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sean McKibben Sent: Tuesday, August 23, 2005 1:09 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] OH, For the love of all that's good, please help! I ran into this as well. Looking at the SOAP encoded message, it appeared to me that flex wasn't making clean SOAP (pun definitely intended). When we switched over to using the CFC's RemoteObject instead of the WebService, things started working again. Wasn't too hard of a switch, and I'll take the NetConnectionDebugger over paging through SOAP any day. (still wish webservice serializing worked better...) See my Flex serializer vs CF7 deserializer post thread or the Collections between Flex and Web services thread for some possible workarounds that didn't work for me... Sean McKibben On Aug 23, 2005, at 10:29 AM, bsd wrote: I'm passing an array from Flex to a web service located in a CFC. It returns an error that states: org.xml.sax.SAXException: No deserializer for array type -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Cairngorm Development Cycle
I don't think your crazy eh. Being the glue guy, never actually tried that eh, sounds like something I will have to try. I usually allow people to implement an entire use-case on their own and then just tweak the UI for them eh. That way it appears to me anyways, that we are working in parallel and delivering the final overall solution quicker. I find that with Flex, you can build the UI so fast, that if you just do UI, you then wait for the serverside to do their part before you can complete the UI work. Curiosity, how much glueing do you actually do? Or maybe your definition of glueing? I usually just review the code written every second day as the project goes along and give the boys feedback on things to tweak. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott BarnesSent: Wednesday, August 24, 2005 11:25 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm Development Cycle canadian w00t yooo tulkin aboot eh! /canadian (no offense intended hehee)I've not had the luxury as yet of working with a large number of devsin one team on an flex application, but I've had suceess in givingportion-work to be done out. In that, I typically am the guy thatglues it all together.In that, I can get folks to work on server-side framework (ignore UI),simply give me a model to tap into that allows data / and objects tobe shared around as if they were currency (ie i';; give you aprofileVO, invoiceVO and you give me back aInvoiceCostcodesCollectionVO ). I'm a firm believer in trading withobjects (like most I guess).Then, on the UI side of things i'll ask someone to build a Panel,which allows insert/update/delete costcodes.. meaning just give me thevisuals and an api to call in terms of populating this 'view" withrelevant data (combination of component development / viewhelpermindset).Then, I'll be the guy or one of them, that will piece the itemstogether, making sure things fit nice and snug if not, request somerefactoring or enhancements (if they follow the specs/UML/SequenceDiagrams etc.. shouldn't be a problem).That being said, If i am a lone coder, I also play each role like theabove, that way can break up un intended coupling and make my workload more agile.Cairngorm is a team framework and so if you start top-down or down-up,its got enough hooks in place to give you a nice footing on eitherdirection? or am i full of crap ? (could be the later, its quitepossible hehe).On 8/25/05, Dimitrios Gianninas [EMAIL PROTECTED] wrote: I've discovered the same thing here, with Flex, we typical prototype the UI and show it to stakeholders and thus get approval on the design and get immediate feedback on what we might be missing based on what we've provided at that time. However, come development time, I do think that giving each developer his own use-case to implement end-to-end (DB, serverside, UI) results in quicker delivery of the product. It also reduces dead-time, meantime Ui developer waiting for the serverside guy to complete his part before he can finish wiring things up at the UI level and so on. My 2 cents Canadian. Dimitrios "Jimmy" Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes Sent: Wednesday, August 24, 2005 10:03 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cairngorm Development Cycle I've typically gone down the path of building the DB -- Serverside -- UI, but.. I've found with FLEX, it being a new medium and in many ways its easier to simply build UI upfront, get the "stakeholders" chomping at the bit in terms of what's written in spec form vs whats being built. It also helps to visualise how this is all going to pan out. I had a 52+ page spec for an application I was working on, and It was pretty darn thorough (even sequence diagrams heh). Yet, when the time came to put it to "digital" form, we discovered a few specific items that were either overlooked or needed more attention (mainly for how the business would cope vs technically). So, to summarise, I build outward-in, Cairngorms pretty good in that regard as you can come back and plug in the appropriate code via the Business Delegate(s) (ie i've built apps without even knowing how the server-side will work, aswell as how the db will work). VO's were fun when doing that, as it sometimes pays to have "knowledge" of both so you can mirror in equal aspects via both technologies.. On 8/24/05, Steven Webster [EMAIL PROTECTED] wrote: Hi there,I posted something a month or so back with a subject "Cairngorm for Dummies" which indicated typical workflow. Your call whether you build horizontally (ie in layers) - for me, I typically would build an application on a use-case by use-case basis, from the view to the database
[flexcoders] Re: Easiest way to connect to mysql?
That I know cause at the moment I use PHP to output all the data from mysql and show it in XML. But thinking of using some other technology like webservices. But don't really know how to create them? Can you maybe explain a little how is all works and what would be the easiest way to use. --- In flexcoders@yahoogroups.com, Niklas Richardson [EMAIL PROTECTED] wrote: Hi there, You will need to use a server side technology, like Java, ASP, CF, PHP to integrate with a MySQL database. You can then use HTTP, WebServices or RemoteObjects to integrate between Flex and your server side. The Flex docs and also the Flex book have information on how to use the above services to connect Flex and the server side together. Regards Niklas On 07/08/05, pioplacz [EMAIL PROTECTED] wrote: Hi folks! Im looking for a easiesway to get data from database and add data into it. At the moment i'm receving data my getting xml output by php file and adding data same simple way like in html. But is there any easiest way to get it all working? Would be really nice!! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com Yahoo! Groups Links -- Niklas Richardson Prismix Ltd Flex and ColdFusion Experts! Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Remote IP address
Good morning people, Please excuse my problematic question. Can someone point me in the right direction? I want to be able to get the client's ip address, in asp it would be: Request.Server.Variables(Remote_Adde) Is there a comparable in Flex or what might be the best way to obtain this? Thanks James Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12ho4hg25/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124985910/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Remote IP address
You can get hold of the HttpServletRequest in a Java class when accessed via RemoteObject by using flashgateway.Gateway.getHttpRequest(). http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/commo n/html/wwhelp.htm?context=Flex_Documentationfile=2247.htm Once you have the request, you can call methods on it to get this sort of information (such as getRemoteHost() etc). http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequ est.html -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of James Sent: Thursday, August 25, 2005 10:05 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Remote IP address Good morning people, Please excuse my problematic question. Can someone point me in the right direction? I want to be able to get the client's ip address, in asp it would be: Request.Server.Variables(Remote_Adde) Is there a comparable in Flex or what might be the best way to obtain this? Thanks James -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h52su2o/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124987938/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Special Chars. in AS
Title: Special Chars. in AS Hi, I need to display Celsius (250°C) string in a Flex app. Data comes from CF and you can use deg; in CF to show it correctly in HTML but when it comes to Flash Player, it just spells it (deg;) out. What should I use for special Chars? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Custom Datagrid Sorting
Hey guys, Right, Ive a situation where I need to sort a particular datagrid column as a date, however the value of the cell is actually a string (eg 7th Aug 2005). Ive got this all working, however Im trying to package it up as a class so I can reuse it 100 times through the various datagrids Ive got. My problem is Im calling: dg.dataProvider.sortItems(dateFieldCompare, ((sortOrder == 1)? 0: Array.DESCENDING)); Where dg is my datagrid (passed through via the class constructor). The issue Im having is that I cannot access any variables from the dateFieldCompare function. My constructor header is as follows: public function DateSortUtil(myDg:mx.controls.DataGrid,columnIndex:Number,field:String) { Ideally I want field to be accessible to the dateFieldCompare function so I know what field to compare. The following is the header from dateFieldCompare: private function dateFieldCompare(item1:Object, item2:Object, bit:Number):Number To get it working at the moment Im having to compare item1.date and item2.date . However date wont always be the name of the fields I want to compare, and item1[field] isnt going to work. Any ideas? Cheers, Steve -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Custom Datagrid Sorting
Hi Steve, Similar question has been replied in past, I have replied once myself. Please check the flexcoders archive at http://www.mail-archive.com/flexcoders%40yahoogroups.com if you don't find the answer, please reply in this thread. Thanks -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve CoxSent: Thursday, August 25, 2005 10:18 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Custom Datagrid Sorting Hey guys, Right, Ive a situation where I need to sort a particular datagrid column as a date, however the value of the cell is actually a string (eg 7th Aug 2005). Ive got this all working, however Im trying to package it up as a class so I can reuse it 100 times through the various datagrids Ive got. My problem is Im calling: dg.dataProvider.sortItems(dateFieldCompare, ((sortOrder == 1)? 0: Array.DESCENDING)); Where dg is my datagrid (passed through via the class constructor). The issue Im having is that I cannot access any variables from the dateFieldCompare function. My constructor header is as follows: public function DateSortUtil(myDg:mx.controls.DataGrid,columnIndex:Number,field:String) { Ideally I want field to be accessible to the dateFieldCompare function so I know what field to compare. The following is the header from dateFieldCompare: private function dateFieldCompare(item1:Object, item2:Object, bit:Number):Number To get it working at the moment Im having to compare item1.date and item2.date . However date wont always be the name of the fields I want to compare, and item1[field] isnt going to work. Any ideas? Cheers, Steve -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Special Chars. in AS
Title: Special Chars. in AS You can copy paste the degree sign in MXML and it should show correctly. mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:TextArea text="30°" / /mx:Application Save your MXML file with UTF-8 encoding, it should work. -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, AghaSent: Thursday, August 25, 2005 10:18 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Special Chars. in AS Hi, I need to display Celsius (250°C) string in a Flex app. Data comes from CF and you can use deg; in CF to show it correctly in HTML but when it comes to Flash Player, it just spells it (deg;) out. What should I use for special Chars? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Special Chars. in AS
Title: Special Chars. in AS You can use the "charmap" utility on windows to see such symbols.. -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul QabizSent: Thursday, August 25, 2005 10:51 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Special Chars. in AS You can copy paste the degree sign in MXML and it should show correctly. mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:TextArea text="30°" / /mx:Application Save your MXML file with UTF-8 encoding, it should work. -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, AghaSent: Thursday, August 25, 2005 10:18 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Special Chars. in AS Hi, I need to display Celsius (250°C) string in a Flex app. Data comes from CF and you can use deg; in CF to show it correctly in HTML but when it comes to Flash Player, it just spells it (deg;) out. What should I use for special Chars? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: using and detecting menubar selection
Anyone? Is this what you do? Just have a massive if condition or switch case? On 8/24/05, Greg Morphis [EMAIL PROTECTED] wrote: Maybe I'm missing something but how do YOU interact with the menuitem's you've created? I suppose I could add an id and pass that to an function like.. function changeEvt(event) { fSwitch.text=event.menuItem.attributes.label + + event.menuItem.attributes.id; } But that would take a huge switch case or a bunch of if statements. if(id == 'nor_tlc_pos') {} elseif (id == 'not_tlc_qdn') {} ... So I guess my question is, how do YOU handle working with menus? Thanks! -- Auxilium meum a Domino -- Auxilium meum a Domino Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hs6aaua/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124997924/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Invalidating flashproxy JSESSIONID value.
Ultimately, I was able to implement the functionality I required by avoiding using the flashproxy. By circumventing it, I removed the requirement to try and remove the cookie for the session held by the flashproxy and only needed to deal with the browser session variable. The only outstanding issue is detecting within the flex client when the users session times out on the server in order to place them back in the login screen. Any thoughts...? --- In flexcoders@yahoogroups.com, colinblackmore [EMAIL PROTECTED] wrote: Can anyone suggest how I might implement a 'logout' facility by completely invalidating a users session within Flex? From what I can deduce, Flex initially passes the JSESSIONID through the flashproxy as a cookie, using it to construct the appropriate headers for the subsequent http call. With a _freshly_started_ server and a _new_browser_session_, this works great. However, when I call 'session.invalidate()' within a JSP page to force the user to re-authenticate themselves (which works), the flashproxy appears to hold both the original (now invalid) JSESSIONID and a new one. The upshot is that the main client session and the internal http connections are out of sync;ie not sharing the same session. This means that although the user is authenticated to view the flex client, none of the underlying service connections are authenticated. I've tried calling 'session.invalidate()' within an HTTPService call, and setting the 'JSESSION' cookie to immediately expire, but with no luck. Has anyone else run into this issue? Thanks, in advance. ...Col BTW, I'm using form based authentication against Tomcat 5.5. Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h9snt1r/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125002757/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Invalidating flashproxy JSESSIONID value.
There is nothing in the j2ee spec that provides a way to ask the container if the session is still valid and there's also not a standard http response code that you could map a custom response to. I assume that you do want the server side timeout? You can set that timeout to infinite but there are obvious implications there as well with server resources. Other than that, you could implement a ping web service that you invoke either either periodically or before all calls to other web services. If that ping call doesn't return the expected result and sends you back your form auth page instead, you could then redirect the user to login. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 Take PowerBuilder to the Web with EAF 4.0 http://www.cynergysystems.com/public/products/eaf -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of colinblackmore Sent: Thursday, August 25, 2005 2:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Invalidating flashproxy JSESSIONID value. Ultimately, I was able to implement the functionality I required by avoiding using the flashproxy. By circumventing it, I removed the requirement to try and remove the cookie for the session held by the flashproxy and only needed to deal with the browser session variable. The only outstanding issue is detecting within the flex client when the users session times out on the server in order to place them back in the login screen. Any thoughts...? --- In flexcoders@yahoogroups.com, colinblackmore [EMAIL PROTECTED] wrote: Can anyone suggest how I might implement a 'logout' facility by completely invalidating a users session within Flex? From what I can deduce, Flex initially passes the JSESSIONID through the flashproxy as a cookie, using it to construct the appropriate headers for the subsequent http call. With a _freshly_started_ server and a _new_browser_session_, this works great. However, when I call 'session.invalidate()' within a JSP page to force the user to re-authenticate themselves (which works), the flashproxy appears to hold both the original (now invalid) JSESSIONID and a new one. The upshot is that the main client session and the internal http connections are out of sync;ie not sharing the same session. This means that although the user is authenticated to view the flex client, none of the underlying service connections are authenticated. I've tried calling 'session.invalidate()' within an HTTPService call, and setting the 'JSESSION' cookie to immediately expire, but with no luck. Has anyone else run into this issue? Thanks, in advance. ...Col BTW, I'm using form based authentication against Tomcat 5.5. Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h9snt1r/M=362335.6886445.7839731.151 0227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125002757/A=2894361/R=0/SIG=1 3jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/? source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Special Chars. in AS
Title: Special Chars. in AS In MXML, Flex recognizes the following XML escape sequences for named characters: lt; for gt; for amp; for quot; for apos for ' I don't think there is any way to declare others, but you can always specify any Unicode character by its numeric code, in either decimal or hex. For example, either #13; or #x0D; will give you the character with code 13. I don't happen to know the code for a degree symbol in Unicode. Inside an ActionScript string literal, the escape sequence would be \u0D - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul Qabiz Sent: Thursday, August 25, 2005 10:24 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Special Chars. in AS You can use the charmap utility on windows to see such symbols.. -abdul From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul Qabiz Sent: Thursday, August 25, 2005 10:51 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Special Chars. in AS You can copy paste the degree sign in MXML and it should show correctly. mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml mx:TextArea text=30° / /mx:Application Save your MXML file with UTF-8 encoding, it should work. -abdul From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Thursday, August 25, 2005 10:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Special Chars. in AS Hi, I need to display Celsius (250°C) string in a Flex app. Data comes from CF and you can use deg; in CF to show it correctly in HTML but when it comes to Flash Player, it just spells it (deg;) out. What should I use for special Chars? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] OH, For the love of all that's good, please help!
Where do I make the change to this setting? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rick Bullotta Sent: Thursday, August 25, 2005 8:00 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] OH, For the love of all that's good, please help! One piece of advice: Avoid rpc/encoded web services and use doc/literal whenever possible From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sean McKibben Sent: Tuesday, August 23, 2005 1:09 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] OH, For the love of all that's good, please help! I ran into this as well. Looking at the SOAP encoded message, it appeared to me that flex wasn't making clean SOAP (pun definitely intended). When we switched over to using the CFC's RemoteObject instead of the WebService, things started working again. Wasn't too hard of a switch, and I'll take the NetConnectionDebugger over paging through SOAP any day. (still wish webservice serializing worked better...) See my Flex serializer vs CF7 deserializer post thread or the Collections between Flex and Web services thread for some possible workarounds that didn't work for me... Sean McKibben On Aug 23, 2005, at 10:29 AM, bsd wrote: I'm passing an array from Flex to a web service located in a CFC. It returns an error that states: org.xml.sax.SAXException: No deserializer for array type -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Easiest way to connect to mysql?
Well from a Coldfusion perspective... it's extremely easy. In the Coldfusion administrator you set up a Datasource to your mySQL Database. CF comes with a mySQL driver out of the box, all you do is give it a name (eg mySQLDS), server, port, username, pw, etc... then in CF you make a file called a CFC (Coldfusion Component), which is just a text file and looks something like this in a very basic sense: mycomponent.cfc cfcomponent cffunction name=getData returnType=query access=remote cfquery name=myQuery datasource=mySQLDS SELECT * from whatever /cfquery cfreturn myQuery /cffunction /cfcomponent Then in Flex... mx:RemoteObject ... source=mycomponent mx:Method name=getData . / /mx:RemoteObject And that cfc can also be a webservice as the same time just by basically switching mx:RemoteObject to mx:WebService. From a PHP perspective, this article may help http://webservices.xml.com/pub/a/ws/2004/03/24/phpws.html pioplacz wrote: That I know cause at the moment I use PHP to output all the data from mysql and show it in XML. But thinking of using some other technology like webservices. But don't really know how to create them? Can you maybe explain a little how is all works and what would be the easiest way to use. Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hhin9nn/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125005149/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Rich Text Editor
I have a rich text editor that I wrote in coldfusion. It is pulled via a customtag that I wrote. Now the question I have is, it is possible to use this RTE with in flex, or are there any RTE's that are built just for flex. Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hb7h9ev/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125005210/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Easiest way to connect to mysql?
If you have never written cfc's, here are a few links that will help you alot. The second link is probably the best newbie cfc tutorial. Also you might want to check out www.easycfm.com. There are tons of people on there who are experts with coldfusion. http://www.macromedia.com/devnet/coldfusion/articles/oo_interface.html http://www.macromedia.com/devnet/coldfusion/articles/creating_cfcs.html http://www.macromedia.com/devnet/coldfusion/cfcs.html --- In flexcoders@yahoogroups.com, Tariq Ahmed [EMAIL PROTECTED] wrote: Well from a Coldfusion perspective... it's extremely easy. In the Coldfusion administrator you set up a Datasource to your mySQL Database. CF comes with a mySQL driver out of the box, all you do is give it a name (eg mySQLDS), server, port, username, pw, etc... then in CF you make a file called a CFC (Coldfusion Component), which is just a text file and looks something like this in a very basic sense: mycomponent.cfc cfcomponent cffunction name=getData returnType=query access=remote cfquery name=myQuery datasource=mySQLDS SELECT * from whatever /cfquery cfreturn myQuery /cffunction /cfcomponent Then in Flex... mx:RemoteObject ... source=mycomponent mx:Method name=getData . / /mx:RemoteObject And that cfc can also be a webservice as the same time just by basically switching mx:RemoteObject to mx:WebService. From a PHP perspective, this article may help http://webservices.xml.com/pub/a/ws/2004/03/24/phpws.html pioplacz wrote: That I know cause at the moment I use PHP to output all the data from mysql and show it in XML. But thinking of using some other technology like webservices. But don't really know how to create them? Can you maybe explain a little how is all works and what would be the easiest way to use. Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Accordion: save form on exit
So far the solutions proposed are good except for one thing!! How to get saved a sub-component if I click anywhere on my apps (could be tree menu, buttons, etc). The word "focus out" seems to be the best word to explain that but it is not doing what I need. In the following example. If I am in the Comp1 and I click on an item on the left tree...meaning that I am focussing out of the Comp1...how to get the Comp1 saved? Thanks mx:HBox mx:Tree .../ mx:Accordion mx:Form id="form1" label="Form One" hide="saveForm(1)" comp:Comp1 id="comp1"/ /mx:Form mx:Form id="form2" label="Form Two" hide="saveForm(2)" mx:Label text="1"/mx:Label /mx:Form /mx:Accordion /mx:HBox Ghislain Simard -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Philippe MaegermanSent: Thursday, August 25, 2005 3:40 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Accordion: save form on exit You could alsouse your subComponents'hide' events : mx:Accordionmx:Form id="form1" label="Form One" hide="saveForm(1)" mx:Label text="1"/mx:Label/mx:Formmx:Form id="form2" label="Form Two" hide="saveForm(2)" mx:Label text="1"/mx:Label/mx:Form/mx:Accordion Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul QabizSent: jeudi 25 août 2005 6:37To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Accordion: save form on exit You mean, when another view(form) inside an Accordion is selected youwant to save the values in previously selected view(form)?You can subscribe to Accordion's change event and do the appropriate.Event object contains a propert(prevValue) which is zero-based index ofpreviously selected view inside the Accordion.See the code below:-mx:Script function saveForm(whichForm:Number) { switch(whichForm) { case 0: comp1.saveForm(); break; case 1: comp2.saveForm(); break; } }/mx:Scriptmx:Accordion change="saveForm(event.prevValue)"mx:Form id="form1" label="Form One" comp:Comp1 id="comp1"//mx:Formmx:Form id="form2" label="Form Two" comp:Comp2 id="comp2"//mx:Formmx:AccordionComp1.mxmlfunction saveForm(){saveRO.Save(myValues);//save values in the Database using RemoteObject}Hope it helps..-abdul-Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of Ghislain SimardSent: Thursday, August 25, 2005 4:21 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Accordion: save form on exithow can we get the form values saved on exit of a stack of an Accordion? I have tried focusOut but no success.I have a function inside each component (Comp1 and Comp2) which is saving the values in a database.mx:Accordion mx:Form id="form1" label="Form One" comp:Comp1//mx:Formmx:Form id="form2" label="Form Two" comp:Comp2//mx:Formmx:AccordionComp1.mxmlfunction saveForm(){saveRO.Save(myValues);//save values in the Database using RemoteObject}--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links --**STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.-- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Link Component
Hiya guys, I am trying to disable the rollOver action on the Link component. It seams it doesn't have a useRollOver = false property. Anyone have been able to disable it some other way? Thanks Omar Ramos System Developer Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h9s44vb/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125005927/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Rich Text Editor
Hi, This is in the list FAQ here: http://www.cflex.net/showfaq.cfm#Question367 -David Macromedia -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Thursday, August 25, 2005 3:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Rich Text Editor I have a rich text editor that I wrote in coldfusion. It is pulled via a customtag that I wrote. Now the question I have is, it is possible to use this RTE with in flex, or are there any RTE's that are built just for flex. Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hb7h9ev/M=362131.6882499.7 825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125005210 /A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hlrupft/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125006560/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] OH, For the love of all that's good, please help!
It isnt really a setting, it is a design approach. The comment was more that if you build your own web services, Id recommend using document/literal. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bsd Sent: Thursday, August 25, 2005 3:23 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] OH, For the love of all that's good, please help! Where do I make the change to this setting? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rick Bullotta Sent: Thursday, August 25, 2005 8:00 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] OH, For the love of all that's good, please help! One piece of advice: Avoid rpc/encoded web services and use doc/literal whenever possible -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Developers Toolbox
A cool summary of various editors and tools Flash developers can use, but definitely can be taken advantage of by Flexers. http://www.webpronews.com/webdevelopment/webgraphics/wpn-25-20050825FlashDeveloperToolbox.html Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] creationComplete on ViewStack children *bug?*
I've got a typical setup where i set certain properties of controls within a child of a view stack. Inside the child i have the usual creationComplete=hlper.myfunc() Only the myFunc doesn't even know its children within, meaning if i did view.myButton.enable = false; the view.myButton would return undefined. Yet if i put creationPolicy=all on the actual viewstack itself, the above code example would return a valid button for view.myButton So in saying this, does this mean that ViewStack creates the base containers for all of its children, but all sub-containers there within, aren't created until that child recieves index selection, meaning if child 2 is clicked, now create its actual internals To me, the creationComplete event *should* fire once all of its children objects are actually created, meaning your entire container has come back completed, now carry out tasks I also tried putting creationPolicy=all on the child container itself, but still nothing. It has to be done via the ViewStack in order for me to manipulate controls within a child? -- Regards, Scott Barnes http://www.mossyblog.com Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h9e3sfs/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125020712/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Cairngorm Development Cycle
Glue is a term i've picked up from an old job, basically its a title that does bitsa bit-o-serverside, bit-o-clientside, bit-o-db side (rare). This could be a long reply, so get comfortable. I've found in FLEX, a lot of the mundane tasks are visuals, meaning hmm does this color work, yes, cool or I need to come up with a structure here that is more fluid then traditional datagrid insert/update/delete aspects. Take for example this: http://www.mossyblog.com/archives/519.cfm Inside my Sneak peak, I basically have a screen comprising of: 1x FilterPod (it can be interchangeable, in that if there is 1 tier, its a simple list, but if its many its a tree). 1x Calendar Pod 1x Inbox View 1x Custom AppWindow/AppPanel (more on that later) 1x Custom Initialize Window 1x Popup Wizard style window etc.. Now In this example It was a solo thing, but if i were to hand this concept again to fellow team members, i would of given the UI guy/gal enough work to be able to carry on independent of the server-side person. Meaning: Task 1: build a splash screen, that takes an array of text that shows whats being loaded. I also want it to feed of a shared property (ie ModelLocator) to keep track of state, in that if state changes, put in some in line logic that updates visuals. Task 2: build a Calendar Pod, that mimics Windows O/S Calendar within taskbar (ie dbl click on your windows time - for those who have windows). So when a user updates the year or month, the calendar control updates and same goes for calendar itself). On top of that, I want you to make sure the Calendar pod dispatches an event saying Somethings changed (ie dispatchEvent onDateChange() ) I also want you to provide a way to set selectedDate:Date for this pod, which also updates accordingly. The list could go on.. Then for the serverside, i'd inform them that i need coldfusion to be work as if the UI is either HTML or FLASH or SOAP, in that don't give two hoots about how it comes together visually, just stipulate what you need in terms of arguments to a various services within and i'll make sure the uis adhere to that. Now the glue guy/gal is the person that knows how to slot everything together, meaning I want to fire xyz commands in sequence to show the initialization screen, in that i want to : - test to see if the gateway is still there - initialize security (ie ask cfmx singelton style request, is security model instantiated, if not do so ) - perform security handshake and wait for a result (ie log me in via my ActiveDirectory and see if have access to this flex app) - grab my InboxFilter dataprovider (ie ask serverside for my inbox filters saved remotely) - once i have my inbox filters, select my default and get all invoices pertaining to that filter, selectedDate and my profile - now show the actual application if all passes ok. Which I then switch from splashscreen child to mainchild, Now in mainchild i basically layout all the UI ingredients I asked my UI guy/gal to create in an orderly way. I then setup various addlisteners, bindings etc to the api calls (ie if calenderpod updates date, update my Inboxfilter to reflect that date change etc) Basically there are 4 tiers you can approach this with: - Gluer / Architect - UI - Serverside - DBA On small apps this is a no brainer, but on much larger apps the segregation can be helpful but also can be a bottle neck if not carefully orchestrated. So that's why specification and planning is a crucial component of the gluer concept, meaning if the glue cannot perform his/her duties (ie got hit by bus? ) then someone else can easily step into that role and fullfill it. So that's why i have things like my Software-O-Matic style task listings, whereby I after specifications been written and signed off on, I then begin to itemize various tasks of what needs to be done. Each time someone performs the task, the update the list (ie its basically a 100% complete against version x.x.x of that component). If you're in a POC stage that relies more on visuals then server side, you can utilise the first two (Architect / UI) and do away with the bottom two for now. Then once the POC is nearly there or very close to it, come back write down specification changes / enhancement requests etc and begin an actual development phase of the project. This kind of approach helped me anyway, either in a team or solo. If solo, I swap hats back and forth, and i approach an application like the above, whereby I start out building a lot of the custom visuals, then at the same time see how the fit into an overall screen concept. Once i have that squared away, I stop work, compare notes against spec and begin to make sure server-side adheres to the visuals or needs a further look. I then close down my flex app, and build cfmx (writing mach-ii unit testers and what not for it). Then once the CFMX side of things is running smoothly, i look at building a flexGateway.cfc or flexFacade.cfc (whatever holds your
RE: [flexcoders] Multiple file upload in fp8
Thats awesome news. Now if we could just do drag and drop like in my Java applet I would be set. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Philippe Maegerman Sent: Thursday, August 25, 2005 4:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Multiple file upload in fp8 Ok not flex but related, some of you will like to know that multiple file upload is possible in flash player 8: That's great news .. http://www.oinam.com/experiments/flash8/fileuploaddownload/ Philippe Maegerman -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --**STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--
[flexcoders] CFC debugging netConnectionDebugger
In recent posts to the group I can see people having with fun tracking down bugs in their CFCs from Flex. Inspired me to write a post on flex daddy http://www.flexdaddy.info/2005/08/26/waiter-there-is-a-bug-in-my-cfc/ A very handy CustomTag is available for download that returns all cfcatch information to the netConnectionDebugger. No more debugging in the dark as Darius put it :] Cheers, Malcolm -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] CFC debugging netConnectionDebugger
N I C E ...This is a huge advancement forward in debugging Flex with CFC...I'm beginning to see the light...;-) But, (there's always a 'but')...I'm not using Application.cfc, but Application.cfm...should I just define the following in the cfc? // error trapping parametersrequest.error.email = "[EMAIL PROTECTED]";request.error.enableEmail = false;request.error.enableErrorFile = true; A big thank you from all of us CFCers, Darius -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of MalcolmSent: Thursday, August 25, 2005 5:42 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] CFC debugging netConnectionDebugger In recent posts to the group I can see people having with fun tracking down bugs in their CFCs from Flex. Inspired me to write a post on flex daddy http://www.flexdaddy.info/2005/08/26/waiter-there-is-a-bug-in-my-cfc/ A very handy CustomTag is available for download that returns all cfcatch information to the netConnectionDebugger. No more debugging in the dark as Darius put it :] Cheers, Malcolm -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] CFC debugging netConnectionDebugger
Cool! Didn't know Andrew had a duplicate owner hehe (ie two flexers for flexdaddy?) I've gone down the path of wrapping try/catch statements inside my flexGateway/flexFacade.cfc that dump the error to session scope, and rethrow it. Then inside my a unittest/dump.cfm i simply dump out session scope with the error. Its cumbersome but helps. On 8/26/05, Malcolm [EMAIL PROTECTED] wrote: In recent posts to the group I can see people having with fun tracking down bugs in their CFC's from Flex. Inspired me to write a post on flex daddy… http://www.flexdaddy.info/2005/08/26/waiter-there-is-a-bug-in-my-cfc/ A very handy CustomTag is available for download that returns all cfcatch information to the netConnectionDebugger. No more debugging in the dark as Darius put it :] Cheers, Malcolm -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Regards, Scott Barnes http://www.mossyblog.com Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: CFC debugging netConnectionDebugger
Hehe, not quite Scott, just a place holder to put some nice helper code. Malcolm is my young apprentice, learning the dark arts of Flex. He is progressing nicely, soon to be more powerful than ever! muhahaha ... sorry, got a little carried away :-p Andrew www.flexdaddy.info --- In flexcoders@yahoogroups.com, Scott Barnes [EMAIL PROTECTED] wrote: Cool! Didn't know Andrew had a duplicate owner hehe (ie two flexers for flexdaddy?) I've gone down the path of wrapping try/catch statements inside my flexGateway/flexFacade.cfc that dump the error to session scope, and rethrow it. Then inside my a unittest/dump.cfm i simply dump out session scope with the error. Its cumbersome but helps. On 8/26/05, Malcolm [EMAIL PROTECTED] wrote: In recent posts to the group I can see people having with fun tracking down bugs in their CFC's from Flex. Inspired me to write a post on flex daddy http://www.flexdaddy.info/2005/08/26/waiter-there-is-a-bug-in-my-cfc/ A very handy CustomTag is available for download that returns all cfcatch information to the netConnectionDebugger. No more debugging in the dark as Darius put it :] Cheers, Malcolm -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Regards, Scott Barnes http://www.mossyblog.com Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hfpknof/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125025878/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] CFC debugging netConnectionDebugger
Yep, just put the request scoped vars in an Application.cfm and it will work fine. Malcolm From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Friday, 26 August 2005 10:58 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] CFC debugging netConnectionDebugger N I C E ...This is a huge advancement forward in debugging Flex with CFC...I'm beginning to see the light...;-) But, (there's always a 'but')...I'm not using Application.cfc, but Application.cfm...should I just define the following in the cfc? // error trapping parameters request.error.email = [EMAIL PROTECTED]; request.error.enableEmail = false; request.error.enableErrorFile = true; A big thank you from all of us CFCers, Darius -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Malcolm Sent: Thursday, August 25, 2005 5:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] CFC debugging netConnectionDebugger In recent posts to the group I can see people having with fun tracking down bugs in their CFCs from Flex. Inspired me to write a post on flex daddy http://www.flexdaddy.info/2005/08/26/waiter-there-is-a-bug-in-my-cfc/ A very handy CustomTag is available for download that returns all cfcatch information to the netConnectionDebugger. No more debugging in the dark as Darius put it :] Cheers, Malcolm -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] CFC debugging netConnectionDebugger
and yeah, you could of course define the variables in the errorTrapping tag itself, I would wouldnt recommend putting the request vars in the cfc itself, as your create more cfcs etc that use the errorTrapping tag it would get a little tedious maintaining the settings in each cfc. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Friday, 26 August 2005 10:58 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] CFC debugging netConnectionDebugger N I C E ...This is a huge advancement forward in debugging Flex with CFC...I'm beginning to see the light...;-) But, (there's always a 'but')...I'm not using Application.cfc, but Application.cfm...should I just define the following in the cfc? // error trapping parameters request.error.email = [EMAIL PROTECTED]; request.error.enableEmail = false; request.error.enableErrorFile = true; A big thank you from all of us CFCers, Darius -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Malcolm Sent: Thursday, August 25, 2005 5:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] CFC debugging netConnectionDebugger In recent posts to the group I can see people having with fun tracking down bugs in their CFCs from Flex. Inspired me to write a post on flex daddy http://www.flexdaddy.info/2005/08/26/waiter-there-is-a-bug-in-my-cfc/ A very handy CustomTag is available for download that returns all cfcatch information to the netConnectionDebugger. No more debugging in the dark as Darius put it :] Cheers, Malcolm -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Problems with xmlns=http://www.macromedia.com/2003/flex-config in flex-config
A development tool (eclipse) has started to complain about usage of xmlns in the flex config files. The problem seems to be that the files these specifications refer to are not present. For example, flex-config.xml has flex-config xmlns=http://www.macromedia.com/2003/flex-config; But the URL it is pointing to is not valid. If I change this to flex-config then MyEclipse is happy, but then the flex server fails to start properly! Is there a work around for this? Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hv0kg4d/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125026412/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] CFC debugging netConnectionDebugger
Andrew was kind enough to grant me a post. Ohit has to be said... Now who's your daddy? :D Can't see any reason why you shouldn't be able to implement the cf_errorTrapping tag at a façade level (yet to do this myself). It dumps out the entire cftagcontext, thus any errors in deeply nested cfc's (the line number, file name path etc) will come through. m -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes Sent: Friday, 26 August 2005 11:01 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] CFC debugging netConnectionDebugger Cool! Didn't know Andrew had a duplicate owner hehe (ie two flexers for flexdaddy?) I've gone down the path of wrapping try/catch statements inside my flexGateway/flexFacade.cfc that dump the error to session scope, and rethrow it. Then inside my a unittest/dump.cfm i simply dump out session scope with the error. Its cumbersome but helps. On 8/26/05, Malcolm [EMAIL PROTECTED] wrote: In recent posts to the group I can see people having with fun tracking down bugs in their CFC's from Flex. Inspired me to write a post on flex daddy http://www.flexdaddy.info/2005/08/26/waiter-there-is-a-bug-in-my-cfc/ A very handy CustomTag is available for download that returns all cfcatch information to the netConnectionDebugger. No more debugging in the dark as Darius put it :] Cheers, Malcolm -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Regards, Scott Barnes http://www.mossyblog.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hf6595e/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125026881/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Cairngorm Development Cycle
Yes, thanks for the insight. I pretty much do the same thing you do for POC purpose. I guess your UI guy is not typically responsible for wiring up the UI to communicate with the server-side, where in our case he/she is. After your definition, I do consider myself somewhat of a glue-guy, but as quite as you suggest... something to think about. Thanks for sharing. Love the app as well :) Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott BarnesSent: Thursday, August 25, 2005 8:14 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm Development Cycle Glue is a term i've picked up from an old job, basically its a title that does "bitsa" bit-o-serverside, bit-o-clientside, bit-o-db side (rare).This could be a long reply, so get comfortable.I've found in FLEX, a lot of the mundane tasks are visuals, meaning "hmm does this color work, yes, cool" or "I need to come up with a structure here that is more fluid then traditional datagrid insert/update/delete aspects".Take for example this: http://www.mossyblog.com/archives/519.cfmInside my "Sneak peak", I basically have a screen comprising of:1x FilterPod (it can be interchangeable, in that if there is 1 tier, its a simple list, but if its many its a tree).1x Calendar Pod1x Inbox View1x Custom AppWindow/AppPanel (more on that later)1x Custom Initialize Window1x Popup Wizard style window etc..Now In this example It was a solo thing, but if i were to hand this concept again to fellow team members, i would of given the UI guy/gal enough work to be able to carry on independent of the server-side person.Meaning:Task 1: build a splash screen, that takes an array of text that shows whats being loaded. I also want it to feed of a shared property (ie ModelLocator) to keep track of state, in that if state changes, put in some in line logic that updates visuals.Task 2: build a Calendar Pod, that mimics Windows O/S "Calendar" within taskbar (ie dbl click on your windows time - for those who have windows). So when a user updates the year or month, the calendar control updates and same goes for calendar itself). On top of that, I want you to make sure the Calendar pod dispatches an event saying "Somethings changed" (ie dispatchEvent onDateChange() ) I also want you to provide a way to set selectedDate:Date for this pod, which also updates accordingly.The list could go on..Then for the serverside, i'd inform them that i need coldfusion to be work as if the UI is either HTML or FLASH or SOAP, in that don't give two hoots about how it comes together visually, just stipulate what you need in terms of arguments to a various services within and i'll make sure the uis adhere to that.Now the "glue" guy/gal is the person that knows how to slot everything together, meaning "I want to fire xyz commands in sequence to show the initialization screen, in that i want to :- test to see if the gateway is still there- initialize security (ie ask cfmx singelton style request, is security model instantiated, if not do so )- perform security handshake and wait for a result (ie log me in via my ActiveDirectory and see if have access to this flex app)- grab my InboxFilter dataprovider (ie ask serverside for my inbox filters saved remotely)- once i have my inbox filters, select my default and get all invoices pertaining to that filter, selectedDate and my profile- now show the actual application if all passes ok.Which I then switch from splashscreen child to mainchild, Now in mainchild i basically layout all the UI ingredients I asked my UI guy/gal to create in an orderly way. I then setup various addlisteners, bindings etc to the api calls (ie if calenderpod updates date, update my Inboxfilter to reflect that date change etc)Basically there are 4 "tiers" you can approach this with:- Gluer / Architect- UI- Serverside- DBAOn small apps this is a no brainer, but on much larger apps the segregation can be helpful but also can be a bottle neck if not carefully orchestrated. So that's why specification and planning is a crucial component of the "gluer" concept, meaning if the "glue" cannot perform his/her duties (ie got hit by bus? ) then someone else can easily step into that role and fullfill it. So that's why i have things like my "Software-O-Matic" style task listings, whereby I after specifications been written and signed off on, I then begin to itemize various tasks of what needs to be done. Each time someone performs the task, the update the list (ie its basically a 100% complete against version x.x.x of that component).If you're in a POC stage that relies more on visuals then server side, you can utilise the first two (Architect / UI) and do away with the bottom two for now. Then once the POC is nearly there or very close to it, come back write down specification changes / enhancement requests etc and begin an actual
RE: [flexcoders] creationComplete on ViewStack children *bug?*
Title: RE: [flexcoders] creationComplete on ViewStack children *bug?* Scott- So in saying this, does this mean that ViewStack creates the base containers for all of its children, but all sub-containers there within, aren't created until that child recieves index selection, meaning if child 2 is clicked, now create its actual internals Right, following is from docs: A creationPolicy of auto means that the container is to delay creating some or all descendants until they are needed, a process which is known as deferred instantiation. This policy produces the best startup time because fewer UIObjects are created initially. However, this introduces navigation delays when a user navigates to other parts of the application for the first time. Navigator containers such as Accordion, TabNavigator, and ViewStack implement the auto policy by creating all their children immediately, but wait to create the deeper descendants of a child until it becomes the selected child of the navigator container. That means, to me, it is there by design. You can call myFunc from creationComplete of each children or show/hide event of ViewStack. -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Barnes Sent: Friday, August 26, 2005 5:15 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] creationComplete on ViewStack children *bug?* I've got a typical setup where i set certain properties of controls within a child of a view stack. Inside the child i have the usual creationComplete=hlper.myfunc() Only the myFunc doesn't even know its children within, meaning if i did view.myButton.enable = false; the view.myButton would return undefined. Yet if i put creationPolicy=all on the actual viewstack itself, the above code example would return a valid button for view.myButton So in saying this, does this mean that ViewStack creates the base containers for all of its children, but all sub-containers there within, aren't created until that child recieves index selection, meaning if child 2 is clicked, now create its actual internals To me, the creationComplete event *should* fire once all of its children objects are actually created, meaning your entire container has come back completed, now carry out tasks I also tried putting creationPolicy=all on the child container itself, but still nothing. It has to be done via the ViewStack in order for me to manipulate controls within a child? -- Regards, Scott Barnes http://www.mossyblog.com Yahoo! Groups Sponsor ~-- font face=arial size=-1a href="" href="http://us.ard.yahoo.com/SIG=12h9e3sfs/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125020712/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org">http://us.ard.yahoo.com/SIG=12h9e3sfs/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125020712/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] creationComplete on ViewStack children *bug?*
Aye, i RTFM ;) heheh .. but wait to create the deeper descendants of a child until it becomes the selected child of the navigator container... See that part is what threw me, it sounded is if you left the creationPolicy soley up to the ViewStack, then yes it proceeds according to design. Yet, if you put in creationPolicy=all on the *actual* child02, its ignored in favour of what the actual viewstack's policy states... in that you can't over-ride it for children within the viewstack? As to what then purpose you would have creationComplete= on a child of a viewstack is beyond me? Smells fishy to me ;) hehe On 8/26/05, Abdul Qabiz [EMAIL PROTECTED] wrote: Scott- So in saying this, does this mean that ViewStack creates the base containers for all of its children, but all sub-containers there within, aren't created until that child recieves index selection, meaning if child 2 is clicked, now create its actual internals Right, following is from docs: A creationPolicy of auto means that the container is to delay creating some or all descendants until they are needed, a process which is known as deferred instantiation. This policy produces the best startup time because fewer UIObjects are created initially. However, this introduces navigation delays when a user navigates to other parts of the application for the first time. Navigator containers such as Accordion, TabNavigator, and ViewStack implement the auto policy by creating all their children immediately, but wait to create the deeper descendants of a child until it becomes the selected child of the navigator container. That means, to me, it is there by design. You can call myFunc from creationComplete of each children or show/hide event of ViewStack. -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes Sent: Friday, August 26, 2005 5:15 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] creationComplete on ViewStack children *bug?* I've got a typical setup where i set certain properties of controls within a child of a view stack. Inside the child i have the usual creationComplete=hlper.myfunc() Only the myFunc doesn't even know its children within, meaning if i did view.myButton.enable = false; the view.myButton would return undefined. Yet if i put creationPolicy=all on the actual viewstack itself, the above code example would return a valid button for view.myButton So in saying this, does this mean that ViewStack creates the base containers for all of its children, but all sub-containers there within, aren't created until that child recieves index selection, meaning if child 2 is clicked, now create its actual internals To me, the creationComplete event *should* fire once all of its children objects are actually created, meaning your entire container has come back completed, now carry out tasks I also tried putting creationPolicy=all on the child container itself, but still nothing. It has to be done via the ViewStack in order for me to manipulate controls within a child? -- Regards, Scott Barnes http://www.mossyblog.com Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h9e3sfs/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125020712/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Regards, Scott Barnes http://www.mossyblog.com Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ:
RE: [flexcoders] the \n doesn't work in XML
ok... but what do you mean by a sub class? nithyaGordon Smith [EMAIL PROTECTED] wrote: The Button control doesn't support multi-line labels. You would have to write a subclass to do this. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nithya RSent: Thursday, August 25, 2005 12:16 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] the \n doesn't work in XML i am not able to send you the full code since its too large... i use it in the viewhelper labels.bundle.BTN_ENTRY = label.BTN_ENTRY_1.French#13; label.BTN_ENTRY_2.French; and display it in buttonlabel like this: mx:Button id="Btn_Entry" label="{helper.labels.bundle.BTN_ENTRY}"/ if u are not able to get it , then i shall build a small code and send it again... thanks nithya Gordon Smith [EMAIL PROTECTED] wrote: Post the code for a small and simple, but complete, mx:Application that demonstrates your problem. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nithya RSent: Wednesday, August 24, 2005 10:48 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] the \n doesn't work in XML hai i tried giving the text is #13; too long to displayed but it still doesn't work... could you pls tell me y? thanks nithya Gordon Smith [EMAIL PROTECTED] wrote: \n doesn't mean anything in XML. Try #13; (including the semicolon) which is the XML escape sequence representing a Carriage Return character. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy SprattSent: Wednesday, August 24, 2005 10:40 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] the \n doesn't work in XML What control are you displaying it in? Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nithya RSent: Wednesday, August 24, 2005 8:19 AMTo: flexcodersSubject: [flexcoders] the \n doesn't work in XML hai i have an XML with a node containg "this line is too big.\nto be displayed in the second line" and when accessing this node and displaying the content the \n is not being recognised and the txet is not displayed in two lines... how to sdo this? nithya Send instant messages to your online friends http://uk.messenger.yahoo.com Send instant messages to your online friends http://uk.messenger.yahoo.com Send instant messages to your online friends http://uk.messenger.yahoo.com Send instant messages to your online friends http://uk.messenger.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.