[flexcoders] Re: grid does not occupy all of TabNavigator container ?
Maybe this will help http://www.flexdaddy.info/2005/02/21/sizing-apps-within-the-loader-control/ Andrew www.flexdaddy.com --- In flexcoders@yahoogroups.com, Andrew Spaulding [EMAIL PROTECTED] wrote: Hi, As the loader is not a component it doesnt have any concept of size, it is merely a control, and a sometimes difficult one at that. In your Positions.mxml try placing the following in a script block at the start of the application: // Check for a _parent movieClip and get the available HEIGHT function getPreferredHeight() : Number { if ( _parent ) { return _parent.layoutHeight; } else { return super.getPreferredHeight(); } } // Check for a _parent movieClip and get the available WIDTH function getPreferredWidth() : Number { if ( _parent ) { return _parent.layoutWidth; } else { return super.getPreferredWidth(); } } This will return the available width and height that the loader can use. hope this helps, Andrew Spaulding www.flexdaddy.com --- In flexcoders@yahoogroups.com, sanjayd [EMAIL PROTECTED] wrote: I will pay $20 to the first person who can solve this problem !! Please look at this code: http://www.geocities.com/sanjayd.rm/freelance/positionsRepoRates.zip when you bring up the application using via 'Main.mxml', the grid in the 'Positions.mxml' app does not show all the columns ! The last column is clipped..any idea why ? Thanks in advance. Sanjay. I will pay $20 to the first person who can solve this problem !! 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] menu bar control- submenu issue
hai, I have been using a menubar control which has 4 items.. only the 2nd item has sub menus inside it.. the others dont have.. the problem is when mouseDown on items without a child it displays "[object object], 1,,[object object], null"... how do i avoid this? please help me this issue thanks, nithya my mxml code is: mx:Panel xmlns:mx="http://www.macromedia.com/2003/mxml" width="100%" height="500" mx:Script![CDATA[var dataObject : Object;]]/mx:Scriptmx:MenuBar id="menu1" width="100%" dataProvider="{dataObject}" labelField="name" mouseDown="event.menuItem.attributes.label"/ /mx:Panel the xml is: CategoryId1/IdNameArtistry Skin Care and Cosmetics/NameDescription A full range of basic to speciality skin care treatments made with the highest quality formulations to meet the needs of women today as well as a spectrum of colour for both background and feature cosmetics to match any mood or occasion.TRY is among the world's top five, largest selling, prestige brands of facial skincare and cosmetics. Based on a 2000 Euromonitor International study of estimated global retail sales./DescriptionImagehomephoto.jpg/ImageSubcategoryId1/IdNameDry-Skin/NameDescriptionTesting jaxb/Descriptionitem123.xml/item/Subcategory SubcategoryId 2 /IdNameNormal Skin/NameDescription Testing jaxb/DescriptionSubcategoryId 121 /IdNameAqua/NameDescription Testing jaxb2/Descriptionitem 124.xml /item/SubcategorySubcategoryId 13 /IdNameNon-Aqua/NameDescription Testing jaxb3/Descriptionitem 124.xml /item/Subcategory/Subcategory SubcategoryId3/IdNameOily-Skin/NameDescriptionTesting jaxb/Descriptionitem125.xml/item /Subcategory SubcategoryId4/IdNameSensitive-Skin/NameDescriptionTesting jaxb/Descriptionitem126.xml/item /Subcategory /Category Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now 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 the Yahoo! Terms of Service.
[flexcoders] Adobe aquires Macromedia
SAN JOSE, Calif.--(BUSINESS WIRE)--April 18, 2005--Adobe Systems Incorporated (Nasdaq:ADBE) today announced a definitive agreement to acquire Macromedia (Nasdaq:MACR) in an all-stock transaction valued at approximately $3.4 billion. Crazy. 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 the Yahoo! Terms of Service.
Re: [flexcoders] Adobe aquires Macromedia
Just can't think of anything to comment on this. Regards, Ketan Bengali Nate Nielsen wrote: SAN JOSE, Calif.--(BUSINESS WIRE)--April 18, 2005--Adobe Systems Incorporated (Nasdaq:ADBE) today announced a definitive agreement to acquire Macromedia (Nasdaq:MACR) in an all-stock transaction valued at approximately $3.4 billion. Crazy. *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] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. 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] Adobe aquires Macromedia
After reading and browsing Adobe's site (the first time ever in my life actually :) I understand they've got some big size server solutions in their product portfolio - I hope Flex fits in there. Also, Adobe is a SVG supporter - I wonder what this will mean to the SWF format in the long term. Dirk. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Ketan Bengali Sent: Monday, April 18, 2005 10:29 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Adobe aquires Macromedia Just can't think of anything to comment on this. Regards, Ketan Bengali Nate Nielsen wrote: SAN JOSE, Calif.--(BUSINESS WIRE)--April 18, 2005--Adobe Systems Incorporated (Nasdaq:ADBE) today announced a definitive agreement to acquire Macromedia (Nasdaq:MACR) in an all-stock transaction valued at approximately $3.4 billion. Crazy. -- -- *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] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. Yahoo! Groups Links 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] Adobe aquires Macromedia
SWG will obviously move aside for SWFwhat it means for Flex - who knowsbest to wait and see - but for me this is the 3rd company that say CF is been with - Flex is young and from experience, moving from company to company with apps like these can mean a no longer supported issue... Not saying that it will happen to Flex - but with this 2merger no application is safe from the Obsolete Product range -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann Sent: 18 April 2005 10:24 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Adobe aquires Macromedia After reading and browsing Adobe's site (the first time ever in my life actually :) I understand they've got some big size server solutions in their product portfolio - I hope Flex fits in there. Also, Adobe is a SVG supporter - I wonder what this will mean to the SWF format in the long term. Dirk. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Ketan Bengali Sent: Monday, April 18, 2005 10:29 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Adobe aquires Macromedia Just can't think of anything to comment on this. Regards, Ketan Bengali Nate Nielsen wrote: SAN JOSE, Calif.--(BUSINESS WIRE)--April 18, 2005--Adobe Systems Incorporated (Nasdaq:ADBE) today announced a definitive agreement to acquire Macromedia (Nasdaq:MACR) in an all-stock transaction valued at approximately $3.4 billion. Crazy. -- -- *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] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. Yahoo! Groups Links Yahoo! Groups Links This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.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] Adobe aquires Macromedia
Adobe may be a SVG supporter, but they use Flash on their site... On 4/18/05, Dirk Eismann [EMAIL PROTECTED] wrote: After reading and browsing Adobe's site (the first time ever in my life actually :) I understand they've got some big size server solutions in their product portfolio - I hope Flex fits in there. Also, Adobe is a SVG supporter - I wonder what this will mean to the SWF format in the long term. Dirk. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Ketan Bengali Sent: Monday, April 18, 2005 10:29 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Adobe aquires Macromedia Just can't think of anything to comment on this. Regards, Ketan Bengali Nate Nielsen wrote: SAN JOSE, Calif.--(BUSINESS WIRE)--April 18, 2005--Adobe Systems Incorporated (Nasdaq:ADBE) today announced a definitive agreement to acquire Macromedia (Nasdaq:MACR) in an all-stock transaction valued at approximately $3.4 billion. Crazy. -- -- *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] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. Yahoo! Groups Links 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 the Yahoo! Terms of Service. 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] Adobe aquires Macromedia
Adobe and Macromedia have been competitors for quite some time and now both deciding to join hands it seems they are all set to rule the Internet. With the bset of softwares for the net made by these 2 companies it will be interesting to watch the way the products will shape up in the near future and it's impact on Adobe and Macromedia users and the internet users too. Regards, Ketan Bengali Nate Nielsen wrote: SAN JOSE, Calif.--(BUSINESS WIRE)--April 18, 2005--Adobe Systems Incorporated (Nasdaq:ADBE) today announced a definitive agreement to acquire Macromedia (Nasdaq:MACR) in an all-stock transaction valued at approximately $3.4 billion. Crazy. *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] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. 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: NuSoap / Flex error
The wdsl file can be found here: http://www.leihitu.nl/soap/soap.php?wsdl --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: I'm not at all familiar with NuSoap. Can you post the whole WSDL? Matt _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Sunday, April 17, 2005 10:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] NuSoap / Flex error Hi, I'm trying to do a Soap call. My specs : - WinXP - Apache/php (http://localhost) http://localhost) - Tomcat (http://localhost:8080) http://localhost:8080) - NoSoap 0.6.9 installed on http://localhost http://localhost - Flex 1.5 running on the Tomcat server Now I have an soap-script that also generates a WDSL document (hellowsdl.php) that runs on http://localhost. http://localhost. I have a MXML document on the Tomcat server : soap.mxml. In the MXML document I have a button labeled Hello. When I click the button I get the message Request implements version http://schemas.xmlsoap.org/soap/envelope/Response http://schemas.xmlsoap.org/soap/envelope/Response implements version What am I doing wrong? My sources [code] ?php /* file : hellowsdl.php */ // Pull in the NuSOAP code require_once('lib/nusoap.php'); // Create the server instance $server = new soap_server(); // Initialize WSDL support $server-configureWSDL('hellowsdl', 'urn:hellowsdl'); // Register the method to expose $server-register('hello',// method name array('name' = 'xsd:string'),// input parameters array('return' = 'xsd:void'), // output parameters 'urn:hellowsdl', // namespace 'urn:hellowsdl#hello',// soapaction 'rpc', // style 'encoded', // use 'Says hello to the caller' // documentation ); // Define the method as a PHP function function hello($name) { return 'Hello, ' . $name; } // Use the request to (try to) invoke the service $HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA : ''; $server-service($HTTP_RAW_POST_DATA); ? [/code] soap.mxml : [code] ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml http://www.macromedia.com/2003/mxml mx:WebService id=service wsdl=http://localhost/hellowsdl.php? http://localhost/hellowsdl.php? wsdl mx:operation name=hello mx:request nameMy name/name /mx:request /mx:operation /mx:WebService mx:Form label=test mx:FormHeading label=holla/ mx:Button label=Hello click=service.hello.send()/ mx:FormItem label=Response from server mx:TextArea id=response/ /mx:FormItem /mx:Form /mx:Application [/code] _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. 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] Generating dynamic datagrid based on dynamic query result
Hi all, How generating this one dynamically based on a query with a dynamic number of columns: var zingerManufacturingData = [ {Month: January '03, Widgets:885202, Blinkies: 184454, monthIdx:1 }, {Month: February '03, Widgets:683392, Blinkies: 945385, monthIdx:2 }, {Month: March '03, Widgets:638820, Blinkies: 442383, monthIdx:3 }, {Month: April '03, Widgets:949932, Blinkies: 841201, monthIdx:4 }, . ]; I need to display the query in a datagrid. This is the starting of my code: mx:Button label=Test click={myTest({mx.utils.ArrayUtil.toArray(myWS.RtuDataFunction.result)})} / public function myTest(obj: Object):Void { var cdgStaff:DataGrid; var myItem:Array; var myobj:Object; cdgStaff = DataGrid( myCanvas.createChild(DataGrid)); cdgStaff.editable = false; cdgStaff.x=10; cdgStaff.y=10; cdgStaff.setSize(500, 200); for (var i in obj) { myobj = obj[i]; ??? If ( COLUMN[j] == COL1) cdgStaff.addItem(myobj); } } Any help will be appreciated, Dzafer 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 the Yahoo! Terms of Service.
Re: [flexcoders] Generating dynamic datagrid based on dynamic query result
On 4/18/05, Dzafer [EMAIL PROTECTED] wrote: How generating this one dynamically based on a query with a dynamic number of columns: [snip] If you simply assign the web service result to the grid's dataProvider property, that'll do it. -- [EMAIL PROTECTED] http://manish.revise.org/ 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] ComboBox redraw issue
On 4/18/05, JesterXL [EMAIL PROTECTED] wrote: http://dev.jessewarden.com/flash/panels/ViewMaker_source.zip - If you tab to the ComboBox (on the Controls Tab), and choose button by hitting B, the 2nd FormItem doesn't draw it's label, even though the text for it traces out. - If you manually select the ComboBox to Button instead of hitting but, it actually puts the _name of the label in there instead of the text. I did some debugging and found that if you simply assign the FormItem's label property to foo, even then all the FormItem's show it as foo, but the one for label does not. If you assign it explicitly rather than passing it in the initObj, same results. If you query the property after assigning it, it shows the proper value (foo). Didn't look any further. Just don't have the time right now. -- [EMAIL PROTECTED] http://manish.revise.org/ 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] Generating dynamic datagrid based on dynamic query result
Hi Manish, Ok, but I will select with an action script witch columns I will display my datagrid. I use the Webservice result as a provider for different flex object. For the datagrid I need to retrieve all the column names from the provider to do something like this: If ( column[i] == firstname) {} If ( column[i] == value + j) {} From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Monday, April 18, 2005 12:35 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Generating dynamic datagrid based on dynamic query result On 4/18/05, Dzafer [EMAIL PROTECTED] wrote: How generating this one dynamically based on a query with a dynamic number of columns: [snip] If you simply assign the web service result to the grid's dataProvider property, that'll do it. -- [EMAIL PROTECTED] http://manish.revise.org/ 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 the Yahoo! Terms of Service.
[flexcoders] I/O error in SWC component ???
hi, Does anybody know what this error means? I've got an SWC component that suddenly stopped working 1 Exception found. Exception java.lang.IllegalStateException SWC I/O error when reading \flex\user_components\AdresKaart.swc 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] How to populate tree control from web service result (server side java objects)
Title: Mercury Email Signature Hi i have a complex object that holds a tree in server side Java objects , i then expose it to the client via a WebService. my question is what is the best way to populate thetree control with thisserver side object ? do i have to return an xml string from the webservice or there is a better way tomap the objectsfrom the result into the tree control. any help willbe appreciated. thanks Shlomi __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ 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 the Yahoo! Terms of Service.
[flexcoders] Cairngorm
Hi, Wanted to follow up to see when we can expect the next release of Cairngorm. Thanks. 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] Wha kinds of object are in this Array?
Hi All, What kinds of object are in this Array? var zingerManufacturingData = [ {Month: January '03, Widgets:885202, Blinkies: 184454, monthIdx:1 }, {Month: February '03, Widgets:683392, Blinkies: 945385, monthIdx:2 }, {Month: December '03, Widgets:800254, Blinkies: 826652, monthIdx:12 } ]; And how can I put a variable instead of Month, Widgets ? Thank you, Dzafer 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 the Yahoo! Terms of Service.
RE: [flexcoders] Wha kinds of object are in this Array?
This array contains plain objects. You can access any of the properties like this zingerManufacturingData[0].Month, zingerManufacturingData[1].Widget, etc. To change the variable names, do this, var zingerManufacturingData = [ {differentVar: January '03, anotherVar:885202, Blinkies: 184454, monthIdx:1 }, {differentVar: February '03, anotherVar:683392, Blinkies: 945385, monthIdx:2 }, {differentVar: December '03, anotherVar:800254, Blinkies: 826652, monthIdx:12 } ]; In that example Month was changed to differentVar and Widgets was changed to anotherVar. Hope that is what you were looking for J From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dzafer Sent: Monday, April 18, 2005 6:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Wha kinds of object are in this Array? Hi All, What kinds of object are in this Array? var zingerManufacturingData = [ {Month: January '03, Widgets:885202, Blinkies: 184454, monthIdx:1 }, {Month: February '03, Widgets:683392, Blinkies: 945385, monthIdx:2 }, {Month: December '03, Widgets:800254, Blinkies: 826652, monthIdx:12 } ]; And how can I put a variable instead of Month, Widgets ? Thank you, Dzafer 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 the Yahoo! Terms of Service.
Re: [flexcoders] Simple arithmetic - resolved
Solved - turns out I was applying a currency format to the variable before handing it to the function so it really was NaN. Question - shouldn't this have thrown an error, since I was casting the non-number variable as a number in the parameter statement, as varX:Number? - Tom At 04:43 PM 4/17/2005, you wrote: Manish and Abdul - Thanks. I'll keep looking... - Tom At 03:53 PM 4/17/2005, you wrote: I verified that the function returns correct values. You have a problem somewhere else. -- Yahoo! Groups Links * To visit your group on the web, go to: * http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/ * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/Yahoo! Terms of Service. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Cairngorm
Viraf, Wanted to follow up to see when we can expect the next release of Cairngorm. It would be futile to promise a date; this has to fit within consulting committments. We're very close to a release ... all the features for the next release are in place, we're working on improving the depth of the sample application that showcases Cairngorm. I'd hope to have something for you in the next few weeks, but it would be unwise to promise that. Thanks for your understanding, Steven -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.16 - Release Date: 18/04/2005 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: RemoteObject frustration
You can either name it in your whitelist like Matt mentioned and reference it with the attribute named. Or your can specify the child nodes and attributes in your mxml doc and use an endpoint attribute to specify the remotegateway. Thats my understanding at least. HTH -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kredding.geo Sent: Sunday, April 17, 2005 9:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: RemoteObject frustration What do you mean by an endpoint reference? --- In flexcoders@yahoogroups.com, Dan R Blackman [EMAIL PROTECTED] wrote: I don't see an Endpoint reference to your remoting gatewaycould that be it? kredding.geo [EMAIL PROTECTED] wrote: I have been looking at this forever and can't figure out what I am missing. I am trying to access a class called search. I am passing in some text and would like to receive data based on my text. Right now the classes are very basic for testing the RemoteObject. I am receiving the error message that 'search' cannot be found. It seems to balk at the ro.search(searchCriteria) line listed below. I can't even figure out if the problem lies in the java code or the mxml code. Here is a copy of my MXML file: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml initialize=initApp() mx:Script ![CDATA[ import com.greetingsxpress.cards.services.*; var searchCriteria:SearchCriteriaVO; var searchResult:SearchResultVO; function initApp() { searchCriteria = new SearchCriteriaVO(); searchResult = new SearchResultVO(); searchResult.cards = new Array(); } function doSearch() { searchCriteria.text = foo; ro.search(searchCriteria); } function customizeCard( idx ) { cardSelected.text = searchResult.cards[idx]; } function resultHandler() { //cardsArray=ro.search.result.cards; searchResult = ro.search.result; } ]] /mx:Script mx:RemoteObject id=ro source=com.greetingsxpress.cards.services.RemoteService mx:method name=search result=resultHandler()/ /mx:RemoteObject !--mx:Model id=cardModel name{searchResult.imageReference}/name /mx:Model mx:Array id=cardsArray/mx:Array-- mx:Canvas width=400 height=400 mx:Button label=Get Cards click=doSearch()/ mx:Tile mx:Repeater id=cards count=2 dataProvider={searchResult.cards} mx:Text id=cardSelected text=Text / /mx:Repeater /mx:Tile /mx:Canvas /mx:Application ANY help would be appreciated!! Thank you - 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 the Yahoo! Terms of Service. 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 the Yahoo! Terms of Service.
RE: [flexcoders] I/O error in SWC component ???
Can you try to regenerate the SWC component or have the person who created it do this? It seems there is some basic problem with the component (as this error only occurs when there is an IOException). Another thing you can do is to set -Dtrace.error in the JVM configuration for your appserver (on JRun, this is in bin/jvm.config). This will give you the stack trace, which may help us figure out what went wrong. -Brian -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of eerkmans Sent: Monday, April 18, 2005 6:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] I/O error in SWC component ??? hi, Does anybody know what this error means? I've got an SWC component that suddenly stopped working 1 Exception found. Exception java.lang.IllegalStateException SWC I/O error when reading \flex\user_components\AdresKaart.swc Yahoo! Groups Links 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] Wha kinds of object are in this Array?
Hi there, If you put differentVar and displaying into a datagrid he will display differentVar What I want to do is this one : Var myString:String; myString = FistrName; and put myString has the first label . Tnx! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mercer, Dustin Sent: Monday, April 18, 2005 3:30 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Wha kinds of object are in this Array? This array contains plain objects. You can access any of the properties like this zingerManufacturingData[0].Month, zingerManufacturingData[1].Widget, etc. To change the variable names, do this, var zingerManufacturingData = [ {differentVar: January '03, anotherVar:885202, Blinkies: 184454, monthIdx:1 }, {differentVar: February '03, anotherVar:683392, Blinkies: 945385, monthIdx:2 }, {differentVar: December '03, anotherVar:800254, Blinkies: 826652, monthIdx:12 } ]; In that example Month was changed to differentVar and Widgets was changed to anotherVar. Hope that is what you were looking for J From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dzafer Sent: Monday, April 18, 2005 6:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Wha kinds of object are in this Array? Hi All, What kinds of object are in this Array? var zingerManufacturingData = [ {Month: January '03, Widgets:885202, Blinkies: 184454, monthIdx:1 }, {Month: February '03, Widgets:683392, Blinkies: 945385, monthIdx:2 }, {Month: December '03, Widgets:800254, Blinkies: 826652, monthIdx:12 } ]; And how can I put a variable instead of Month, Widgets ? Thank you, Dzafer 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 the Yahoo! Terms of Service.
[flexcoders] Adobe Flex? What does this mean to us... ?
http://us.rd.yahoo.com/finance/external/cbsm/SIG=11g622ocl/*http://www.marketwatch.com/news/yhoo/story.asp?source=blq/yhoositeid=yhoodist=yhooguid=%7B3B04AC26%2DE1ED%2D4FA3%2D8E72%2D9C493CADC469%7D Clint Modien 5by5Software Ventures Ltd. http://bridgewerx.com Suite 355, 138 - 4th Ave. SE Calgary, Alberta, Canada T2G 4Z6 Cell: 403.809.3511 Work: 403.206.3195 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 the Yahoo! Terms of Service.
RE: [flexcoders] Wha kinds of object are in this Array?
I am not sure if this is what you are asking but here goes: Var myString:String; myString = FistrName; var zingerManufacturingData = [ {differentVar : myString, anotherVar:885202, Blinkies: 184454, monthIdx:1}, {differentVar : myString, anotherVar:683392, Blinkies: 945385, monthIdx:2}, {differentVar : myString, anotherVar:800254, Blinkies: 826652, monthIdx:12} ]; From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dzafer Sent: Monday, April 18, 2005 7:22 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Wha kinds of object are in this Array? Hi there, If you put differentVar and displaying into a datagrid he will display differentVar What I want to do is this one : Var myString:String; myString = FistrName; and put myString has the first label . Tnx! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mercer, Dustin Sent: Monday, April 18, 2005 3:30 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Wha kinds of object are in this Array? This array contains plain objects. You can access any of the properties like this zingerManufacturingData[0].Month, zingerManufacturingData[1].Widget, etc. To change the variable names, do this, var zingerManufacturingData = [ {differentVar: January '03, anotherVar:885202, Blinkies: 184454, monthIdx:1 }, {differentVar: February '03, anotherVar:683392, Blinkies: 945385, monthIdx:2 }, {differentVar: December '03, anotherVar:800254, Blinkies: 826652, monthIdx:12 } ]; In that example Month was changed to differentVar and Widgets was changed to anotherVar. Hope that is what you were looking for J From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dzafer Sent: Monday, April 18, 2005 6:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Wha kinds of object are in this Array? Hi All, What kinds of object are in this Array? var zingerManufacturingData = [ {Month: January '03, Widgets:885202, Blinkies: 184454, monthIdx:1 }, {Month: February '03, Widgets:683392, Blinkies: 945385, monthIdx:2 }, {Month: December '03, Widgets:800254, Blinkies: 826652, monthIdx:12 } ]; And how can I put a variable instead of Month, Widgets ? Thank you, Dzafer 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 the Yahoo! Terms of Service.
[flexcoders] Stupid Question
Sorry, can you help me? how i can do that my tx_bar have the focus when application will be init? Devis ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; themeColor=haloSilver backgroundColor=#FF xmlns=* initialize=initShop(); mx:Script function initShop():Void { tx_bar.setFocus(); } /mx:Script mx:HBox width=100% height=100% mx:VBox width=30% height=100% id=barcode mx:Panel title=Barcode width=100% height=10% mx:Label text=Barcode/ mx:TextInput id=tx_bar/ /mx:Panel Resi/ Abbuoni / /mx:VBox mx:VBox width=100% height=100% mx:Panel title=Status Registratore width=100% height=25% click=initShop()/ Dettaglio/ Carrello/ /mx:VBox /mx:HBox /mx:Application 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] Apply Resize Effect to Items in TileList
Hello flexcoders, I am trying to appy a resize effect as the mouseover effect to items in a TileList. I am doing this by setting a mouseOverEffect in the cell renderer that is used by the TileList. The effect works fine when resizing to a smaller size that the start size, but what I really want is to make the item "grow" out in size, which does not seem to work Anybody done this before or know how to achieve this ? Thx in advance superabe 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 the Yahoo! Terms of Service.
[flexcoders] What does this error mess mean
I have started learning flex recently so I am kind of new to this but time to time I get this error message and frankly I hav e no idea what this error message means. Under normal circumstances I would post the code but I think it says the memory is to large so I have no intention of posting this much code. What does this code mean 2 Errors found. Error /littleprogram.as:1758 Branch between 3394 and 36167 around line 0 exceeds 32K span. If possible, please refactor this component.Error Branch between 3394 and 36167 around line 0 exceeds 32K span. 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 the Yahoo! Terms of Service.
RE: [flexcoders] Stupid Question
Hi, Call the initShop() function in creationComplete handler of Application like this... ##changedCode## ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; themeColor=haloSilver backgroundColor=#FF xmlns=* creationComplete=initShop(); mx:Script function initShop():Void { tx_bar.setFocus(); } /mx:Script mx:HBox width=100% height=100% mx:VBox width=30% height=100% id=barcode mx:Panel title=Barcode width=100% height=10% mx:Label text=Barcode/ mx:TextInput id=tx_bar/ /mx:Panel Resi/ Abbuoni / /mx:VBox mx:VBox width=100% height=100% mx:Panel title=Status Registratore width=100% height=25% click=initShop()/ Dettaglio/ Carrello/ /mx:VBox /mx:HBox /mx:Application -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 8:34 PM To: Flex Coders Subject: [flexcoders] Stupid Question Sorry, can you help me? how i can do that my tx_bar have the focus when application will be init? Devis ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; themeColor=haloSilver backgroundColor=#FF xmlns=* initialize=initShop(); mx:Script function initShop():Void { tx_bar.setFocus(); } /mx:Script mx:HBox width=100% height=100% mx:VBox width=30% height=100% id=barcode mx:Panel title=Barcode width=100% height=10% mx:Label text=Barcode/ mx:TextInput id=tx_bar/ /mx:Panel Resi/ Abbuoni / /mx:VBox mx:VBox width=100% height=100% mx:Panel title=Status Registratore width=100% height=25% click=initShop()/ Dettaglio/ Carrello/ /mx:VBox /mx:HBox /mx:Application Yahoo! Groups Links 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] Adobe Flex? What does this mean to us... ?
Hi Clint, We are not allowed to comment on the details of the merger beyond what is in the public information on our website and until the merger is closed, we are not able to talk directly with Adobe about specific strategies. So I can't say much :) That said, I can say this: I think this will be awesome. The combined talent and technologies of the two companies will be able to do far more to deliver a great platform for rich interactive content and applications. Flex has an awesome first year, and I am as optimistic as ever about the next 5 years! Regards, David From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint ModienSent: Monday, April 18, 2005 7:49 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Adobe Flex? What does this mean to us... ? http://us.rd.yahoo.com/finance/external/cbsm/SIG=11g622ocl/*http://www.marketwatch.com/news/yhoo/story.asp?source=blq/yhoositeid=yhoodist=yhooguid=%7B3B04AC26%2DE1ED%2D4FA3%2D8E72%2D9C493CADC469%7D Clint Modien 5by5Software Ventures Ltd. http://bridgewerx.com Suite 355, 138 - 4th Ave. SE Calgary, Alberta, CanadaT2G 4Z6 Cell: 403.809.3511 Work: 403.206.3195 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 the Yahoo! Terms of Service.
RE: [flexcoders] Adobe Flex? What does this mean to us... ?
Could mean several things. Adobe already have a huge investment in SVG, so the worst-case would be Flash and Flex being canned. More likely is that Adobe will work on a tool to replace Flash that compliments their existing suite of applications. Almost definitely means the end of Freehand (Adobe will never drop Illustrator as its one of their flagships), and I imagine GoLive will be dropped and replaced with DreamWeaver? Who knows. Flash, Director and DreamWeaver seem to be Macromedias strong products everything else is not really something that directly compliments Adobes existing portfolio and could easily end up being sacrificed. :/ On the other hand, Adobe lack anything on the server side of the multimedia market. By grabbing Macromedia they now have all the ColdFusion stuff to play with, so perhaps this is a way for them to expand their market beyond purely the creative side of things? That would justify Flex as well. S. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint Modien Sent: 18 April 2005 15:49 To: flexcoders@yahoogroups.com Subject: [flexcoders] Adobe Flex? What does this mean to us... ? http://us.rd.yahoo.com/finance/external/cbsm/SIG=11g622ocl/*http://www.marketwatch.com/news/yhoo/story.asp?source=blq/yhoositeid=yhoodist=yhooguid=%7B3B04AC26%2DE1ED%2D4FA3%2D8E72%2D9C493CADC469%7D Clint Modien 5by5Software Ventures Ltd. http://bridgewerx.com Suite 355, 138 - 4th Ave. SE Calgary, Alberta, Canada T2G 4Z6 Cell: 403.809.3511 Work: 403.206.3195 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 the Yahoo! Terms of Service.
RE: [flexcoders] Adobe Flex? What does this mean to us... ?
Be realistic though whenever companies merge, product lines are re-examined. Products will be cancelled on both sides of the company. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Mendels Sent: 18 April 2005 16:46 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Adobe Flex? What does this mean to us... ? Hi Clint, We are not allowed to comment on the details of the merger beyond what is in the public information on our website and until the merger is closed, we are not able to talk directly with Adobe about specific strategies. So I can't say much :) That said, I can say this: I think this will be awesome. The combined talent and technologies of the two companies will be able to do far more to deliver a great platform for rich interactive content and applications. Flex has an awesome first year, and I am as optimistic as ever about the next 5 years! Regards, David From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint Modien Sent: Monday, April 18, 2005 7:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Adobe Flex? What does this mean to us... ? http://us.rd.yahoo.com/finance/external/cbsm/SIG=11g622ocl/*http://www.marketwatch.com/news/yhoo/story.asp?source=blq/yhoositeid=yhoodist=yhooguid=%7B3B04AC26%2DE1ED%2D4FA3%2D8E72%2D9C493CADC469%7D Clint Modien 5by5Software Ventures Ltd. http://bridgewerx.com Suite 355, 138 - 4th Ave. SE Calgary, Alberta, Canada T2G 4Z6 Cell: 403.809.3511 Work: 403.206.3195 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 the Yahoo! Terms of Service.
RE: [flexcoders] Adobe Flex? What does this mean to us... ?
Clint, http://us.rd.yahoo.com/finance/external/cbsm/SIG=11g622ocl/*http://www.marketwatch.com/news/yhoo/story.asp?source=blq/yhoositeid=yhoodist=yhooguid=%7B3B04AC26%2DE1ED%2D4FA3%2D8E72%2D9C493CADC469%7D To quote someone from another mailing list: "Macromedia employees cannot participate in these discussions given the merger terms. I would imagine that the company entered a "quiet period" on Sat-Sun in regard to the merger preventing all employees from commenting on any aspect of the merger and the potential changes. Publicly disclosing information related to the merger is a potential SEC violation, hence the internal silence." So I think what is safe to say is that we'll not be gaining much response, much as I'm sure they'd like to, from anyone officially at Macromedia. I'd recommend listening to the investors call; the details were on one of the press releases and the call was recorded. What's clear is that the rumours of an Adobe / Macromedia merger have been around since before Flex was even a concept ... one of the questions asked of the Adobe board is "why, when you have been publically against acquisition of Macromedia in the past, does now seem like a good time". A recurrent theme in terms of what Macromedia brings to Adobe, during the board meeting was Breeze, Flex/Coldfusion, Flash Player and the mobile and devices strategy. So I don't think ANY of these things are going to disappear anytime soon. I'm going to blog about this in much greater detail in the days ahead, but what's key that both Adobe and Macromedia are assaulting the enterprise marketplace, and that by leveraging the Flash Player (the centre of the Macromedia ecosystem) against the PDF/Reader technologies (the centre of the Adobe ecosystem) they have, as the CEO of Adobe commented that the "...combination of the Flash Format and Flash Player with PDF and Reader, offers a technology platform that enables customers and partners to communicate information in a much more effective way..." Consistently, the synergy of Flex and PDF for bringing together "enterprise document workflow with enterprise development and rich and interactive media", alongside bringing together the "asynchronous capabilities of PDF forms" with the "real time collaboration of breeze", and the "development of tools for content providers that target the Macromedia mobile infrastructure and platform" all suggest that there are exciting times ahead in bringing together each organisation's enterprise platforms. Again, consistently, this is cited not as a consolodation merger, but a strategic merger aimed at aligning 2 companies that are "...no longer enemies because we aren't directly competing...", and the aim of the merger is to achieve growth, particuarly it would seem, in the enterprise marketplace. There are going to be a hell of a lot of people running around telling us why this marks the end of Flex, Coldfusion, Freehand, Illustrator, etc, etc. Rather than worry about the sky falling, I'm more interested as to what opportunities are going to be created for us... "The art of progress is to preserve order amid change and to preserve change amid order." Exciting times, Steven -- Steven WebsterTechnical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately.Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. 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 the Yahoo! Terms of Service. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.16 - Release Date: 18/04/2005
Re: [flexcoders] Stupid Question
Hi Abdul, it's very strange i have put creatationComplete as below, but don't work, the TextInput border became bold but if i'm writing the TextInput don't work. Any idea? Devis Abdul Qabiz ha scritto: Hi, Call the initShop() function in creationComplete handler of Application like this... ##changedCode## ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; themeColor=haloSilver backgroundColor=#FF xmlns=* creationComplete=initShop(); mx:Script function initShop():Void { tx_bar.setFocus(); } /mx:Script mx:HBox width=100% height=100% mx:VBox width=30% height=100% id=barcode mx:Panel title=Barcode width=100% height=10% mx:Label text=Barcode/ mx:TextInput id=tx_bar/ /mx:Panel Resi/ Abbuoni / /mx:VBox mx:VBox width=100% height=100% mx:Panel title=Status Registratore width=100% height=25% click=initShop()/ Dettaglio/ Carrello/ /mx:VBox /mx:HBox /mx:Application -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 8:34 PM To: Flex Coders Subject: [flexcoders] Stupid Question Sorry, can you help me? how i can do that my tx_bar have the focus when application will be init? Devis ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; themeColor=haloSilver backgroundColor=#FF xmlns=* initialize=initShop(); mx:Script function initShop():Void { tx_bar.setFocus(); } /mx:Script mx:HBox width=100% height=100% mx:VBox width=30% height=100% id=barcode mx:Panel title=Barcode width=100% height=10% mx:Label text=Barcode/ mx:TextInput id=tx_bar/ /mx:Panel Resi/ Abbuoni / /mx:VBox mx:VBox width=100% height=100% mx:Panel title=Status Registratore width=100% height=25% click=initShop()/ Dettaglio/ Carrello/ /mx:VBox /mx:HBox /mx:Application Yahoo! Groups Links Yahoo! Groups Links 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] Adobe aquires Macromedia
Ya totally. Though there's a way to go; MM and Adobe have to get past a shareholders vote, and regulatory approvals, etc... I'm not sure how I feel about this move. I like both companies; they both make excellent products. But almost every company I've worked at got bought by another company; and everytime that happened some (if not all) stuff went sour. I really like the momentum MM has right now, and their direction - and I hope Adobe wouldn't do anything to screw that up (eg imposing/forcing the Adobe culture on the MM culture, changing MM's priorities). But with the battle against Msft, it seems to make sense to unite powers. Just please don't let Coldfusion fade away! Ketan Bengali wrote: Adobe and Macromedia have been competitors for quite some time and now both deciding to join hands it seems they are all set to rule the Internet. With the bset of softwares for the net made by these 2 companies it will be interesting to watch the way the products will shape up in the near future and it's impact on Adobe and Macromedia users and the internet users too. Regards, 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 the Yahoo! Terms of Service.
[flexcoders] Re: Cairngorm
is it just me or dont most open source project have more visibility? ie you can see the deve tree, and contribute to it, and the release are just the latest stable version. I think if there were more transparency, then even though the cairngorm folks are busy, I think there are enought people taht could step up, like rocketboots did with thier great breeze presentation. or i think someone else added a state diagram I saw. Or am I way off base here? --- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: Hi, Wanted to follow up to see when we can expect the next release of Cairngorm. Thanks. 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] ABOUT EVALUATING STRINGS INTO COMPONENT IDs
Hello, all. My team is developing a treasury app, and we are in the phase of building the interface. At some point, we have a ViewStack you are supposed to go through with the help of a List Control (we are not using LinkBar because links in it cannot contain image icons, as far as we know). The list control contains a string which is the component id of a panel inside the ViewStack. Is there a way to evaluate this string into the component id? Or better yet, is there a way to include image icon inside the link in a LinkBar? I very much appreciate your help. Best regards. J. J2EE Developer 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 the Yahoo! Terms of Service.
RE: [flexcoders] Flex Containers.
resizeToContent is documentated as part of the Flex API. You can see it here: http://livedocs.macromedia.com/flex/15/asdocs_en/mx/containers/ViewStack .html Stephen -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Fitzpatrick Sent: Saturday, April 16, 2005 2:15 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex Containers. Omar - yes, it's an undocumented feature that took me a while to find out about. In your ViewStack, set resizeToContent=true. That's it. Works for tab containers, too. - Tom At 02:00 PM 4/16/2005, you wrote: Is there a way to make flex containers grow in size insted of showing a scroll bar? Yahoo! Groups Links 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] Stupid Question
Hi Devis, You need to click on Flex app once(anywhere) to set focus on entire Flex app. By default, browser doesn't set focus to Flex/Flash app on load. But in Internet Explorer, you can use some javascript to set focus to Flex/Flash application. But you need to do use some javascript. Calling flashObject.focus() would set the focus to flashObject in browser. Where flashObject is reference to Flash ActiveX in IE. There are two ways to do this: 1) Write a custom HTML wrapper page for your flex application or customize default html wrapper, you need to be careful for history management related JS code. 2) Use JSP page I have written the following jsp code, using jsp has advantage that javascript code generated by flex server would still be there... %@ taglib uri=FlexTagLib prefix=mm % HTML HEAD meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1 TITLEFlex-Focus Demo/TITLE /HEAD BODY bgcolor=#FF onload=flexApp.focus(); !-- look at flexApp id/name, thats being used(in JS) to get the reference of Flash Player in browser. -- mm:mxml border=1 id=flexApp name=flexApp mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; themeColor=haloSilver backgroundColor=#FF xmlns=* creationComplete=initShop(); mx:Script function initShop():Void { tx_bar.setFocus(); } /mx:Script mx:HBox width=100% height=100% mx:VBox width=30% height=100% id=barcode mx:Panel title=Barcode width=100% height=10% mx:Label text=Barcode/ mx:TextInput id=tx_bar/ /mx:Panel /mx:VBox mx:VBox width=100% height=100% mx:Panel title=Status Registratore width=100% height=25% click=initShop()/ /mx:VBox /mx:HBox /mx:Application /mm:mxml /BODY /HTML Hope that helps... -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 9:39 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Stupid Question Hi Abdul, it's very strange i have put creatationComplete as below, but don't work, the TextInput border became bold but if i'm writing the TextInput don't work. Any idea? Devis Abdul Qabiz ha scritto: Hi, Call the initShop() function in creationComplete handler of Application like this... ##changedCode## ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; themeColor=haloSilver backgroundColor=#FF xmlns=* creationComplete=initShop(); mx:Script function initShop():Void { tx_bar.setFocus(); } /mx:Script mx:HBox width=100% height=100% mx:VBox width=30% height=100% id=barcode mx:Panel title=Barcode width=100% height=10% mx:Label text=Barcode/ mx:TextInput id=tx_bar/ /mx:Panel Resi/ Abbuoni / /mx:VBox mx:VBox width=100% height=100% mx:Panel title=Status Registratore width=100% height=25% click=initShop()/ Dettaglio/ Carrello/ /mx:VBox /mx:HBox /mx:Application -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 8:34 PM To: Flex Coders Subject: [flexcoders] Stupid Question Sorry, can you help me? how i can do that my tx_bar have the focus when application will be init? Devis ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; themeColor=haloSilver backgroundColor=#FF xmlns=* initialize=initShop(); mx:Script function initShop():Void { tx_bar.setFocus(); } /mx:Script mx:HBox width=100% height=100% mx:VBox width=30% height=100% id=barcode mx:Panel title=Barcode width=100% height=10% mx:Label text=Barcode/ mx:TextInput id=tx_bar/ /mx:Panel Resi/ Abbuoni / /mx:VBox mx:VBox width=100% height=100% mx:Panel title=Status Registratore width=100% height=25% click=initShop()/ Dettaglio/ Carrello/ /mx:VBox /mx:HBox /mx:Application Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links 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] About Evaluating Strings Into Component IDs
I think you're looking for some thing like this: this["somecomponentid"] ; Which is equivalent to this: this.somecomponentid; What's nice about the first form is you can use changing variables to get properties, here's an example: var total:Number = 0; for (var 1=0; i10; i++) { total += this["subtotal" + i]; } -- Ronald Kinion 253-205-3000 x5162 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jesus Salvador Ramos CardonaSent: Monday, April 18, 2005 9:42 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] ABOUT EVALUATING STRINGS INTO COMPONENT IDs Hello, all. My team is developing a treasury app, and we are in the phase of building the interface. At some point, we have a ViewStack you are supposed to go through with the help of a List Control (we are not using LinkBar because links in it cannot contain image icons, as far as we know). The list control contains a string which is the component id of a panel inside the ViewStack. Is there a way to evaluate this string into the component id? Or better yet, is there a way to include image icon inside the link in a LinkBar? I very much appreciate your help. Best regards. J. J2EE Developer 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 the Yahoo! Terms of Service.
[flexcoders] Re: Adobe aquires Macromedia
This is indeed quite worrying as Adobe has desktop publishing and image design tools as primary markets. Developers' products and servers are not fitting in the strengths of Adobe. Unless Adobe wishes to continue investing in RIA market lest it is possible that Flex's future is at stake. --- In flexcoders@yahoogroups.com, Ketan Bengali [EMAIL PROTECTED] wrote: Adobe and Macromedia have been competitors for quite some time and now both deciding to join hands it seems they are all set to rule the Internet. With the bset of softwares for the net made by these 2 companies it will be interesting to watch the way the products will shape up in the near future and it's impact on Adobe and Macromedia users and the internet users too. Regards, Ketan Bengali Nate Nielsen wrote: SAN JOSE, Calif.--(BUSINESS WIRE)--April 18, 2005--Adobe Systems Incorporated (Nasdaq:ADBE) today announced a definitive agreement to acquire Macromedia (Nasdaq:MACR) in an all-stock transaction valued at approximately $3.4 billion. Crazy. - --- *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] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. 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: About Evaluating Strings Into Component IDs
Thanks, Ron. Below is my code for what I am trying to do. mx:List id=userOptionsList dataProvider={mx.utils.ArrayUtil.toArray (userOptionsModel.userOption)} cellRenderer={NavigationCellRenderer} rowHeight=40 styleName=text height={mainViewStack.height} change=mainViewStack.selectedChild = event.target.selectedItem.data/ In your message you suggest using 'this[expression]'. I believe event.target.selectedItem.data evaluates into a string, but will 'this []' evaluate into the right parent for my component? should it not be 'super' or some similar construct? Thank you very much for your reply. Regards. J. --- In flexcoders@yahoogroups.com, Ronald Kinion [EMAIL PROTECTED] wrote: I think you're looking for some thing like this: this[somecomponentid] ; Which is equivalent to this: this.somecomponentid; What's nice about the first form is you can use changing variables to get properties, here's an example: var total:Number = 0; for (var 1=0; i10; i++) { total += this[subtotal + i]; } -- Ronald Kinion 253-205-3000 x5162 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jesus Salvador Ramos Cardona Sent: Monday, April 18, 2005 9:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ABOUT EVALUATING STRINGS INTO COMPONENT IDs Hello, all. My team is developing a treasury app, and we are in the phase of building the interface. At some point, we have a ViewStack you are supposed to go through with the help of a List Control (we are not using LinkBar because links in it cannot contain image icons, as far as we know). The list control contains a string which is the component id of a panel inside the ViewStack. Is there a way to evaluate this string into the component id? Or better yet, is there a way to include image icon inside the link in a LinkBar? I very much appreciate your help. Best regards. J. J2EE Developer _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ * 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 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: Adobe aquires Macromedia
One thing I see a lot of this morning is postings which roughly take this position: Uh oh, this acquisition may mean that Flex (doesn't have | has more of | has less of) a future. I guess I'd like to remind all of us developers (including myself) that Flex's future, while extremely promising, was in no way assured before the merger, and the situation is more or less the same now. To my mind, the most significant unknowns have to do with things other than the merger: market acceptance, the quality and maturity of Flex 2.0, what MS does... OK, now I can unburden myself of my own pet opinion ;). Personally, I don't see Adobe doing anything about Flex right now except letting its development continue. Flex only complements the rest of their offerings, and being such a young and promising product, most of where it can go lies in an upward direction. . .. . ...j choipeter wrote: This is indeed quite worrying as Adobe has desktop publishing and image design tools as primary markets. Developers' products and servers are not fitting in the strengths of Adobe. Unless Adobe wishes to continue investing in RIA market lest it is possible that Flex's future is at stake. --- In flexcoders@yahoogroups.com, Ketan Bengali [EMAIL PROTECTED] wrote: Adobe and Macromedia have been competitors for quite some time and now both deciding to join hands it seems they are all set to rule the Internet. With the bset of softwares for the net made by these 2 companies it will be interesting to watch the way the products will shape up in the near future and it's impact on Adobe and Macromedia users and the internet users too. Regards, Ketan Bengali Nate Nielsen wrote: SAN JOSE, Calif.--(BUSINESS WIRE)--April 18, 2005--Adobe Systems Incorporated (Nasdaq:ADBE) today announced a definitive agreement to acquire Macromedia (Nasdaq:MACR) in an all-stock transaction valued at approximately $3.4 billion. Crazy. - --- *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] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. Yahoo! Groups Links 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: About Evaluating Strings Into Component IDs
On 4/18/05, Jesús Ramos [EMAIL PROTECTED] wrote: change=mainViewStack.selectedChild = event.target.selectedItem.data/ So it'll be, change=mainViewStack.selectedChild = this[event.target.selectedItem.data]/ -- [EMAIL PROTECTED] http://manish.revise.org/ 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] What does this error mess mean
On 4/18/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 2 Errors found. Error /littleprogram.as:1758 Branch between 3394 and 36167 around line 0 exceeds 32K span. If possible, please refactor this component. See this thread: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg01726.html -- [EMAIL PROTECTED] http://manish.revise.org/ 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] Apply Resize Effect to Items in TileList
On 4/18/05, superabe [EMAIL PROTECTED] wrote: The effect works fine when resizing to a smaller size that the start size, but what I really want is to make the item grow out in size, which does not seem to work I'll try to help, but can you post some code that show the problem? (I should be able to run it directly and see the problem.) -- [EMAIL PROTECTED] http://manish.revise.org/ 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] Wha kinds of object are in this Array?
On 4/18/05, Mercer, Dustin [EMAIL PROTECTED] wrote: I am not sure if this is what you are asking but here goes: Var myString:String; myString = FistrName; var zingerManufacturingData = [ {differentVar : myString,anotherVar:885202, Blinkies: 184454, monthIdx:1}, No, he wants the names to be dynamic, not the values. I think the only way to do that is by building it, er, dynamically? zingerManufacturingData = [ {}, {}, {} ]; // 3 objects zingerManufacturingData[0][myString] = myValue; zingerManufacturingData[0][myString2] = myValue2; zingerManufacturingData[1][myString] = myValue_1; zingerManufacturingData[1][myString2] = myValue2_1; That way. -- [EMAIL PROTECTED] http://manish.revise.org/ 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: Adobe aquires Macromedia
I'm wondering what will happen to all MMUGs around the world... Will they be: mx:renamed/? mx:maintained/ ? mx:suppressed/ ? --- In flexcoders@yahoogroups.com, Nate Nielsen [EMAIL PROTECTED] wrote: SAN JOSE, Calif.--(BUSINESS WIRE)--April 18, 2005--Adobe Systems Incorporated (Nasdaq:ADBE) today announced a definitive agreement to acquire Macromedia (Nasdaq:MACR) in an all-stock transaction valued at approximately $3.4 billion. Crazy. 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] Simple arithmetic - resolved
On 4/18/05, Tom Fitzpatrick [EMAIL PROTECTED] wrote: Solved - turns out I was applying a currency format to the variable before handing it to the function so it really was NaN. Question - shouldn't this have thrown an error, since I was casting the non-number variable as a number in the parameter statement, as varX:Number? NaN is of type Number, AFAIK. -- [EMAIL PROTECTED] http://manish.revise.org/ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] carriage return via web service
Well I'm stumped. I am calling a .NET web service that inserts text from a TextArea into the database. When I try the Webservice from a .NET HTML form, if I have carriage returns in the text it saves them to the database just fine. When I call the webservice from FLEX and I have carriage returns in the text, the character gets dropped. I confirmed the Keycode is correct (ASCII 13), and when I run the Application in flexbuilder and view the network monitor, the SOAP packet seems to have the carriage returns in place. The carriage return seems to be getting lost before the SOAP packet reaches the web service. I'm wondering if there is something in the underlying JRun application that is removing the character. Has anyone else run into this? I've searched the groups for anything related to carriage return or line feed and have come up empty. Thanks for any help. 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] How to populate tree control from web service result (server side java objects)
On 4/18/05, Shlomi Cohen [EMAIL PROTECTED] wrote: do i have to return an xml string from the webservice or there is a better way to map the objects from the result into the tree control. The top-level object in your tree can be assigned directly to the Tree's dataProvider property. If every object has a label property, then that'll be used to the label; otherwise you can specify a labelField to use another field, or a labelFunction to format the data the way you want it displayed. Look out for these properties in the Tree documentation. -- [EMAIL PROTECTED] http://manish.revise.org/ 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] Triggering from a button fails first time
I have a button on the first pane of an accordion container, which when clicked runs an actionscript function (getOptions(event);), this script gathers input from this first pane, sends off a remoteObject call, enables a datagrid in a second pane and shows the result of the remoteObject call in a dataGrid, easy I here you say! Ok, the issue is, it only works if I press the button twice, the first time it does everything (I think) apart from fill the datagrid. Any ideas? Here is the code from the actionScript: function getOptions(event) { if (ret.selected) { InboundC.visible = true; OutboundC.visible = true; rate1 = new RateReqVO(); rate1.fromLoc = ostartLoc.selectedItem.data; rate1.toLoc = oendLoc.selectedItem.data; rate2 = new RateReqVO(); rate2.fromLoc = istartLoc.selectedItem.data; rate2.toLoc = iendLoc.selectedItem.data; srv.getORates(rate1); srv.getIRates(rate2); inChoice.dataProvider = srv.getIRates.result; outChoice.dataProvider = srv.getORates.result; } else if (one.selected) { OutboundC.visible = true; InboundC.visible = false; rate1 = new RateReqVO(); rate1.fromLoc = ostartLoc.selectedItem.data; rate1.toLoc = oendLoc.selectedItem.data; srv.getORates(rate1); outChoice.dataProvider = srv.getORates.result; } } 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] Simple arithmetic - resolved
A number is not a number? wtf, lol! trace(!isNaN(NaN)); // false ...crud, that means it is... but how can a number that's not a number be a number? I'm confused now... - Original Message - From: Manish Jethani [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, April 18, 2005 3:48 PM Subject: Re: [flexcoders] Simple arithmetic - resolved On 4/18/05, Tom Fitzpatrick [EMAIL PROTECTED] wrote: Solved - turns out I was applying a currency format to the variable before handing it to the function so it really was NaN. Question - shouldn't this have thrown an error, since I was casting the non-number variable as a number in the parameter statement, as varX:Number? NaN is of type Number, AFAIK. -- [EMAIL PROTECTED] http://manish.revise.org/ Yahoo! Groups Links 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] Generating dynamic datagrid based on dynamic query result
On 4/18/05, Dzafer [EMAIL PROTECTED] wrote: For the datagrid I need to retrieve all the column names from the provider to do something like this: If ( column[i] == firstname) {} Ah, sorry about that. I see what you're trying to do now, and here's how I'd do it: if (myDataGrid.columns[i].columnName == firstName) { ... } firstName is the name of the field in your data objects your column maps to, and columnName is the property of DataGridColumn that stores that value. http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/gridclasses/DataGridColumn.html http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/Tree.html -- [EMAIL PROTECTED] http://manish.revise.org/ 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] Simple arithmetic - resolved
On 4/19/05, JesterXL [EMAIL PROTECTED] wrote: A number is not a number? wtf, lol! trace(!isNaN(NaN)); // false ...crud, that means it is... but how can a number that's not a number be a number? Okay, I'll avoid getting into any language discussion by saying that I really meant that NaN can be safely assigned to a Number reference without a cast. var x:Number = NaN; That may or may not mean that NaN is a Number. Pick up a Colin Moock book if you care to find out (I don't). It can be said that NaN is to Number as null is to Object (but I won't say it, because I already did). -- [EMAIL PROTECTED] http://manish.revise.org/ 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] carriage return via web service
On 4/19/05, John Daharsh [EMAIL PROTECTED] wrote: The carriage return seems to be getting lost before the SOAP packet reaches the web service. I'm wondering if there is something in the underlying JRun application that is removing the character. It could be a bug if you're running on Windows. Most applications act smart by stripping off carraige returns in their getLine() functions when they're reading data line by line, if they discover that they're running on Windows. Sorry, I have no solution. Just trying to make you feel better. :) -- [EMAIL PROTECTED] http://manish.revise.org/ 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: About Evaluating Strings Into Component IDs
It's not clear to me from the docsif that would work. I'm thinking that this may workbetter : change="mainViewStack.selectedIndex = mainViewStack.getChildIndex(this[event.target.selectedItem.data])" -- Ronald Kinion 253-205-3000 x5162 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish JethaniSent: Monday, April 18, 2005 12:26 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: About Evaluating Strings Into Component IDs On 4/18/05, Jesús Ramos [EMAIL PROTECTED] wrote: change="mainViewStack.selectedChild = event.target.selectedItem.data"/So it'll be, change="mainViewStack.selectedChild = this[event.target.selectedItem.data]"/-- [EMAIL PROTECTED]http://manish.revise.org/ 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 the Yahoo! Terms of Service.
Re: [flexcoders] Re: About Evaluating Strings Into Component IDs
On 4/19/05, Ronald Kinion [EMAIL PROTECTED] wrote: It's not clear to me from the docs if that would work. I'm thinking that this may work better : change=mainViewStack.selectedIndex = mainViewStack.getChildIndex(this[event.target.selectedItem.data]) Yes, that's what 'set selectedChild' does internally. It looks for the index, plus it does some bounds checking (what if the child isn't really a child of the ViewStack?). I suggest you use the selectedChild property if you have a reference to the child and let the ViewStack figure out the index. -- [EMAIL PROTECTED] http://manish.revise.org/ 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] working with dynamic components
I have a vbox container in which I am dynamically creating multiple instances of a custom component as children. The component is a vbox with an instance of the Coenraets Pod.as (an extension of Panel) inside (and several other Pods nested inside that). I want the user to be able to select any of the children and delete it. Using a mouseDown event in the component, I can capture the index of the component and pass it to a selectedIndex variable at the root level. I can then use destroyChildAt(selectedIndex) to delete the component. This raises two questions, however: - How do I visually indicate to the user that they have selected the component? - My component uses mouseDown events internally - setting a new one on the whole component seems to override these. Thanks. - Tom 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] Puzzled on colSpan databinding
I have bound data to colSpans in the past on very simple applications using grids in Flex. But on this more extensive application my data isn't binding to the colSpans in the grid. My grid component is called from the main application. When I call the componentI pass the variable compData2 which contains the currentIndex of a repeater on the parent application. The repeater is parsing through the mxml file and calling the grid component when necessary. I have created some debugging text boxes to printout the data I should be seeing. That data shows up! I even modified the source XML file to be sure the data is really changing and it is. However on the same component, when binding the SAME path to the colSpan it never changes value, it remains the default colSpan = 1. I have it setup so the repeater and components don't run until the HTTP Service has read all the XML and has returned a result. This way I can ensure that all the data is there before it tries to bind the colSpan. Here is the debug code I am using [use Notepad for easier reading]: mx:Repeater id=repradio dataProvider={mx.utils.ArrayUtil.toArray (compData2.childNodes[1].firstChild.childNodes)} repeat=repeaterfunc()/ mx:VBox width=100% mx:Text text=Current Value: {compData2.firstChild.firstChild.childNodes[3].childNodes [1].firstChild} width=100%/ mx:Text text=Current Value: {compData2.firstChild.firstChild.childNodes[4].childNodes [1].firstChild} width=100%/ mx:Text text=colSpan(1) Value: {c1.colSpan} width=100% / mx:Text text=colSpan(2) Value: {c2.colSpan} width=100% / /mx:VBox *** The results look like this: Current Value: 5 Current Value: 4 colSpan(1) Value: 1 colSpan(2) Value: 1 Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Flex Development Position at Allurent
Allurent has an opening for a UI developer! Our job posting follows. Please send your resume directly to Lucy Chung ([EMAIL PROTECTED]). = Stealth-mode startup seeks UI developer to join us as a core team member in creating an exciting, immersive, media-rich consumer application built on cutting edge technology. Candidates must have awesome programming skills in Java or C++ with a minimum of three years experience in developing consumer-oriented, client applications. Must be able to creatively collaborate with visual and user interaction designers as well as server-side and database developers to develop a UI that constantly delivers the perfect blend of function, form, and beauty. Some experience with Flash/Flex is a plus. Strong grasp of object-oriented practice is a must. We are a small, entrepreneurial group with a highly successful track record, who value skill, imagination, and communication. We are building a team of individuals who are not only the best in their fields, but who enjoy the shared challenge of working together to build a truly great product. Please reply to: Lucy Chung Director, Human Resources [EMAIL PROTECTED] Allurent, Inc. 30 Brattle St. Cambridge, MA 02138 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] working with dynamic components
Have any mouseDown even in your component funnel through a dispatcher; he sets the selected state, whatever that may be, on your component, and then bubbles the event to whoever needs it... or just set the state in every mouseDown event. As far as visuals... dude, this is Flex, whatever you want! You can add highlights, a custom rect border... what do you want? - Original Message - From: Tom Fitzpatrick [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, April 18, 2005 4:43 PM Subject: [flexcoders] working with dynamic components I have a vbox container in which I am dynamically creating multiple instances of a custom component as children. The component is a vbox with an instance of the Coenraets Pod.as (an extension of Panel) inside (and several other Pods nested inside that). I want the user to be able to select any of the children and delete it. Using a mouseDown event in the component, I can capture the index of the component and pass it to a selectedIndex variable at the root level. I can then use destroyChildAt(selectedIndex) to delete the component. This raises two questions, however: - How do I visually indicate to the user that they have selected the component? - My component uses mouseDown events internally - setting a new one on the whole component seems to override these. Thanks. - Tom Yahoo! Groups Links 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] Apply affects before and after databinding occurs in TileList
Hello flexcoders, I am trying to apply some effects to the items in a TileList before and after the dataprovider updates via databinding i.e the idea being, to have some fade out effect before the new data kicks in and refreshes the TileList and have a fade in affect after the elements in the list have finished updating. Is this possible at all ? Thx superabe 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] working with dynamic components
Thanks - do you have a simple coded example of how this would work, or pointers to an example? - Tom At 05:04 PM 4/18/2005, you wrote: Have any mouseDown even in your component funnel through a dispatcher; he sets the selected state, whatever that may be, on your component, and then bubbles the event to whoever needs it 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] Generating dynamic datagrid based on dynamic que ry result
Thanks very much ! I'll surly try this first thing on the morning (its 1AM here :-) Shlomi -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Monday, April 18, 2005 10:58 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Generating dynamic datagrid based on dynamic query result On 4/18/05, Dzafer [EMAIL PROTECTED] wrote: For the datagrid I need to retrieve all the column names from the provider to do something like this: If ( ...column[i] == firstname) {} Ah, sorry about that. I see what you're trying to do now, and here's how I'd do it: if (myDataGrid.columns[i].columnName == firstName) { ... } firstName is the name of the field in your data objects your column maps to, and columnName is the property of DataGridColumn that stores that value. http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/gridclasses/Dat aGridColumn.html http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/Tree.html -- [EMAIL PROTECTED] http://manish.revise.org/ Yahoo! Groups Links __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ 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/
OT: Macromedia User groups (was RE: [flexcoders] Re: Adobe aquires Macromedia)
Hi, This is not the kind of thing the two companies are allowed to coordinate activities around untill the actual merger closes. That said, user groups, blogs, mailing lists (and the like) are core to how we communicate with customers and we would never want to break that. Will they change names? Who knows, but we are not going to stop working with user groups around the world. Regards, David Macromedia -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of joao_m_fernandes Sent: Monday, April 18, 2005 12:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Adobe aquires Macromedia I'm wondering what will happen to all MMUGs around the world... Will they be: mx:renamed/? mx:maintained/ ? mx:suppressed/ ? --- In flexcoders@yahoogroups.com, Nate Nielsen [EMAIL PROTECTED] wrote: SAN JOSE, Calif.--(BUSINESS WIRE)--April 18, 2005--Adobe Systems Incorporated (Nasdaq:ADBE) today announced a definitive agreement to acquire Macromedia (Nasdaq:MACR) in an all-stock transaction valued at approximately $3.4 billion. Crazy. Yahoo! Groups Links 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: grid does not occupy all of TabNavigator container ?
Andrew: yes, it worked. I will pay you the $20. I will contact you via email. Thanks - Sanjay --- In flexcoders@yahoogroups.com, Andrew Spaulding [EMAIL PROTECTED] wrote: Maybe this will help http://www.flexdaddy.info/2005/02/21/sizing-apps-within-the-loader-control/ Andrew www.flexdaddy.com --- In flexcoders@yahoogroups.com, Andrew Spaulding [EMAIL PROTECTED] wrote: Hi, As the loader is not a component it doesnt have any concept of size, it is merely a control, and a sometimes difficult one at that. In your Positions.mxml try placing the following in a script block at the start of the application: // Check for a _parent movieClip and get the available HEIGHT function getPreferredHeight() : Number { if ( _parent ) { return _parent.layoutHeight; } else { return super.getPreferredHeight(); } } // Check for a _parent movieClip and get the available WIDTH function getPreferredWidth() : Number { if ( _parent ) { return _parent.layoutWidth; } else { return super.getPreferredWidth(); } } This will return the available width and height that the loader can use. hope this helps, Andrew Spaulding www.flexdaddy.com --- In flexcoders@yahoogroups.com, sanjayd [EMAIL PROTECTED] wrote: I will pay $20 to the first person who can solve this problem !! Please look at this code: http://www.geocities.com/sanjayd.rm/freelance/positionsRepoRates.zip when you bring up the application using via 'Main.mxml', the grid in the 'Positions.mxml' app does not show all the columns ! The last column is clipped..any idea why ? Thanks in advance. Sanjay. I will pay $20 to the first person who can solve this problem !! 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: grid does not occupy all of TabNavigator container ?
Hey mate, There's no need to pay me the $20! We're in a community where we help each other out. I'm glad it worked. Good luck, Andrew. -- www.flexdaddy.com andrew.at.base-elements.net --- In flexcoders@yahoogroups.com, sanjayd [EMAIL PROTECTED] wrote: Andrew: yes, it worked. I will pay you the $20. I will contact you via email. Thanks - Sanjay --- In flexcoders@yahoogroups.com, Andrew Spaulding [EMAIL PROTECTED] wrote: Maybe this will help http://www.flexdaddy.info/2005/02/21/sizing-apps-within-the-loader-control/ Andrew www.flexdaddy.com --- In flexcoders@yahoogroups.com, Andrew Spaulding [EMAIL PROTECTED] wrote: Hi, As the loader is not a component it doesnt have any concept of size, it is merely a control, and a sometimes difficult one at that. In your Positions.mxml try placing the following in a script block at the start of the application: // Check for a _parent movieClip and get the available HEIGHT function getPreferredHeight() : Number { if ( _parent ) { return _parent.layoutHeight; } else { return super.getPreferredHeight(); } } // Check for a _parent movieClip and get the available WIDTH function getPreferredWidth() : Number { if ( _parent ) { return _parent.layoutWidth; } else { return super.getPreferredWidth(); } } This will return the available width and height that the loader can use. hope this helps, Andrew Spaulding www.flexdaddy.com --- In flexcoders@yahoogroups.com, sanjayd [EMAIL PROTECTED] wrote: I will pay $20 to the first person who can solve this problem !! Please look at this code: http://www.geocities.com/sanjayd.rm/freelance/positionsRepoRates.zip when you bring up the application using via 'Main.mxml', the grid in the 'Positions.mxml' app does not show all the columns ! The last column is clipped..any idea why ? Thanks in advance. Sanjay. I will pay $20 to the first person who can solve this problem !! 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: OT: Macromedia User groups (was RE: [flexcoders] Re: Adobe aquires Macromedia)
You better not, i've grown use to my pizza/beer networking sessions...oh and learning about MM news etc.. hehe. Its certaingly getting rampid in terms of what ifs and 'future predictions. Theres now factions preeching that they will now adopt blue dragon to be safe, along with others throwing the whole FLEX is dead now for sure arguments. *sigh* On 4/19/05, David Mendels [EMAIL PROTECTED] wrote: Hi, This is not the kind of thing the two companies are allowed to coordinate activities around untill the actual merger closes. That said, user groups, blogs, mailing lists (and the like) are core to how we communicate with customers and we would never want to break that. Will they change names? Who knows, but we are not going to stop working with user groups around the world. Regards, David Macromedia -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of joao_m_fernandes Sent: Monday, April 18, 2005 12:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Adobe aquires Macromedia I'm wondering what will happen to all MMUGs around the world... Will they be: mx:renamed/? mx:maintained/ ? mx:suppressed/ ? --- In flexcoders@yahoogroups.com, Nate Nielsen [EMAIL PROTECTED] wrote: SAN JOSE, Calif.--(BUSINESS WIRE)--April 18, 2005--Adobe Systems Incorporated (Nasdaq:ADBE) today announced a definitive agreement to acquire Macromedia (Nasdaq:MACR) in an all-stock transaction valued at approximately $3.4 billion. Crazy. Yahoo! Groups Links Yahoo! Groups Links -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Coming Soon) 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: OT: Macromedia User groups (was RE: [flexcoders] Re: Adobe aquires Macromedia)
Whatever dude, it's more bling. If a product makes dough, it's cool, if not, it's toast. Flex make dough? Anyone remember April 1st? The event that ACTUALLY happened that day? - Original Message - From: Scott Barnes [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, April 18, 2005 10:08 PM Subject: Re: OT: Macromedia User groups (was RE: [flexcoders] Re: Adobe aquires Macromedia) You better not, i've grown use to my pizza/beer networking sessions...oh and learning about MM news etc.. hehe. Its certaingly getting rampid in terms of what ifs and 'future predictions. Theres now factions preeching that they will now adopt blue dragon to be safe, along with others throwing the whole FLEX is dead now for sure arguments. *sigh* On 4/19/05, David Mendels [EMAIL PROTECTED] wrote: Hi, This is not the kind of thing the two companies are allowed to coordinate activities around untill the actual merger closes. That said, user groups, blogs, mailing lists (and the like) are core to how we communicate with customers and we would never want to break that. Will they change names? Who knows, but we are not going to stop working with user groups around the world. Regards, David Macromedia -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of joao_m_fernandes Sent: Monday, April 18, 2005 12:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Adobe aquires Macromedia I'm wondering what will happen to all MMUGs around the world... Will they be: mx:renamed/? mx:maintained/ ? mx:suppressed/ ? --- In flexcoders@yahoogroups.com, Nate Nielsen [EMAIL PROTECTED] wrote: SAN JOSE, Calif.--(BUSINESS WIRE)--April 18, 2005--Adobe Systems Incorporated (Nasdaq:ADBE) today announced a definitive agreement to acquire Macromedia (Nasdaq:MACR) in an all-stock transaction valued at approximately $3.4 billion. Crazy. Yahoo! Groups Links Yahoo! Groups Links -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Coming Soon) Yahoo! Groups Links 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: how to display the HashMap data in flex mx: Data Grid?
Youll need to write a labelFunction Maybe something like this: function mapCdms(item) : String { Return item.accessMap.cdms; } mx:DataGridColumn labelFunction=mapCdms / Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Sunday, April 17, 2005 6:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: how to display the HashMap data in flex mx:Data Grid? matt,Manish Jethani thank you the detail what to do is below: 1.the Java method: public ArrayList findAllUsers(){ ArrayList list = new ArrayList(); try{ PreparedStatement pstmt = getDB ().getConnection().prepareStatement(QUERY_ALL); ResultSet rs = pstmt.executeQuery(); HashMap map = new HashMap(); while(rs.next()){ UserVO user = new UserVO(); map.put(new String(crm),new Integer(rs.getInt(crm))); map.put(new String(cdms),new Integer (rs.getInt(cdms))); map.put(new String(farnet),new Integer (rs.getInt(farnet))); map.put(new String(par),new Integer (rs.getInt(par))); map.put(new String(onyx),new Integer (rs.getInt(onyx))); map.put(new String(promo),new Integer (rs.getInt(promo))); user.setNetworkId(rs.getString(network_id)); user.setFirstName(rs.getString(firstname)); user.setLastName(rs.getString(lastname)); user.setLoggedOn(rs.getString(loggedOn)); user.setActive(rs.getString(active)); user.setAccessMap(map); list.add(user); } } catch(Exception e){ } finally{ db.close(); } return list; } 2.the related flex page: the object userList is return from the above method and I want to display the Object mx:DataGrid id=dgContact change=selectContact (dgContact.selectedIndex) dataProvider={userList} width=100% height=100% toolTip=Contact List mx:columns mx:Array mx:DataGridColumn columnName=networkId headerText=Network ID marginLeft=4 width=50/ mx:DataGridColumn columnName=firstName headerText=First Name marginLeft=4 width=60/ mx:DataGridColumn columnName=lastName headerText=Last Name marginLeft=4 width=60/ mx:DataGridColumn columnName=active headerText=Active marginLeft=5 width=50/ mx:DataGridColumn columnName=loggedOn headerText=Status marginLeft=5 width=50/ mx:DataGridColumn columnName=?? headerText=crm marginLeft=5 width=70/ /mx:Array /mx:columns /mx:DataGrid how to write the ??? and the related actionscript after got the userList and make the attribute hashmap to Array? is it ? --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: I'm not sure what you're trying to do. If you have the accessMap you can index into it using names (accessMap['foo']). Are you trying to make the hashmap the dataProvider of the DataGrid? That's not going to work, you need a linear list for that to happen (which you could create pretty easily by iterating over the hash map and simply filling an array with each time). Matt _ From: loveewind [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 9:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how to display the HashMap data in flex mx:DataGrid? my java object below: public class UserVO { private HashMap accessMap = null; private String active = null; private String firstName = null; private String lastName = null; private String loggedOn = null; private String networkId = null; /** * @return */ public HashMap getAccessMap() { return accessMap; } .. } my actionscript object below: class com.zdus.crm.user.UserVO{ var firstName:String; var lastName:String; var networkId:String; var loggedOn:String; var active:String; var accessMap:Object; static var registered=Object.registerClass (com.zdus.crm.user.UserVO,com.zdus.crm.user.UserVO); } I have got the hashmap on flex age from remoteobject certainly i know treat the hashmap as a index array,but i can not do it thank you! wait for your help online _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. 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 the Yahoo! Terms of Service.
RE: [flexcoders] Apply Resize Effect to Items in TileList (sample code)
The TileList is not going to let you do this easily because it doesnt support variable sizing like the DataGrid. You may need to have the renderer create a copy of the image (though actually it might need to be the TileList that does the creating for depth purposes) and put it on top and execute the resize. When the mouse moves away youd resize it back down and delete the copy. How many items do you expect to have in your list? This effect might be easier to accomplish in a regular Tile that is populated using a Repeater. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Monday, April 18, 2005 3:17 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Apply Resize Effect to Items in TileList (sample code) Hi Manish, attached sample code. 2 files test.mxml and test2.mxml ( throw in any image of size 20px by 20 px) What I am trying to achieve is get the Image in test2.mxml to grow to a new width on mouse over (it should either grow and move out the adjoining items or grow itself on a higher depth above the adjoining items) Hope this makes sense Thx, superabe File1 (test.mxml) == ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml mx:TileList id=itemList width=100% height=100% itemWidth=65 itemHeight=59 borderStyle=none cellRenderer={test2} dataProvider={item_ar} change=/ mx:Script ![CDATA[ var item_ar:Array = new Array(1,2,3,4,5); ]] /mx:Script /mx:Application File2 (test2.mxml) == ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml vScrollPolicy=off hScrollPolicy=off mouseOverEffect=resize mx:Image xmlns:mx=http://www.macromedia.com/2003/mxml witdh=20 height=20 source=_images/1.jpg / mx:Effect mx:Resize name=resize duration=1000 widthFrom=20 widthTo=300/mx:Resize /mx:Effect /mx:Canvas - Original Message - From: Manish Jethani [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, April 18, 2005 3:40 PM Subject: Re: [flexcoders] Apply Resize Effect to Items in TileList On 4/18/05, superabe [EMAIL PROTECTED] wrote: The effect works fine when resizing to a smaller size that the start size, but what I really want is to make the item grow out in size, which does not seem to work I'll try to help, but can you post some code that show the problem? (I should be able to run it directly and see the problem.) -- [EMAIL PROTECTED] http://manish.revise.org/ Yahoo! Groups Links 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 the Yahoo! Terms of Service.
Re: OT: Macromedia User groups (was RE: [flexcoders] Re: Adobe aquires Macromedia)
Agreed. I won't be here in 2 years (project phase of thine mine completed) so carefactor afterwards heheheh. On 4/19/05, JesterXL [EMAIL PROTECTED] wrote: Whatever dude, it's more bling. If a product makes dough, it's cool, if not, it's toast. Flex make dough? Anyone remember April 1st? The event that ACTUALLY happened that day? - Original Message - From: Scott Barnes [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, April 18, 2005 10:08 PM Subject: Re: OT: Macromedia User groups (was RE: [flexcoders] Re: Adobe aquires Macromedia) You better not, i've grown use to my pizza/beer networking sessions...oh and learning about MM news etc.. hehe. Its certaingly getting rampid in terms of what ifs and 'future predictions. Theres now factions preeching that they will now adopt blue dragon to be safe, along with others throwing the whole FLEX is dead now for sure arguments. *sigh* On 4/19/05, David Mendels [EMAIL PROTECTED] wrote: Hi, This is not the kind of thing the two companies are allowed to coordinate activities around untill the actual merger closes. That said, user groups, blogs, mailing lists (and the like) are core to how we communicate with customers and we would never want to break that. Will they change names? Who knows, but we are not going to stop working with user groups around the world. Regards, David Macromedia -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of joao_m_fernandes Sent: Monday, April 18, 2005 12:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Adobe aquires Macromedia I'm wondering what will happen to all MMUGs around the world... Will they be: mx:renamed/? mx:maintained/ ? mx:suppressed/ ? --- In flexcoders@yahoogroups.com, Nate Nielsen [EMAIL PROTECTED] wrote: SAN JOSE, Calif.--(BUSINESS WIRE)--April 18, 2005--Adobe Systems Incorporated (Nasdaq:ADBE) today announced a definitive agreement to acquire Macromedia (Nasdaq:MACR) in an all-stock transaction valued at approximately $3.4 billion. Crazy. Yahoo! Groups Links Yahoo! Groups Links -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Coming Soon) Yahoo! Groups Links Yahoo! Groups Links -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Coming Soon) 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] carriage return via web service
I think that the carriage return that we send from a TextArea is just \n and Windows expects it to be \r\n. What if you try iterating through the string and replacing any \n with \r\n and then executing the web service. Var newStr : String = ; Var sourceStr : String = myTextArea.text; For (var c : Number = 0; c sourceStr.length; c++) { Var ch : String = sourceStr.getCharAt(c); if (ch == \n) newStr += \r; newStr += ch; } myService.myOp(newStr); Actually, a more efficient implementation might be: var arr : Array = myTextArea.text.split(\n); var newStr : String = arr.join(\r\n); myService.myOp(newStr); Let us know if that helps, Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Monday, April 18, 2005 12:49 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] carriage return via web service Well I'm stumped. I am calling a .NET web service that inserts text from a TextArea into the database. When I try the Webservice from a .NET HTML form, if I have carriage returns in the text it saves them to the database just fine. When I call the webservice from FLEX and I have carriage returns in the text, the character gets dropped. I confirmed the Keycode is correct (ASCII 13), and when I run the Application in flexbuilder and view the network monitor, the SOAP packet seems to have the carriage returns in place. The carriage return seems to be getting lost before the SOAP packet reaches the web service. I'm wondering if there is something in the underlying JRun application that is removing the character. Has anyone else run into this? I've searched the groups for anything related to carriage return or line feed and have come up empty. Thanks for any help. 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 the Yahoo! Terms of Service.
RE: [flexcoders] Triggering from a button fails first time
You need to assign the dataProviders in the result handler of your RemoteObject. Those calls execute asynchronously so the data isnt there right after you call the RemoteObject. http://livedocs.macromedia.com/flex/15/flex_docs_en/0752.htm is one place that can get you started. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Monday, April 18, 2005 12:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Triggering from a button fails first time I have a button on the first pane of an accordion container, which when clicked runs an actionscript function (getOptions(event);), this script gathers input from this first pane, sends off a remoteObject call, enables a datagrid in a second pane and shows the result of the remoteObject call in a dataGrid, easy I here you say! Ok, the issue is, it only works if I press the button twice, the first time it does everything (I think) apart from fill the datagrid. Any ideas? Here is the code from the actionScript: function getOptions(event) { if (ret.selected) { InboundC.visible = true; OutboundC.visible = true; rate1 = new RateReqVO(); rate1.fromLoc = ostartLoc.selectedItem.data; rate1.toLoc = oendLoc.selectedItem.data; rate2 = new RateReqVO(); rate2.fromLoc = istartLoc.selectedItem.data; rate2.toLoc = iendLoc.selectedItem.data; srv.getORates(rate1); srv.getIRates(rate2); inChoice.dataProvider = srv.getIRates.result; outChoice.dataProvider = srv.getORates.result; } else if (one.selected) { OutboundC.visible = true; InboundC.visible = false; rate1 = new RateReqVO(); rate1.fromLoc = ostartLoc.selectedItem.data; rate1.toLoc = oendLoc.selectedItem.data; srv.getORates(rate1); outChoice.dataProvider = srv.getORates.result; } } 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 the Yahoo! Terms of Service.
RE: [flexcoders] Puzzled on colSpan databinding
You dont say what c1 and c2 are but Im wondering if they are inside a Repeater as well? Perhaps it should be c1[repradio.currentIndex].colSpan? Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Monday, April 18, 2005 1:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Puzzled on colSpan databinding I have bound data to colSpans in the past on very simple applications using grids in Flex. But on this more extensive application my data isn't binding to the colSpans in the grid. My grid component is called from the main application. When I call the componentI pass the variable compData2 which contains the currentIndex of a repeater on the parent application. The repeater is parsing through the mxml file and calling the grid component when necessary. I have created some debugging text boxes to printout the data I should be seeing. That data shows up! I even modified the source XML file to be sure the data is really changing and it is. However on the same component, when binding the SAME path to the colSpan it never changes value, it remains the default colSpan = 1. I have it setup so the repeater and components don't run until the HTTP Service has read all the XML and has returned a result. This way I can ensure that all the data is there before it tries to bind the colSpan. Here is the debug code I am using [use Notepad for easier reading]: mx:Repeater id=repradio dataProvider={mx.utils.ArrayUtil.toArray (compData2.childNodes[1].firstChild.childNodes)} repeat=repeaterfunc()/ mx:VBox width=100% mx:Text text=Current Value: {compData2.firstChild.firstChild.childNodes[3].childNodes [1].firstChild} width=100%/ mx:Text text=Current Value: {compData2.firstChild.firstChild.childNodes[4].childNodes [1].firstChild} width=100%/ mx:Text text=colSpan(1) Value: {c1.colSpan} width=100% / mx:Text text=colSpan(2) Value: {c2.colSpan} width=100% / /mx:VBox *** The results look like this: Current Value: 5 Current Value: 4 colSpan(1) Value: 1 colSpan(2) Value: 1 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 the Yahoo! Terms of Service.
RE: [flexcoders] Re: NuSoap / Flex error
Hmm, Im not sure what your problem might be. I just ran this test and it worked fine: mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml mx:WebService id=ws wsdl=http://www.leihitu.nl/soap/soap.php?wsdl fault=out.text = event.fault.faultstring result=out.text = event.result/ mx:Button label=go click=ws.hello('foo') / mx:Label id=out / /mx:Application Of course maybe you fixed it by now J Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Monday, April 18, 2005 3:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: NuSoap / Flex error The wdsl file can be found here: http://www.leihitu.nl/soap/soap.php?wsdl 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 the Yahoo! Terms of Service.
RE: [flexcoders] menu bar control- submenu issue
OK, a Menu really cant handle XML formatted the way you have it. Menus need their XML to have attributes, not child tags. However, if you create an object structure instead of relying on raw XML things will work with this structure. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml mx:Panel xmlns:mx=http://www.macromedia.com/2003/mxml width=100% height=500 mx:Script ![CDATA[ var dataObject : Object; ]] /mx:Script mx:MenuBar id=menu1 width=100% dataProvider={theXML} labelFunction=labelFunc mouseDown=event.menuItem.attributes.label/ /mx:Panel mx:Script function labelFunc(item) : String { return item.getProperty(Name); } /mx:Script mx:Model id=theXML Category Id1/Id NameArtistry Skin Care and Cosmetics/Name Description A full range of basic to speciality skin care treatments made with the highest quality formulations to meet the needs of women today as well as a spectrum of colour for both background and feature cosmetics to match any mood or occasion.TRY is among the world's top five, largest selling, prestige brands of facial skincare and cosmetics. Based on a 2000 Euromonitor International study of estimated global retail sales. /Description Imagehomephoto.jpg/Image Subcategory Id1/Id NameDry-Skin/Name DescriptionTesting jaxb/Description item123.xml/item /Subcategory Subcategory Id 2 /Id NameNormal Skin/Name Description Testing jaxb/Description Subcategory Id 121 /Id NameAqua/Name Description Testing jaxb2/Description item 124.xml /item /Subcategory Subcategory Id 13 /Id NameNon-Aqua/Name Description Testing jaxb3/Description item 124.xml /item /Subcategory /Subcategory Subcategory Id3/Id NameOily-Skin/Name DescriptionTesting jaxb/Description item125.xml/item /Subcategory Subcategory Id4/Id NameSensitive-Skin/Name DescriptionTesting jaxb/Description item126.xml/item /Subcategory /Category /mx:Model /mx:Application If youre getting the data from HTTPService just set resultFormat=object. HTH, Matt 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 the Yahoo! Terms of Service.
[flexcoders] Re: does any flex event response closing browser?
I'd say you would have to catch this event using some javascript, there should be plenty of javascript examples on how to do this. Not sure how you would go about passing it back to the flash player tho. Andrew -- www.flexdaddy.com --- In flexcoders@yahoogroups.com, zhfbanks [EMAIL PROTECTED] wrote: Hi, I want to add codes for user closing browser, but I don't know whether flash do it. 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] carriage return via web service
Yeah still no dice... Thanks for the suggestion. One minor note is that replacing \n does nothing, but replacing \r at least replaces the line feed with something else. However, replacing \r with either \n or \r\n yields the same result. It seems apparent that the problem lies between FLEX and .NET, the soap packet in the Network monitor [in Flexbuilder] clearly shows carriage returns of some sort. (both before I did the replace test you mentioned previously and after, and both with \n and '\r\n) I pared down the .NET webservice test so it just takes the incoming request and returns the entire input text as the response, and the Network monitor shows my response string without carriage returns in every case. For time's sake I am going with a hack, replacing the \n with something silly like |WHEREISMYCARRIAGERETURN| in FLEX, then replacing |WHEREISMYCARRIAGERETURN| with \n in the webservice. This works just fine (I tested it), with the exception of the shame heaped upon me like so many burning coals. I do want to know if anyone else has encountered this, and what they have done to get around it. On 4/18/05, Matt Chotin [EMAIL PROTECTED] wrote: I think that the carriage return that we send from a TextArea is just \n and Windows expects it to be \r\n. What if you try iterating through the string and replacing any \n with \r\n and then executing the web service. Var newStr : String = ; Var sourceStr : String = myTextArea.text; For (var c : Number = 0; c sourceStr.length; c++) { Var ch : String = sourceStr.getCharAt(c); if (ch == '\n') newStr += '\r'; newStr += ch; } myService.myOp(newStr); Actually, a more efficient implementation might be: var arr : Array = myTextArea.text.split('\n'); var newStr : String = arr.join(\r\n); myService.myOp(newStr); Let us know if that helps, Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 12:49 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] carriage return via web service Well I'm stumped. I am calling a .NET web service that inserts text from a TextArea into the database. When I try the Webservice from a .NET HTML form, if I have carriage returns in the text it saves them to the database just fine. When I call the webservice from FLEX and I have carriage returns in the text, the character gets dropped. I confirmed the Keycode is correct (ASCII 13), and when I run the Application in flexbuilder and view the network monitor, the SOAP packet seems to have the carriage returns in place. The carriage return seems to be getting lost before the SOAP packet reaches the web service. I'm wondering if there is something in the underlying JRun application that is removing the character. Has anyone else run into this? I've searched the groups for anything related to carriage return or line feed and have come up empty. Thanks for any help. 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 the Yahoo! Terms of Service. 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] carriage return via web service
Caught one error in my previous post: For time's sake I am going with a hack, replacing the \r... (I have to replace \r, not \n) On 4/18/05, John Daharsh [EMAIL PROTECTED] wrote: Yeah still no dice... Thanks for the suggestion. One minor note is that replacing \n does nothing, but replacing \r at least replaces the line feed with something else. However, replacing \r with either \n or \r\n yields the same result. It seems apparent that the problem lies between FLEX and .NET, the soap packet in the Network monitor [in Flexbuilder] clearly shows carriage returns of some sort. (both before I did the replace test you mentioned previously and after, and both with \n and '\r\n) I pared down the .NET webservice test so it just takes the incoming request and returns the entire input text as the response, and the Network monitor shows my response string without carriage returns in every case. For time's sake I am going with a hack, replacing the \n with something silly like |WHEREISMYCARRIAGERETURN| in FLEX, then replacing |WHEREISMYCARRIAGERETURN| with \n in the webservice. This works just fine (I tested it), with the exception of the shame heaped upon me like so many burning coals. I do want to know if anyone else has encountered this, and what they have done to get around it. On 4/18/05, Matt Chotin [EMAIL PROTECTED] wrote: I think that the carriage return that we send from a TextArea is just \n and Windows expects it to be \r\n. What if you try iterating through the string and replacing any \n with \r\n and then executing the web service. Var newStr : String = ; Var sourceStr : String = myTextArea.text; For (var c : Number = 0; c sourceStr.length; c++) { Var ch : String = sourceStr.getCharAt(c); if (ch == '\n') newStr += '\r'; newStr += ch; } myService.myOp(newStr); Actually, a more efficient implementation might be: var arr : Array = myTextArea.text.split('\n'); var newStr : String = arr.join(\r\n); myService.myOp(newStr); Let us know if that helps, Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 12:49 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] carriage return via web service Well I'm stumped. I am calling a .NET web service that inserts text from a TextArea into the database. When I try the Webservice from a .NET HTML form, if I have carriage returns in the text it saves them to the database just fine. When I call the webservice from FLEX and I have carriage returns in the text, the character gets dropped. I confirmed the Keycode is correct (ASCII 13), and when I run the Application in flexbuilder and view the network monitor, the SOAP packet seems to have the carriage returns in place. The carriage return seems to be getting lost before the SOAP packet reaches the web service. I'm wondering if there is something in the underlying JRun application that is removing the character. Has anyone else run into this? I've searched the groups for anything related to carriage return or line feed and have come up empty. Thanks for any help. 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 the Yahoo! Terms of Service. 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/