[flexcoders] Problem with ColumnChart within a repeater
Hello, I am trying to use a ColumnChart within a Repeater. Sadly the charts are always empty. If I copy and paste the chart below the repeater, the chart is displayed with valid vlaues of the last repeat. The bindings seem to be right. So why the charts are empty if it's inside the repeater? Is it a bug? I am using Flex 1.5. Source: mx:Repeater id=panel dataProvider={dataService.result.survey.bereich} ... mx:VBox borderStyle=none marginTop=0 marginBottom=4 marginLeft=0 marginRight=7 width=314 height=100% mx:ColumnChart type=stacked columnWidthRatio=.7 marginLeft=0 height=100% width=100% marginRight=0 dataProvider={panel.currentItem.reihe} showDataTips=false clipContent=false mx:horizontalAxis mx:CategoryAxis dataProvider={panel.currentItem.reihe} categoryField=text/ /mx:horizontalAxis mx:series mx:Array mx:ColumnSeries xField=text yField=wert styleName=seriesStyle /mx:ColumnSeries /mx:Array /mx:series /mx:ColumnChart /mx:VBox ... /mx:Repeater --- Thank you for any kind of help! Yahoo! Groups Sponsor ~-- AIDS in India: A lurking bomb. Click and help stop AIDS now. http://us.click.yahoo.com/VpTY2A/lzNLAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Socket (not XMLSocket) Issue
Title: Re: [flexcoders] Socket (not XMLSocket) Issue Darron, Thanks so much. Sometimes it's better to know something cannot be done than to search for a solution hours and hours. Two remaining questions: 1. What do you think about using something like a sequence number? Client Requests increment a sequence number and server returns it. The sequence number could then be used as a literal index in a collection. 2. There is still one part I don't get: Suppose I send my command to the server. Right after that I start a for loop incrementing to like 10 doing nothing in the loop body. I just want to kind of sleep. My idea was that sometime while the for loop still executes, the response is retrieved, so the OnDataReceived event should be fired (by the Socket) even if I am still in the for loop. Isn't this the idea of asynchronous events? However to me it appears that the event does not get fired while I'm in the for loop. Instead the event (and the attached Handler) is called right after the loop exits. Why? Thanks in advance Ralf -Original Message- From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Wed Nov 30 18:23:20 2005 Subject: Re: [flexcoders] Socket (not XMLSocket) Issue Ralf Rottmann wrote: In another area of the application I want to call it like this: response = SendCommand(login name); Alert.show(response), Welcome to the world of asynchronous socket programming. In short, you can't do what you want to do in the manner in which you have it coded above. There is no way to make the Flash Player block until the socket returns a value, so you're only choice is to move everything into event handlers. Essentially, this was the biggest hurdle for me in developing FlashVNC. I was so used to doing thing synchronously that having to deal with event handlers and callbacks for socket data threw a monkey wrench into my master plan. The main issues I ran into: 1. Not sure which socket write the onSocketData event handler is triggered by (if any). 2. Not enough data in the socket to finish processing (i.e. you need to call 4 readBytes but only 3 bytes are available, so you get an EOFError when trying to read the 4th byte and your program dies). To fix #1, a simple solution is to use a state variable: // send the login command state = SENT_LOGIN; SendCommand( login name ); // event handler private function onSocketData( pe:ProgressEvent ):Void { switch ( state ) { // recevied data back after the login was sent, handle the response case SENT_LOGIN: processLoginResponse( pe ); break; case OTHER_STATE: processSomeOtherState( pe ); break; } } Somewhere down the line, update the state and write some more data in the socket so when data is received as a response you can call the appropriate handler in the switch. This isn't quite100% how I'd implement it, but you get the idea. #2 above is potentially a LOT harder to handle. The gist of it is you need to know how many bytes of data you need in the socket before starting to read the data in the socket. That is, the first line in the method body should be: // method called from within onSocketData private function processLoginResponse( pe:ProgressEvent ):Void { if ( socket.bytesAvailable = BYTES_NEEDED ) { // have enough data, ok to process } // else not enough data, so just wait for onSocketData to be called again when more data arrives } The trick is knowing how many bytes are needed. After talking with Spike about this - the best thing you can do is send the number of bytes in the response as the first element in the response. That way the client can read how many bytes the server sent, see how many bytes are in the socket, and only process if all of the data has reached the client. If you want an example of an application built with asynchronous sockets, I recommend purchasing IFBIN's Flex By Example and looking at the FlashVNC source code. Also, Ely and Sho at Macromedia have some ideas on how to write easier to read code for dealing with asynchronous events. Maybe they'll contribute to this thread? -d Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/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 Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:
[flexcoders] showing values inside datagrid when click on button outside
Hi All, I have data grid populated with records from DB as, mx:DataGrid id=dGrid dataProvider={lglDocLst} mx:columns mx:Array mx:DataGridColumn headerText=Item Name columnName=att_Name / /mx:Array /mx:columns /mx:DataGrid where lglDocLst is values returned from my Java class. This works fine.In my datagrid its printing 2 values of att_Name. Now I have a button outside datagrid as, mx:Button label=Show click=showAlert() / when I click on this button I am printing alert as function showAlert(){ mx.controls.Alert.show(MyValue +lglDocLst.att_Name); } But this function printing undefined. any suggestions will be appreciable. Thx, sandip p Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/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] LabelFunction problem with DG built dynamically
I have a datagrid that is built dynamically via AS. I add columns to the datagrid var column:DataGridColumn = new DataGridColumn("Apples"); column.headerText = "Apples"; column.columnName = "apples"; column.labelFunction = formatApples; The labelFunction does not seem to work. What is the right way to assign labelFunction. Regards Sree -- 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] Re: Rich Internet Application (HaloGreen) Stencil for Microsoft Visio 2002
Where exactly did I make a false pretense of free stuff? Sorry if it came across like that, but there was no intention to deceive. I actually had it set at less but Nimer suggested raising it to $25 after using it. I split the difference and went $20 (it did take me three weeks to develop after all.) Believe me, if you're a Flash forms or Flex developer and you need to make static mockups this is awesome. Not 100% perfect, but very complete and extremely useful. Actually don't believe me, wait a while to see what the feedback is for the stencil and then decide for yourself. Thanks! Darren --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: WTF, you have to pay? Dude, I'm all for buying software that solves my needs, but if you are selling services, please state it rather than linking under the false pretense of free stuff. - Original Message - From: Darren Houle [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, November 30, 2005 11:50 AM Subject: [flexcoders] Re: Rich Internet Application (HaloGreen) Stencil for Microsoft Visio 2002 It's not spam, the CFMX instance on my server forgot how to dynamically generate Flash forms. My ISP restarted CF and it's working now. I should probably look into converting the page to plain HTML but I just thought using CFForms would have more cool factor :- ) Darren --- In flexcoders@yahoogroups.com, Niklas Richardson [EMAIL PROTECTED] wrote: Mike Nimer from MM has been using them for the last week so I think it's legit! ;) On 30/11/05, Jeremy Rottman [EMAIL PROTECTED] wrote: I smell spam, but I could be wrong. --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: The page doesn't show anything in Firefox, nor IE? - Original Message - From: Darren Houle To: flexcoders@yahoogroups.com Sent: Wednesday, November 30, 2005 10:08 AM Subject: [flexcoders] Rich Internet Application (HaloGreen) Stencil for Microsoft Visio 2002 There is a new design stencil available for MS Visio 2002 (and higher) that allows Macromedia RIA developers to mockup Coldfusion MX Flash cfforms and Flex 1.5 applications using the HaloGreen look and feel. Much better than trying to mockup RIA's using Windows UI stencils or Dreamweaver's limited Design Mode. There's more information here. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice -- -- YAHOO! GROUPS LINKS a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- -- 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! -- 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 ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/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: Rich Internet Application (HaloGreen) Stencil for Microsoft Visio 2002
Dear WTF, Not sure where you get the linking under false pretense of free stuff because I never said it was free, just pointed to more information. I'm sorry you misunderstood. No secrets here, it's 20 bucks and includes a free update when the new Flex 2.0 object masters are added to the stencil. Considering it took me over three weeks to develop and it's extremely useful I think that's very reasonable. I created it for my own use because I wanted an RIA stencil for Visio and there wasn't one out there already. Contacted Mike Nimer to see if he knew of one out there and he said no, but that it would be a cool thing, so... I made one. After using it he suggested I sell it for more than 20... I thought I'd keep it low, so... there you are. It has worked quite well for me and based on the number of downloads from just this morning I'm guessing others are thinking it's worth the 20 bucks too. Hopefully you will too once you get your copy :-) Thanks! Darren --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: WTF, you have to pay? Dude, I'm all for buying software that solves my needs, but if you are selling services, please state it rather than linking under the false pretense of free stuff. - Original Message - From: Darren Houle [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, November 30, 2005 11:50 AM Subject: [flexcoders] Re: Rich Internet Application (HaloGreen) Stencil for Microsoft Visio 2002 It's not spam, the CFMX instance on my server forgot how to dynamically generate Flash forms. My ISP restarted CF and it's working now. I should probably look into converting the page to plain HTML but I just thought using CFForms would have more cool factor :- ) Darren --- In flexcoders@yahoogroups.com, Niklas Richardson [EMAIL PROTECTED] wrote: Mike Nimer from MM has been using them for the last week so I think it's legit! ;) On 30/11/05, Jeremy Rottman [EMAIL PROTECTED] wrote: I smell spam, but I could be wrong. --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: The page doesn't show anything in Firefox, nor IE? - Original Message - From: Darren Houle To: flexcoders@yahoogroups.com Sent: Wednesday, November 30, 2005 10:08 AM Subject: [flexcoders] Rich Internet Application (HaloGreen) Stencil for Microsoft Visio 2002 There is a new design stencil available for MS Visio 2002 (and higher) that allows Macromedia RIA developers to mockup Coldfusion MX Flash cfforms and Flex 1.5 applications using the HaloGreen look and feel. Much better than trying to mockup RIA's using Windows UI stencils or Dreamweaver's limited Design Mode. There's more information here. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice -- -- YAHOO! GROUPS LINKS a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- -- 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! -- 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 ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/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] gateway-config.xml configuration file description in Flex 1.5
Ok Matt What excectly I need is following: 1. Create my own adapter (don't ask me why I just need it), 2. Configure it with one string property, some parameter. It is a common way for Filters, Servlets etc but seems to be impossible for configuring adapters. If it is not impossible I'd like to create a feature request for Macromedia to implement it since it makes sence :). WBR, Mykola Matt Chotin wrote: What are you trying to do, create a new adapter? I dont really know the config file that well but I think if you dont see an example of what youre trying to do it may not be possible. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mykola Paliyenko Sent: Wednesday, November 30, 2005 3:11 AM To: flexcoders Subject: [flexcoders] gateway-config.xml configuration file description in Flex 1.5 Hello flexcoders, I was looking for docs about how to configure the subj. I found nothing found in google about it, can anyone tell me some usefull links about it, I'm especially interested in file format and service-adapters section where it comes to adapter configuration, Can I pass some value to the adapter from that xml file? how can I do it? etc. Sure I can decompile Flex server and knew about it but I think theere might be some easier way :). WBR, Mykola -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] concurrency=last
Yes, the concurrency in set in the service tag and not actionscript. I will create a workaround and I will also try to test Flex 2 to see if it is still a bug. Rich On 11/30/05, Matt Chotin [EMAIL PROTECTED] wrote: Sounds like a bug then, the workaround Ben suggested might be what you need to do then. Also I'm assuming that you're setting concurrency in the tag, not via ActionScript. Concurrency in 1.5 is through constant ints via code-gen, if you're assigning in AS maybe the value is being ignored. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rich Tretola Sent: Wednesday, November 30, 2005 4:25 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] concurrency=last Matt, They are 4 different methods being called on the same service. Rich On 11/30/05, Matt Chotin [EMAIL PROTECTED] wrote: I believe concurrency should be done on an operation basis but the setting is inherited from the service you don't assign one. The default is multiple. Are you making 4 different method calls or 4 calls to the same method? If the same method then obviously a setting of last should only return 1 instead of all of them, but if they're different methods that would sound like a bug. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ben Lucyk Sent: Tuesday, November 29, 2005 8:16 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] concurrency=last Hey Rich, I haven't tested, but looks to be that concurrency is set per service: Value that indicates how to handle multiple calls to the same service. The default value is multiple. The following values are permitted... I guess you could work around it by defining a service for each method if you really needed this functionality, but I'm curious about this one as well. Does anyone have any more details as to how Flex ...cancels any previous requests, while honoringthe new one for aconcurrency=last situation? -Ben On 11/29/05, Rich Tretola [EMAIL PROTECTED] wrote: Does the service concurrency work on a per method basis or per service ? Here is the situation (Flex 1.5): I have a piece of data in my model that when changed will fire off 4 method calls using the same service (Remote object call to java) with concurrency=last. It seems that I never get all 4 responding and that the concurrency is per service id ? Am I correct in this ? I always assumed that the concurrency set to last would be last call to a specific methd to avoid double calls to a specific method and not a specific service. Rich -- 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 Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development
[flexcoders] Aliased embedded fonts
Is there a way to alias embedded fonts? I cannot find any option for this! Thanks. Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/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: Handling dataObject within a CellRenderer
Any documents i should read first to understand your answer well? -k --- In flexcoders@yahoogroups.com, Stacey Mulcahy [EMAIL PROTECTED] wrote: No- something like this. ?xml version=1.0? !-renderer.mxml -- mx:VBox xmlns:mx=http://www.macromedia.com/2005/mxml; backgroundAlpha=0 borderThickness=0 mx:Script ![CDATA[ import flash.util.*; // Override the setter method. override public function set dataObject(value:Object):Void{ if(value != null) {// Use super to set the value in the base class. super.dataObject = value; my_icon.visible=true; } else{ my_icon.visible=false; } } ]] /mx:Script mx:HBox height=16 width=100% horizontalAlign=left mx:Image id=my_icon source=@Embed('icon.png') visible=false width=16/mx:Image mx:Label htmlText={dataObject.label}/mx:Label /mx:HBox /mx:VBox _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of keishichi2001 Sent: Thursday, November 24, 2005 9:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Handling dataObject within a CellRenderer Do you mean it's a bug? Any workaround that i could take? -- Keishichi --- In flexcoders@yahoogroups.com, bitchwhocodes [EMAIL PROTECTED] wrote: In Flex 2.0 you should be able to override the set dataObject and do what you need to do there. --- In flexcoders@yahoogroups.com, keishichi2001 [EMAIL PROTECTED] wrote: Flex 2.0 A TileList definition has a CellRenderer with 'listItemRenderer'. This CellRenderer should be able to handle value of dataObject which is passed from the TileList. I think there are two cases to handle dataObject within CellRenderer. (i) Direct access to a property of dataObject. ie) mx:Label text={dataObject.abc} / (ii) Handle a property of dataObject in AS function. ie) public function onCreationComplete(event:Object) { if (dataObject.abc == brabra) { . I have no issue at case (i), but case (ii). I got following error dialog at the time. === TypeError: Error #1010: undefined has no properties. at adayCellRenderer/onCreationComplete() at adayCellRenderer/___Canvas0_creationComplete() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/mx.core:UIComponent$protected::dispatchCreationComplete Event() at mx.core::UIComponent$/http://www.macromedia.com/2005/flex/mx/internal::dispa tchCreationCompleteEvents() at mx.managers::LayoutManager/LayoutManager$1689$private::doPhasedInstantiation () at mx.core::UIComponent/UIComponent$480$private::callLaterDispatcher2() at mx.core::UIComponent/UIComponent$480$private::callLaterDispatcher() === As you see, this function is invoked at creationComplete event of the CellRenderer, so all objects should be accessible at the time. Therefore i totally don't understand why i'm getting this error Any information will be appreciated. Best Regards, Keishichi -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site +design+developmentw2=Computer+software+developmentw3=Software+design+and+ developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=L-4QTvxB_quFDtMyhrQaHQ site design development Computer http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+si te+design+developmentw2=Computer+software+developmentw3=Software+design+an d+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s =166.sig=lvQjSRfQDfWudJSe1lLjHw software development Software http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+design+ and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5 s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ design and development Macromedia http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+deve lopmentw2=Computer+software+developmentw3=Software+design+and+development w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6n PIrz7_EpZI36cYzBjw flex Software http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=W eb+site+design+developmentw2=Computer+software+developmentw3=Software+desi
[flexcoders] Re: listen a custom event from a dialog(Flex 2.0)
any kind of suggestion would be highly appreciated -k --- In flexcoders@yahoogroups.com, keishichi2001 [EMAIL PROTECTED] wrote: My application has popup window which is triggered from the main application. var popup:Object = PopUpManager.popUpWindow(sWindow, this, modal); PopUpManager.centerPopUp(popup); Pop-uped dialog has a form and a submit button. When user fills and submit the form, data will be updated via my webservice. Also this dialog will be closed. After closing the dialog, main application should invoke another webservice to refresh a TileList that refers updated data by the dialog form. I thought i should (1) diapatch a custom event when the dialog closed. (dialogwindow.mxml) ... mx:Metadata [Event(RELOAD_DATA)] /mx:Metadata ... mx:Script ![CDATA[ // submit form here... dispatchEvent(new Event(RELOAD_DATA)); ]] /mx:Script (2) and listen the event and invoke handle function to refresh the TileList. (main.mxml) private function onCreationComplete() { addEventListener(RELOAD_DATA, loadData); } private function loadData() { // logic to invoke a webservice here... } When i run this application no error is reported, and the TileList is not refreshed Of course, the webservice works well. So i'm wrong at some point handling custom event... Please correct me. TIA, Keishichi Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/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: columnCount prop doesn't work in TileList(Flex2.0)
any info? -k --- In flexcoders@yahoogroups.com, keishichi2001 [EMAIL PROTECTED] wrote: My application has a TileList as following. mx:TileList id=tl_month width=100% height=100% columnCount=7 borderStyle=none dataProvider={myService.getData.result} listItemRenderer=myCellRenderer showEffect=Dissolve myCellRenders is a custom component based on Canvas, and it has no definition both on height and width. The problem is, the TileList displays only 4 columns and 5th element is displayed in next row. I want that to be showed as 7 x N. Note that the TileList shows a monthly calendar. Thanks, Keishichi Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/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/
RES: [flexcoders] Re: Flex 2.0 : How to validate form fields ?
Thank you ! -Mensagem original- De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Darin Kohles Enviada em: quinta-feira, 1 de dezembro de 2005 02:45 Para: flexcoders@yahoogroups.com Assunto: [flexcoders] Re: Flex 2.0 : How to validate form fields ? --- In flexcoders@yahoogroups.com, Michel Bertrand [EMAIL PROTECTED] wrote: Hi ! I've tried to find an approuch to validate fields of a data form. chech this: http://www.macromedia.com/cfusion/webforums/forum/categories.cfm?forumid =72catid=582flcache=2109871 -- 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 ~-- 1.2 million kids a year are victims of human trafficking. Stop slavery. http://us.click.yahoo.com/.QUssC/izNLAA/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] gateway-config.xml configuration file description in Flex 1.5
Carbon Five has developed a SpringBeanAdapter that can be used with Flex Remoting - maybe this is a good starting point for you? http://www.carbonfive.com/community/archives/2005/07/springbeanadapt.htm l http://carbonfive.sourceforge.net/springadapter/ Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mykola Paliyenko Sent: Thursday, December 01, 2005 10:33 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] gateway-config.xml configuration file description in Flex 1.5 Ok Matt What excectly I need is following: 1. Create my own adapter (don't ask me why I just need it), 2. Configure it with one string property, some parameter. It is a common way for Filters, Servlets etc but seems to be impossible for configuring adapters. If it is not impossible I'd like to create a feature request for Macromedia to implement it since it makes sence :). WBR, Mykola Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: listen a custom event from a dialog(Flex 2.0)
Hi Keishichi, Are you saying you are not receiving the event or that you are receiving the event but tile list is not getting refreshed ? You can put a trace / alert in the event handler and check whether you are receiving the event or not. -SreenivasOn 12/1/05, keishichi2001 [EMAIL PROTECTED] wrote: any kind of suggestion would be highly appreciated-k -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: listen a custom event from a dialog(Flex 2.0)
Shouldnt you be adding a listener to the component? you have this : private function onCreationComplete() { addEventListener(RELOAD_DATA, loadData); } maybe you can do something like this : private function createDialog():Void { var myDialog:DialogWindow = DialogWindow(PopUpManager.popUpWindow(sWindow, this, modal)); myDialog.addEventListener(RELOAD_DATA, loadData); } martin. keishichi2001 wrote: any kind of suggestion would be highly appreciated -k -- Martin Wood http://relivethefuture.com/choronzon Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/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] To Moderator
Hellow Mr. Moderator, I just want to describe you my problem..Hope u can help me. Its seen often that whenever I post my problem in the Flexcoder as new post, i have seen that I get the Email in my list very late, And many times I have faced the problem that I have to send same post for 2-3 time to get it posted in Flexcoder...Such problems just discourage me to post on Flexcoder. I have verified all the posibilities if I am doing something wrong to post, but its fair method. So, hope you can do something where's actually I face problem. Your effert will highly appreciated. Regards, JIgnesh Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/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] PrintJob cutting text on datagrid
Hi, Can someone explain why PrintJob is cutting the bottom of letters like g, y,q etc?? See pic to explain. In the pic (a printed datagrid) the numbers should have text mg after them, but it has mg and the g has no bottom on it! Is there a way to fix this? -Mika -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] gateway-config.xml configuration file description in Flex 1.5
Dirk, thanx I'm already using it but I want to enchance it a bit and need to be able to pass some parameters to it. Also I do not like undocumented features like the ones I'm asking in this thread about.. Its OK for open source where you can see sources but its not OK for commercial servers. BTW I've decompiled flashgateway.jar slightly (just for debug to put brakepoints) and found that the code quality is very poor. I'd refactor it much. For example in flashgateway.adapter.java.JavaAdapter protected Method getMethod(List parameters, String serviceName, String functionName, Class aClass) modifies 'parameters' within the method. It is a design bug since get methods must not do that :) since modification of the passed parameters as a side effect smells very bad I spent 2 hours debugging until I suggested that someone can modify that property in the method and I found that my suggestion is true after I decompile tha JavaAdapter and see the code. Dirk Eismann wrote: Carbon Five has developed a SpringBeanAdapter that can be used with Flex Remoting - maybe this is a good starting point for you? http://www.carbonfive.com/community/archives/2005/07/springbeanadapt.htm l http://carbonfive.sourceforge.net/springadapter/ Dirk. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mykola Paliyenko Sent: Thursday, December 01, 2005 10:33 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] gateway-config.xml configuration file description in Flex 1.5 Ok Matt What excectly I need is following: 1. Create my own adapter (don't ask me why I just need it), 2. Configure it with one string property, some parameter. It is a common way for Filters, Servlets etc but seems to be impossible for configuring adapters. If it is not impossible I'd like to create a feature request for Macromedia to implement it since it makes sence :). WBR, Mykola -- 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] setFocus() problem.
Works perfectly!! Thanks for your explanation and code. Thanks! Hari -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Wednesday, November 30, 2005 4:30 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] setFocus() problem. Mantra for Flash is, When in doubt, wait a frame. You should apply that to Flex, too. Apparently, some code runs, probably via a doLater, 1 frame (or screen-repaint) after you focus on the text field. Therefore, your setSelection call actually DOES work, but is quickly changed. If you run your OWN setSelction an additional frame later, it'll re-select it. Check it, use these modified fucntions, and then type in asdf, tab out, and then back in. function gotoend(event:Object) { trace(gotoend); var len:Number = event.target.text.length; doLater(this, setSelectionLater, [2, 3]); } function setSelectionLater(startIndex, endIndex) { Selection.setSelection(startIndex, endIndex); } - Original Message - From: Doodi, Hari - BLS CTR To: flexcoders@yahoogroups.com Sent: Wednesday, November 30, 2005 4:13 PM Subject: RE: [flexcoders] setFocus() problem. Selection.setSelection(len,len) is not working for me. I am attaching my test mxml for your ref. please help me. I would like to know how to get ride off the highlight and place the curser at the end of the text? Thanks! Hari -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, November 28, 2005 3:42 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] setFocus() problem. Try: this.tobdetail_ti.setFocus(); var len:Number = this.tobdetail_ti.text.length; Selection.setSelection(len, len); - Original Message - From: Doodi, Hari - BLS CTR To: flexcoders@yahoogroups.com Sent: Monday, November 28, 2005 3:33 PM Subject: [flexcoders] setFocus() problem. Hi all, I am having problems with setFocus( ) function. What I am doing is I have a textInput control with id name tobdetail_ti and in the .as file I am calling the following line of code so that if user press tab the cursor should be in this field. Focus is transferred as desired but the problem is it highlight the entire existing text. I dont want this. I want the cursor should be place at the end of the text. this.tobdetail_ti.setFocus(); Thanks! Hari -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] How to specify root application folder
Tracy, Thanx it works. Where do you get such info about undocumented features like @ContextRoot()? Maybe there are some more interesting things there. As far as I understand the flex architecture such tags like @ContextRoot() are processed during mxml2AS translation on the server, The question is does anyone can provide a list of such tags like @ContextRoot() with description. WBR, Mykola On 11/25/05, Tracy Spratt [EMAIL PROTECTED] wrote: Declare a property in your mxml like this: mx:String id=strContextRoot@ContextRoot()/mx:String Now, in AS code you can use strContextRoot in your path. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: Friday, November 25, 2005 8:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to specify root application folder Hello Flex Coders, I have next problem: I have images folder in the root of the application folder. And I have mxml file deeply inside other folders, that has Loader component and I want to load image there. But I don't know how to specify path to the image i.e. I don't know how to point to the root of the application folder. So the question is, how it should look like: source=/images/phone1.jpg or source=./images/phone1.jpg or source=../images/phone1.jpg Best regards Stanislav -- 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. -- Best Regards, Mykola Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/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] instanceof on Object
hey Jess... interested to know about the solution you went with on this... On 11/30/05, Paul Frantz [EMAIL PROTECTED] wrote: Hmm might be missing something here but Joe's suggestion in http://www.mail-archive.com/flexcoders@yahoogroups.com/msg09275.html works ok. eg.. Fred.as classFred { public function Fred() {} } App.mxml mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml xmlns=* initialize=myInitialize()mx:Script![CDATA[import Fred;var f:Fred;function myInitialize():Void {f = new Fred();var g = Object(f);var _t; _t = new g.__constructor__();trace(_t instanceof Fred = + (_t instanceof Fred));}]] /mx:Script/mx:Application ... produces 'true' for me. Cheers, Paul. -Original Message-From: JesterXL [mailto: jesterxl@jessewarden.com]Sent: Thursday, 1 December 2005 05:55To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] instanceof on Object mx.utils.ObjectCopy does not do deep copies, nor work right: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg09275.html She's got array's in her too, so that definately rules in it, and I need prototype integrity (subclass vs. superclass). - Original Message - From: Clint Modien To: flexcoders@yahoogroups.com Sent: Wednesday, November 30, 2005 2:09 PM Subject: Re: [flexcoders] instanceof on Object http://www.mail-archive.com/cgi-bin/htsearch?config=flexcoders_yahoogroups_comrestrict=exclude=words=mx.utils.ObjectCopy On 11/30/05, JesterXL [EMAIL PROTECTED] wrote: ...I guess I'll have to implement a clone method on all of my VO's.Anyother solution/hack?- Original Message - From: JesterXL [EMAIL PROTECTED]To: Flexcoders flexcoders@yahoogroups.com Sent: Wednesday, November 30, 2005 1:40 PMSubject: [flexcoders] instanceof on ObjectI have some VO's, and I use their class type to render a form.My DialogueI'm passing this VO into is bound to an object, like so: private var formData:Object;mx:TextInput text={formData.label} /When I call this method externally:myDialogue.setFormData(someVO);Function looks something like this: function setFormData(o){ for(var p in o) { formData[p] = o[p]; }}My bindings work great.However, instanceof does not.If I do this:formData = o;It DOES work; naturally because it's just a reference.However, this dialogue works like a preferences.As such, I need to create my own localcopy; the above for loop is actually more involved since I need a deep copy,and thus get a true, deep copy, not a reference.However, this in turn breaks my instanceof code.I've tried: formData.__proto__ = o.prototypeformData.__proto__ = o.__proto__...none of which work.Frankly, I really don't care formData is truly asub-class, I just want my instanceof to work, even if it's taked. ???--Flexcoders Mailing ListFAQ: 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/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM~- --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/*~~~DISCLAIMER~~~*This e-mail may contain confidential information. If you are not the intended recipient, please notify the sender immediately and delete this e-mail from your system. You must not disclose this email to anyone without express permission from the sender. The contents of all emails sent to, and received from, Optus may be scanned, stored, or disclosed to others by Optus at Optus' discretion. Optus has exercised care to avoid errors in the information contained in this e-mail but does not warrant that the information is error or omission free. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 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] LabelFunction problem with DG built dynamically
That's actually right. LabelFunctions just return a string, so most don't really care about scope. Does yours? If so, do: column.labelFunction = Delegate.create(this, formatApples); - Original Message - From: Sreejith Unnikrishnan To: flexcoders@yahoogroups.com Sent: Thursday, December 01, 2005 4:32 AM Subject: [flexcoders] LabelFunction problem with DG built dynamically I have a datagrid that is built dynamically via AS.I add columns to the datagrid var column:DataGridColumn = new DataGridColumn("Apples"); column.headerText = "Apples"; column.columnName = "apples"; column.labelFunction = formatApples;The labelFunction does not seem to work. What is the right way to assign labelFunction.RegardsSree -- 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] tomcat mxml/swf expiry issue (flex 1.5)
Hi We recently purchased a flex license and i'm just trying out a few initial things. the licensed flex server is installed on apache tomcat. My problem is any mxml pages i request, expire after 1 day i.e. .. when i go to work the following day, and request the same pages, it gets re-compiled even though i've not made any changes. How do i stop this unnecessary re-compilation. I thought it might be something in flex config but i'm not sure. any help would be generous thanks bod Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/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] Cross Server Socket Connection (NOT XMLSocket)
Policy files are also applicable to socket connections afaik -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann Sent: 01 December 2005 15:02 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Hi there, Is there any known way of allowing a flex/flash movie to establish socket connects cross server? E.g.: If I want to create a simple telnet client, host it on my private web page and want that telnet flash movie to connect to whatever server out there. Obviously policy files do not work as socket does not attempt an HTTP connect. Regards Ralf Rottmann -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] instanceof on Object
I just wrote clone methods. I need a true copy, so ensured each was made correctly. Easy for the simple ones (like Flex 2 events), harder for ones with arrays full of objects. I haven't figured out inheritanced yet, but since these VO's are strictly for the server guy and I to effectively communicate, they work well enough. Inheritance is for another day... class VO { public var id:String; public var name:String; public function clone():VO { var vo:VO = new VO(); vo.id = id; vo.name = name; return vo; } } One for arrays: class Item { public var id:String; public var itemLabel:String; public function clone():Item { var i:Item = new Item(); item.id = id; item.itemLabel = itemLabel; return item; } } class MajorVO { public var otherLabel:String; public var item_array:Array; public function clone():MajorVO { var mvo:MajorVO = new MajorVO(); mvo.otherLabel = otherLabel; var i:Number = item_array.length; mvo.item_array = []; while(i--) { var old:Item = Item(item_array[i]); var ni:Item = old.clone(); mvo.item_array[i] = ni; } return mvo; } } - Original Message - From: Clint Modien To: flexcoders@yahoogroups.com Sent: Thursday, December 01, 2005 9:51 AM Subject: Re: [flexcoders] instanceof on Object hey Jess... interested to know about the solution you went with on this... On 11/30/05, Paul Frantz [EMAIL PROTECTED] wrote: Hmm might be missing something here but Joe's suggestion in http://www.mail-archive.com/flexcoders@yahoogroups.com/msg09275.html works ok. eg.. Fred.as classFred { public function Fred() {} } App.mxml mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml " xmlns="*" initialize="myInitialize()"mx:Script![CDATA[import Fred;var f:Fred;function myInitialize():Void {f = new Fred();var g = Object(f);var _t; _t = new g.__constructor__();trace("_t instanceof Fred = " + (_t instanceof Fred));}]] /mx:Script/mx:Application ... produces 'true' for me. Cheers, Paul. -Original Message-From: JesterXL [mailto: jesterxl@jessewarden.com]Sent: Thursday, 1 December 2005 05:55To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] instanceof on Object mx.utils.ObjectCopy does not do deep copies, nor work right: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg09275.html She's got array's in her too, so that definately rules in it, and I need prototype integrity (subclass vs. superclass). - Original Message - From: Clint Modien To: flexcoders@yahoogroups.com Sent: Wednesday, November 30, 2005 2:09 PM Subject: Re: [flexcoders] instanceof on Object http://www.mail-archive.com/cgi-bin/htsearch?config=flexcoders_yahoogroups_comrestrict=exclude=words=mx.utils.ObjectCopy On 11/30/05, JesterXL [EMAIL PROTECTED] wrote: ...I guess I'll have to implement a clone method on all of my VO's.Anyother solution/hack?- Original Message - From: "JesterXL" [EMAIL PROTECTED]To: "Flexcoders" flexcoders@yahoogroups.com Sent: Wednesday, November 30, 2005 1:40 PMSubject: [flexcoders] instanceof on ObjectI have some VO's, and I use their class type to render a form.My DialogueI'm passing this VO into is bound to an object, like so: private var formData:Object;mx:TextInput text="{formData.label}" /When I call this method externally:myDialogue.setFormData(someVO);Function looks something like this: function setFormData(o){ for(var p in o) { formData[p] = o[p]; }}My bindings work great.However, instanceof does not.If I do this:formData = o;It DOES work; naturally because it's just a reference.However, this dialogue works like a preferences.As such, I need to create my own localcopy; the above for loop is actually more involved since I need a deep copy,and thus get a true, deep copy, not a reference.However, this in turn breaks my instanceof code.I've tried: formData.__proto__ = o.prototypeformData.__proto__ = o.__proto__...none of which work.Frankly, I really don't care formData is truly asub-class, I just want my instanceof to work, even if it's taked. ???--Flexcoders Mailing ListFAQ: 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/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM~- --Flexcoders Mailing ListFAQ:
RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket)
Any idea how that should work? You call the Socket.connect(server, port) class to establish a connection (and that connection GETS established even without any policy files). On the other side there is a simple echo server. Who and how should the policy file get served via the socket? Where should it be placed on the simple echo server? I doubt that it works with policy files. Any ideas? Ralf Rottmann From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox Sent: Donnerstag, 1. Dezember 2005 16:09 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Policy files are also applicable to socket connections afaik -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann Sent: 01 December 2005 15:02 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Hi there, Is there any known way of allowing a flex/flash movie to establish socket connects cross server? E.g.: If I want to create a simple telnet client, host it on my private web page and want that telnet flash movie to connect to whatever server out there. Obviously policy files do not work as socket does not attempt an HTTP connect. Regards Ralf Rottmann -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket)
IIRC you need a policy on the webserver at the domain you are connecting. This was certainly the case for XMLSocket, not sure about binary, but Ive not heard its any different. (Doesnt mean its not different though). Ie if you are connecting to myserver.com port 7000 youd need a policy file at http://myserver.com Again, Im not 100% sure on binary socket, but xmlsocket certainly acted like this. http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1623.html -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann Sent: 01 December 2005 15:17 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Any idea how that should work? You call the Socket.connect(server, port) class to establish a connection (and that connection GETS established even without any policy files). On the other side there is a simple echo server. Who and how should the policy file get served via the socket? Where should it be placed on the simple echo server? I doubt that it works with policy files. Any ideas? Ralf Rottmann From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox Sent: Donnerstag, 1. Dezember 2005 16:09 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Policy files are also applicable to socket connections afaik -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann Sent: 01 December 2005 15:02 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Hi there, Is there any known way of allowing a flex/flash movie to establish socket connects cross server? E.g.: If I want to create a simple telnet client, host it on my private web page and want that telnet flash movie to connect to whatever server out there. Obviously policy files do not work as socket does not attempt an HTTP connect. Regards Ralf Rottmann -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Newbie Question
João, Thank you so much for the quick reply. This binding thing takes some getting use to. - Sean --- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] wrote: I usually use the selectedIndex property and use a function to return the index of item corresponding to my id. mx:ComboBox dataProvider={myDp} selectedIndex={myfunction(myDp,idfield,idvalue)} So each item any of those changes, my selecedIndex get updated. João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of im_sean_s Sent: quarta-feira, 30 de Novembro de 2005 15:11 To: flexcoders@yahoogroups.com Subject: [flexcoders] Newbie Question If this type of question has been answered before, I appologize, but the new Yahoo! Groups message search really sucks! Anyway, I'm fairly new to Flex and am working on a project using the Cairngorm framework. In the project I have a form that is bounded to a sharedObject in order to save the user's responses in case they do not complete the form in one sitting. When the user returns to the form, I reload the fields with the values stored in the sharedObject. All works fine with text fields and check boxes. The problem comes with a couple drop-down fields. Basically, when the form is loaded I call back to the CF server to retrieve a list of values to populate the drop-down, and set an array variable in my ModelLocator, which is bound as the data provider to the drop-down. The problem I have is that I can't figure out how to set the selectedItem after the drop-down is populated. I tried to create a function that accepted the ModelLocator Array and set it then, but that does not seem to work. Anyone else have any suggestions? Thanks, Sean --- View --- mx:Panel xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:GroupFormHelpers = com.hopeequity.view.form.helpers.* width=100% height=100% title=Group Manager Information creationComplete=GroupFormStep1Helper.initalizeForm(); mx:Script ![CDATA[ import com.hopeequity.model.ModelLocator; import com.hopeequity.vo.CountryVO; import com.hopeequity.vo.StateVO; public var formModel:Object; ]] /mx:Script GroupFormHelpers:Step1Helper id=GroupFormStep1Helper / ... mx:ComboBox id=Country editable=false dataProvider={ModelLocator.countries.sortOn(['OUTPUTORDER'],16)} labelField=COUNTRYNAME width={FirstName.width}/ ... --- View Helper --- ... public function initalizeForm() { EventBroadcaster.getInstance().broadcastEvent(getCountriesWithStates); } ... --- Command File --- class com.hopeequity.command.GetCountriesWithStatesCMD implements Command, Responder { public function GetCountriesWithStatesCMD() { } public function execute( event : Event ):Void { if (ModelLocator.countries.length 1) { var delegate : CountryDelegate = new CountryDelegate( this ); delegate.getCountriesWithStates(event); } } public function onResult( event : Object ) : Void { ModelLocator.countries = event.result; } public function onFault( event : Object ) : Void { mx.core.Application.alert( event.fault.faultstring ); } } --- Model Locator --- ... public static function initialise() : Void { ModelLocator.countries = new Array(); } public static var countries : Array; Yahoo! Groups Sponsor ~-- AIDS in India: A lurking bomb. Click and help stop AIDS now. http://us.click.yahoo.com/9QUssC/lzNLAA/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 Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the
RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket)
Youre right, Scott. The policy file needs to be on the *destination* server and that causes the problem. In a socket world the destination server might not even be a web server. E.g. the server could be a simple echo server which just sends back all text received on a specific port. You could e.g. telnet the server: telnet 10.1.1.10 helo echo: helo i send this command echo: i send this command exit echo: bye So the server waiting for a socket connection does not even know anything about policy files including not how to server them back to a flash client. The question remains: Can a flash player open socket connections to *non web servers*. If not, this would mean a no go for a whole set of RIAs. Ralf Rottmann From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox Sent: Donnerstag, 1. Dezember 2005 16:26 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) IIRC you need a policy on the webserver at the domain you are connecting. This was certainly the case for XMLSocket, not sure about binary, but Ive not heard its any different. (Doesnt mean its not different though). Ie if you are connecting to myserver.com port 7000 youd need a policy file at http://myserver.com Again, Im not 100% sure on binary socket, but xmlsocket certainly acted like this. http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1623.html -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann Sent: 01 December 2005 15:17 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Any idea how that should work? You call the Socket.connect(server, port) class to establish a connection (and that connection GETS established even without any policy files). On the other side there is a simple echo server. Who and how should the policy file get served via the socket? Where should it be placed on the simple echo server? I doubt that it works with policy files. Any ideas? Ralf Rottmann From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox Sent: Donnerstag, 1. Dezember 2005 16:09 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Policy files are also applicable to socket connections afaik -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann Sent: 01 December 2005 15:02 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Hi there, Is there any known way of allowing a flex/flash movie to establish socket connects cross server? E.g.: If I want to create a simple telnet client, host it on my private web page and want that telnet flash movie to connect to whatever server out there. Obviously policy files do not work as socket does not attempt an HTTP connect. Regards Ralf Rottmann -- 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] Cross Server Socket Connection (NOT XMLSocket)
With XML sockets you could send a policy file over the wire through the socket itself, however as youre not going to be able to do this with a telnet server Im not sure you have any options. Only work around I can think of is to write a bounce app that runs on your webserver and relays messages to/from the telnet server. This could have security issues for you however. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann Sent: 01 December 2005 15:33 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Youre right, Scott. The policy file needs to be on the *destination* server and that causes the problem. In a socket world the destination server might not even be a web server. E.g. the server could be a simple echo server which just sends back all text received on a specific port. You could e.g. telnet the server: telnet 10.1.1.10 helo echo: helo i send this command echo: i send this command exit echo: bye So the server waiting for a socket connection does not even know anything about policy files including not how to server them back to a flash client. The question remains: Can a flash player open socket connections to *non web servers*. If not, this would mean a no go for a whole set of RIAs. Ralf Rottmann From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox Sent: Donnerstag, 1. Dezember 2005 16:26 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) IIRC you need a policy on the webserver at the domain you are connecting. This was certainly the case for XMLSocket, not sure about binary, but Ive not heard its any different. (Doesnt mean its not different though). Ie if you are connecting to myserver.com port 7000 youd need a policy file at http://myserver.com Again, Im not 100% sure on binary socket, but xmlsocket certainly acted like this. http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1623.html -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann Sent: 01 December 2005 15:17 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Any idea how that should work? You call the Socket.connect(server, port) class to establish a connection (and that connection GETS established even without any policy files). On the other side there is a simple echo server. Who and how should the policy file get served via the socket? Where should it be placed on the simple echo server? I doubt that it works with policy files. Any ideas? Ralf Rottmann From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox Sent: Donnerstag, 1. Dezember 2005 16:09 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Policy files are also applicable to socket connections afaik -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann Sent: 01 December 2005 15:02 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Hi there, Is there any known way of allowing a flex/flash movie to establish socket connects cross server? E.g.: If I want to create a simple telnet client, host it on my private web page and want that telnet flash movie to connect to whatever server out there. Obviously policy files do not work as socket does not attempt an HTTP connect. Regards Ralf Rottmann -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] LabelFunction problem with DG built dynamically
Thank you. Works like a charm! JesterXL wrote: That's actually right. LabelFunctions just return a string, so most don't really care about scope. Does yours? If so, do: column.labelFunction = Delegate.create(this, formatApples); - Original Message - From: Sreejith Unnikrishnan To: flexcoders@yahoogroups.com Sent: Thursday, December 01, 2005 4:32 AM Subject: [flexcoders] LabelFunction problem with DG built dynamically I have a datagrid that is built dynamically via AS. I add columns to the datagrid var column:DataGridColumn = new DataGridColumn("Apples"); column.headerText = "Apples"; column.columnName = "apples"; column.labelFunction = formatApples; The labelFunction does not seem to work. What is the right way to assign labelFunction. Regards Sree -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] It's simple but.......
I have a returned VO from a remote Object call which contains these values: firstValue = 150.0 secondValue = 3670.27001953125 Ok, I want to put this into a pie Chart, how do I do it? The VO is called myRatio. Thanks in advance. Iain Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/2jUsvC/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] tomcat mxml/swf expiry issue (flex 1.5)
We recommend precompiling your MXML files with mxmlc and deploying just the SWFs to the web server. This will definitely solve your problem. There is plenty of information on mxmlc in the Flex docs. Technically, you can turn on production mode for your app but production mode has its drawbacks. In order to request a recompile, you have to refresh the web application or restart the server causing downtime to production sites. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Thursday, December 01, 2005 7:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5) Hi We recently purchased a flex license and i'm just trying out a few initial things. the licensed flex server is installed on apache tomcat. My problem is any mxml pages i request, expire after 1 day i.e. .. when i go to work the following day, and request the same pages, it gets re-compiled even though i've not made any changes. How do i stop this unnecessary re-compilation. I thought it might be something in flex config but i'm not sure. any help would be generous thanks bod Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/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 Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/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] Applying DropShadowFilter causes movieclip to go blank
I'm having an issue in which I have a Flex application that is loading a Flash 8 SWF which applies a DropShadowFilter to itself. The object that I apply the DropShadow will disappear until it is moved. Is there a way to specifically refresh the current player view or something along that nature? Once the 'filters' variable is set to undefined, the object will appear once again. So I either have to turn filters off, or move the object in order for it to suddenly appear again. Has anyone else run into an issue like this? Thanks Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/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] It's simple but.......
Format the incoming data into an ArrayCollection of an array of objects, and set that array as the dataProvider of the chart. Something like this ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; creationComplete=initApp() mx:Script ![CDATA[ import mx.collections.ArrayCollection; [Bindable] public var chartData:ArrayCollection; private function initApp(){ var a:Array = new Array(); var o:Object = new Object(); o.name=firstValue; o.value=150.0; a.push(o); o= new Object(); o.name=secondValue; o.value=3670.27001953125; a.push(o); chartData = new ArrayCollection(a); } ]] /mx:Script mx:PieChart id=chart width=100% height=100% dataProvider={chartData} mx:series mx:Array mx:PieSeries labelPosition=insideWithCallout field=value/ /mx:Array /mx:series /mx:PieChart /mx:Application At 11:38 AM 12/1/2005, you wrote: I have a returned VO from a remote Object call which contains these values: firstValue = 150.0 secondValue = 3670.27001953125 Ok, I want to put this into a pie Chart, how do I do it? The VO is called myRatio. Thanks in advance. Iain -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/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] Could someone point me to an example of validator.hasErrors()
I can't find an example and I guess I don't understand how it is to be used from actionscript. I am expecting to be able to do something like this: if(theDocument.validators.myValidator.hasErrors()) { // handle it; } but I can't figure out how to get there from here. thanks, Libby Yahoo! Groups Sponsor ~-- AIDS in India: A lurking bomb. Click and help stop AIDS now. http://us.click.yahoo.com/9QUssC/lzNLAA/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] Cross Server Socket Connection (NOT XMLSocket)
Ralf, We are working on a Socket Proxy Server at IFBIN. The proxy is hosted on your domain and allows you to connect to any port on any 3rd party server using Flash as the client with Player 8.5. It is useful for situations involving streaming and for data/port access to 3rd party domains. Basically once you connect to the proxy, you pass a server/port, and the proxy connects to the other server. From that point on the proxy behaves just like Regards, Ted Patrick From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann Sent: Thursday, December 01, 2005 5:17 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Any idea how that should work? You call the Socket.connect(server, port) class to establish a connection (and that connection GETS established even without any policy files). On the other side there is a simple echo server. Who and how should the policy file get served via the socket? Where should it be placed on the simple echo server? I doubt that it works with policy files. Any ideas? Ralf Rottmann From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox Sent: Donnerstag, 1. Dezember 2005 16:09 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Policy files are also applicable to socket connections afaik -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann Sent: 01 December 2005 15:02 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Hi there, Is there any known way of allowing a flex/flash movie to establish socket connects cross server? E.g.: If I want to create a simple telnet client, host it on my private web page and want that telnet flash movie to connect to whatever server out there. Obviously policy files do not work as socket does not attempt an HTTP connect. Regards Ralf Rottmann -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.10/189 - Release Date: 11/30/2005 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.10/189 - Release Date: 11/30/2005
AW: [flexcoders] instanceof on Object
I needed cloning with inheritance one time. I did it this way. Worked perfectly... *** ValueObject class ValueObject{ public function clone (parent:ValueObject):ValueObject{ var clone:ValueObject= new ValueObject(); return cloneParams(clone,parent); } public function cloneParams (clone:ValueObject, parent:ValueObject):ValueObject{ clone.setParent(parent); return clone; } private function cloneValueObjectArray (arrVOs:Array, parent:ValueObject){ var cloneArray = undefined; if (arrVOs != undefined){ cloneArray = new Array(); for (var i=0;iarrVOs.length;i++) { if (arrVOs[i] != undefined){ var voClone:ValueObject = ValueObject(arrVOs[i]).clone(parent); cloneArray.push(voClone); }else{ cloneArray.push(arrVOs[i]); } } } return cloneArray; } } *** And in a subclass you do something like this: ** SubClass: ... public function clone(parent:ValueObject):ValueObject{ var clone:ValueObject= new SubClass(); return cloneParams(clone,parent); } public function cloneParams (clone:ValueObject,parent:ValueObject):ValueObject{ clone = SubClass(super.cloneParams(clone,parent)); SubClass (clone).type = this.type; SubClass (clone).name = this.name; SubClass (clone).productID = this.productID; SubClass (clone).pages = cloneValueObjectArray(arrValueObjects,clone); return clone; } ... -Ursprüngliche Nachricht- Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von JesterXL Gesendet: Donnerstag, 1. Dezember 2005 16:17 An: flexcoders@yahoogroups.com Betreff: Re: [flexcoders] instanceof on Object I just wrote clone methods. I need a true copy, so ensured each was made correctly. Easy for the simple ones (like Flex 2 events), harder for ones with arrays full of objects. I haven't figured out inheritanced yet, but since these VO's are strictly for the server guy and I to effectively communicate, they work well enough. Inheritance is for another day... class VO { public var id:String; public var name:String; public function clone():VO { var vo:VO = new VO(); vo.id = id; vo.name = name; return vo; } } One for arrays: class Item { public var id:String; public var itemLabel:String; public function clone():Item { var i:Item = new Item(); item.id = id; item.itemLabel = itemLabel; return item; } } class MajorVO { public var otherLabel:String; public var item_array:Array; public function clone():MajorVO { var mvo:MajorVO = new MajorVO(); mvo.otherLabel = otherLabel; var i:Number = item_array.length; mvo.item_array = []; while(i--) { var old:Item = Item(item_array[i]); var ni:Item = old.clone(); mvo.item_array[i] = ni; } return mvo; } } - Original Message - From: Clint Modien mailto:[EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, December 01, 2005 9:51 AM Subject: Re: [flexcoders] instanceof on Object hey Jess... interested to know about the solution you went with on this... On 11/30/05, Paul Frantz [EMAIL PROTECTED] wrote: Hmm might be missing something here but Joe's suggestion in http://www.mail-archive.com/flexcoders@yahoogroups.com/msg09275.html works ok. eg.. Fred.as http://fred.as/ class Fred { public function Fred() {} } App.mxml mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml http://www.macromedia.com/2003/mxml xmlns=* initialize=myInitialize() mx:Script ![CDATA[ import Fred; var f:Fred; function myInitialize():Void { f = new Fred(); var g = Object(f); var _t; _t = new g.__constructor__(); trace(_t instanceof Fred = + (_t instanceof Fred)); } ]] /mx:Script /mx:Application ... produces 'true' for me. Cheers, Paul. -Original Message- From: JesterXL [mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, 1 December 2005 05:55 To: flexcoders@yahoogroups.com
RE: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5)
In bods case though it sounds like the license isnt installed correctly so the server as acting as a developer edition (which will recompile after a day). So make sure your license got installed correctly (check the console when you start your server or look at the logs and youll see if it sets up as developer or licensed). Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson Hager Sent: Thursday, December 01, 2005 8:52 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5) We recommend precompiling your MXML files with mxmlc and deploying just the SWFs to the web server. This will definitely solve your problem. There is plenty of information on mxmlc in the Flex docs. Technically, you can turn on production mode for your app but production mode has its drawbacks. In order to request a recompile, you have to refresh the web application or restart the server causing downtime to production sites. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bhaq1972 Sent: Thursday, December 01, 2005 7:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5) Hi We recently purchased a flex license and i'm just trying out a few initial things. the licensed flex server is installed on apache tomcat. My problem is any mxml pages i request, expire after 1 day i.e. .. when i go to work the following day, and request the same pages, it gets re-compiled even though i've not made any changes. How do i stop this unnecessary re-compilation. I thought it might be something in flex config but i'm not sure. any help would be generous thanks bod Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/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 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] gateway-config.xml configuration file description in Flex 1.5
Well its undocumented because were not expecting you to mess with that portion nor planning on supporting you doing it J Flex 2 is a re-implementation of much of that logic so everything is different internally, who knows if the quality is as poor as you say anymore. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mykola Paliyenko Sent: Thursday, December 01, 2005 6:16 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] gateway-config.xml configuration file description in Flex 1.5 Dirk, thanx I'm already using it but I want to enchance it a bit and need to be able to pass some parameters to it. Also I do not like undocumented features like the ones I'm asking in this thread about.. Its OK for open source where you can see sources but its not OK for commercial servers. BTW I've decompiled flashgateway.jar slightly (just for debug to put brakepoints) and found that the code quality is very poor. I'd refactor it much. For example in flashgateway.adapter.java.JavaAdapter protected Method getMethod(List parameters, String serviceName, String functionName, Class aClass) modifies 'parameters' within the method. It is a design bug since get methods must not do that :) since modification of the passed parameters as a side effect smells very bad I spent 2 hours debugging until I suggested that someone can modify that property in the method and I found that my suggestion is true after I decompile tha JavaAdapter and see the code. Dirk Eismann wrote: Carbon Five has developed a SpringBeanAdapter that can be used with Flex Remoting - maybe this is a good starting point for you? http://www.carbonfive.com/community/archives/2005/07/springbeanadapt.htm l http://carbonfive.sourceforge.net/springadapter/ Dirk. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mykola Paliyenko Sent: Thursday, December 01, 2005 10:33 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] gateway-config.xml configuration file description in Flex 1.5 Ok Matt What excectly I need is following: 1. Create my own adapter (don't ask me why I just need it), 2. Configure it with one string property, some parameter. It is a common way for Filters, Servlets etc but seems to be impossible for configuring adapters. If it is not impossible I'd like to create a feature request for Macromedia to implement it since it makes sence :). WBR, Mykola -- 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] instanceof on Object
Having parameters in your ValueObject doesn't screw them up? For ColdFusion, it doesn't seem to matter, but for AMFPHP OpenAMF, it didn't seem to fly... guess I need to re-investigate. I tried doing: function clone() { var sub = super.clone(); var me = new ThisClass(); for(var p in sub) { me[p] = sub[p]; } me.prop = this.prop; return me; } ...but, she's missing props still, so I gave up. - Original Message - From: Christoph Diefenthal [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, December 01, 2005 12:53 PM Subject: AW: [flexcoders] instanceof on Object I needed cloning with inheritance one time. I did it this way. Worked perfectly... *** ValueObject class ValueObject{ public function clone (parent:ValueObject):ValueObject{ var clone:ValueObject= new ValueObject(); return cloneParams(clone,parent); } public function cloneParams (clone:ValueObject, parent:ValueObject):ValueObject{ clone.setParent(parent); return clone; } private function cloneValueObjectArray (arrVOs:Array, parent:ValueObject){ var cloneArray = undefined; if (arrVOs != undefined){ cloneArray = new Array(); for (var i=0;iarrVOs.length;i++) { if (arrVOs[i] != undefined){ var voClone:ValueObject = ValueObject(arrVOs[i]).clone(parent); cloneArray.push(voClone); }else{ cloneArray.push(arrVOs[i]); } } } return cloneArray; } } *** And in a subclass you do something like this: ** SubClass: ... public function clone(parent:ValueObject):ValueObject{ var clone:ValueObject= new SubClass(); return cloneParams(clone,parent); } public function cloneParams (clone:ValueObject,parent:ValueObject):ValueObject{ clone = SubClass(super.cloneParams(clone,parent)); SubClass (clone).type = this.type; SubClass (clone).name = this.name; SubClass (clone).productID = this.productID; SubClass (clone).pages = cloneValueObjectArray(arrValueObjects,clone); return clone; } ... -Ursprüngliche Nachricht- Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von JesterXL Gesendet: Donnerstag, 1. Dezember 2005 16:17 An: flexcoders@yahoogroups.com Betreff: Re: [flexcoders] instanceof on Object I just wrote clone methods. I need a true copy, so ensured each was made correctly. Easy for the simple ones (like Flex 2 events), harder for ones with arrays full of objects. I haven't figured out inheritanced yet, but since these VO's are strictly for the server guy and I to effectively communicate, they work well enough. Inheritance is for another day... class VO { public var id:String; public var name:String; public function clone():VO { var vo:VO = new VO(); vo.id = id; vo.name = name; return vo; } } One for arrays: class Item { public var id:String; public var itemLabel:String; public function clone():Item { var i:Item = new Item(); item.id = id; item.itemLabel = itemLabel; return item; } } class MajorVO { public var otherLabel:String; public var item_array:Array; public function clone():MajorVO { var mvo:MajorVO = new MajorVO(); mvo.otherLabel = otherLabel; var i:Number = item_array.length; mvo.item_array = []; while(i--) { var old:Item = Item(item_array[i]); var ni:Item = old.clone(); mvo.item_array[i] = ni; } return mvo; } } - Original Message - From: Clint Modien mailto:[EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, December 01, 2005 9:51 AM Subject: Re: [flexcoders] instanceof on Object hey Jess... interested to know about the solution you went with on this... On 11/30/05, Paul Frantz [EMAIL PROTECTED] wrote: Hmm might be missing something here but Joe's suggestion in http://www.mail-archive.com/flexcoders@yahoogroups.com/msg09275.html works ok. eg.. Fred.as http://fred.as/ class Fred { public function Fred() {} } App.mxml mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml http://www.macromedia.com/2003/mxml xmlns=* initialize=myInitialize() mx:Script ![CDATA[ import Fred; var f:Fred; function myInitialize():Void { f = new Fred(); var g = Object(f); var _t; _t = new g.__constructor__(); trace(_t instanceof Fred = + (_t instanceof Fred)); } ]] /mx:Script /mx:Application ... produces 'true' for me. Cheers, Paul. -Original Message- From: JesterXL [mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, 1 December 2005 05:55 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] instanceof on Object mx.utils.ObjectCopy does not do deep copies, nor work right: http://www.mail-
RE: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5)
Good point. If the license file isn't set up, all the precompilation in the world's not going to do him any good. :) Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com Email: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: Thursday, December 01, 2005 10:13 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5) In bods case though it sounds like the license isnt installed correctly so the server as acting as a developer edition (which will recompile after a day). So make sure your license got installed correctly (check the console when you start your server or look at the logs and youll see if it sets up as developer or licensed). Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson HagerSent: Thursday, December 01, 2005 8:52 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5) We recommend precompiling your MXML files with mxmlc and deploying justthe SWFs to the web server. This will definitely solve your problem.There is plenty of information on mxmlc in the Flex docs. Technically,you can turn on production mode for your app but production mode has itsdrawbacks. In order to request a recompile, you have to refresh the webapplication or restart the server causing downtime to production sites.CarsonCarson HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 1.703.489.6466-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of bhaq1972Sent: Thursday, December 01, 2005 7:04 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5)HiWe recently purchased a flex license and i'm just trying out a fewinitial things.the licensed flex server is installed on apache tomcat. My problem is any mxml pages i request, expire after 1 day i.e. .. when i go to work the following day, and request the same pages, it getsre-compiled even though i've not made any changes. How do i stop thisunnecessary re-compilation. I thought it might be something in flexconfig but i'm not sure. any help would be generousthanksbod Yahoo! Groups Sponsor ~--Get Bzzzy! (real tools to help you find a job). Welcome to the SweetLife.http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM~- --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Rich Internet Application (HaloGreen) Stencil for Microsoft Visio 2002
I have to side with JesterXL and Jeremy, even though its related to coding in Flex, its not a Flex question you have, or even a Flex announcement, - just a flex related product youre SELLING here, and especially given your explanation below, it spamtastic. Im sure many of us on this list have products we would love to market/sell here, but dont use this list for such purposes. Jason Merrill | E-Learning Solutions | icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Darren Houle Sent: Wednesday, November 30, 2005 3:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Rich Internet Application (HaloGreen) Stencil for Microsoft Visio 2002 Dear WTF, Not sure where you get the linking under false pretense of free stuff because I never said it was free, just pointed to more information. I'm sorry you misunderstood. No secrets here, it's 20 bucks and includes a free update when the new Flex 2.0 object masters are added to the stencil. Considering it took me over three weeks to develop and it's extremely useful I think that's very reasonable. I created it for my own use because I wanted an RIA stencil for Visio and there wasn't one out there already. Contacted Mike Nimer to see if he knew of one out there and he said no, but that it would be a cool thing, so... I made one. After using it he suggested I sell it for more than 20... I thought I'd keep it low, so... there you are. It has worked quite well for me and based on the number of downloads from just this morning I'm guessing others are thinking it's worth the 20 bucks too. Hopefully you will too once you get your copy :-) Thanks! Darren --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: WTF, you have to pay? Dude, I'm all for buying software that solves my needs, but if you are selling services, please state it rather than linking under the false pretense of free stuff. - Original Message - From: Darren Houle [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, November 30, 2005 11:50 AM Subject: [flexcoders] Re: Rich Internet Application (HaloGreen) Stencil for Microsoft Visio 2002 It's not spam, the CFMX instance on my server forgot how to dynamically generate Flash forms. My ISP restarted CF and it's working now. I should probably look into converting the page to plain HTML but I just thought using CFForms would have more cool factor :- ) Darren --- In flexcoders@yahoogroups.com, Niklas Richardson [EMAIL PROTECTED] wrote: Mike Nimer from MM has been using them for the last week so I think it's legit! ;) On 30/11/05, Jeremy Rottman [EMAIL PROTECTED] wrote: I smell spam, but I could be wrong. --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: The page doesn't show anything in Firefox, nor IE? - Original Message - From: Darren Houle To: flexcoders@yahoogroups.com Sent: Wednesday, November 30, 2005 10:08 AM Subject: [flexcoders] Rich Internet Application (HaloGreen) Stencil for Microsoft Visio 2002 There is a new design stencil available for MS Visio 2002 (and higher) that allows Macromedia RIA developers to mockup Coldfusion MX Flash cfforms and Flex 1.5 applications using the HaloGreen look and feel. Much better than trying to mockup RIA's using Windows UI stencils or Dreamweaver's limited Design Mode. There's more information here. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice -- -- YAHOO! GROUPS LINKS a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- -- 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! -- 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 NOTICE: This message is for the designated recipient only
Re: [flexcoders] Cross Server Socket Connection (NOT XMLSocket)
Title: Re: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Ted, Does that mean that - being a proud IFBIN subscriber :-) - I will have access to the proxy server? Regards RR -- mobile: +49-(0)170-914-5495 email: [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Thu Dec 01 19:07:35 2005 Subject: RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Ralf, We are working on a Socket Proxy Server at IFBIN. The proxy is hosted on your domain and allows you to connect to any port on any 3rd party server using Flash as the client with Player 8.5. It is useful for situations involving streaming and for data/port access to 3rd party domains. Basically once you connect to the proxy, you pass a server/port, and the proxy connects to the other server. From that point on the proxy behaves just like Regards, Ted Patrick From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann Sent: Thursday, December 01, 2005 5:17 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Any idea how that should work? You call the Socket.connect(server, port) class to establish a connection (and that connection GETS established even without any policy files). On the other side there is a simple echo server. Who and how should the policy file get served via the socket? Where should it be placed on the simple echo server? I doubt that it works with policy files. Any ideas? Ralf Rottmann From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Steve Cox Sent: Donnerstag, 1. Dezember 2005 16:09 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Policy files are also applicable to socket connections afaik -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann Sent: 01 December 2005 15:02 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Hi there, Is there any known way of allowing a flex/flash movie to establish socket connects cross server? E.g.: If I want to create a simple telnet client, host it on my private web page and want that telnet flash movie to connect to whatever server out there. Obviously policy files do not work as socket does not attempt an HTTP connect. Regards Ralf Rottmann -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=ms=Macromedia+flex=Web+site+design+development=Computer+software+development=Software+design+and+development=Macromedia+flex=Software+development+best+practice=5=166&.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.10/189 - Release Date: 11/30/2005 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.10/189 - Release Date: 11/30/2005 -- Flexcoders Mailing List FAQ:
[flexcoders] Re: Could someone point me to an example of validator.hasErrors()
I would like to disable a button, from ActionScript, if the validator.hasErrors(). It can't be that difficult, can it? --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: I can't find an example and I guess I don't understand how it is to be used from actionscript. I am expecting to be able to do something like this: if(theDocument.validators.myValidator.hasErrors()) { // handle it; } but I can't figure out how to get there from here. thanks, Libby Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/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] Re: Could someone point me to an example of validator.hasErrors()
In 1.5 you can only access the validator instance in the validate event handler, so thats where youd need to do your work. mx:StringValidator field= validate=myButton.enabled = !event.validator.hasErrors() / From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Libby Sent: Thursday, December 01, 2005 1:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Could someone point me to an example of validator.hasErrors() I would like to disable a button, from ActionScript, if the validator.hasErrors(). It can't be that difficult, can it? --- In flexcoders@yahoogroups.com, Libby libby[EMAIL PROTECTED] wrote: I can't find an example and I guess I don't understand how it is to be used from actionscript. I am expecting to be able to do something like this: if(theDocument.validators.myValidator.hasErrors()) { // handle it; } but I can't figure out how to get there from here. thanks, Libby -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Could someone point me to an example of validator.hasErrors()
Ok, 2 questions - 1, how do you know that, is it written down somewhere where I can look it up, and 2, if you have extended the validator then in order to do this you would need to overload the validate() function, right? Thanks, Libby --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: In 1.5 you can only access the validator instance in the validate event handler, so that's where you'd need to do your work. mx:StringValidator field=... validate=myButton.enabled = !event.validator.hasErrors() / From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Thursday, December 01, 2005 1:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Could someone point me to an example of validator.hasErrors() I would like to disable a button, from ActionScript, if the validator.hasErrors(). It can't be that difficult, can it? --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: I can't find an example and I guess I don't understand how it is to be used from actionscript. I am expecting to be able to do something like this: if(theDocument.validators.myValidator.hasErrors()) { // handle it; } but I can't figure out how to get there from here. thanks, Libby -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice; w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] PreferencesWindow design pattern
Note, this example is mitigated. there are dozens of preferences i want my users to be able to set. Anyways I have a simple preference i want my users to be able to set: showConsoleWindow. I have created a simple PreferencesWindow with a CheckBox on it. This checkbox's selected property is bound to ModelLocator.currentUser.preferences.showConsoleWindow. currentUser is a UserVO object as described below: class UserVO { preferences:PreferencesVO; username:String; } class PreferencesVO { showConsoleWindow:Boolean; } I'd like to offer a cancel button to my PreferencesWindow. however, since showConsoleWindow is bound, this approach won't work. It seems I should first, create a temporary preferences object to bind to. This is where my question comes in. How do I create a copy of my ModelLocator.currentUser.preferences object? Or would you implement this functionality differently? Please, I'm new to flex and I want to do this the right way. Thanks for your time. Yahoo! Groups Sponsor ~-- 1.2 million kids a year are victims of human trafficking. Stop slavery. http://us.click.yahoo.com/WpTY2A/izNLAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Could someone point me to an example of validator.hasErrors()
Check the docs for the details you are looking for, specially under mx.validators http://livedocs.macromedia.com/flex/15/asdocs_en/ Libby wrote: Ok, 2 questions - 1, how do you know that, is it written down somewhere where I can look it up, and 2, if you have extended the validator then in order to do this you would need to overload the validate() function, right? Thanks, Libby --- In flexcoders@yahoogroups.com, "Matt Chotin" [EMAIL PROTECTED] wrote: In 1.5 you can only access the validator instance in the validate event handler, so that's where you'd need to do your work. mx:StringValidator field="..." validate="myButton.enabled = !event.validator.hasErrors()" / From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Libby Sent: Thursday, December 01, 2005 1:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Could someone point me to an example of validator.hasErrors() I would like to disable a button, from ActionScript, if the validator.hasErrors(). It can't be that difficult, can it? --- In flexcoders@yahoogroups.com, "Libby" [EMAIL PROTECTED] wrote: I can't find an example and I guess I don't understand how it is to be used from actionscript. I am expecting to be able to do something like this: if(theDocument.validators.myValidator.hasErrors()) { // handle it; } but I can't figure out how to get there from here. thanks, Libby -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group "flexcoders http://groups.yahoo.com/group/flexcoders " on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 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] PreferencesWindow design pattern
That's what I've been deadling with for the past 2 days! I won't suggest best practices, I'll just suggest what works as of 1:00pm this afternoon. My model is much like yours, on ModelLocator, but it's not actually written to unless the user hits save or apply. As such, I create a copy of the preferences object by passing the true one into a fucntion, which makes a copy, and uses that as something to bind to. That way, all my bindings work, but they only affect the real data if the user hits save. Psuedo code: prefsWindow = PopUpManager.createPopUp(this, PrefsWindow, true); prefsWindow.setFormData(ModelLocator.prefsObject); // psudeo code in PrefsWindow public var formData:Object; public function setFormData(o:Object):Void { // could be a specific ValueObject type as well // just DON'T set it to null, or delete it; this'll screw up the bindings formData = new Object(); for(var p in o) { formData[p] = o[p]; } } public function getFormData():Object { return formData; } Then, in your main class, just replace your VO on the ModelLocator with the formData. For avoiding references, see the earlier threads today about Object.copy. - Original Message - From: charged2885 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, December 01, 2005 4:45 PM Subject: [flexcoders] PreferencesWindow design pattern Note, this example is mitigated. there are dozens of preferences i want my users to be able to set. Anyways I have a simple preference i want my users to be able to set: showConsoleWindow. I have created a simple PreferencesWindow with a CheckBox on it. This checkbox's selected property is bound to ModelLocator.currentUser.preferences.showConsoleWindow. currentUser is a UserVO object as described below: class UserVO { preferences:PreferencesVO; username:String; } class PreferencesVO { showConsoleWindow:Boolean; } I'd like to offer a cancel button to my PreferencesWindow. however, since showConsoleWindow is bound, this approach won't work. It seems I should first, create a temporary preferences object to bind to. This is where my question comes in. How do I create a copy of my ModelLocator.currentUser.preferences object? Or would you implement this functionality differently? Please, I'm new to flex and I want to do this the right way. Thanks for your time. -- 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 ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/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] MXML into MXML
Hi all Had anybody come across a way of injecting MXML (code) into a flex app from a DB/file. The example would be 25 MXML templates - If I choose option 13 I get template 13 - which is maintained in Flex Builder then uploaded to the DB. At request time the MXML loads into a pre-defined area within the app - captures the data and saves it as XML and relates (via ID) it to that MXML template version. Is it a case of using Ben's way to use CF/JSP and pull the MXML in with an include (invoke JSP tags via CFM). I figure the MXML has been parsed - loading more MXML post compile would mean having to have all 25 MXML templates waiting in the client-side wings? - Or reload the CFM. Is it possible to do this inside AS and FLEX? Any ideas would be greatly appreciated. kindest Rgards Martin Ollman Bug logic - Australia - www.buglogic.co.nz Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody?
Working with Flex 2.0 Alpha and XMLSockets, Sockets and WebServices since a couple of days we never could get security policy files working is there a bug in Flex 2.0 Alpha? If you could perhaps try to do a System.security.loadPolicyFile(http://yourdomain.com/foo.xml); and let me know (via the list) whether it works for you? We get no errors at compile time but at runtime Flash Player 8.5 alpha returns a Error #1069: Property security not found on class flash.system.System and there is no default value Your help is greatly appreciated. As always. J Ralf Rottmann -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Could someone point me to an example of validator.hasErrors()
I know it because I wrote it but most of it should be mentioned in the docs in the validating data chapter (I think thats the title but havent checked). If you are using a subclass of the validator you dont need to make any changes, the validate event is fired from a different part of the system, your subclass will still generate it after your doValidation implementation has finished. If you wanted to do this work in your subclass you would do it as part of doValidation. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Libby Sent: Thursday, December 01, 2005 2:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Could someone point me to an example of validator.hasErrors() Ok, 2 questions - 1, how do you know that, is it written down somewhere where I can look it up, and 2, if you have extended the validator then in order to do this you would need to overload the validate() function, right? Thanks, Libby --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: In 1.5 you can only access the validator instance in the validate event handler, so that's where you'd need to do your work. mx:StringValidator field=... validate=myButton.enabled = !event.validator.hasErrors() / From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Libby Sent: Thursday, December 01, 2005 1:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Could someone point me to an example of validator.hasErrors() I would like to disable a button, from ActionScript, if the validator.hasErrors(). It can't be that difficult, can it? --- In flexcoders@yahoogroups.com, Libby libby[EMAIL PROTECTED] wrote: I can't find an example and I guess I don't understand how it is to be used from actionscript. I am expecting to be able to do something like this: if(theDocument.validators.myValidator.hasErrors()) { // handle it; } but I can't figure out how to get there from here. thanks, Libby -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 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] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody?
I think its flash.system.Security.loadPolicyFile() import flash.system.Security; Security.loadPolicyFile() Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann Sent: Thursday, December 01, 2005 4:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody? Working with Flex 2.0 Alpha and XMLSockets, Sockets and WebServices since a couple of days we never could get security policy files working is there a bug in Flex 2.0 Alpha? If you could perhaps try to do a System.security.loadPolicyFile(http://yourdomain.com/foo.xml); and let me know (via the list) whether it works for you? We get no errors at compile time but at runtime Flash Player 8.5 alpha returns a Error #1069: Property security not found on class flash.system.System and there is no default value Your help is greatly appreciated. As always. J Ralf Rottmann -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] showing values inside datagrid when click on button outside
You want to print all of the att_Name values but the problem is that everything inside is objects. Youre going to need to do it differently. function showAlert():Void { var str:String = ; for (var i:Number=0; i lglDocLst.length; i++) { str += lglDocList[i].att_Name; if (i lglDocLst.length 1) { str += , ; } } Alert.show(MyValue: + str); } Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sandip_patil01 Sent: Thursday, December 01, 2005 12:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] showing values inside datagrid when click on button outside Hi All, I have data grid populated with records from DB as, mx:DataGrid id=dGrid dataProvider={lglDocLst} mx:columns mx:Array mx:DataGridColumn headerText=Item Name columnName=att_Name / /mx:Array /mx:columns /mx:DataGrid where lglDocLst is values returned from my Java class. This works fine.In my datagrid its printing 2 values of att_Name. Now I have a button outside datagrid as, mx:Button label=Show click=showAlert() / when I click on this button I am printing alert as function showAlert(){ mx.controls.Alert.show(MyValue +lglDocLst.att_Name); } But this function printing undefined. any suggestions will be appreciable. Thx, sandip p -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody?
Title: Re: [flexcoders] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody? Hi Matt, Answering from a Blackberry so I cannot test it right away but if you're right it's wrong in the entire documentation. Thanks for answering. I'll test asap. Regards RR -- mobile: +49-(0)170-914-5495 email: [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Fri Dec 02 02:13:10 2005 Subject: RE: [flexcoders] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody? I think its flash.system.Security.loadPolicyFile() import flash.system.Security; Security.loadPolicyFile() Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann Sent: Thursday, December 01, 2005 4:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody? Working with Flex 2.0 Alpha and XMLSockets, Sockets and WebServices since a couple of days we never could get security policy files working is there a bug in Flex 2.0 Alpha? If you could perhaps try to do a System.security.loadPolicyFile(http://yourdomain.com/foo.xml); and let me know (via the list) whether it works for you? We get no errors at compile time but at runtime Flash Player 8.5 alpha returns a Error #1069: Property security not found on class flash.system.System and there is no default value Your help is greatly appreciated. As always. J Ralf Rottmann -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=ms=Macromedia+flex=Web+site+design+development=Computer+software+development=Software+design+and+development=Macromedia+flex=Software+development+best+practice=5=166&.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 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.
[flexcoders] Annpuncing Log4x
I am incredibly excited to announce the availability of Log4x to the Flex community. Log4x is a toolkit to assist in the development and runtime monitoring and debugging of applications built with Macromedia Flex. Based on and designed to integrate with Log4j, effectively the most popular logging framework ever developed, Log4x provides the Flex developer with a best-of-breed solution for instrumenting and logging their Flex based RIAs.Log4x takes advantage the Flex web services model, and can be intricately controlled by the developer on a per-application basis during development as well as by administrators in production. Integrating seamlessly with Log4j, Log4x provides a similar programming model making it intuitive for enterprise developers with Log4j experience. Log4x is being released under a community source license free of charge to all licensed Flex users. Features include: - Integrated logging between user experience and server layers. No other logging framework to date lets you bring together every tier of your enterprise flex application. - Ability to assign not only pre-set categories (INFO, DEBUG, WARN, ERROR) but also arbitrary logical application name spaces such as shopping cart, system, navigation, etc. - Logging levels are completely dynamic and can be enabled and disabled in real-time without having to ever recompile your Flex application. - Configurable batching with thresholds reduces network traffic and allows you to configure rules such as don't log unless an error occurs, then log the all steps that lead up to that error. - Based on industry standard frameworks and API's such as Log4j, XML, HTTP, etc. - Secure and compartmentalized. N applications can have N separate logs, each of which may be sending their log messages back to the server via (if configured) secured channels, preventing man-in-the-middle attacks that pry on sensitive data. Log4x is being released under a community source license free of charge to all licensed Flex users. Log4x can be downloaded by subscribing to Cynergy's new Flex Resources community. To get more information, view a video introduction, or download Log4x please click on the link below. http://www.cynergysystems.com/pages/how/technologies/flex/index.html -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/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] Cross Server Socket Connection (NOT XMLSocket)
Does that mean that - being a proud IFBIN subscriber :-) - I will have access to the proxy server? Ralf, Yes. The socket proxy server will ship as an IFBIN example combined with full source for the server as well. There will be an example using Flex 2 that utilizes the example. At Spark Europe I showed an HTTP Client I wrote using flash.net.Socket that allow you raw access to HTTP headers and more. Using this library in production is problematic because connections to other HTTP servers from Flash is not permitted for good reason. Using the Socket Proxy, you can make this work seamlessly along with accessing any TCP/IP based socket protocol. The main purpose for the proxy's development is actually to scale out the Comet AMF Socket Server using clustering. The proxy can be easily modified to provide a clustering solution for any type of socket server in that the proxy server maintains client connections while the data is multi-plexed to a central server. Works sort of like so: X == Frontline Connection Servers B == BackEnd Logic Servers X X X X X X X X --- N | | | | | | | | == || B -- B The backend logic server is where the logic is actually executed. You can create several backend servers for failover where all live data is mirrored. Should a backend server overload, crash, or go postal, processing will failover to another backend server. We used this model with an XMPP server rollout 4 years ago and tested support for over 30,000 concurrent connections. XMPP is a much heavier server and the Comet model is much lighter and faster. Plus you can write your own server logic and use this model to scale deployment for lots of concurrent users. Personally, I think we will see some very large MMPG's for Flash Player 8.5 and we designed this as a solution to scale the server side. This server will also be in IFBIN but we need some time for the dust to settle and to resolve a protocol licensing AMF issue. As AMF is a Macromedia protocol, we are working to make sure our server does not violate any property rights before the code ships. We are working with Macromedia directly to get this resolved. More to come! Ted ;) -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.10/189 - Release Date: 11/30/2005 Yahoo! Groups Sponsor ~-- AIDS in India: A lurking bomb. Click and help stop AIDS now. http://us.click.yahoo.com/9QUssC/lzNLAA/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] Annpuncing Log4x
I know I am biased as I work on the Cynergy team but Log4X is by far one of the best logging frameworks I have ever seen for Flex development. The key is that in reading 1 log you can see client events inline with server log events. You can see DB messages, WS calls, and client calls inline and in context. Log4X allows you to see in fine grained detail everything that is occurring in a large scale application from UI to DB in a single log. Special thanks to Cynergy for making this free. Ted :) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Wolf Sent: Friday, December 02, 2005 7:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Annpuncing Log4x I am incredibly excited to announce the availability of Log4x to the Flex community. Log4x is a toolkit to assist in the development and runtime monitoring and debugging of applications built with Macromedia Flex. Based on and designed to integrate with Log4j, effectively the most popular logging framework ever developed, Log4x provides the Flex developer with a best-of-breed solution for instrumenting and logging their Flex based RIAs.Log4x takes advantage the Flex web services model, and can be intricately controlled by the developer on a per-application basis during development as well as by administrators in production. Integrating seamlessly with Log4j, Log4x provides a similar programming model making it intuitive for enterprise developers with Log4j experience. Log4x is being released under a community source license free of charge to all licensed Flex users. Features include: - Integrated logging between user experience and server layers. No other logging framework to date lets you bring together every tier of your enterprise flex application. - Ability to assign not only pre-set categories (INFO, DEBUG, WARN, ERROR) but also arbitrary logical application name spaces such as shopping cart, system, navigation, etc. - Logging levels are completely dynamic and can be enabled and disabled in real-time without having to ever recompile your Flex application. - Configurable batching with thresholds reduces network traffic and allows you to configure rules such as don't log unless an error occurs, then log the all steps that lead up to that error. - Based on industry standard frameworks and API's such as Log4j, XML, HTTP, etc. - Secure and compartmentalized. N applications can have N separate logs, each of which may be sending their log messages back to the server via (if configured) secured channels, preventing man-in-the-middle attacks that pry on sensitive data. Log4x is being released under a community source license free of charge to all licensed Flex users. Log4x can be downloaded by subscribing to Cynergy's new Flex Resources community. To get more information, view a video introduction, or download Log4x please click on the link below. http://www.cynergysystems.com/pages/how/technologies/flex/index.html -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.10/189 - Release Date: 11/30/2005 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.10/189 - Release Date: 11/30/2005 Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/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] instanceof on Object
Jesse, I wonder why Joe's (Berkovitz) approach didn't worked for you. What went wroing? Dirk. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Thursday, December 01, 2005 7:24 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] instanceof on Object Having parameters in your ValueObject doesn't screw them up? For ColdFusion, it doesn't seem to matter, but for AMFPHP OpenAMF, it didn't seem to fly... guess I need to re-investigate. I tried doing: function clone() { var sub = super.clone(); var me = new ThisClass(); for(var p in sub) { me[p] = sub[p]; } me.prop = this.prop; return me; } ...but, she's missing props still, so I gave up. Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/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/