Re: [flexcoders] Question about SoapDecoder and Sequence XSD Schema Types
In your xsd there are no occurence attributes specified , so the elements have default occurrence attributes, minoccurs=1 and maxoccurs = 1 In other words, they are always required once. Are you sure this is the exact schema which defines your response element? ~Peeyush On Tue, Mar 4, 2008 at 3:05 AM, Todd [EMAIL PROTECTED] wrote: Hello, When I'm decoding a call to a Soap Service, I'm finding that if the soap response is missing a few elements, then the rest of the itmes don't get parsed from a sequence. Is this expected behavior? Say, I have a XSD element declared like so: complexType name=CommunicationType sequence element name=id type=long/ element name=version type=int/ element name=name type=string/ element name=description type=string/ element name=recordCount type=int/ ... /sequence /complexType If the Soap Response looks similar to: Communication xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; name EmailCommunicationTemplate /name description email communication template /description recordCount 0 /recordCount ... /Communcation I'm finding that all the properties on the Object returned to my result handler aren't populated with anything because as you see, there was no id, or version, returned from the Soap Response. However, in the Schema, these aren't declared required or anything. When I add an id into the Soap Response, then the object being returned will have a valid ID set, but nothing else. I'm assuming that the default SoapDecoder (XMLDecoder) maps properties up until the first one that is missing. Is flex Soap Services implying that for a Sequence type, every node must be returned, even if nil? Is this a standard? Any known work arounds? (I searched JIRA and just found a ton of things not related to me.) (I'm also getting tired of mapping XML off the wire to object by hand.) Thanks, Todd
[flexcoders] datagrid with checkbox implementation
Hi All, Hi in my application am using datagrid in that am using dataprovider for displaying the data the data has been retrieving using remote object. am using the check box within itemrenderer. mx:DataGridColumn id=column4 textAlign=center headerText=Multi width=100 dataField=multi mx:itemRenderer mx:Component mx:CheckBox selected={data.multi}/ /mx:Component /mx:itemRenderer /mx:DataGridColumn by using the above code all the checkboxes are selected. But when getting the data from remote object I have some true and false values these values are reflected on comboBox. When it is true then checkbox is checked otherwise not selected. How to use the functionality for that. can anyone help me how to achieve this. --tomt.
[flexcoders] [Bindable] doesn't work when updating properties in an object
I've got a DataGrid which uses a [Bindable] ArrayCollection as a dataProvider. This arraycollection consits of objects. If I change a property (e.g. myobject.value = 100) this is not reflected by the DataGrid. When I click the column header to make it sort by value I see the change. I guess I have to dispatch an event to the dataProvider to tell it that a value in one of its objects has changed. I tried doing that this way: var propEv:PropertyChangeEvent = new PropertyChangeEvent( PropertyChangeEvent.PROPERTY_CHANGE, false, false, PropertyChangeEventKind.UPDATE, property, valueBefore, item[ property ], item); ArrayCollection(this.dataProvider).dispatchEvent( propEv ); .. from inside my datagrid, but that didn't do much. Best regards, Bjørn -- http://www.juicability.com - flex blog http://www.43min.com - funny movies
Re: [flexcoders] flexbuilder code formatter
On Monday 03 Mar 2008, Beau Scott wrote: Code beautifier. Ahh right. Go for it :-) -- Tom Chiverton Helping to competently visualize customized methodologies on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: Flex Builder complaint
On Monday 03 Mar 2008, Paul Decoursey wrote: I'm sorry, but nobody even regarded it as an issue. I suggested you should log it as a bug, actually, because it clearly *is* an issue. -- Tom Chiverton, am I holding the right end of the stick now ? This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: How to add SOAP header to Flex generated webservice code?
Thanks Mykola! I was looking at the generated code as well and tried it as you described. Adding headers manually did indeed work, but the downside being that everytime I regenerate the code it will be gone. After some tinkering, I figured out a way to have Flex's generator honor the headers for me! Here's how to do it: 1) You must have the WS side of your app include the header info directly in its WSDL, such as: wsdl:operation name=ListUsers soap:operation soapAction=http://xyz.com/ListUsers; style=document/ wsdl:input soap:body use=literal/ soap:header message=tns:ListUsersSessionHeader part=SessionHeader use=literal/ /wsdl:input wsdl:output soap:body use=literal/ /wsdl:output /wsdl:operation 2) When you re-generate the code in Flex, it will then honor the soap:header tag (along with the type definition for SessionHeader at the beginning of the WSDL). You will see new method generated on the XYZService class, such as addYOURWSMETHODNAME_header(header:YOURHEADERTYPE). You call this method to add the header you defined to the corresponding method, so that every subsequent call will include the header. (Note that the generated BaseService class actually includes header as part of the WS call signature, but the generated top-level Service class does not require header to be passed in the actual WS method call each time. I think that's a good approach, since usually you use headers for stuff like Session key which doesn't change often) 3) So how do you include the soap:header tag in WSDL? That depends on your Back End. I'm currently using .Net, so I needed to add a [SoapHeader] Attribute to the [WebMethods] that I want to include a header. See MSDN doc here: http://msdn2.microsoft.com/en-us/library/system.web.services.protocols.soapheader.aspx Hope this helps! --- In flexcoders@yahoogroups.com, Mykola [EMAIL PROTECTED] wrote: Hi Dave, Here is how I did that. I am using Flex Builder 3. I generated code from WSDL and updated my operation in the BaseXYZ class. It is just 1 line change: public function hello():AsyncToken { // Instead of a new Array, am using the headers from the base class. var headerArray:Array = headers; // - my change. It was new Array() here var out:Object = new Object(); currentOperation = BaseAddNumbersServiceService.getPort(BaseAddNumbersServicePort).binding.portType.getOperation(hello); var pc:PendingCall = new PendingCall(out,headerArray); call(currentOperation,out,pc.token,pc.headers); return pc.token; } Now, set the headers and call the service operation: // create the service var ws:AddNumbersService = new AddNumbersService(); // create the headers var q1:QName=new QName(http://soapinterop.org/xsd;, Header1); var header1:SOAPHeader = new SOAPHeader(q1, {string:bologna,int:123}); ws.getWebService().addSimpleHeader(Header1, http://soapinterop.org/xsd;, testName, testValue); ws.getWebService().addHeader(header1); // set the result and error handlers ws.addhelloEventListener(helloResulHandler); ws.addAddNumbersServiceFaultEventListener(faultHandler); // call the service ws.hello_send(); Here is what I see in tcpdump: Referer: file://localhost/Users/mykola/Documents/Flex Builder 3/SampleClient1/bin-debug/SampleClient1.swf Content-type: text/xml; charset=utf-8 SOAPAction: urn:hello Content-length: 606 SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; SOAP-ENV:Header ns0:Header1 xmlns:ns0=http://soapinterop.org/xsd; ns0:testNametestValue/ns0:testName /ns0:Header1 ns0:Header1 xmlns:ns0=http://soapinterop.org/xsd; ns0:int123/ns0:int ns0:stringbologna/ns0:string /ns0:Header1 /SOAP-ENV:Header SOAP-ENV:Body ns10:hello xmlns:ns10=http://service.jaxws.mdzyuba.com// /SOAP-ENV:Body /SOAP-ENV:Envelope Both headers are sent successfully. I hope it will work for you. - Mykola Web: http://mdzyuba.googlepages.com --- In flexcoders@yahoogroups.com, Dave Kong davekong@ wrote: I have used the code generator in Flex and it was fairly smooth. All the web methods from the WSDL were corrected generated and call/result pairs come in bug-free. However, I can't figure out how to add some SOAP headers to the service so that every call can contain my headers. Does anyone have experience with this? I really do like the generator and do not want to manually write my service code. (There are too many web methods). I see a BaseXYZService which extends from AbstractWebService, however, calling its addHeader method succeeds, but no headers were included in the actual SOAP message. I noticed that the generated code uses WSDLOperation and other WSDLxxx objects, which probably does not honor
[flexcoders] Flex Builder 3 + Eclipse plugins vs. MyEclipse + FB3 plugin?
Hi, I've been using MyEclipse + Flex Builder 2 plugin, as well as a bunch of other plugins (RadRails, Database Explorer, SVN, etc) for about 6 months. The makers of MyEclipse tell me they don't officially support Flex Builder. So when I eventually upgrade to FB3, I'm considering installing the FB3 application by itself. Since FB3 is based on Eclipse, can I then recreate my existing development environment by installing the other plugins mentioned above? Thanks, Chris.
[flexcoders] Re: LCDS Error??
Now that I know where to look I'll look at the code and see how this is being committed. We do have auto commit on which brings up a good question. Is auto commit dangerous? I have talked to some other coders who say they never use it and I am wondering if we should move towards a more manual committing structure to avoid these kinds of possible problems. The error I pasted in the post is all that showed up in the log for this transaction although I have turned off some of my logging output to try to reduce the size of my logs. Which log should I re-enable to send you the info you need? Is there a way to see what operations are sent with each batch transaction? - Kevin --- In flexcoders@yahoogroups.com, Jeff Vroom [EMAIL PROTECTED] wrote: It sounds like somehow those changes are being split into two different batches. Do you perhaps have auto-commit on or are you calling commit in the middle? There was a bug in 2.5.1 where this error was printed sometimes but I don't think I've seen a case where it caused any problems. If you have the server debug log for this case though I'd be glad to try and figure out why that change is not getting saved in this case. Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Sent: Monday, March 03, 2008 1:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] LCDS Error?? Has anyone gotten this error in LCDS before? I can't seem to figure out what it means and what to do about it. [Flex] 03/03/2008 18:59:12.466 [ERROR] [Service.Data.General] Can't find create message for newly created item with message id: EB473A3B-AF5D-1E26-7831-7600782E18C5 I couldn't find anything in google as well. The error was being thrown when a user tried to commit a nested object for persistence. (Such as a new UserVO which contains a new ContactVO as a property) I this case the UserVO persisted correctly and the ContactVO persisted, but the ContactVO id did not save correctly in the users table and then the user.contact property was null. Any thoughts? - Kevin
[flexcoders] how to change the line's color??
In a linechart, if the backgroundColor of Application is not #ff,there will be some white horizontal lines in the linechart. how to change the line's color?? thanks link to a snapshot of my linechart http://bbs.blueidea.com/attachment.php?aid=80668noupdate=yes
Fwd: [flexcoders] Dynamic attribute on MXML code
Im trying just to mimic this proxy behavior. Lets imagine is not one job, but is like RO, several jobs... mx:Object id=obj name=velo age=44 mx:job area=IT worktime=10 / mx:job area=IT worktime=10 / mx:job area=IT worktime=10 / /mx:Object I'm using job as an arbitrary sample, truly, I wanna now how to mimic RemoteObject mx:method behavior. What need I do to get something like this: myStuff:MyObject some=thing myStuff:aDynamicAttribute value=a/ myStuff:anotherDynamicAtribute value=2/ /myStuff:MyObject Or, more close to RO do this: myStuff:MyObject some=thing myStuff:method name=aDynamicAttribute value=a/ myStuff:method name=anotherDynamicAttribute value=2/ /myStuff:MyObject More clear now? About mx:Job is not to a class, Im intend to create an attribute named job, without a lot of extra code, like: mx:Object id=obj name=velo age=44 mx:job mx:Object area=IT worktime=10 / /mx:job /mx:Object If RemoteObject could omit the second mx:Object some how, I wanna to omit too. =D Any Idea? How do I implement MyObject? VELO On Fri, Feb 29, 2008 at 10:07 PM, Rick Winscot [EMAIL PROTECTED] wrote: VELO - the Flex Object is a 'simple' storage type... the RemoteObject along with the ObjectProxy are designed specifically for dynamic object management - which include hierarchical storage. Is there any reason that this won't work? mx:Object id=foo data=bar type=job area=TT worktime=10 / One thing that might be helpful is tying things down with a model to assist you in object translation. As your data becomes more complex... the need to gravitate towards DTO (data type object) and VO (view object) becomes absolute. Take a look this example for starters. http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-httpservice-mxml-tag/ Rick Winscot On Fri, Feb 29, 2008 at 7:29 PM, VELO [EMAIL PROTECTED] wrote: I'm trying to do something like this: mx:Object id=obj name=velo age=44 mx:job area=IT worktime=10 / /mx:Object And always got: Could not resolve mx:job to a component implementation. I saw RemoteObject doing something like this: mx:RemoteObject id=cargoService fault=onFault(event) destination=cargoService mx:method name=asdasd / /mx:RemoteObject But i cant understand why RemoteObject can do and Object cant do. I had try to implement my own object, who extends Proxy and override callProperty, getProperty and setProperty. But no success. Any can help me on this? VELO
RE: [flexcoders] Re: LCDS Error??
Yeah, I'd recommend turning off auto-commit.It makes this type of thing a little harder and a little slower. When you create a new item and then commit immediately, we have to wait for that first commit to complete so we get the id before we can even send the update to the item to refer to it. If you do them both in the same batch, we can do that all in one round-trip. I've been meaning to add a new auto-commit mode where we just do the commit in a call later type of function. This would still give you the simplicity of coding with auto-commit but would automatically batch changes made in the same frame. You could also just do that yourself is you register for enter frame events. Just call commit if commit required is set to true. The Message.* and Service.Data.* targets give the best diagnostics. If you want to reduce the amount of log output, you can just turn on debug logging just before you do the operation. I think I sent you that logger.jsp which does that. Once you get the logs, you'll see the batched message which contains all of the changes in the batch in the body of the batched message. The debug logs print out that batched message before and after the transaction. In between, the Service.Data.* targets will show you the individual operations as they are handed to the assembler. Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Sent: Tuesday, March 04, 2008 2:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: LCDS Error?? Now that I know where to look I'll look at the code and see how this is being committed. We do have auto commit on which brings up a good question. Is auto commit dangerous? I have talked to some other coders who say they never use it and I am wondering if we should move towards a more manual committing structure to avoid these kinds of possible problems. The error I pasted in the post is all that showed up in the log for this transaction although I have turned off some of my logging output to try to reduce the size of my logs. Which log should I re-enable to send you the info you need? Is there a way to see what operations are sent with each batch transaction? - Kevin --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Vroom [EMAIL PROTECTED] wrote: It sounds like somehow those changes are being split into two different batches. Do you perhaps have auto-commit on or are you calling commit in the middle? There was a bug in 2.5.1 where this error was printed sometimes but I don't think I've seen a case where it caused any problems. If you have the server debug log for this case though I'd be glad to try and figure out why that change is not getting saved in this case. Jeff From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Kevin Sent: Monday, March 03, 2008 1:18 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] LCDS Error?? Has anyone gotten this error in LCDS before? I can't seem to figure out what it means and what to do about it. [Flex] 03/03/2008 18:59:12.466 [ERROR] [Service.Data.General] Can't find create message for newly created item with message id: EB473A3B-AF5D-1E26-7831-7600782E18C5 I couldn't find anything in google as well. The error was being thrown when a user tried to commit a nested object for persistence. (Such as a new UserVO which contains a new ContactVO as a property) I this case the UserVO persisted correctly and the ContactVO persisted, but the ContactVO id did not save correctly in the users table and then the user.contact property was null. Any thoughts? - Kevin
Re: [flexcoders] Flex Builder 3 + Eclipse plugins vs. MyEclipse + FB3 plugin?
On Tuesday 04 Mar 2008, gers32 wrote: The makers of MyEclipse tell me they don't officially support Flex Builder. So when I eventually upgrade to FB3, I'm considering installing the FB3 application by itself. I've always installed it as a plugin to Eclipse, personally. Since FB3 is based on Eclipse, can I then recreate my existing development environment by installing the other plugins mentioned above? Yes, but I hear tell it has occasional hick ups trying to get all the dependencies of the plug ins installed. Sounds like you'd be able to cope with that though. -- Tom Chiverton Helping to autoschediastically target cutting-edge environments on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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 efficiently copy a filtered and sorted ArrayCollection?
I have to make copy of a filtered and sorted array collection. Iterating over the source array of the first collection and then adding each item iterated to the second collection is not an efficient way of doing it because each item added is re-filtered and re-sorted in the new collection even though its filter status and sorted position is already known in the first collection. Is there any better way of doing this? Thanks.
[flexcoders] Digital Clock
Hello folks, Does anyone have a sample digital clock I can have a look at? Or give me a pointer? I have looked all over the web and was unable to find one. I hope someone can point me to some example. Thanks! Fidel.
[flexcoders] Flex Encryption and Flex Application check
Hi... is anyone have idea of following two things about Flex 2.0 1. Can i send or Use .swf file from flex in encrypted manner so no one can catch the .swf file with the help swf catcher tool. If yes let me know how to do that with flex. 2. Can i check the whether a OS application[ex. Notepad] is open or not through flex As that we can do with VB How ? Thanks Ritesh
[flexcoders] Re: Flex Builder 3 + Eclipse plugins vs. MyEclipse + FB3 plugin?
I'd definitely install FB3 as a plug-in. I did this so I could independently update the Flex 3 betas without having to retune my environment. For a bit, I had RadRails and MyEclipse, installed at the same time, as well as tons of other tools. --- In flexcoders@yahoogroups.com, gers32 [EMAIL PROTECTED] wrote: Hi, I've been using MyEclipse + Flex Builder 2 plugin, as well as a bunch of other plugins (RadRails, Database Explorer, SVN, etc) for about 6 months. The makers of MyEclipse tell me they don't officially support Flex Builder. So when I eventually upgrade to FB3, I'm considering installing the FB3 application by itself. Since FB3 is based on Eclipse, can I then recreate my existing development environment by installing the other plugins mentioned above? Thanks, Chris.
Re: [flexcoders] How to update Database Data using HTTPService
Hi. I am also new to FLEX and i want to do something similar to what you did but i don't know how. If it is possible, can you please send me the sources? Have a good day! vkc_nair wrote: Hi, I'm new to Flex. Created a flex application to retrive data from Oracle Database. 1. Created a Java class for the Object (Table) with get and set functions. 2. Created another Javaclass to get the data from Database using JDBC. 3. Used a JSP to get the data in XML format. 4. I'm able to display the data in Flex application. 5. How do I update the data changes in Flex application back to the Database Table? Could you please provide a sample or point me in right direction? Thanks Vimal The JSP file. [EMAIL PROTECTED] import=flex.testdrive.gate.GateRuleService, flex.testdrive.gate.GateRule, java.util.List% ?xml version=1.0 encoding=utf-8? gaterule % GateRuleService srv = new GateRuleService(); List list = null; list = srv.getGateRule(); GateRule gaterule; for (int i=0; ilist.size(); i++) { gaterule = (GateRule) list.get(i); % gaterule rule_id=%= gaterule.getRuleId()% procedure_name%= gaterule.getProcName() % /procedure_name created%= gaterule.getCreated() %/created creator%= gaterule.getCreator() %/creator changed%= gaterule.getChanged() %/changed changer%= gaterule.getChanger() %/changer description%= gaterule.getDescription() %/description /gaterule % } % /gaterule -- View this message in context: http://www.nabble.com/How-to-update-Database-Data-using-HTTPService-tp13233004p15607280.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] flex/air/lcds tutorials
hi there, i am pretty new to flex (am a cf coder) and i have been tasked to figure out how to create an air app that uses lcds to speak to a cf8 server. i have done a bit of reading online and tried one or two tutorials to create a flex app that does this. but i haven't yet managed to get it working. i was wondering if there are any decent (aimed at newbies) tutorials/documentation out there that explain the basics of getting, at the very least, a flex app to use lcds with cf8, at the very best, an air app to use lcds with cf8? thanks a mil', nikki Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
[flexcoders] Newbie question - Dialog box
Hi! I have a flex app running on a webpage. How can i display a dialog box that will contain some formated text, maybe an image, button OK(optional) and a cross-button(in upper-right corner, to close it). Alert.show() doesn't allow formatted text AFAIK. Here is the example of what i need:
Re: [flexcoders] Re: Praise for the Flex 3 Documentation
There's a book published by torrent on Flex3 that actually rocks. Of course, downloading of copyright protected material is your own responsability. Fer.- On Tue, Mar 4, 2008 at 2:58 AM, Paul Andrews [EMAIL PROTECTED] wrote: - Original Message - From: comfederation [EMAIL PROTECTED] comfederation%40yahoo.com To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Sent: Tuesday, March 04, 2008 5:06 AM Subject: [flexcoders] Re: Praise for the Flex 3 Documentation --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: I've just ordered the printed Flex 3 documentation. Yay! How much does it cost and how did you order ? Just go to the Adobe online store and look in 'books'. Cost will vary depending on where you are! Paul -- Fernando Troya. Semisenior Developer at LIFIA, 50 115 st., first floor (1900) La Plata, Buenos Aires, Argentina. +542944313104 (mobile)
[flexcoders] Re: Flex 3 API wall posters?
Last year adobe send free home delivery of those posters, any plans for Flex 3? are they sending them again?
Re: [flexcoders] Flex Encryption and Flex Application check
Ritesh Yadav wrote: Hi... is anyone have idea of following two things about Flex 2.0 1. Can i send or Use .swf file from flex in encrypted manner so no one can catch the .swf file with the help swf catcher tool. If yes let me know how to do that with flex. What is a swf catcher? 2. Can i check the whether a OS application[ex. Notepad] is open or not through flex As that we can do with VB How ? Not that I'm aware of. -- Jeffry Houser Flex, ColdFusion, AIR AIM: Reboog711 | Phone: 1-203-379-0773 -- Adobe Community Expert http://www.adobe.com/communities/experts/members/JeffryHouser.html My Company: http://www.dot-com-it.com My Podcast: http://www.theflexshow.com My Blog: http://www.jeffryhouser.com
[flexcoders] Re: Question about SoapDecoder and Sequence XSD Schema Types
It's not the exact schema, but it does look just like it, especially without the minoccurs and maxoccurs. I've also tried setting the minoccurs=0 (but didn't set the maxoccurs) with similar results. Maybe need to set both minoccurs and maxoccurs? I couldn't find anywhere in the XSD docs where it talks about the default occurence attributes are either set, nor any docs telling me what they default to. Do you have a link? What I have found are little sentence blurbs at the W3C site, like this: 5.5 Default Values - An omitted accessor element implies either a default value or that no value is known. The specifics depend on the accessor, method, and its context. For example, an omitted accessor typically implies a Null value for polymorphic accessors (with the exact meaning of Null accessor-dependent). Likewise, an omitted Boolean accessor typically implies either a False value or that no value is known, and an omitted numeric accessor typically implies either that the value is zero or that no value is known. Reading this leads me to believe that not returning elements implies that their values are just default/null. --- In flexcoders@yahoogroups.com, Peeyush Tuli [EMAIL PROTECTED] wrote: In your xsd there are no occurence attributes specified , so the elements have default occurrence attributes, minoccurs=1 and maxoccurs = 1 In other words, they are always required once. Are you sure this is the exact schema which defines your response element? ~Peeyush On Tue, Mar 4, 2008 at 3:05 AM, Todd [EMAIL PROTECTED] wrote: Hello, When I'm decoding a call to a Soap Service, I'm finding that if the soap response is missing a few elements, then the rest of the itmes don't get parsed from a sequence. Is this expected behavior? Say, I have a XSD element declared like so: complexType name=CommunicationType sequence element name=id type=long/ element name=version type=int/ element name=name type=string/ element name=description type=string/ element name=recordCount type=int/ ... /sequence /complexType If the Soap Response looks similar to: Communication xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; name EmailCommunicationTemplate /name description email communication template /description recordCount 0 /recordCount ... /Communcation I'm finding that all the properties on the Object returned to my result handler aren't populated with anything because as you see, there was no id, or version, returned from the Soap Response. However, in the Schema, these aren't declared required or anything. When I add an id into the Soap Response, then the object being returned will have a valid ID set, but nothing else. I'm assuming that the default SoapDecoder (XMLDecoder) maps properties up until the first one that is missing. Is flex Soap Services implying that for a Sequence type, every node must be returned, even if nil? Is this a standard? Any known work arounds? (I searched JIRA and just found a ton of things not related to me.) (I'm also getting tired of mapping XML off the wire to object by hand.) Thanks, Todd
RE: [flexcoders] flex/air/lcds tutorials
I just did the Flex3 Essentials on Lynda.com. It was very fast paced and I had to re-watch a lot of the advanced movies for things to sink in, but overall it was good. Also before you watch the Flex3 training you should get familiar with Actionscript. There is a good tutorial on Lynda.com for that also: ActionScript 3.0 in Flex Builder Essential Training From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nikki Forshaw Sent: Tuesday, March 04, 2008 3:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex/air/lcds tutorials hi there, i am pretty new to flex (am a cf coder) and i have been tasked to figure out how to create an air app that uses lcds to speak to a cf8 server. i have done a bit of reading online and tried one or two tutorials to create a flex app that does this. but i haven't yet managed to get it working. i was wondering if there are any decent (aimed at newbies) tutorials/documentation out there that explain the basics of getting, at the very least, a flex app to use lcds with cf8, at the very best, an air app to use lcds with cf8? thanks a mil', nikki Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
[flexcoders] file upload
Hello, I am new to Flex and I am wondering if there is a file upload control much like there is in HTML. input type=file Thanks Chad
Re: [flexcoders] Re: Question about SoapDecoder and Sequence XSD Schema Types
http://www.w3.org/TR/xmlschema-0/ read section 2.2.1 . Even if you declare a default attribute for an element, you need to return it to set its content node to the default value. This might be off the scope of this list but what I fail to understand is that when you have defined your message type in an XSD and if your webservice code is bound to it for validation, then how is it able to send a soap response which would violate the message structure. Can you let me know the server - side language? ~Peeyush On Tue, Mar 4, 2008 at 7:13 PM, Todd [EMAIL PROTECTED] wrote: It's not the exact schema, but it does look just like it, especially without the minoccurs and maxoccurs. I've also tried setting the minoccurs=0 (but didn't set the maxoccurs) with similar results. Maybe need to set both minoccurs and maxoccurs? I couldn't find anywhere in the XSD docs where it talks about the default occurence attributes are either set, nor any docs telling me what they default to. Do you have a link? What I have found are little sentence blurbs at the W3C site, like this: 5.5 Default Values - An omitted accessor element implies either a default value or that no value is known. The specifics depend on the accessor, method, and its context. For example, an omitted accessor typically implies a Null value for polymorphic accessors (with the exact meaning of Null accessor-dependent). Likewise, an omitted Boolean accessor typically implies either a False value or that no value is known, and an omitted numeric accessor typically implies either that the value is zero or that no value is known. Reading this leads me to believe that not returning elements implies that their values are just default/null. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Peeyush Tuli [EMAIL PROTECTED] wrote: In your xsd there are no occurence attributes specified , so the elements have default occurrence attributes, minoccurs=1 and maxoccurs = 1 In other words, they are always required once. Are you sure this is the exact schema which defines your response element? ~Peeyush On Tue, Mar 4, 2008 at 3:05 AM, Todd [EMAIL PROTECTED] wrote: Hello, When I'm decoding a call to a Soap Service, I'm finding that if the soap response is missing a few elements, then the rest of the itmes don't get parsed from a sequence. Is this expected behavior? Say, I have a XSD element declared like so: complexType name=CommunicationType sequence element name=id type=long/ element name=version type=int/ element name=name type=string/ element name=description type=string/ element name=recordCount type=int/ ... /sequence /complexType If the Soap Response looks similar to: Communication xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; name EmailCommunicationTemplate /name description email communication template /description recordCount 0 /recordCount ... /Communcation I'm finding that all the properties on the Object returned to my result handler aren't populated with anything because as you see, there was no id, or version, returned from the Soap Response. However, in the Schema, these aren't declared required or anything. When I add an id into the Soap Response, then the object being returned will have a valid ID set, but nothing else. I'm assuming that the default SoapDecoder (XMLDecoder) maps properties up until the first one that is missing. Is flex Soap Services implying that for a Sequence type, every node must be returned, even if nil? Is this a standard? Any known work arounds? (I searched JIRA and just found a ton of things not related to me.) (I'm also getting tired of mapping XML off the wire to object by hand.) Thanks, Todd
Re: [flexcoders] Flex Encryption and Flex Application check
Hi Jeffry Houser, Swf Catcher like Download *Sothink* SWF *Decompiler*-http://www.softpedia.com/get/Internet/WEB-Design/Flash/Sothink-SWF-Decompiler-MX.shtmlthrough which one catch the swf file and retrieve the all the component of swf like : images, sound, action script Ritesh On Tue, Mar 4, 2008 at 7:12 PM, Jeffry Houser [EMAIL PROTECTED] wrote: Ritesh Yadav wrote: Hi... is anyone have idea of following two things about Flex 2.0 1. Can i send or Use .swf file from flex in encrypted manner so no one can catch the .swf file with the help swf catcher tool. If yes let me know how to do that with flex. What is a swf catcher? 2. Can i check the whether a OS application[ex. Notepad] is open or not through flex As that we can do with VB How ? Not that I'm aware of. -- Jeffry Houser Flex, ColdFusion, AIR AIM: Reboog711 | Phone: 1-203-379-0773 -- Adobe Community Expert http://www.adobe.com/communities/experts/members/JeffryHouser.html My Company: http://www.dot-com-it.com My Podcast: http://www.theflexshow.com My Blog: http://www.jeffryhouser.com
[flexcoders] flex 3 air lcds with cf8 tutorials
hi there, please forgive me if this is a double post, but i did post earlier and have not yet seen my post come up and so may have gotten it a little wrong. so, here's the origional attempt: i am pretty new to flex (am a cf coder) and i have been tasked to figure out how to create an air app that uses lcds to speak to a cf8 server. i have done a bit of reading online and tried one or two tutorials to create a flex app that does this. but i haven't yet managed to get it working properly. i was wondering if there are any decent (aimed at newbies) tutorials/documentation out there that explain the basics of getting, at the very least, a flex app to use lcds with cf8, at the very best, an air app to use lcds with cf8? thanks a mil', nikki
[flexcoders] How to reset a scrollbar - would really appreciate some assistance please
I want to reset a scroll bar to the top when returning to a dynamically populated datagrid in my app. Basically the datagrid displays info about different students so clicking on a students name in a list takes you to this datagrid. Problem is if I am looking at the data of one student and scroll down this info, then leave this section and return as a different student, the scroll bar is where I left it with the previous student Here is the code of the relevant section. As no scroll bar is explicitly coded, I do not know how to ensure it resets. mx:VBox width=720 id=tile2 height=190 mx:Repeater id=markSheetRepeater dataProvider={this.markSheetXMLData} local:MarkSheetItem xmlItem={markSheetRepeater.currentItem} id=markSheetItem /local:MarkSheetItem /mx:Repeater /mx:VBox Btw this is Flexbuilder 2 Thanks in advance Paul
[flexcoders] Re: Flex Builder 3 vs SDK and Charting
I think I was a bit unclear in my question. What I meant to ask was if there was a way to get the charting libraries without also purchasing the full Flex Builder. We have several Flex developers on the team who are using FB, but our entire codebase (which contains other technologies as well) is built nightly by a build machine. I was trying to find out if it's possible to obtain a separate license just for the datavisualization package, to be used with the SDK, on the build machine. But from the sound of it, it's either all or nothing (figuratively speaking of course, since the SDK is far from nothing)? I'm assuming it would be breaking the license agreement if one of the developers copied his dataviz package to the build machine? Thanks, oliver --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Yes, if you install FB Pro you can then copy the datavisualization.swc into your SDK, apply your FB Pro serial number in flex-config (or on the command-line) and away you go. Matt On 3/3/08 9:02 PM, Beau Scott [EMAIL PROTECTED] wrote: You just have to include the charting SWC in your lib path (either the command line option or your custom flex-config.xml file) and make sure your charting and fb3 license code are in your flex-config.xml file. Beau From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of krieger824 Sent: Monday, March 03, 2008 6:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Builder 3 vs SDK and Charting Hi Matt, since you said that the charting libraries only come with Flex 3 Pro, is there a command-line only version of Flex 3 Pro available? And if not, does this mean it will not be possible to compile any charting projects without installing Flex Builder? I tried to look for an add-on package similar to the way it was done in Flex 2, but didn't seem to be able to find a download link. Thanks, oliver --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com , Matt Chotin mchotin@ wrote: Hi, Flex SDK does not include charting functionality on its own. Flex Builder Pro is what provides charting as of Flex 3, and that charting has been improved since Flex 2 with new features such as the Advanced DataGrid, data-oriented graphics API, etc. Matt On 2/27/08 8:59 AM, Troy Gilbert troy.gilbert@ wrote: It states that the Flex 3 SDK has more charting capabilities than the Flex Builder 3. I came across with the same impression. AFAIK, the Flex SDK and Flex Builder 3 Standard have the same capabilities (since Flex Builder 3 Standard uses the SDK!), and I believe Flex Builder 3 Pro has some additional capabilities, which I assume to be design view related or wizards, in regards to charting. Of course, my expectation until I saw that was that the Flex SDK stand-alone (free) doesn't include any charting, but who knows... I'd chalk it up to bad writing/marketing... Troy. No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.3/1308 - Release Date: 3/3/2008 10:01 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.3/1308 - Release Date: 3/3/2008 10:01 AM
Re: [flexcoders] How to reset a scrollbar - would really appreciate some assistance please
Check out the help docs! I'm not sure if you mean scroll the datagrid, or scrollbars on the hbox. DataGrid: scrollToIndex () method public function scrollToIndex(index:int):Boolean Ensures that the data provider item at the given index is visible. If the item is visible, the verticalScrollPosition property is left unchanged even if the item is not the first visible item. If the item is not currently visible, the verticalScrollPosition property is changed make the item the first visible item, unless there aren't enough rows to do so because the verticalScrollPosition value is limited by the maxVerticalScrollPosition property. HBox: Ifyou mean the scroll bar on a HBox then use the scrollPosition property of the HBox scrollbar. The HBox has a scrollbar property: verticalScrollBar. So, for your hbox it would be tile2.verticalScrollBar.scrollPosition = 0; Paul - Original Message - From: Paul Steven To: flexcoders@yahoogroups.com Sent: Tuesday, March 04, 2008 2:32 PM Subject: [flexcoders] How to reset a scrollbar - would really appreciate some assistance please I want to reset a scroll bar to the top when returning to a dynamically populated datagrid in my app. Basically the datagrid displays info about different students so clicking on a students name in a list takes you to this datagrid. Problem is if I am looking at the data of one student and scroll down this info, then leave this section and return as a different student, the scroll bar is where I left it with the previous student Here is the code of the relevant section. As no scroll bar is explicitly coded, I do not know how to ensure it resets. mx:VBox width=720 id=tile2 height=190 mx:Repeater id=markSheetRepeater dataProvider={this.markSheetXMLData} local:MarkSheetItem xmlItem={markSheetRepeater.currentItem} id=markSheetItem /local:MarkSheetItem /mx:Repeater /mx:VBox Btw this is Flexbuilder 2 Thanks in advance Paul
[flexcoders] general flex usage question
I am curious how people plan on using Flex in their web apps. I mean like will you being doing the entire web site in one flex app or will you have a mix of HTML/(insert favorite server side language) with Flex apps scattered around in the HTML. A long time ago (like almost 10 years ago) I made the mistake of developing an ENTIRE informational web site in flash and it was SO hard to maintain and keep updated when a change was requested. So I have always since then used a little flash in my HTML scattered around in individual SWFs. Now I know a well written flex app is MUCH easier to maintain then a single flash SWF because it is so object orientated, but how do people plan on using flex in their web sites? Thanks, Chad
Re: [flexcoders] Flex Encryption and Flex Application check
I didn't think there were any decompilers that supported Flash Player 9 + AS3 yet; the one you point to does not. I'm sure creating such a decompiler would be easier now that the compiler is available open source. ( Easier does not equate to easy, though ). Ritesh Yadav wrote: Hi Jeffry Houser, Swf Catcher like Download *Sothink* SWF *Decompiler*- http://www.softpedia.com/get/Internet/WEB-Design/Flash/Sothink-SWF-Decompiler-MX.shtml through which one catch the swf file and retrieve the all the component of swf like : images, sound, action script Ritesh On Tue, Mar 4, 2008 at 7:12 PM, Jeffry Houser [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Ritesh Yadav wrote: Hi... is anyone have idea of following two things about Flex 2.0 1. Can i send or Use .swf file from flex in encrypted manner so no one can catch the .swf file with the help swf catcher tool. If yes let me know how to do that with flex. What is a swf catcher? 2. Can i check the whether a OS application[ex. Notepad] is open or not through flex As that we can do with VB How ? Not that I'm aware of. -- Jeffry Houser Flex, ColdFusion, AIR AIM: Reboog711 | Phone: 1-203-379-0773 -- Adobe Community Expert http://www.adobe.com/communities/experts/members/JeffryHouser.html http://www.adobe.com/communities/experts/members/JeffryHouser.html My Company: http://www.dot-com-it.com http://www.dot-com-it.com My Podcast: http://www.theflexshow.com http://www.theflexshow.com My Blog: http://www.jeffryhouser.com http://www.jeffryhouser.com -- Jeffry Houser Flex, ColdFusion, AIR AIM: Reboog711 | Phone: 1-203-379-0773 -- Adobe Community Expert http://www.adobe.com/communities/experts/members/JeffryHouser.html My Company: http://www.dot-com-it.com My Podcast: http://www.theflexshow.com My Blog: http://www.jeffryhouser.com
[flexcoders] Stupid question regarding Alex Harui's Modules PPT
In Alex Harui's Modules powerpoint (http://blogs.adobe.com/aharui/360Flex2007/Modules.ppt/Modules.ppt) he explains the problem that can result when classes are defined in a module and then accessed from another module. In Slide 20 he shows one solution for shared code between modules: load the common code into ApplicationDomain.currentDomain before loading the modules that use the common code. My stupid question: Why not just load all modules into ApplicationDomain.currentDomain? In many scenarios, this could eliminate problems with class definitions being defined in certain modules and being invisible in others. Maybe Alex's blog is a better place to ask this question, I'm not sure. Thank you, Adam
[flexcoders] Re: showDataTips are not working for the Datagrid columns having itemRenderers
Thanks for the response... My confusion is because I'm not sure exactly how to get access to the column from the item renderer. I'm using data[DataGridListData(listData).dataField] to access the data to make reusable, but don't see any way via data or listData to get a reference to the column. If there's another way to get at itemToData or the dataTipFunction, I'd love to hear it. Thanks. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: dataTipField/dataTipFunction is used to map the dataProvider to a string to be displayed by a renderer. The renderer can just call itemToDataTip(data) on the column. The resulting string is the dataTip/tooltip. If I plug such a renderer into a DG with data that looks like { firstname: alex, lastname: harui } I can set the dataTipField to lastname, but If I've got some complex XML like person name firstNameAlex/firstName lastNameHarui/lastName /name address citySF/city stateCA/state /address /person I can cook up a dataTipFunction like data..lastName + , + data..firstName + + data..city I think that's what you want, or I don't understand what you're looking for. -Alex
Re: [flexcoders] Help: Flex 3 + CF8 + Remoting = 500 error with http://localhost/flex2gateway
On Tuesday 04 Mar 2008, noahbirdy wrote: argument in the endpoint node for the channel-definition of `cf- polling-amf'. I've tried all sorts of things like removing {context.root} from the path, hard coding the path, etc. What's strange to me is that no matter what I change the value too, even something fake like FOOBAR, the error always shows the same failed url (and I restart CF in between too) The URL is compiled into the Flex application (using --services argument), and supports run time interpolated things like {server.host}. Therefore if you alter the settings you need to recomple the Flex client against those new settings. -- Tom Chiverton Helping to greatly implement B2B action-items on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: [SPAM] Re: [flexcoders] How to reset a scrollbar - would really appreciate some assistance please
Thanks Paul Sorry, I did try to search for the answer myself but wasn't really sure what to look for. This is still my first flex project and I gotta say I am not enjoying it. Anyway the following that you suggested works fine, albeit there is a bit of a flash markSheetXMLData = _dataManager.returnMarkSheetData().group; tile2.verticalScrollBar.scrollPosition = 0; Thanks Paul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews Sent: 04 March 2008 15:03 To: flexcoders@yahoogroups.com Subject: [SPAM] Re: [flexcoders] How to reset a scrollbar - would really appreciate some assistance please Check out the help docs! I'm not sure if you mean scroll the datagrid, or scrollbars on the hbox. DataGrid: scrollToIndex () method public function scrollToIndex(index: http://127.0.0.1:61597/help/nftopic/com.adobe.flexbuilder.help/langref/int. html int): http://127.0.0.1:61597/help/nftopic/com.adobe.flexbuilder.help/langref/Bool ean.html Boolean Ensures that the data provider item at the given index is visible. If the item is visible, the verticalScrollPosition property is left unchanged even if the item is not the first visible item. If the item is not currently visible, the verticalScrollPosition property is changed make the item the first visible item, unless there aren't enough rows to do so because the verticalScrollPosition value is limited by the maxVerticalScrollPosition property. HBox: Ifyou mean the scroll bar on a HBox then use the scrollPosition property of the HBox scrollbar. The HBox has a scrollbar property: verticalScrollBar. So, for your hbox it would be tile2.verticalScrollBar.scrollPosition = 0; Paul - Original Message - From: Paul Steven mailto:[EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, March 04, 2008 2:32 PM Subject: [flexcoders] How to reset a scrollbar - would really appreciate some assistance please I want to reset a scroll bar to the top when returning to a dynamically populated datagrid in my app. Basically the datagrid displays info about different students so clicking on a students name in a list takes you to this datagrid. Problem is if I am looking at the data of one student and scroll down this info, then leave this section and return as a different student, the scroll bar is where I left it with the previous student Here is the code of the relevant section. As no scroll bar is explicitly coded, I do not know how to ensure it resets. mx:VBox width=720 id=tile2 height=190 mx:Repeater id=markSheetRepeater dataProvider={this.markSheetXMLData} local:MarkSheetItem xmlItem={markSheetRepeater.currentItem} id=markSheetItem /local:MarkSheetItem /mx:Repeater /mx:VBox Btw this is Flexbuilder 2 Thanks in advance Paul
Re: [flexcoders] Re: Flex Builder 3 vs SDK and Charting
On Tuesday 04 Mar 2008, krieger824 wrote: But from the sound of it, it's either all or nothing (figuratively speaking of course, since the SDK is far from nothing)? I'm assuming it would be breaking the license agreement if one of the developers copied his dataviz package to the build machine? You could have the developer use one with no license (i.e. the watermarking is still there) and the build box could be given the license. -- Tom Chiverton Helping to appropriately cultivate integrated initiatives on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: Flex Component Kit for Flex 3
So, is the final plan to have this included in the SDK or not? I'm a little confused about that. --- In flexcoders@yahoogroups.com, jack_freud [EMAIL PROTECTED] wrote: Thanks! I was stuck at this page: http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetailloc=en_usextid=1273018 --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote: You can get it from here: http://www.adobe.com/go/flex3_skinning I need to look into why we haven't made the links more obvious. On 2/27/08 7:18 AM, Muzak p.ginneberge@ wrote: Is this available yet, if so, where is it? On the following page: http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetailloc=en_usextid=1273018 it says: The final version will be included as part of the Flex 3 SDK Well if it is, it's very well hidden.. regards, Muzak
[flexcoders] Re: Question about SoapDecoder and Sequence XSD Schema Types
You very right about our server, it wasn't validating. In our application we use Castor for O/X mapping. To generate WS responses, domain objects are mapped to beans generated by Castor then converted into XML. Castor internally has validation routine to validate the instance against XSD which passed successfully. We're thinking of moving to the validation facility offered by Spring WS framework for validation. I think it would do a better job since it will be validating XML/XSD instead of POJO/XSD. Do you have any other suggestions for a better Java WebService stack (open source)? Thanks for the link to 2.2.1 (I had searched through the other document on W3 and wasn't sure if the 2004 document, which was 4 years after the 1.1., was valid for 1.1). This is exactly what I needed. Thanks a bunch. I feel we're on the right track. --- In flexcoders@yahoogroups.com, Peeyush Tuli [EMAIL PROTECTED] wrote: http://www.w3.org/TR/xmlschema-0/ read section 2.2.1 . Even if you declare a default attribute for an element, you need to return it to set its content node to the default value. This might be off the scope of this list but what I fail to understand is that when you have defined your message type in an XSD and if your webservice code is bound to it for validation, then how is it able to send a soap response which would violate the message structure. Can you let me know the server - side language? ~Peeyush On Tue, Mar 4, 2008 at 7:13 PM, Todd [EMAIL PROTECTED] wrote: It's not the exact schema, but it does look just like it, especially without the minoccurs and maxoccurs. I've also tried setting the minoccurs=0 (but didn't set the maxoccurs) with similar results. Maybe need to set both minoccurs and maxoccurs? I couldn't find anywhere in the XSD docs where it talks about the default occurence attributes are either set, nor any docs telling me what they default to. Do you have a link? What I have found are little sentence blurbs at the W3C site, like this: 5.5 Default Values - An omitted accessor element implies either a default value or that no value is known. The specifics depend on the accessor, method, and its context. For example, an omitted accessor typically implies a Null value for polymorphic accessors (with the exact meaning of Null accessor-dependent). Likewise, an omitted Boolean accessor typically implies either a False value or that no value is known, and an omitted numeric accessor typically implies either that the value is zero or that no value is known. Reading this leads me to believe that not returning elements implies that their values are just default/null. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Peeyush Tuli peeyush81@ wrote: In your xsd there are no occurence attributes specified , so the elements have default occurrence attributes, minoccurs=1 and maxoccurs = 1 In other words, they are always required once. Are you sure this is the exact schema which defines your response element? ~Peeyush On Tue, Mar 4, 2008 at 3:05 AM, Todd tprekaski@ wrote: Hello, When I'm decoding a call to a Soap Service, I'm finding that if the soap response is missing a few elements, then the rest of the itmes don't get parsed from a sequence. Is this expected behavior? Say, I have a XSD element declared like so: complexType name=CommunicationType sequence element name=id type=long/ element name=version type=int/ element name=name type=string/ element name=description type=string/ element name=recordCount type=int/ ... /sequence /complexType If the Soap Response looks similar to: Communication xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; name EmailCommunicationTemplate /name description email communication template /description recordCount 0 /recordCount ... /Communcation I'm finding that all the properties on the Object returned to my result handler aren't populated with anything because as you see, there was no id, or version, returned from the Soap Response. However, in the Schema, these aren't declared required or anything. When I add an id into the Soap Response, then the object being returned will have a valid ID set, but nothing else. I'm assuming that the default SoapDecoder (XMLDecoder) maps properties up until the first one that is missing. Is flex Soap Services implying that for a Sequence type, every node must be returned, even if nil? Is this a standard? Any known work arounds? (I searched JIRA and just found a ton of things not related to me.) (I'm also getting tired of mapping XML off the wire to object by hand.) Thanks, Todd
[flexcoders] How to filter IHierarchicalCollectionView ?
Hello all, I have a simple hierarchical provider, parents and children have the field name. When I filter on name the parent node get filtered if it doesn't match the search pattern even if its children match the pattern. That is obviously not wanted effect :) How to filter IHierarchicalCollectionView in order to display parent branches with children matching the pattern, and filter out parent branches without children matching the pattern ? Is that difficult to do ? any help would be appreciated :) Cheers, Adnan
[flexcoders] AIR QnA
Hey Guys, I spend most of my life in webbernet development. So I have a few basic questions, that I am hoping to get some quick answers to. I am going to be very blunt and say, I am not looking to make anything lethal, my intentions are extremely for business purposes and improving the work flow of my company. Does Adobe air listen to system events. Such, if you are on a windows PC. Can you listen for programs opening, and closing, saving and pretty much anything that you would want to catch and do a process for. I know that it would be possible on the .net framework, but then I would have to make a program for macs too. (Adobe wins, yay :P) If the answer is yes, can you please point me in the right direction to how I can learn what I need to know about AIR. Question 2: Can I build addons to the adobe applications? If so, please point me in the right direction. -- -Joe
Re: [flexcoders] general flex usage question
On Tue, Mar 4, 2008 at 10:11 AM, Chad Gray [EMAIL PROTECTED] wrote: I am curious how people plan on using Flex in their web apps. We're developing our apps in two flavors. The first versions will be built mostly in Flex/Flash, with some supporting stuff like user docs in HTML. The second versions (unless I can demonstrate they are not needed) will be in Ajax, with as much of the same functionality as can be achieved. The business and data layers will be the same for both versions. -- Andrew Wetmore User Experience Director Open Learning Exchange - www.ole.org 978-319-7324
[flexcoders] Re: Question about SoapDecoder and Sequence XSD Schema Types
FYI, just to clarify, it seems that Castor was failing at XML validation. --- In flexcoders@yahoogroups.com, Todd [EMAIL PROTECTED] wrote: You very right about our server, it wasn't validating. In our application we use Castor for O/X mapping. To generate WS responses, domain objects are mapped to beans generated by Castor then converted into XML. Castor internally has validation routine to validate the instance against XSD which passed successfully. We're thinking of moving to the validation facility offered by Spring WS framework for validation. I think it would do a better job since it will be validating XML/XSD instead of POJO/XSD. Do you have any other suggestions for a better Java WebService stack (open source)? Thanks for the link to 2.2.1 (I had searched through the other document on W3 and wasn't sure if the 2004 document, which was 4 years after the 1.1., was valid for 1.1). This is exactly what I needed. Thanks a bunch. I feel we're on the right track. --- In flexcoders@yahoogroups.com, Peeyush Tuli peeyush81@ wrote: http://www.w3.org/TR/xmlschema-0/ read section 2.2.1 . Even if you declare a default attribute for an element, you need to return it to set its content node to the default value. This might be off the scope of this list but what I fail to understand is that when you have defined your message type in an XSD and if your webservice code is bound to it for validation, then how is it able to send a soap response which would violate the message structure. Can you let me know the server - side language? ~Peeyush On Tue, Mar 4, 2008 at 7:13 PM, Todd tprekaski@ wrote: It's not the exact schema, but it does look just like it, especially without the minoccurs and maxoccurs. I've also tried setting the minoccurs=0 (but didn't set the maxoccurs) with similar results. Maybe need to set both minoccurs and maxoccurs? I couldn't find anywhere in the XSD docs where it talks about the default occurence attributes are either set, nor any docs telling me what they default to. Do you have a link? What I have found are little sentence blurbs at the W3C site, like this: 5.5 Default Values - An omitted accessor element implies either a default value or that no value is known. The specifics depend on the accessor, method, and its context. For example, an omitted accessor typically implies a Null value for polymorphic accessors (with the exact meaning of Null accessor-dependent). Likewise, an omitted Boolean accessor typically implies either a False value or that no value is known, and an omitted numeric accessor typically implies either that the value is zero or that no value is known. Reading this leads me to believe that not returning elements implies that their values are just default/null. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Peeyush Tuli peeyush81@ wrote: In your xsd there are no occurence attributes specified , so the elements have default occurrence attributes, minoccurs=1 and maxoccurs = 1 In other words, they are always required once. Are you sure this is the exact schema which defines your response element? ~Peeyush On Tue, Mar 4, 2008 at 3:05 AM, Todd tprekaski@ wrote: Hello, When I'm decoding a call to a Soap Service, I'm finding that if the soap response is missing a few elements, then the rest of the itmes don't get parsed from a sequence. Is this expected behavior? Say, I have a XSD element declared like so: complexType name=CommunicationType sequence element name=id type=long/ element name=version type=int/ element name=name type=string/ element name=description type=string/ element name=recordCount type=int/ ... /sequence /complexType If the Soap Response looks similar to: Communication xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; name EmailCommunicationTemplate /name description email communication template /description recordCount 0 /recordCount ... /Communcation I'm finding that all the properties on the Object returned to my result handler aren't populated with anything because as you see, there was no id, or version, returned from the Soap Response. However, in the Schema, these aren't declared required or anything. When I add an id into the Soap Response, then the object being returned will have a valid ID set, but nothing else. I'm assuming that the default SoapDecoder (XMLDecoder) maps properties up until the first one that is missing. Is flex Soap Services implying that for a Sequence type, every node must be returned, even if nil? Is this a standard? Any known work arounds? (I searched JIRA
RE: [flexcoders] file upload
Nothing quite as convenient as a file input, but definitely doable. You’ll want to take a look at the FileReference object: HYPERLINK http://livedocs.adobe.com/flex/3/langref/flash/net/FileReference.htmlhttp: //livedocs.adobe.com/flex/3/langref/flash/net/FileReference.html Beau From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chad Gray Sent: Tuesday, March 04, 2008 7:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] file upload Hello, I am new to Flex and I am wondering if there is a file upload control much like there is in HTML. input type=file Thanks Chad No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.3/1308 - Release Date: 3/3/2008 10:01 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.3/1308 - Release Date: 3/3/2008 10:01 AM image001.jpgimage002.jpg
Re: [flexcoders] AIR QnA
Last I checked, AIR operates in a bit of a sandbox. It allows file system access and whatnot, but it can't spawn OS native apps, etc. It's part of the built in security features. There may be some things you could do with the Merapi project, but I couldn't say for sure. No, I doubt you can listen for OS events of that nature. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Joe wrote: Hey Guys, I spend most of my life in webbernet development. So I have a few basic questions, that I am hoping to get some quick answers to. I am going to be very blunt and say, I am not looking to make anything lethal, my intentions are extremely for business purposes and improving the work flow of my company. Does Adobe air listen to system events. Such, if you are on a windows PC. Can you listen for programs opening, and closing, saving and pretty much anything that you would want to catch and do a process for. I know that it would be possible on the .net framework, but then I would have to make a program for macs too. (Adobe wins, yay :P) If the answer is yes, can you please point me in the right direction to how I can learn what I need to know about AIR. Question 2: Can I build addons to the adobe applications? If so, please point me in the right direction. -- -Joe
RE: [flexcoders] file upload
Thanks Beau! I will start reading up on it. Chad From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Beau Scott Sent: Tuesday, March 04, 2008 10:49 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] file upload Nothing quite as convenient as a file input, but definitely doable. You'll want to take a look at the FileReference object: http://livedocs.adobe.com/flex/3/langref/flash/net/FileReference.html Beau From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chad Gray Sent: Tuesday, March 04, 2008 7:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] file upload Hello, I am new to Flex and I am wondering if there is a file upload control much like there is in HTML. input type=file Thanks Chad No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.3/1308 - Release Date: 3/3/2008 10:01 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.3/1308 - Release Date: 3/3/2008 10:01 AMattachment: image001.jpg
[flexcoders] WSDL connection failing
I've seen several 'solutions' to this problem that don't seem to solve what I'm doing here. Maybe someone here can help. I have a Flex application on an asp.net backend. The backend exposes itself as a series of webservices, asmx files that connect to VB files that connect to MS SQL servers. Since this morning, the application does not work. The error code in Flex states Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (https://www.linkhere.com/REFERENCES.asmx?wsdl). But I haven't touched this program in weeks. I know it was working yesterday, and it's not working today. If I go to the link, I get this: Server Application Unavailable - The web application you are attempting to access on this web server is currently unavailable. Please hit the 'Refresh' button in your web browser to retry your request. Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. My DBA looked at the application log, and can't find anything there. So I'm still stumped at where the problem actually lies. Anyone have any good leads? Clinton Judy Web Developer Glenn O. Hawbaker, Inc.
Re: [flexcoders] AIR QnA
On Tuesday 04 Mar 2008, Joe wrote: Does Adobe air listen to system events. Such, if you are on a windows PC. Can you listen for programs opening, and closing, saving and pretty much Nope, not natively. You can use the ExternalInterface to call (for instance) Java code that does though, I think. would be possible on the .net framework, but then I would have to make a program for macs too. (Adobe wins, yay :P) *Ahh*. Well, Java :-) Can I build addons to the adobe applications? If so, please point me in the right direction. You mean a plugin for Flex Builder ? -- Tom Chiverton Helping to conveniently incubate principle-centered experiences on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: general flex usage question
Flex really lends itself to application development, rather than entire website development. Widgets, full RIAs, and other projects within the site are more of how I use Flex in the workplace. Of course, with the Apache module which compiles MXML on the fly, there really isn't a reason you could not write an entire site in Flex or AS3. -- William --- In flexcoders@yahoogroups.com, Chad Gray [EMAIL PROTECTED] wrote: I am curious how people plan on using Flex in their web apps. I mean like will you being doing the entire web site in one flex app or will you have a mix of HTML/(insert favorite server side language) with Flex apps scattered around in the HTML. A long time ago (like almost 10 years ago) I made the mistake of developing an ENTIRE informational web site in flash and it was SO hard to maintain and keep updated when a change was requested. So I have always since then used a little flash in my HTML scattered around in individual SWFs. Now I know a well written flex app is MUCH easier to maintain then a single flash SWF because it is so object orientated, but how do people plan on using flex in their web sites? Thanks, Chad
Re: [flexcoders] Re: Flex Builder 3 + Eclipse plugins vs. MyEclipse + FB3 plugin?
On Tuesday 04 Mar 2008, gers32 wrote: So any way I look at it, I'll have to reinstall plugins... No help right now, but : http://rachaelandtom.info/content/how-make-your-eclipse-plugin-list-survive-eclipse-upgrade -- Tom Chiverton Helping to carefully network eigth-generation patterns on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Web services: Patterns for recoverable errors like business rule violations?
On Tuesday 04 Mar 2008, Josh McDonald wrote: communication with the server is working a-ok, but you need to let the user know they've violated a business rule or something along those lines, and they need to rethink their behaviour :) Your GUI, in an ideal world, wouldn't let them, and you could just throw a full blown exception. -- Tom Chiverton Helping to challengingly facilitate compelling designs on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: Newbie question - Dialog box
I think what you need is a TitleWindow popup. Here's a link to a good reference: http://livedocs.adobe.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentationfile=0376.htm --- In flexcoders@yahoogroups.com, ivovnenko [EMAIL PROTECTED] wrote: Hi! I have a flex app running on a webpage. How can i display a dialog box that will contain some formated text, maybe an image, button OK(optional) and a cross-button(in upper-right corner, to close it). Alert.show() doesn't allow formatted text AFAIK. Here is the example of what i need:
[flexcoders] Re: Flex Builder 3 + Eclipse plugins vs. MyEclipse + FB3 plugin?
OK, thanks for your input guys. Looks like I'll stick with MyEclipse and install FB3 as a plugin, just like I did with FB2. The only requirement is that I upgrade to MyEclipse 6 (from 5.5.1). So any way I look at it, I'll have to reinstall plugins... Cheers, Chris.
Re: [flexcoders] AIR QnA
More like AI, ID, Flash, DW. Mainly the designer apps. Wouldn't I have to initiate the Java runtime for that. Bah, .net fails. Hi, im Microsoft, I can be cross complaint to...if I'm a website. :P After hearing about MS3, can support more on Linux then windowswell lets just say the end is near. Well, tell me were to start with Java, lol. I think its about time I start learning it. (Preferably, what area do I need to know about to listen to system events.) On Tue, Mar 4, 2008 at 11:00 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 04 Mar 2008, Joe wrote: Does Adobe air listen to system events. Such, if you are on a windows PC. Can you listen for programs opening, and closing, saving and pretty much Nope, not natively. You can use the ExternalInterface to call (for instance) Java code that does though, I think. would be possible on the .net framework, but then I would have to make a program for macs too. (Adobe wins, yay :P) *Ahh*. Well, Java :-) Can I build addons to the adobe applications? If so, please point me in the right direction. You mean a plugin for Flex Builder ? -- Tom Chiverton Helping to conveniently incubate principle-centered experiences on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- -Joe
[flexcoders] Re: [Bindable] doesn't work when updating properties in an object
If the dataField of the column in the dataGrid is set to a Bindable property on the object, the column should update for that row. [Bindable] on the ArrayCollection only pertains to changes to the collection, i.e adding and removing items or changing the AC to reference a different ArrayCollection. Changes to a property on an object will only be dispatched to listeners on that specific property. Make sure your entire object is Bindable or at least the properties displayed in the DataGrid. Also, if you are using a dynamic object, its properties will not be Bindable. --- In flexcoders@yahoogroups.com, bjorn - [EMAIL PROTECTED] wrote: I've got a DataGrid which uses a [Bindable] ArrayCollection as a dataProvider. This arraycollection consits of objects. If I change a property (e.g. myobject.value = 100) this is not reflected by the DataGrid. When I click the column header to make it sort by value I see the change. I guess I have to dispatch an event to the dataProvider to tell it that a value in one of its objects has changed. I tried doing that this way: var propEv:PropertyChangeEvent = new PropertyChangeEvent( PropertyChangeEvent.PROPERTY_CHANGE, false, false, PropertyChangeEventKind.UPDATE, property, valueBefore, item[ property ], item); ArrayCollection(this.dataProvider).dispatchEvent( propEv ); .. from inside my datagrid, but that didn't do much. Best regards, Bjørn -- http://www.juicability.com - flex blog http://www.43min.com - funny movies
Re: [flexcoders] AIR QnA
On Tuesday 04 Mar 2008, Joe wrote: More like AI, ID, Flash, DW. Mainly the designer apps. I think you can write JavaScript extension to them. Wouldn't I have to initiate the Java runtime for that. Uh huh. After hearing about MS3, can support more on Linux then windowswell lets just say the end is near. MS3 ? Well, tell me were to start with Java, lol. I think its about time I start learning it. (Preferably, what area do I need to know about to listen to system events.) I've no idea on the specifics, sorry. -- Tom Chiverton Helping to appropriately engineer transparent interfaces on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Digital Clock
On Tuesday 04 Mar 2008, Fidel Viegas wrote: Does anyone have a sample digital clock I can have a look at? Or give me a pointer? Would this not just be a suitable font and mx:Text ? -- Tom Chiverton Helping to continuously repurpose virtual e-business on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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 change the line's color??
On Tuesday 04 Mar 2008, luoxuanhuayelin wrote: In a linechart, if the backgroundColor of Application is not #ff,there will be some white horizontal lines in the linechart. how to change the line's color?? thanks You probably need to change the color of the grid. Check the livedocs for the style/properties. Sorry, I couldn't see your picture. -- Tom Chiverton Helping to appropriately initiate intuitive e-commerce on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: How to efficiently copy a filtered and sorted ArrayCollection?
Since the filtering and sorting affects the iterator over the ArrayCollection, I believe you could create a new ArrayCollection, then do a for each over your current ArrayCollection, adding those items to your new AC. The result will be a new AC with references to the currently filtered and sorted items in ordered. Then you can apply your sorting/filtering to the new AC so it will affect any future iterations after adding items. --- In flexcoders@yahoogroups.com, m.ar80 [EMAIL PROTECTED] wrote: I have to make copy of a filtered and sorted array collection. Iterating over the source array of the first collection and then adding each item iterated to the second collection is not an efficient way of doing it because each item added is re-filtered and re-sorted in the new collection even though its filter status and sorted position is already known in the first collection. Is there any better way of doing this? Thanks.
RE: [flexcoders] Flex Encryption and Flex Application check
There are a couple that can decompile AS3 based Flash SWF's, but as of this point, there aren't any that can decompile either AIR or Flex based SWF's as the framework seems to be too much for them to handle. !k _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeffry Houser Sent: Tuesday, March 04, 2008 9:13 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex Encryption and Flex Application check I didn't think there were any decompilers that supported Flash Player 9 + AS3 yet; the one you point to does not. I'm sure creating such a decompiler would be easier now that the compiler is available open source. ( Easier does not equate to easy, though ). Ritesh Yadav wrote: Hi Jeffry Houser, Swf Catcher like Download *Sothink* SWF *Decompiler*- http://www.softpedi http://www.softpedia.com/get/Internet/WEB-Design/Flash/Sothink-SWF-Decompil er-MX.shtml a.com/get/Internet/WEB-Design/Flash/Sothink-SWF-Decompiler-MX.shtml through which one catch the swf file and retrieve the all the component of swf like : images, sound, action script Ritesh On Tue, Mar 4, 2008 at 7:12 PM, Jeffry Houser [EMAIL PROTECTED] mailto:jeff%40farcryfly.com com mailto:[EMAIL PROTECTED] mailto:jeff%40farcryfly.com com wrote: Ritesh Yadav wrote: Hi... is anyone have idea of following two things about Flex 2.0 1. Can i send or Use .swf file from flex in encrypted manner so no one can catch the .swf file with the help swf catcher tool. If yes let me know how to do that with flex. What is a swf catcher? 2. Can i check the whether a OS application[ex. Notepad] is open or not through flex As that we can do with VB How ? Not that I'm aware of. -- Jeffry Houser Flex, ColdFusion, AIR AIM: Reboog711 | Phone: 1-203-379-0773 -- Adobe Community Expert http://www.adobe. http://www.adobe.com/communities/experts/members/JeffryHouser.html com/communities/experts/members/JeffryHouser.html http://www.adobe. http://www.adobe.com/communities/experts/members/JeffryHouser.html com/communities/experts/members/JeffryHouser.html My Company: http://www.dot- http://www.dot-com-it.com com-it.com http://www.dot- http://www.dot-com-it.com com-it.com My Podcast: http://www.theflexs http://www.theflexshow.com how.com http://www.theflexs http://www.theflexshow.com how.com My Blog: http://www.jeffryho http://www.jeffryhouser.com user.com http://www.jeffryho http://www.jeffryhouser.com user.com -- Jeffry Houser Flex, ColdFusion, AIR AIM: Reboog711 | Phone: 1-203-379-0773 -- Adobe Community Expert http://www.adobe. http://www.adobe.com/communities/experts/members/JeffryHouser.html com/communities/experts/members/JeffryHouser.html My Company: http://www.dot- http://www.dot-com-it.com com-it.com My Podcast: http://www.theflexs http://www.theflexshow.com how.com My Blog: http://www.jeffryho http://www.jeffryhouser.com user.com
[flexcoders] Dynamically highlighting a datagrid row
I've looked for a combobox that drops down a datagrid, but have not found one so I'm building one that suits my needs. I have my POC working but after selecting a row in the datagrid and the combobox closing as it should, then reopening the combobox loses the hightlighted row in the datagrid. I've successfully reset the datagrid selectedIndex to what it should be, but I can't figure out how to highlight that row. I'm asking for two suggestions: 1. If any one knows of a combobox that drops down a datagrid I'd like to know about it as I don't like recreating the wheel. 2. Advice on how to dynamically highlight the datagrid row. Thanks, Dale
Re: [flexcoders] WSDL connection failing
Could it be a DNS issue. Are you able to access wsdl via browser ? --ramnish On 04/03/2008, Clinton D. Judy [EMAIL PROTECTED] wrote: I've seen several 'solutions' to this problem that don't seem to solve what I'm doing here. Maybe someone here can help. I have a Flex application on an asp.net backend. The backend exposes itself as a series of webservices, asmx files that connect to VB files that connect to MS SQL servers. Since this morning, the application does not work. The error code in Flex states Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (https://www.linkhere.com/REFERENCES.asmx?wsdl)https://www.linkhere.com/REFERENCES.asmx?wsdl%29. But I haven't touched this program in weeks. I know it was working yesterday, and it's not working today. If I go to the link, I get this: Server Application Unavailable - The web application you are attempting to access on this web server is currently unavailable. Please hit the 'Refresh' button in your web browser to retry your request. *Administrator Note: *An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. My DBA looked at the application log, and can't find anything there. So I'm still stumped at where the problem actually lies. Anyone have any good leads? Clinton Judy Web Developer Glenn O. Hawbaker, Inc.
[flexcoders] Re: AIR QnA
I really hope the Merapi project takes off. For me, the inability of Air applications to launch external processes is a huge disappointment and limits what I can do with it.
[flexcoders] ComboBox dropdown position
Hi Group, how could i change the combobox dropdown x position such that it opens aligned to the right edge rather than the left edge of the combobox control? The reason i would want such a functionality is since my combobox is placed to the right edge of the application and the dropdown is getting truncated since it has a larger width specified than the combobox control. regards, Aasim
RE: [flexcoders] WSDL connection failing
That's how I get that second error. Normally I see the xml stuff, when appending ?wsdl to the end of the url, but that's the error I see instead. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ramnish Kalsi Sent: Tuesday, March 04, 2008 11:26 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] WSDL connection failing Could it be a DNS issue. Are you able to access wsdl via browser ? --ramnish On 04/03/2008, Clinton D. Judy [EMAIL PROTECTED] wrote: I've seen several 'solutions' to this problem that don't seem to solve what I'm doing here. Maybe someone here can help. I have a Flex application on an asp.net backend. The backend exposes itself as a series of webservices, asmx files that connect to VB files that connect to MS SQL servers. Since this morning, the application does not work. The error code in Flex states Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (https://www.linkhere.com/REFERENCES.asmx?wsdl) https://www.linkhere.com/REFERENCES.asmx?wsdl%29 . But I haven't touched this program in weeks. I know it was working yesterday, and it's not working today. If I go to the link, I get this: Server Application Unavailable - The web application you are attempting to access on this web server is currently unavailable. Please hit the 'Refresh' button in your web browser to retry your request. Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. My DBA looked at the application log, and can't find anything there. So I'm still stumped at where the problem actually lies. Anyone have any good leads? Clinton Judy Web Developer Glenn O. Hawbaker, Inc.
RE: [flexcoders] Re: AIR QnA
Well considering the consequences of offering fully web-based push button installs as well as access to executing local processes, which might be a case of having your cake and eating it too. Though I hope a method of dealing with this in a secure fashion pops up, I'll make due without if need be simply to ensure my clients are safe to install the runtime without Norton throwing a fit. !k _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan Rolander Sent: Tuesday, March 04, 2008 10:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: AIR QnA I really hope the Merapi project takes off. For me, the inability of Air applications to launch external processes is a huge disappointment and limits what I can do with it.
[flexcoders] Possible as3.0 bug?
Hey all, So I am making an awesome class, that does awesome things. Really Awesome. :P Anyways, So i get to the point were I am about to init a custom Class, called MiniMapPack. _miniMapPack=new MiniMapPack(_miniMap.child(active)); passes a *true* value, even though the data is set to false. So I assume, that It is just reading if it is there or not. However, When i make a getValue method... private function getValue(item:*):*{ //no code is in this method } without anything inside of it, I can now pass the accurate value. Such as: _miniMap:XML; _miniMapPack:MiniMapPack; Before: *_miniMap.child(active); //false* _miniMapPack=new MiniMapPack(_miniMap.child(active); //true; After: *_miniMap.child(active); //false* _miniMapPack=new MiniMapPack(*getValue*(_miniMap.child(active)*)*; //false; Interesting, eh? Anyone have an explanation? -- -Joe
Re: [flexcoders] AIR QnA
http://www.adobe.com/devnet/flashmediaserver/ Flash Media Server, I must have the acronym wrong. On Tue, Mar 4, 2008 at 11:26 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 04 Mar 2008, Joe wrote: More like AI, ID, Flash, DW. Mainly the designer apps. I think you can write JavaScript extension to them. Wouldn't I have to initiate the Java runtime for that. Uh huh. After hearing about MS3, can support more on Linux then windowswell lets just say the end is near. MS3 ? Well, tell me were to start with Java, lol. I think its about time I start learning it. (Preferably, what area do I need to know about to listen to system events.) I've no idea on the specifics, sorry. -- Tom Chiverton Helping to appropriately engineer transparent interfaces on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- -Joe
[flexcoders] Re: how to change the line's color??
I couldn't view your chart snapshot, but it sounds like you are talking about the grid lines. Put something similar to the following into your LineChart declaration. mx:backgroundElements mx:GridLines direction=horizontal mx:horizontalFill mx:SolidColor color=0xFF / /mx:horizontalFill /mx:GridLines /mx:backgroundElements Look at the GridLines class in the docs for more info. The above is taken from the example there. HTH, Doug --- In flexcoders@yahoogroups.com, luoxuanhuayelin [EMAIL PROTECTED] wrote: In a linechart, if the backgroundColor of Application is not #ff,there will be some white horizontal lines in the linechart. how to change the line's color?? thanks link to a snapshot of my linechart http://bbs.blueidea.com/attachment.php?aid=80668noupdate=yes
Re: [flexcoders] Re: general flex usage question
On Tue, Mar 4, 2008 at 5:03 PM, Abyss Knight [EMAIL PROTECTED] wrote: Flex really lends itself to application development, rather than entire website development. Widgets, full RIAs, and other projects within the site are more of how I use Flex in the workplace. Of course, with the Apache module which compiles MXML on the fly, there really isn't a reason you could not write an entire site in Flex or AS3. I agree with you with regards to Flex lending itself to application development. That is what I use it for. For web sites, since I use content management systems, I use Ajax or dynamically generated html from server pages. Even though you can create web sites with Flash or Flex, that doesn't mean you should create it all in Flash or Flex. You can do a mix of html and swf, though. I wouldn't advise someone to create web sites based mainly in swf. At least that is what I think. Fidel.
Re: [flexcoders] Possible as3.0 bug?
Are you trying to read a boolean from a xml document? If so, try it like that: _miniMapPack=new MiniMapPack(_miniMap.child(active).toString() == true ); Cheers Ralf. On Tue, Mar 4, 2008 at 6:02 PM, Joe [EMAIL PROTECTED] wrote: Hey all, So I am making an awesome class, that does awesome things. Really Awesome. :P Anyways, So i get to the point were I am about to init a custom Class, called MiniMapPack. _miniMapPack=new MiniMapPack(_miniMap.child(active)); passes a true value, even though the data is set to false. So I assume, that It is just reading if it is there or not. However, When i make a getValue method... private function getValue(item:*):*{ //no code is in this method } without anything inside of it, I can now pass the accurate value. Such as: _miniMap:XML; _miniMapPack:MiniMapPack; Before: _miniMap.child(active); //false _miniMapPack=new MiniMapPack(_miniMap.child(active); //true; After: _miniMap.child(active); //false _miniMapPack=new MiniMapPack(getValue(_miniMap.child(active)); //false; Interesting, eh? Anyone have an explanation? -- -Joe -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany
Re: [flexcoders] Digital Clock
On Tue, Mar 4, 2008 at 5:30 PM, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 04 Mar 2008, Fidel Viegas wrote: Does anyone have a sample digital clock I can have a look at? Or give me a pointer? Would this not just be a suitable font and mx:Text ? Yes. Sometimes your brains are so tired that you miss the most obvious things. The timer object didn't even come to my mind. :D Thanks!
RE: [flexcoders] WSDL connection failing
If you get an error from the url in a browser, the problem is on the server side, not the Flex client. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clinton D. Judy Sent: Tuesday, March 04, 2008 11:45 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] WSDL connection failing That's how I get that second error. Normally I see the xml stuff, when appending ?wsdl to the end of the url, but that's the error I see instead. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ramnish Kalsi Sent: Tuesday, March 04, 2008 11:26 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] WSDL connection failing Could it be a DNS issue. Are you able to access wsdl via browser ? --ramnish On 04/03/2008, Clinton D. Judy [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I've seen several 'solutions' to this problem that don't seem to solve what I'm doing here. Maybe someone here can help. I have a Flex application on an asp.net backend. The backend exposes itself as a series of webservices, asmx files that connect to VB files that connect to MS SQL servers. Since this morning, the application does not work. The error code in Flex states Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (https://www.linkhere.com/REFERENCES.asmx?wsdl) https://www.linkhere.com/REFERENCES.asmx?wsdl%29 . But I haven't touched this program in weeks. I know it was working yesterday, and it's not working today. If I go to the link, I get this: Server Application Unavailable - The web application you are attempting to access on this web server is currently unavailable. Please hit the 'Refresh' button in your web browser to retry your request. Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. My DBA looked at the application log, and can't find anything there. So I'm still stumped at where the problem actually lies. Anyone have any good leads? Clinton Judy Web Developer Glenn O. Hawbaker, Inc.
RE: [flexcoders] Re: [Bindable] doesn't work when updating properties in an object
Also look into the itemUpdated() method. A full explanation is in the docs under the title: Collection events and manual change notification Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Danny Gold Sent: Tuesday, March 04, 2008 10:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: [Bindable] doesn't work when updating properties in an object If the dataField of the column in the dataGrid is set to a Bindable property on the object, the column should update for that row. [Bindable] on the ArrayCollection only pertains to changes to the collection, i.e adding and removing items or changing the AC to reference a different ArrayCollection. Changes to a property on an object will only be dispatched to listeners on that specific property. Make sure your entire object is Bindable or at least the properties displayed in the DataGrid. Also, if you are using a dynamic object, its properties will not be Bindable. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , bjorn - [EMAIL PROTECTED] wrote: I've got a DataGrid which uses a [Bindable] ArrayCollection as a dataProvider. This arraycollection consits of objects. If I change a property (e.g. myobject.value = 100) this is not reflected by the DataGrid. When I click the column header to make it sort by value I see the change. I guess I have to dispatch an event to the dataProvider to tell it that a value in one of its objects has changed. I tried doing that this way: var propEv:PropertyChangeEvent = new PropertyChangeEvent( PropertyChangeEvent.PROPERTY_CHANGE, false, false, PropertyChangeEventKind.UPDATE, property, valueBefore, item[ property ], item); ArrayCollection(this.dataProvider).dispatchEvent( propEv ); .. from inside my datagrid, but that didn't do much. Best regards, Bjørn -- http://www.juicability.com http://www.juicability.com - flex blog http://www.43min.com http://www.43min.com - funny movies
RE: [flexcoders] Re: showDataTips are not working for the Datagrid columns having itemRenderers
I think columnIndex is a property on listData. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dfalling Sent: Tuesday, March 04, 2008 10:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: showDataTips are not working for the Datagrid columns having itemRenderers Thanks for the response... My confusion is because I'm not sure exactly how to get access to the column from the item renderer. I'm using data[DataGridListData(listData).dataField] to access the data to make reusable, but don't see any way via data or listData to get a reference to the column. If there's another way to get at itemToData or the dataTipFunction, I'd love to hear it. Thanks. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: dataTipField/dataTipFunction is used to map the dataProvider to a string to be displayed by a renderer. The renderer can just call itemToDataTip(data) on the column. The resulting string is the dataTip/tooltip. If I plug such a renderer into a DG with data that looks like { firstname: alex, lastname: harui } I can set the dataTipField to lastname, but If I've got some complex XML like person name firstNameAlex/firstName lastNameHarui/lastName /name address citySF/city stateCA/state /address /person I can cook up a dataTipFunction like data..lastName + , + data..firstName + + data..city I think that's what you want, or I don't understand what you're looking for. -Alex
[flexcoders] Silverlight vs. Flash...
So - not really a Flex thing - but I did notice while cruising around the Microsoft website (looking for work stuff)... there's a LOT of flash in there... kinda funny how there's a big developer push to develop with Silverlight (on the part of Microsoft) and yet, they utilize Flash technology quite a bit. I guess there is a difference between just an animation and a full fledged RIA... just thought it was interesting (reminded me of the old days, Microsoft using *nix for the stability... hahaha)
Re: [flexcoders] Re: Flex Component Kit for Flex 3
We decided that many of the folks who want the FCK would not necessarily want to download the SDK, so we made it available separately. It is the SDK team who develops it though, and you can find it checked in to the Subversion repo. Matt On 3/4/08 7:33 AM, joshuajnoble [EMAIL PROTECTED] wrote: So, is the final plan to have this included in the SDK or not? I'm a little confused about that. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com , jack_freud [EMAIL PROTECTED] wrote: Thanks! I was stuck at this page: http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetailloc=en_usextid=1273018 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com , Matt Chotin mchotin@ wrote: You can get it from here: http://www.adobe.com/go/flex3_skinning I need to look into why we haven't made the links more obvious. On 2/27/08 7:18 AM, Muzak p.ginneberge@ wrote: Is this available yet, if so, where is it? On the following page: http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetailloc=en_usextid=1273018 it says: The final version will be included as part of the Flex 3 SDK Well if it is, it's very well hidden.. regards, Muzak
Re: [flexcoders] Re: Flex Builder 3 vs SDK and Charting
We wrote the license to allow you to copy the dataviz.swc and a valid serial from one of your developer machines onto the build machine. So assuming your developers have FB Pro and are set, your build machine will be fine too. Matt On 3/4/08 6:36 AM, krieger824 [EMAIL PROTECTED] wrote: I think I was a bit unclear in my question. What I meant to ask was if there was a way to get the charting libraries without also purchasing the full Flex Builder. We have several Flex developers on the team who are using FB, but our entire codebase (which contains other technologies as well) is built nightly by a build machine. I was trying to find out if it's possible to obtain a separate license just for the datavisualization package, to be used with the SDK, on the build machine. But from the sound of it, it's either all or nothing (figuratively speaking of course, since the SDK is far from nothing)? I'm assuming it would be breaking the license agreement if one of the developers copied his dataviz package to the build machine? Thanks, oliver --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com , Matt Chotin [EMAIL PROTECTED] wrote: Yes, if you install FB Pro you can then copy the datavisualization.swc into your SDK, apply your FB Pro serial number in flex-config (or on the command-line) and away you go. Matt On 3/3/08 9:02 PM, Beau Scott [EMAIL PROTECTED] wrote: You just have to include the charting SWC in your lib path (either the command line option or your custom flex-config.xml file) and make sure your charting and fb3 license code are in your flex-config.xml file. Beau From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com ] On Behalf Of krieger824 Sent: Monday, March 03, 2008 6:38 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Flex Builder 3 vs SDK and Charting Hi Matt, since you said that the charting libraries only come with Flex 3 Pro, is there a command-line only version of Flex 3 Pro available? And if not, does this mean it will not be possible to compile any charting projects without installing Flex Builder? I tried to look for an add-on package similar to the way it was done in Flex 2, but didn't seem to be able to find a download link. Thanks, oliver --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com , Matt Chotin mchotin@ wrote: Hi, Flex SDK does not include charting functionality on its own. Flex Builder Pro is what provides charting as of Flex 3, and that charting has been improved since Flex 2 with new features such as the Advanced DataGrid, data-oriented graphics API, etc. Matt On 2/27/08 8:59 AM, Troy Gilbert troy.gilbert@ wrote: It states that the Flex 3 SDK has more charting capabilities than the Flex Builder 3. I came across with the same impression. AFAIK, the Flex SDK and Flex Builder 3 Standard have the same capabilities (since Flex Builder 3 Standard uses the SDK!), and I believe Flex Builder 3 Pro has some additional capabilities, which I assume to be design view related or wizards, in regards to charting. Of course, my expectation until I saw that was that the Flex SDK stand-alone (free) doesn't include any charting, but who knows... I'd chalk it up to bad writing/marketing... Troy. No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.3/1308 - Release Date: 3/3/2008 10:01 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.3/1308 - Release Date: 3/3/2008 10:01 AM
Re: [flexcoders] Re: Pros and cons of bindable versus dispatching one's own events?
You can also use a custom event, and use the same one for multiple (computed) properties. I wrote this up here: http://flexygen.wordpress.com/2008/01/24/computed-properties-and-binding/ On Sat, Mar 1, 2008 at 10:01 AM, JustusLogan [EMAIL PROTECTED] wrote: I read the links provided by Doug (thanks!) and came up with this. Keep in mind that the age property doesn't have an instance field, so there's no possibility of a corresponding setter. Therefore, the change event needed to be broadcast from the set dob (i.e., changing one's DOB also change's one's age). Note that there's a [Bindable] on the whole class, to allow bindings to other properties. public function set dob(dob:Date):void { var oldAge:int = age; this._dob = dob; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, age, oldAge, age)); } [Bindable(event=propertyChange)] public function get age():int{ // Yes, this is a poor algorythm. It's just to illustrate a point! return (new Date().getTime() - dob.getTime()) / 1000 / 60 / 60 / 24 / 365; } --- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote: You can make read-only properties bindable. In your case your age property is a read-only property since it only has a getter. The normal bindable stuff doesn't work on that because bindable properties require both a getter and a setter to work. But if you define only a getter you can still use the [Bindable] metadata tag, but you have to dispatch a custom event that tells everything that the value has updated. Check out these links: http://www.rubenswieringa.com/blog/binding-read-only-accessors-in-flex http://dynamicflash.com/2006/12/databinding-to-read-only-properties-in-flex-2/
Re: [flexcoders] general flex usage question
On Tue, Mar 04, 2008 at 10:11:26AM -0500, Chad Gray wrote: I am curious how people plan on using Flex in their web apps. I mean like will you being doing the entire web site in one flex app or will you have a mix of HTML/(insert favorite server side language) with Flex apps scattered around in the HTML. We are phasing out a legacy HTML presentation in favor of Flex. We do this by replacing functional aspects of our existing site with Flex applications. For example, one area of our site is a 15 screen order entry process. We have dropped in a Flex replacement for that functionality. In another area, customer service representatives check the status of customer printing orders that are being printed on high speed printing lines at various US locations. We have dropped in a Flex replacement for that. Since the original HTNL nevigation used a tabbed interface with sidebar buttons, we have found it fairly easy to drop in Flex apps to replace various subsystems. This also helps mitigate the concern that I have with creating a gigantic, monolithic application in Flex. -Jeff
RE: [flexcoders] How to efficiently copy a filtered and sorted ArrayCollection?
Collection2.source = collection1.toArray() From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of m.ar80 Sent: Tuesday, March 04, 2008 4:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to efficiently copy a filtered and sorted ArrayCollection? I have to make copy of a filtered and sorted array collection. Iterating over the source array of the first collection and then adding each item iterated to the second collection is not an efficient way of doing it because each item added is re-filtered and re-sorted in the new collection even though its filter status and sorted position is already known in the first collection. Is there any better way of doing this? Thanks.
RE: [flexcoders] Stupid question regarding Alex Harui's Modules PPT
A module loaded into the main application domain cannot be unloaded. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aduston1976 Sent: Tuesday, March 04, 2008 7:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Stupid question regarding Alex Harui's Modules PPT In Alex Harui's Modules powerpoint (http://blogs.adobe.com/aharui/360Flex2007/Modules.ppt/Modules.ppt http://blogs.adobe.com/aharui/360Flex2007/Modules.ppt/Modules.ppt ) he explains the problem that can result when classes are defined in a module and then accessed from another module. In Slide 20 he shows one solution for shared code between modules: load the common code into ApplicationDomain.currentDomain before loading the modules that use the common code. My stupid question: Why not just load all modules into ApplicationDomain.currentDomain? In many scenarios, this could eliminate problems with class definitions being defined in certain modules and being invisible in others. Maybe Alex's blog is a better place to ask this question, I'm not sure. Thank you, Adam
RE: [flexcoders] datagrid with checkbox implementation
Try: mx:DataGridColumn id=column4 textAlign=center headerText=Multi width=100 dataField=multi mx:itemRenderer mx:Component mx:CheckBox / /mx:Component /mx:itemRenderer /mx:DataGridColumn From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Preet Sent: Tuesday, March 04, 2008 1:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] datagrid with checkbox implementation Hi All, Hi in my application am using datagrid in that am using dataprovider for displaying the data the data has been retrieving using remote object. am using the check box within itemrenderer. mx:DataGridColumn id=column4 textAlign=center headerText=Multi width=100 dataField=multi mx:itemRenderer mx:Component mx:CheckBox selected={data.multi}/ /mx:Component /mx:itemRenderer /mx:DataGridColumn by using the above code all the checkboxes are selected. But when getting the data from remote object I have some true and false values these values are reflected on comboBox. When it is true then checkbox is checked otherwise not selected. How to use the functionality for that. can anyone help me how to achieve this. --tomt.
[flexcoders] A persistent logon system in flex?
I'm trying to implement a remember me feature in a Flex/BlazeDS application. This is where users enter their credentials in a flex message box, and something identifying their logon session is stored on the flex client, even if they close and re-open the application. I've been looking at storing this information in attributes on FlexSession and FlexClient, but these are temporary, and any attributes get deleted when the application is closed. Has anyone been able to do this, without reverting to an ugly ajax bridge? The server-side is a simple tomcat servlet. Thanks! Mike
Re: [flexcoders] WSDL connection failing
Can you Ping that URL, Telnet on port 80 for that URL Any domain changes etc in the past day. ? If you are unable to ping/telnet, I would trouble my network guy, rather than poor dba. :) --thnx On 04/03/2008, Clinton D. Judy [EMAIL PROTECTED] wrote: That's how I get that second error. Normally I see the xml stuff, when appending ?wsdl to the end of the url, but that's the error I see instead. *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Ramnish Kalsi *Sent:* Tuesday, March 04, 2008 11:26 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] WSDL connection failing Could it be a DNS issue. Are you able to access wsdl via browser ? --ramnish On 04/03/2008, *Clinton D. Judy* [EMAIL PROTECTED] wrote: I've seen several 'solutions' to this problem that don't seem to solve what I'm doing here. Maybe someone here can help. I have a Flex application on an asp.net backend. The backend exposes itself as a series of webservices, asmx files that connect to VB files that connect to MS SQL servers. Since this morning, the application does not work. The error code in Flex states Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (https://www.linkhere.com/REFERENCES.asmx?wsdl)https://www.linkhere.com/REFERENCES.asmx?wsdl%29. But I haven't touched this program in weeks. I know it was working yesterday, and it's not working today. If I go to the link, I get this: Server Application Unavailable - The web application you are attempting to access on this web server is currently unavailable. Please hit the 'Refresh' button in your web browser to retry your request. *Administrator Note: *An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. My DBA looked at the application log, and can't find anything there. So I'm still stumped at where the problem actually lies. Anyone have any good leads? Clinton Judy Web Developer Glenn O. Hawbaker, Inc.
[flexcoders] How can I change ToolTip styles for each tooltip in an application?
It seems like the only way to manipulate ToolTip style is through the css ToolTip. I'd like to have different styles for different tooltips. How would that be done?
Re: [flexcoders] A persistent logon system in flex?
can you use sharedobjects? On Tue, Mar 4, 2008 at 1:13 PM, mbhoisie [EMAIL PROTECTED] wrote: I'm trying to implement a remember me feature in a Flex/BlazeDS application. This is where users enter their credentials in a flex message box, and something identifying their logon session is stored on the flex client, even if they close and re-open the application. I've been looking at storing this information in attributes on FlexSession and FlexClient, but these are temporary, and any attributes get deleted when the application is closed. Has anyone been able to do this, without reverting to an ugly ajax bridge? The server-side is a simple tomcat servlet. Thanks! Mike
RE: [flexcoders] A persistent logon system in flex?
Store it in a local SharedObject maybe? I’d make a hash that could be validated by whatever your authentication system is rather than the clear text user/pass though. Beau From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mbhoisie Sent: Tuesday, March 04, 2008 11:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] A persistent logon system in flex? I'm trying to implement a remember me feature in a Flex/BlazeDS application. This is where users enter their credentials in a flex message box, and something identifying their logon session is stored on the flex client, even if they close and re-open the application. I've been looking at storing this information in attributes on FlexSession and FlexClient, but these are temporary, and any attributes get deleted when the application is closed. Has anyone been able to do this, without reverting to an ugly ajax bridge? The server-side is a simple tomcat servlet. Thanks! Mike No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.4/1310 - Release Date: 3/4/2008 8:35 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.4/1310 - Release Date: 3/4/2008 8:35 AM image001.jpgimage002.jpg
RE: [flexcoders] ComboBox dropdown position
There is no official API to do that. Feel free to file an enhancement request. You could probably use some undocumented APIs and override onTweenUpdate and position the dropdown there. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aasim Sent: Tuesday, March 04, 2008 8:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ComboBox dropdown position Hi Group, how could i change the combobox dropdown x position such that it opens aligned to the right edge rather than the left edge of the combobox control? The reason i would want such a functionality is since my combobox is placed to the right edge of the application and the dropdown is getting truncated since it has a larger width specified than the combobox control. regards, Aasim
[flexcoders] Re: Flex Builder complaint
Sorry to hear about your files, I did experience some similarity on a big project, but I tracked it back to my power supply on my laptop, here is my case, I was in a hurry and closed my flex workspace in flexbuilder and unpluged my power supply while windows XP was preforming shutdown. When I bootet win later. It started up whit CHKDSK C: and found a bunch of corrupted files, so the work around here is easy let XP shutdown before you unplug the power supply. or unplug before you hit the Turn off button in XP. this CHKDSK removed the files that was last modifyd and thows left behimd was all empty inside but the bytes was the, Gald I had a working backup :) Cato Paus --- In flexcoders@yahoogroups.com, Paul Decoursey [EMAIL PROTECTED] wrote: I just imported some projects from Flex 2 into Flex 3 and it wiped out my html-templates... I spent hours tweaking those files and all that work is gone.
[flexcoders] Blur Area Question
Hello: I have a question about the Blur Effect Also, is there a way to specify blur area? Example: if I have a picture, and I just want to blur the 4 edges, can I control the blur area? Thanks, Michael.
RE: [flexcoders] Dynamically highlighting a datagrid row
The highlight works for me in this example: ?xml version=1.0 encoding=UTF-8 standalone=no? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; verticalGap=0 xmlns:local=* height=500 mx:Script ![CDATA[ private var arr:Array = [ { enabled: false, selected: false, firstName: Alex, lastName: Harui }, { enabled: true, selected: true, firstName: Gordon, lastName: Smith }, { enabled: false, selected: false, firstName: Deepa, lastName: Subramanian }, { enabled: true, selected: false, firstName: Matt, lastName: Chotin }, { enabled: false, selected: true, firstName: Ely, lastName: Greenfield }, { enabled: true, selected: false, firstName: Kevin, lastName: Lynch }, { enabled: false, selected: false, firstName: Shantanu, lastName: Narayan }, { enabled: true, selected: false, firstName: Joan, lastName: Lafferty }, { enabled: false, selected: false, firstName: Ryan, lastName: Frishberg }, { enabled: true, selected: false, firstName: Jason, lastName: Szeto }, { enabled: false, selected: false, firstName: Mark, lastName: Anders }, { enabled: true, selected: false, firstName: Peter, lastName: Flynn }, { enabled: false, selected: false, firstName: Heidi, lastName: Williams } ]; ]] /mx:Script mx:ComboBox id=cb initialize=cb.dataProvider=arr labelField=lastName mx:dropdownFactory mx:Component mx:DataGrid mx:columns mx:DataGridColumn dataField=firstName headerText=First Name / mx:DataGridColumn dataField=lastName headerText=Last Name / /mx:columns /mx:DataGrid /mx:Component /mx:dropdownFactory /mx:ComboBox /mx:Application From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dbronk Sent: Tuesday, March 04, 2008 8:36 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamically highlighting a datagrid row I've looked for a combobox that drops down a datagrid, but have not found one so I'm building one that suits my needs. I have my POC working but after selecting a row in the datagrid and the combobox closing as it should, then reopening the combobox loses the hightlighted row in the datagrid. I've successfully reset the datagrid selectedIndex to what it should be, but I can't figure out how to highlight that row. I'm asking for two suggestions: 1. If any one knows of a combobox that drops down a datagrid I'd like to know about it as I don't like recreating the wheel. 2. Advice on how to dynamically highlight the datagrid row. Thanks, Dale
[flexcoders] Re: Flex Encryption and Flex Application check
Apparently, the Sothink decompiler can handle a flex app. It probably won't give you back any mxml, but will probably grab the generated AS3 code. http://blog.everythingflex.com/2008/02/29/check-you-as3-code/ Check out nitrolm.com if you want to do swf encryption. -Andrew
Re: [flexcoders] Re: Flex Encryption and Flex Application check
yes it can and it doesnt give mxml per say but the ones that are MXML usually start with _mxml so you can just browse them though. I have decomplied about 3 applications and they are did decomplie and showed all the code. - Original Message From: andrewwestberg [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, March 4, 2008 12:45:44 PM Subject: [flexcoders] Re: Flex Encryption and Flex Application check Apparently, the Sothink decompiler can handle a flex app. It probably won't give you back any mxml, but will probably grab the generated AS3 code. http://blog. everythingflex. com/2008/ 02/29/check- you-as3-code/ Check out nitrolm.com if you want to do swf encryption. -Andrew Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
[flexcoders] AdvancedDataGrid - selecting a cell
I am having a problem with ADG. It has 3 columns. I am dynamically adding records to it when a user moves a cursor from a cell down. I see that when I move a mouse over third column in some records (at least in one in my testing) the row does not change its border and the cell does not accept the cursor after I click on it. Doing some manipulations with mouse and keyboard will eventually position the cursor in that cell. Any idea what's going on? I am using trial version of Flex 3. Thanks
[flexcoders] Global keyboard capture?
I'm wanting to globally capture the keyboard in my Flex app. I want to be notified of every keyboard event that happens as long as the Flash Player has the focus... regardless of whether the event happens when a UIComponent has keyboard focus or not. Here's what I'm doing: stage.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyboard, false, int.MAX_VALUE); stage.addEventListener(KeyboardEvent.KEY_UP, handleKeyboard, false, int.MAX_VALUE); stage.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyboard, true, int.MAX_VALUE); stage.addEventListener(KeyboardEvent.KEY_UP, handleKeyboard, true, int.MAX_VALUE); Since the stage is at the top of the display list, and since I'm listening for events in both the capture and bubble phase, and since I have the highest possible event priority, should I see all keyboard events? The problem is that I'm not... I've got a situation in my app where I start seeing only keyDown events with no matching keyUp events. It happens after I click on a ComboBox drop-down in a popup, then the popup is closed. At that point, I only get keyDown events until I click on another UI component. Any ideas what could be happening here? In general, is there a way I can guarantee that I can direct *all* keyboard events to a given function? Thanks, Troy.
[flexcoders] Flickr Libraries on Adobe Labs
Greetings - Have been trying to use the Flickr AS3 libraries on labs.adobe.com (now hosted on Google Code) and seem to be hitting the same early roadblocks that many have, ie at the get authorization token area of things. Has anyone gotten past this, or have alternate code/samples etc. Note that if anyone needs even earlier help, regarding the api_key and shared secret, lemme know as I've gotten at least that far. cheers, ethan
[flexcoders] Re: AdvancedDataGrid - selecting a cell
In fact, it is even simplier. The grid comes with an empty record. Moving a mouse over second column I have noticed that a mouse pointer will change to mouse arrow from the middle of the column while moving to the right. And it will be staying like this over second column as well. Moving mouse to the left over being second column will change mouse pointer into the vertical. --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: I am having a problem with ADG. It has 3 columns. I am dynamically adding records to it when a user moves a cursor from a cell down. I see that when I move a mouse over third column in some records (at least in one in my testing) the row does not change its border and the cell does not accept the cursor after I click on it. Doing some manipulations with mouse and keyboard will eventually position the cursor in that cell. Any idea what's going on? I am using trial version of Flex 3. Thanks
Re: [flexcoders] Re: AdvancedDataGrid - Changing the background color on a row.
Oh, I fully understand why it's a problem with how they've decided to implement it. I'm just saying they might rethink on how they want to implement it if the outcome is that they're missing a feature that's pretty standard on every other grid component out there. Who knows, maybe in Flex 4... On Thu, Feb 21, 2008 at 8:20 PM, sreeni_r [EMAIL PROTECTED] wrote: I think it is the problem with itemRenderers or TextField in particular. If a itemRenderer doesn't support backgroundColor as a style there is very little ADG can do. Hence a small tweak is required to get this working. As TextField doesn't support alpha when background is true some users don't like this idea and go on to override the drawRowBackground. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Pan Troglodytes [EMAIL PROTECTED] wrote: I am fairly shocked that AdvancedDataGrid does not support this out of the box. They went to a lot of trouble to make styling a single cell easy, yet left out one of the most important parts. Hope this is added before release. On Thu, Feb 21, 2008 at 12:33 AM, sreeni_r [EMAIL PROTECTED] wrote: I have posted a working sample here which I think you can tweak it work your scenario. http://flexpearls.blogspot.com/2008/02/row-background-color- in.html -Sreenivas --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.comflexcoders% 40yahoogroups.com, Dominic Pazula dompazz@ wrote: I thought this would be easy to do, but I have been banging my head on it for a while. I'm wanting to let the user mark rows as they scroll through the ADG. I created a function myRowStyle and set styleFunction=myRowStyle. What I cannot figure out is how to change the background color on the row. I've figured out how to change just about everything else. Here is the myRowStyle function. I am just setting a static set of rows to the style to help me figure this out. private function myRowStyle(data:Object, col:AdvancedDataGridColumn):Object{ var vals:Array = [0, 2, 4, 6]; var i:int = dg.dataProvider.getItemIndex(data); if (vals.indexOf(i) = 0){ var o:Object = new Object; o.color = 0x00; o.fontWeight = bold; o.backgroundColor = 0xFF; return o; } else return null; } o.backgroundColor is just my latest attempt. I've tried everything I can think of, but obviously have not thought of everything. Does anyone know the trick to doing this? Thanks Dominic -- Jason -- Jason