[flexcoders] Re: restrict datagrid rollover cursor to just data area?
got closer with itemRollOver ... is there a way to do the following on a grid? This dashboard widget drill is generic to the grid subject matter, not to the row clicked, so I want to still have the grid enabled for click and rollOver cursor, but not have any rows highlighted either on create or when the user moves the mouse within the grid. TIA, Mic. --- In flexcoders@yahoogroups.com, MicC chigwel...@... wrote: rollOver=cursorID = CursorManager.setCursor(drillCurs); rollOut=CursorManager.removeCursor(cursorID); works but covers the whole grid, including scrollbars and headers. How do I limit the rollover cursor to just the data area of the grid? TIA, Mic.
[flexcoders] Auto Complete Text Input
Hi, I am using Auto Complete Text Input Component with some data provider.when focus comes to this component from any other component than text in the Auto complete text input get selected and when i press delete than text disappears but then after i press enter than first index automatically gets selected (index 0),this is not happening when i delete text using backspace.I want -1 index when i delete selected text using DELETE button. Thanks Regards, Yogesh Patel Try the new Yahoo! India Homepage. Click here. http://in.yahoo.com/trynew
[flexcoders] Catalyst with Flex Builder
Hello, Is it possible to use Catalyst with Flex Builder 3 ? I have an image design for a web application, and I want to transform it into Flex code. I am searching for a freelance that can make this operation. Thnak you, Christophe,
Fw: [flexcoders] Tree node is not getting highlighted even setting selected index.
hi, any have an idea about this. Regards, Krunal Panchal - Forwarded Message From: Krunal Panchal panchal_...@yahoo.com To: Flex Coder flexcoders@yahoogroups.com Sent: Tuesday, 13 October, 2009 12:38:18 Subject: [flexcoders] Tree node is not getting highlighted even setting selected index. Hi All, I have problem in tree to selecting nodes. I have tree. I am using object caching. Scenario: 1 When very first time i opened the tree, it first node is getting selected 2 But When i closed tree screen, and open (using object caching) againg by calling add method in which i am setting the selected index as 0 but node is not getting highlighted. Is anybody have an idea what go wrong here? Regards, Krunal Panchal
[flexcoders] Re: BlazedS | message-time-to-live does not work appropiately
Note that message-time-to-live is in milliseconds. You're not receiving any messages? What if you try longer time-to-live values? If you're sure it's not working, please open a bug in BlazeDS bug base. Thanks, Mete --- In flexcoders@yahoogroups.com, ilikeflex ilikef...@... wrote: Hi When i use message-time-to-live i am not able to recieve the messages. I am using the message-time-to-live in messages-config.xml file. The problem i am facing is that when i use message-time-to-live i do not get the messages. I am sure there are lot of messages are being generated between any 10 min from my java server. Do i need to do any other settings to make message-time-to-live to work.If i remove this tag i get the messages. destination id=destDataWatch adapter ref=actionscript / properties server message-time-to-live60/message-time-to-live /server /properties I have the following channel def in services-config.xml file. channel-definition id=my-amf class=mx.messaging.channels.AMFChannel endpoint url=http://{server.name}:{server.port}/{context.root}/messagebroker/amf; class=flex.messaging.endpoints.AMFEndpoint/ properties polling-enabledfalse/polling-enabled serialization legacy-maptrue/legacy-map /serialization /properties /channel-definition channel-definition id=my-secure-amf class=mx.messaging.channels.SecureAMFChannel endpoint url=https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure; class=flex.messaging.endpoints.SecureAMFEndpoint/ properties add-no-cache-headersfalse/add-no-cache-headers /properties /channel-definition channel-definition id=my-polling-amf class=mx.messaging.channels.AMFChannel endpoint url=http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling; class=flex.messaging.endpoints.AMFEndpoint/ properties polling-enabledtrue/polling-enabled polling-interval-seconds1/polling-interval-seconds /properties /channel-definition Thanks ilikeflex
Re: [flexcoders] Auto Complete Text Input
Sounds like a bug in the component to me. Which AutoComplete component are you using? The Flextras AutoCompleteComboBox properly resets the selectedIndex to -1 if you delete all the text in the input. ( http://www.flextras.com/?event=ProductHomeProductID=10 ). yogesh patel wrote: Hi, I am using Auto Complete Text Input Component with some data provider.when focus comes to this component from any other component than text in the Auto complete text input get selected and when i press delete than text disappears but then after i press enter than first index automatically gets selected (index 0),this is not happening when i delete text using backspace.I want -1 index when i delete selected text using DELETE button. Thanks Regards, Yogesh Patel Connect more, do more and share more with Yahoo! India Mail. Learn more http://in.rd.yahoo.com/tagline_galaxy_3/*http://in.overview.mail.yahoo.com/. -- Jeffry Houser, Technical Entrepreneur Adobe Community Expert: http://tinyurl.com/684b5h http://www.twitter.com/reboog711 | Phone: 203-379-0773 -- Easy to use Interface Components for Flex Developers http://www.flextras.com?c=104 -- http://www.theflexshow.com http://www.jeffryhouser.com -- Part of the DotComIt Brain Trust
Re: [flexcoders] Catalyst with Flex Builder
Technically, yes it is possible to open the code in Flex Builder 3. However, code created in Catalyst is only compatible with the Flex 4.0.0 SDK, so you will have to configure FB3 to use the Flex 4 SDK. The Adobe Open Source site has instructions on how to do this, I believe. On Wed, Oct 14, 2009 at 3:00 AM, Christophe christophe_jacque...@yahoo.frwrote: Hello, Is it possible to use Catalyst with Flex Builder 3 ? I have an image design for a web application, and I want to transform it into Flex code. I am searching for a freelance that can make this operation. Thnak you, Christophe,
[flexcoders] data and listData
Hi, What is the difference between data and listData and why you use one over the other? In an Adv Data Grid, I've been told that .data may render incorrect information and .listData with getters and setters are the way forward but I seem to be using .data ok and can cast it to XML to reach into the other column values... I'm a bit lost :) Cheers, Nick
[flexcoders] Re: Mac Adress
I don't believe so (Someone prove me wrong). The only way would be to use Javascript but even then it is pretty limited. Check out this article - http://www.qualitycodes.com/tutorial.php?articleid=19 --- In flexcoders@yahoogroups.com, Christophe christophe_jacque...@... wrote: Hello, Is it possible to have the MAC adress of the client computer in Fles / php ? Thank you, Christophe
[flexcoders] Difference for method stack size in release and debug builds
Hi, I have a question regarding the method stack size. Running my project in the debug version works fine. Running the same project as release causes a StackOverflowError (60 entries). Is there any difference in the allowed stack size? If I split the method (in which the error occurs) into two separate methods and call them sequentially, this works in the release build as well. I am using Flex SDK 3.4. This is reproducable on Win and Mac. Cheers Philipp
[flexcoders] MessageBrokerServlet javax.servlet.UnavailableException: ANY_HOST_CONFIGURATION
Hi, Environment: LCDS: 2.6.0 WAS: 6.1 I got the following exception when i start lcds.war in Websphere6.1 Deregister the mbean because of uncaught init() exception thrown by servlet MessageBrokerServlet: javax.servlet.UnavailableException: org/apache/commons/httpclient/HostConfiguration.ANY_HOST_CONFIGURATION at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:170) Please help me in this. Thanks Murali Muthaiah
[flexcoders] Re: Editable Axis Titles - possible sizing and/or
--- In flexcoders@yahoogroups.com, mole5000.geo aardvark5...@... wrote: I have a strange bug with dropping in a new titleRenderer on a mx:AxisRendrerer. It's so strange I feel I must be making a conceptual mistake. Basically I've defined a new Component that contains a Label and TextInput, the idea being you click on the label and it turns into a TextInput to allow you to edit an axis's title. However, if I type in a 'long' string into the input (where long means you have to scroll the text to see all of it) when I try and switch back to the Label the axis renderer decides to regenerate the titleRenderer meaning I lose the changes made to the title. Simply making the text box bigger hasn't helped (and that's hackish workaround anyways), a similar amount of text (even though it does require scrolling to see) still triggers this regeneration. I can't help but feel I'm missing how titleRenderer's should work. Is this expected behaviour or have I got bugs in my code. Obviously, I could post code if this would help answer my question. I notice in the example here: http://www.virtualnomad.net/wp-content/uploads/editablecharts/editablecharts.html that he has the same problem I do, click on on an axis title, type in short text and it works, type in long text and it gets replaced with a new component (and it throws a NPE just to round things off, my code doesn't do that). Check out how the check box header renderer class works here http://www.benclinkinbeard.com/2007/11/efficient-reusable-and-centered-checkbox-renderers-for-datagrids/ . This may get you headed in the right direction. HTH; Amy
[flexcoders] Re: Can I fix the right hand column to the right side of the Adv Data Grid?
No. From my understanding, this is a restriction of the data grid. Once the datagrid is measured any remaining space is allocated to the last column. More info can be gleaned from one of Alex's posts at http://tech.groups.yahoo.com/group/flexcoders/message/141826 Just thinking about it, one possible way to achieve this may be to check the measured width and then adjust it so there is only 31 pixels available to the last column. I haven't done this so don't know how to do it. --- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote: Hi, I have an Adv Data Grid and I'd like to fix the last (right hand) column to the far right hand side and so it only occupies 31 pixels. I've got a load of columns in the grid and the 1st and 2nd are fixed width, the ones in the middle are variable and the last column is set to 31 pixels but I'm finding it is being as a variable width. Is it possible to fix it to the far right side? Thanks, Nick
[flexcoders] Re: double underline on text
One other way may be to find (Or modify) a font to include double underlined characters. This may be a world of hurt for anything other than a fixed width font. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: I know of no way to do it. Even with CSS 2.0 you need to do a hack (Use a bottom border) and, since Flex uses a subset of CSS 1.0, there is no way to do it in Flex. I haven't looked at it yet but maybe Flex 4 has better support for this kind of thing. You may (And I haven't done it) be able to create a component that is a text field inside a box, inside another box where you can set the bottom borders of both boxes to simulate a double underline. --- In flexcoders@yahoogroups.com, Chris Sheffield cmsheffield@ wrote: Does anyone out there know of a way to apply a double underline to text in a Flex app? I have need of this in an upcoming project. I've searched the docs but can't seem to find anything. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com
[flexcoders] Re: double underline on text
I know of no way to do it. Even with CSS 2.0 you need to do a hack (Use a bottom border) and, since Flex uses a subset of CSS 1.0, there is no way to do it in Flex. I haven't looked at it yet but maybe Flex 4 has better support for this kind of thing. You may (And I haven't done it) be able to create a component that is a text field inside a box, inside another box where you can set the bottom borders of both boxes to simulate a double underline. --- In flexcoders@yahoogroups.com, Chris Sheffield cmsheffi...@... wrote: Does anyone out there know of a way to apply a double underline to text in a Flex app? I have need of this in an upcoming project. I've searched the docs but can't seem to find anything. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com
[flexcoders] headerDragProxyStyleName property on an Adv Data Grid?
Hi, When dragging to move columns on my Adv Data Grid, the user is saying it's not visible enough. I'm thinking I can make it easier to see byt changing the style property called headerDragProxyStyleName - but I could be wrong. I can't find anywhere that gives me a breakdown of what CSS properties makes up the headerDragProxyStyleName property. if that makes sense? I'm thinking it has a border, font, etc? Or is there another way to make the dragging highlight more visible? Thanks, Nick
Re: [Spam] [flexcoders] Re: Can I fix the right hand column to the right side of the Adv Data Grid?
Thanks for your reply on this, I'll check out those posts... I'll try adjusting the width as well - thanks... In general, can I just set measuredWidth of the column to a new value? or is that a read only property? Thanks, nick 2009/10/14 valdhor valdhorli...@embarqmail.com No. From my understanding, this is a restriction of the data grid. Once the datagrid is measured any remaining space is allocated to the last column. More info can be gleaned from one of Alex's posts at http://tech.groups.yahoo.com/group/flexcoders/message/141826 Just thinking about it, one possible way to achieve this may be to check the measured width and then adjust it so there is only 31 pixels available to the last column. I haven't done this so don't know how to do it.
[flexcoders] How do you understand the style properties and what values they need?
Hello, I've found this Cheat sheet: http://www.scribd.com/doc/2966310/Adobe-flex-3-cheat-sheet which looks great... I'm trying to figure out how I can cheat with it as well :) e.g. Button Styles borderColor = 0xAAB3B3 - this is a hex color, easy! :-) But what about this one... Button Style disabledSkin = mx.skins.halo.ButtonSkin - What does this mean? Where is it? Can I change it? Here's another... :) DataGrid Styles headerColors = [#FF, #E6E6E6] - I've used this one and it's a gradient. but can someone help me with this please?... DataGrid Styles headerDragProxyStyleName = headerDragProxyStyle. Also, is headerDragProxyStyle affected if I use a headerRenderer? Thanks for any help or links so i can read up... Cheers, Nick
[flexcoders] Re: How do you understand the style properties and what values they need?
In line... --- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote: Hello, I've found this Cheat sheet: http://www.scribd.com/doc/2966310/Adobe-flex-3-cheat-sheet which looks great... I'm trying to figure out how I can cheat with it as well :) e.g. Button Styles borderColor = 0xAAB3B3 - this is a hex color, easy! :-) But what about this one... Button Style disabledSkin = mx.skins.halo.ButtonSkin - What does this mean? Where is it? Can I change it? It is a skin. You can create your own and use it. If I were you I would copy the ButtonSkin.as file and modify it to what you need. BTW. The ButtonSkin.as file is found (At least, on my machine) at ...Flex Builder 3 install directory\sdks\3.4.0\frameworks\project\framework\src\mx\skins\halo\ButtonSkin.as Here's another... :) DataGrid Styles headerColors = [#FF, #E6E6E6] - I've used this one and it's a gradient. but can someone help me with this please?... DataGrid Styles headerDragProxyStyleName = headerDragProxyStyle. headerDragProxyStyle is a CSS style. It is defined in ...Flex Builder 3 install directory\sdks\3.4.0\frameworks\project\framework\defaults.css. Also, is headerDragProxyStyle affected if I use a headerRenderer? Now, that, I have no idea. Thanks for any help or links so i can read up... Cheers, Nick
[Spam] [flexcoders] Re: Can I fix the right hand column to the right side of the Adv Data Grid?
Well, it's not the column width you need to adjust - it's the width of the entire datagrid. Capture the measured width and then adjust it so there is only 31 pixels left for the last column to occupy. I don't claim it to be easy, but it may be possible. --- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote: Thanks for your reply on this, I'll check out those posts... I'll try adjusting the width as well - thanks... In general, can I just set measuredWidth of the column to a new value? or is that a read only property? Thanks, nick 2009/10/14 valdhor valdhorli...@... No. From my understanding, this is a restriction of the data grid. Once the datagrid is measured any remaining space is allocated to the last column. More info can be gleaned from one of Alex's posts at http://tech.groups.yahoo.com/group/flexcoders/message/141826 Just thinking about it, one possible way to achieve this may be to check the measured width and then adjust it so there is only 31 pixels available to the last column. I haven't done this so don't know how to do it.
[flexcoders] Re: data and listData
.data gives you acces to the entire item in the dataProvider. This is usually what I use, since it is useful when you need to look at other properties in different columns for the same row. .listData gives you just the value of labelField property. However, .listData also gives you the rowIndex and columnIndex for the itemRenderer. -TH --- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote: Hi, What is the difference between data and listData and why you use one over the other? In an Adv Data Grid, I've been told that .data may render incorrect information and .listData with getters and setters are the way forward but I seem to be using .data ok and can cast it to XML to reach into the other column values... I'm a bit lost :) Cheers, Nick
[flexcoders] Background Image of HBox
Hi, I have a custom component with root as mx:HBox. I am trying to give it a background image but it's not working with style. I have a style definition for it as HBox{background-image: [imagePath]} What is the best way to do it? Thanks Agha
[flexcoders] Nested object property in a form?
Greetings everyone! I am trying to make a form for editing an entity with a nested object, like business.address.zipcode. As I understand, the flex data binding can't handle this nested property situation. Just wonder how everyone else is dealing with this problem. Any advice/hint/code sample will be greatly appreciated.
[flexcoders] Web Service not returning all XML elements.
Hi, I've created a simple Web Service for retrieving 25 columns. The ws is setup to return the data as type object. When I go into debug mode and inspect the results only show about 1/2 of the columns are being returned. If I invoke the service from my java client, all of the expected columns are returned. Inspecting the returned XML in the java client doesn't show anything out of the ordinary. In Flex if I set the return type to e4x, all of the elements are returned. Just curious as to why Flex isn't returning all of the elements as objects. Below is the wsdl and a sample of the java invoked xml. - wsdl:definitions xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:ns1=http://ws.wso2.org/dataservice; xmlns:wsaw=http://www.w3.org/2006/05/addressing/wsdl; xmlns:http=http://schemas.xmlsoap.org/wsdl/http/; xmlns:ax21=S2 xmlns:xs=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:mime=http://schemas.xmlsoap.org/wsdl/mime/; xmlns:soap12=http://schemas.xmlsoap.org/wsdl/soap12/; targetNamespace=http://ws.wso2.org/dataservice; - wsdl:types - xs:schema attributeFormDefault=qualified elementFormDefault=qualified targetNamespace=S2 - xs:element name=GetAllSched - xs:complexType xs:sequence / /xs:complexType /xs:element - xs:complexType name=Jobs - xs:sequence xs:element maxOccurs=unbounded minOccurs=0 name=Job nillable=true type=ax21:Job / /xs:sequence /xs:complexType xs:element name=Jobs type=ax21:Jobs / - xs:complexType name=Job - xs:sequence xs:element minOccurs=0 name=jobnum nillable=true type=xs:string / xs:element minOccurs=0 name=SpecialShipping nillable=true type=xs:string / xs:element minOccurs=0 name=OriginalMailDate nillable=true type=xs:string / xs:element minOccurs=0 name=maildate1 nillable=true type=xs:string / xs:element minOccurs=0 name=mailqty nillable=true type=xs:string / xs:element minOccurs=0 name=clientname nillable=true type=xs:string / xs:element minOccurs=0 name=ProductionComplete nillable=true type=xs:string / xs:element minOccurs=0 name=ShopNote nillable=true type=xs:string / xs:element minOccurs=0 name=creatdue nillable=true type=xs:string / xs:element minOccurs=0 name=creatdone nillable=true type=xs:string / xs:element minOccurs=0 name=ListDue nillable=true type=xs:string / xs:element minOccurs=0 name=ListDone nillable=true type=xs:string / xs:element minOccurs=0 name=Outsource nillable=true type=xs:string / xs:element minOccurs=0 name=ActualQty nillable=true type=xs:string / xs:element minOccurs=0 name=Press2clr nillable=true type=xs:string / xs:element minOccurs=0 name=Press4clr nillable=true type=xs:string / xs:element minOccurs=0 name=Press10Env nillable=true type=xs:string / xs:element minOccurs=0 name=Press9Env nillable=true type=xs:string / xs:element minOccurs=0 name=Press4clrEnv nillable=true type=xs:string / xs:element minOccurs=0 name=LaserRoom nillable=true type=xs:string / xs:element minOccurs=0 name=FlowMasterMM nillable=true type=xs:string / xs:element minOccurs=0 name=FlowMasterSTD nillable=true type=xs:string / xs:element minOccurs=0 name=Inserting nillable=true type=xs:string / xs:element minOccurs=0 name=InkJet nillable=true type=xs:string / xs:element minOccurs=0 name=LaserLetter nillable=true type=xs:string / /xs:sequence /xs:complexType /xs:schema /wsdl:types - wsdl:message name=GetAllSchedRequest wsdl:part name=parameters element=ax21:GetAllSched / /wsdl:message - wsdl:message name=GetAllSchedResponse wsdl:part name=parameters element=ax21:Jobs / /wsdl:message - wsdl:portType name=S2_MasterSchedPortType - wsdl:operation name=GetAllSched wsdl:input message=ns1:GetAllSchedRequest wsaw:Action=urn:GetAllSched / wsdl:output message=ns1:GetAllSchedResponse wsaw:Action=urn:GetAllSchedResponse / /wsdl:operation /wsdl:portType - wsdl:binding name=S2_MasterSchedSoap11Binding type=ns1:S2_MasterSchedPortType soap:binding transport=http://schemas.xmlsoap.org/soap/http; style=document / - wsdl:operation name=GetAllSched soap:operation soapAction=urn:GetAllSched style=document / - wsdl:input soap:body use=literal / /wsdl:input - wsdl:output soap:body use=literal / /wsdl:output /wsdl:operation /wsdl:binding - wsdl:binding name=S2_MasterSchedSoap12Binding type=ns1:S2_MasterSchedPortType soap12:binding transport=http://schemas.xmlsoap.org/soap/http; style=document / - wsdl:operation name=GetAllSched soap12:operation soapAction=urn:GetAllSched style=document / - wsdl:input soap12:body use=literal / /wsdl:input - wsdl:output soap12:body use=literal / /wsdl:output /wsdl:operation /wsdl:binding - wsdl:binding name=S2_MasterSchedHttpBinding type=ns1:S2_MasterSchedPortType http:binding verb=POST / - wsdl:operation name=GetAllSched http:operation location=GetAllSched / - wsdl:input mime:content type=text/xml part=GetAllSched /
[flexcoders] How to call a Actionscript function in a UI child from UI father ?
when I try to call the getFileSize with the param: {data.filesize}, it does not work ? I am quite new in Flex Technology... Can somebody tell me what is wrong ? --- FlickrRIA.mxml mx:Script ![CDATA[ private function getFileSize(filesize:String):void { imageText.text = filesize; } ]] /mx:Script --- FlickrThumbnail.mxml mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=125 height=125 horizontalAlign=center horizontalScrollPolicy=off verticalScrollPolicy=off paddingBottom=5 paddingLeft=5 paddingRight=5 paddingTop=5 mx:Image width=75 height=75 source={data.thumbnail.url} click=getFileSize({data.filesize})/ mx:Text id=imageText text={data.credit} / /mx:VBox thx,
[flexcoders] Checkbox in Datagrid
Hi, I have a datagrid column with checkbox in it. how do i run a process when the checkbox state is changed. mx:DataGridColumn headerText= dataField=select sortable=false resizable=false width=20 editable=true textAlign=center rendererIsEditor=true itemRenderer=mx.controls.CheckBox/ Thanks Agha
[flexcoders] Re: Flex with .Net
WebOrb is pretty sweet. I did run into some problems where our backend data wasn't setup very well and I couldn't assign table relations in WebOrb. Workaround was using views and stored procedures. I'm currently playing around with WSO2's Web Service Application Server (http://wso2.com). It makes exposing data as web services very easy and very fast. It's a good alternative for those that don't want to use .net. It's also opensource and free which is a huge bonus as well. :) --- In flexcoders@yahoogroups.com, MicC chigwel...@... wrote: We have just switched from FlexSQL web service ($19.00) to WebOrb. FlexSQL works well but I think we threw too many users at it and it was having trouble wrapping our 4000 returned rows for OLAP cube in the xml format it uses. WebOrb is fast and efficient, and handles many users. We are calling our SQLServer2005 stored procedures with it. WebOrb comes with lots of good code examples also. There is a community version which is free, but the Enterprise edition costs. Mic. --- In flexcoders@yahoogroups.com, Jehanzeb Musani jehanzeb_bs@ wrote: The easiest thing would be to expose a web service written in .NET can invoke with Flex UI. Make sure you rely on the primitive types or design your protocol (objects encoded it in xml and pass as string to webservice). It's simple but will not be very efficient. The other approach you can resort to is using WebORB.NET. Regards, Jehanzeb From: Ramkumar nrk150@ To: nrk150@ Sent: Tue, October 6, 2009 12:34:08 PM Subject: [flexcoders] Flex with .Net Hi All, We have the application on .Net and we have to replace the asp pages with flex UI. I am little bit exposure only to flex(I am java developer) and dont have knowledge on .Net. Please provide me sample codes(like the data passing from UI to db) and materials for doing the application. from there i will try to manage my self. Thanks and Regards, N.Ramkumar
[flexcoders] switch images at runtime
Hi all, in my css i set the background image like this.. background-image: Embed('somedirectory/someimagefile.png'); however...there's no way to scale it or change it's width so i'm wondering how i can swap it with another image while the app is running.. thanks percy -- [ p e r c e p t i c o n ]
RE: [SPAM] [flexcoders] How to call a Actionscript function in a UI child from UI father ?
Don't use binding braces in actionscript (the event handler declaration is actionscript) Try: click=getFileSize(data.filesize) That assumes the data object is created and has that property. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of polo_enzo Sent: Wednesday, October 14, 2009 2:11 PM To: flexcoders@yahoogroups.com Subject: [SPAM] [flexcoders] How to call a Actionscript function in a UI child from UI father ? when I try to call the getFileSize with the param: {data.filesize}, it does not work ? I am quite new in Flex Technology... Can somebody tell me what is wrong ? --- FlickrRIA.mxml mx:Script ![CDATA[ private function getFileSize(filesize:String):void { imageText.text = filesize; } ]] /mx:Script --- FlickrThumbnail.mxml mx:VBox xmlns:mx=http://www.adobe. http://www.adobe.com/2006/mxml com/2006/mxml width=125 height=125 horizontalAlign=center horizontalScrollPolicy=off verticalScrollPolicy=off paddingBottom=5 paddingLeft=5 paddingRight=5 paddingTop=5 mx:Image width=75 height=75 source={data.thumbnail.url} click=getFileSize({data.filesize})/ mx:Text id=imageText text={data.credit} / /mx:VBox thx,
RE: [SPAM] [flexcoders] Web Service not returning all XML elements.
The default resultFormat, object causes Flex to try to convert the xml into a tree of dynamic objects. This is somewhat of a blackbox process and you have no control over it. It is also the worst of both worlds; Dynamic objects have performance issues, (as does xml) and searching/filtering that object tree is much harder than using e4x expressions. Best practice is to get your data as e4x, then process it yourself into an ArrayCollection of strongly typed value objects. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jc_bad28 Sent: Wednesday, October 14, 2009 3:01 PM To: flexcoders@yahoogroups.com Subject: [SPAM] [flexcoders] Web Service not returning all XML elements. Hi, I've created a simple Web Service for retrieving 25 columns. The ws is setup to return the data as type object. When I go into debug mode and inspect the results only show about 1/2 of the columns are being returned. If I invoke the service from my java client, all of the expected columns are returned. Inspecting the returned XML in the java client doesn't show anything out of the ordinary. In Flex if I set the return type to e4x, all of the elements are returned. Just curious as to why Flex isn't returning all of the elements as objects. Below is the wsdl and a sample of the java invoked xml. - wsdl:definitions xmlns:wsdl=http://schemas. http://schemas.xmlsoap.org/wsdl/ xmlsoap.org/wsdl/ xmlns:ns1=http://ws.wso2. http://ws.wso2.org/dataservice org/dataservice xmlns:wsaw=http://www.w3. http://www.w3.org/2006/05/addressing/wsdl org/2006/05/addressing/wsdl xmlns:http=http://schemas. http://schemas.xmlsoap.org/wsdl/http/ xmlsoap.org/wsdl/http/ xmlns:ax21=S2 xmlns:xs=http://www.w3. http://www.w3.org/2001/XMLSchema org/2001/XMLSchema xmlns:soap=http://schemas. http://schemas.xmlsoap.org/wsdl/soap/ xmlsoap.org/wsdl/soap/ xmlns:mime=http://schemas. http://schemas.xmlsoap.org/wsdl/mime/ xmlsoap.org/wsdl/mime/ xmlns:soap12=http://schemas. http://schemas.xmlsoap.org/wsdl/soap12/ xmlsoap.org/wsdl/soap12/ targetNamespace=http://ws.wso2. http://ws.wso2.org/dataservice org/dataservice - wsdl:types - xs:schema attributeFormDefault=qualified elementFormDefault=qualified targetNamespace=S2 - xs:element name=GetAllSched - xs:complexType xs:sequence / /xs:complexType /xs:element - xs:complexType name=Jobs - xs:sequence xs:element maxOccurs=unbounded minOccurs=0 name=Job nillable=true type=ax21:Job / /xs:sequence /xs:complexType xs:element name=Jobs type=ax21:Jobs / - xs:complexType name=Job - xs:sequence xs:element minOccurs=0 name=jobnum nillable=true type=xs:string / xs:element minOccurs=0 name=SpecialShipping nillable=true type=xs:string / xs:element minOccurs=0 name=OriginalMailDate nillable=true type=xs:string / xs:element minOccurs=0 name=maildate1 nillable=true type=xs:string / xs:element minOccurs=0 name=mailqty nillable=true type=xs:string / xs:element minOccurs=0 name=clientname nillable=true type=xs:string / xs:element minOccurs=0 name=ProductionComplete nillable=true type=xs:string / xs:element minOccurs=0 name=ShopNote nillable=true type=xs:string / xs:element minOccurs=0 name=creatdue nillable=true type=xs:string / xs:element minOccurs=0 name=creatdone nillable=true type=xs:string / xs:element minOccurs=0 name=ListDue nillable=true type=xs:string / xs:element minOccurs=0 name=ListDone nillable=true type=xs:string / xs:element minOccurs=0 name=Outsource nillable=true type=xs:string / xs:element minOccurs=0 name=ActualQty nillable=true type=xs:string / xs:element minOccurs=0 name=Press2clr nillable=true type=xs:string / xs:element minOccurs=0 name=Press4clr nillable=true type=xs:string / xs:element minOccurs=0 name=Press10Env nillable=true type=xs:string / xs:element minOccurs=0 name=Press9Env nillable=true type=xs:string / xs:element minOccurs=0 name=Press4clrEnv nillable=true type=xs:string / xs:element minOccurs=0 name=LaserRoom nillable=true type=xs:string / xs:element minOccurs=0 name=FlowMasterMM nillable=true type=xs:string / xs:element minOccurs=0 name=FlowMasterSTD nillable=true type=xs:string / xs:element minOccurs=0 name=Inserting nillable=true type=xs:string / xs:element minOccurs=0 name=InkJet nillable=true type=xs:string / xs:element minOccurs=0 name=LaserLetter nillable=true type=xs:string / /xs:sequence /xs:complexType /xs:schema /wsdl:types - wsdl:message name=GetAllSchedRequest wsdl:part name=parameters element=ax21:GetAllSched / /wsdl:message - wsdl:message name=GetAllSchedResponse wsdl:part name=parameters element=ax21:Jobs / /wsdl:message - wsdl:portType name=S2_MasterSchedPortType - wsdl:operation name=GetAllSched wsdl:input message=ns1:GetAllSchedRequest wsaw:Action=urn:GetAllSched / wsdl:output message=ns1:GetAllSchedResponse wsaw:Action=urn:GetAllSchedResponse / /wsdl:operation /wsdl:portType - wsdl:binding name=S2_MasterSchedSoap11Binding