[flexcoders] Re: How to config Flex Messaging with Sun One Java System Application server?
--- In flexcoders@yahoogroups.com, flexhtoo [EMAIL PROTECTED] wrote: I want to use flex's messaging service in Sun One application server which is developed by Sun Microsystem. I want to implyment Chat program with Flex. So I need to know how to config and how to add lib files of Flex components into appliacation server? There are sample cconfiguration file but it doesn't work? What worng is it. services service id=message-service class=flex.messaging.services.MessageService messageType=flex.messaging.services.AsyncMessage adapter adapter-definition id=actionscript class=flex.messaging.services.messaging.adapters.ActionScriptAdapter default=false /adapter-definition adapter-definition id=jms class=flex.messaging.services.messaging.adapters.JMSAdapter default=true /adapter-definition /adapter destination id=chat-topic-jms properties jms destination-typeTopic/destination-type message-typejavax.jms.TextMessage/message- type connection- factoryjms/ConnectionFactoryconnection-factory destination-jndi- namequeue/LogWriter/destination-jndi-name destination-namequeue/LogWriter/destination- name delivery-modeNON_PERSISTENT/delivery-mode message-priorityDEFAULT_PRIORITY/message- priority acknowledge-modeAUTO_ACKNOWLEDGE/acknowledge- mode transacted-sessionsfalse/transacted-sessions !-- (Optional) JNDI environment. Use when using JMS on a remote JNDI server. Used to specify the JNDI environment to access an external JMS provider. -- initial-context-environment property nameContext.SECURITY_PRINCIPAL/name valueanonymous/value /property property nameContext.SECURITY_CREDENTIALS/name valueanonymous/value /property property nameContext.PROVIDER_URL/name valuehttp://{server.name}:1856/value /property property nameContext.INITIAL_CONTEXT_FACTORY/name valuefiorano.jms.runtime.naming.FioranoInitialContextFactory /value /property /initial-context-environment /jms /properties /destination /services Please give how to set classpath of flex messaging in web application. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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 config Flex Messaging with Sun One Java System Application server?
I want to use flex's messaging service in Sun One application server which is developed by Sun Microsystem. I want to implyment Chat program with Flex. So I need to know how to config and how to add lib files of Flex components into appliacation server? Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/7EuRwD/fOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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 make print-preview of printing work?
I want to know about print preview for printing work just like PrintDataGrid and Other Form Object. 1. How to construct? 2. What class need to use? 3. How to config with its? Thanks FlexHtoo. Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Does Flex make printing functions?
I can easily easily make print doc with Flex? I mease show print preview and configuration for printing setting and can Flex use crystal report? Thanks Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: How to hide backMonthButton and fwdMonthButton of DateChooser Control?
--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: In Beta 2, try mx:DateChooser initialize=backMonthButton.visible = false; fwdMonthButton.visible = false/ - Gordon Thanks Gordon for your reply. It get work in Beta 1. Do you know New Flex Beta 2 come out? I wanna know for Beta 2. In Beta 2, there are problems message: Access of undefined property 'backMonthButton' Access of undefined property 'fwdMonthButton'. http://labs.macromedia.com/wiki/index.php/Flex:Beta_1_to_Beta_2_Changes#Changes_to_the_mx.controls_Package Thanks. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexhtoo Sent: Wednesday, March 22, 2006 10:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to hide backMonthButton and fwdMonthButton of DateChooser Control? I want to konw how to hide backMonthButton and fwdMonthButton of DateChooser in Flex Beta 2. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] How to hide backMonthButton and fwdMonthButton of DateChooser Control?
I want to konw how to hide backMonthButton and fwdMonthButton of DateChooser in Flex Beta 2. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Is combobox has showDataTips attributes?
I want to know how to show tooltip in combo when its popup is opened just like list's showDataTips attribute functionality! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Is combobox has showDataTips attributes?
--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Yes, combobox contains a list, so you can set the showDataTips property on the drop-down list. f.ex: comboboxInstance.dropdown.showDataTips = true; -abdul Thanks abdul for your reply. But it is'nt show dataTips. instanceComboBox.dropdown.showDataTips = true; instanceComboBox.dropdown.dataTipFunction = showDataTipFun; public function showDataTipFun(param:Object):String { return param.data; } This code can't show dataTip in ComboBox. How would I do? On 3/11/06, flexhtoo [EMAIL PROTECTED] wrote: I want to know how to show tooltip in combo when its popup is opened just like list's showDataTips attribute functionality! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] How to add Icon to MenuItem?
I want to konw how to add icon to menuitem, and then How to customize the MenuCellRenderer? There are right way or not? MainMenu menuitem label=slick menuitem label=MenuItem A menuitem label=SubMenuItem 1-A / menuitem label=SubMenuItem 2-A / /menuitem menuitem label=MenuItem B / menuitem label=MenuItem C / menuitem label=MenuItem D menuitem label=SubMenuItem 1-D icon=icon1.png/ menuitem label=SubMenuItem 2-D icon=icon2.png/ menuitem label=SubMenuItem 3-D icon=icon3.png/ /menuitem /menuitem /MainMenu Please give me a way. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] String cann't create dynamic Class without instance!
Why flash.util.getClassByName(param:String):Class This method counld not load when this class has no instance. But It has pre-creation instance, it can load. // Sample codes public function load(param:String):Object { var ClassRef:Class = getClassByName(param); var instance:Object = ClassRef(); return instance; } var myControl:MyControl = mytester.load(com.test.MyControl); How to fix it or has another method for dynamic class creation? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] How to assign attribute value in XML?
Hi Flex. A.What method to assign/update the attribute value of XML object? var testXML:XML = testXML attr1=10 attr2=hello/; [EMAIL PROTECTED] = 20; 1) It isn't sutiable because of I didn't konw what attribute is to assign value. 2) But I have just attribute name with string value. For instance var a:String = attr1; //testXML.attribute(a) = 20; // It isn't assign!!! ??? ?How to it? ??? Assume that we don't konw what attributes had come to assign. We have just string of the attribute name to assign it. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] How to fix multiselected drag drop!
Hi, If multipleSelection property of List that can multiselected list but multiselected list can't drag into other List? How would we do?Thanks Pls! === CODE === ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* layout=horizontal creationComplete=complete(); mx:Script ![CDATA[ private var data:Array = [One, Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten]; public function complete():void { src.dataProvider = data; } ]] /mx:Script mx:List id=src width=100 height=200 dragEnabled=true dropEnabled=true dragMoveEnabled=true multipleSelection=true/ mx:List id=dest width=100 height=200 dragEnabled=true dropEnabled=true dragMoveEnabled=true multipleSelection=true/ /mx:Application === Here is errors! === Error: Cannot insert when current is beforeFirst at mx.collections::ListCollectionViewCursor/insert()[C:\dev\beta1\sdk\frameworks\mx\collections\ListCollectionViewCursor.as:315] at mx.controls.listclasses::ListBase/dragDropHandler()[C:\dev\beta1\sdk\frameworks\mx\controls\listclasses\ListBase.as:3701] at flash.events::EventDispatcher/dispatchEvent() at C:\dev\beta1\sdk\frameworks\mx\collections\ClassicSort.as$544::DragProxy/mouseUpHandler()[C:\dev\beta1\sdk\frameworks\mx\managers\DragManager.as:985] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] How to fix this error?
The following error had occur sometime. I can't catch within try catch block. How do I? It is flex fault or not? TypeError: Error #1009: null has no properties. at mx.core::UIComponent/focusInHandler() at mx.core::UIComponent/setFocus() at mx.managers::FocusManager/setFocus() at mx.managers::FocusManager/activate() at mx.managers::SystemManager/deactivate() at mx.managers::FocusManager/FocusManager$1683$private::hideHandler() at flash.events::EventDispatcher/dispatchEvent() at mx.controls::Menu/dispatchEvent() at mx.core::UIComponent/setVisible() at mx.core::UIComponent/set visible() at mx.controls::Menu/hide() at mx.controls::Menu/Menu$438$private::hideAllMenus() at mx.controls::Menu/mouseUpHandler() flexhtoo -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] How to compare Custom GUI Components?
Hi Flex Developers, I want to konw how to compmare with two custom gui component in AS? Pls let me know! Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Why JBoss WebService not working! I duno whose fault ( jboss, flex or just me!)
I tried to call web service from jboss 5 alpha version ( latest CVS checkout).It just too hard to call web service from flex. After I spend couple of hour and i found something. here is the soap request from SOAP monitor. It is failed version. ?xml version=1.0 encoding=utf-8? SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; SOAP-ENV:Body xmlns:ns0=http://www.slickbeans.com/MyWebService; ns0:setMyObj myObj ns0:myInt100/ns0:myInt ns0:myStringhello/ns0:myString ns0:myBooleantrue/ns0:myBoolean /myObj /ns0:setMyObj /SOAP-ENV:Body /SOAP-ENV:Envelope - here is the another soap request from SOAP monitor that worked. - ?xml version=1.0 encoding=utf-8? SOAP-ENV:Envelope xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; SOAP-ENV:Body n:setMyObj xmlns:n=http://www.slickbeans.com/MyWebService; myObj n:myBooleantrue/n:myBoolean n:myInt100/n:myInt n:myStringhello/n:myString /myObj /n:setMyObj /SOAP-ENV:Body /SOAP-ENV:Envelope -- The different between twos is xmlns:n=http://www.slickbeans.com/MyWebService move to operation (setMyObj) to Body(SOAP-ENV:Body). First request (that fail) is how flex encode object into SOAP request. eg. operation.send(myObj) Second request (that success) is maually send XML from web service. eg. myObjXML.setNameSpace(..); .. .. operation.request = myObjXML; operation.send(); I wanna work with first version that send the Object as SOAP request. I wanna know what SOAP version Flex is using and what is SOAP verion my WSDL using. I didnt attach source code because posting already very long. and source code testing are willing to post in request. Could someone explain to me why it is not working? Thanks in advance Here is the WSDL for the WebService --- definitions name='MyWebServiceService' targetNamespace='http://www.slickbeans.com/MyWebService' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://www.slickbeans.com/MyWebService' xmlns:xsd='http://www.w3.org/2001/XMLSchema' types schema elementFormDefault='qualified' targetNamespace='http://www.slickbeans.com/MyWebService' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://www.slickbeans.com/MyWebService' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' complexType name='MyCol' sequence element maxOccurs='unbounded' minOccurs='0' name='myObjs' nillable='true' type='tns:MyObj'/ /sequence /complexType complexType name='MyObj' sequence element name='myBoolean' type='boolean'/ element name='myInt' type='int'/ element name='myString' nillable='true' type='string'/ /sequence /complexType /schema /types message name='MyWebService_echo' part name='input' type='xsd:string'/ /message message name='MyWebService_conCatResponse' part name='result' type='xsd:string'/ /message message name='MyWebService_setLongResponse' /message message name='MyWebService_setInt' part name='input' type='xsd:int'/ /message message name='MyWebService_setMyObjsResponse' part name='result' type='xsd:int'/ /message message name='MyWebService_echoResponse' part name='result' type='xsd:string'/ /message message name='MyWebService_setMyObjs' part name='myObjOne' type='tns:MyObj'/ part name='myObjTwo' type='tns:MyObj'/ /message message name='MyWebService_setTwoIntResponse' /message message name='MyWebService_setTwoInt' part name='int_1' type='xsd:int'/ part name='int_2' type='xsd:int'/ /message message name='MyWebService_getMyObjResponse' part name='result' type='tns:MyObj'/ /message message name='MyWebService_getInt' /message message name='MyWebService_conCatDifType' part name='str' type='xsd:string'/ part name='iNumber' type='xsd:int'/ part name='long_1' type='xsd:long'/ /message message name='MyWebService_setIntResponse' /message message name='MyWebService_setLong' part name='input' type='xsd:long'/ /message message name='MyWebService_getMyCol' /message message
[flexcoders] How to send Objects into WebService Request!
If I have call WebService with Object in RPC and Doc Lit. Like that eg. person first-nameflex/first-name last-namehtoo/last-name friends friend-namePeter/friend-name friend-nameThomas/friend-name /friends emails email-addr[EMAIL PROTECTED]/email-addr email-addr[EMAIL PROTECTED]/email-addr /emails /person It structure for the WebService request that has schema in WSDL. I would like to send with AS3 into web-service. Flexhtoo! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: How to embed XML in AS3?
Thanks all for your replys! I like that embed in E4X AS3 in var embXML:XML = thanksthankjesterxl/thankthankStanislav Zayarsky/thankthankmanish.jethani/thank/thanks; I like that form! --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: E4X in AS3 allows true embedded XML, like so: var some_xml:XML = somexml/some; AS2 doesn't support that format, so you could do: var some_xml:XML = new XML(somexml/some); or: var some_xml:XML = new XML(); some_xml.parseXML(somexml/some); or use the MXML mx:XML tag which will embed XML. - Original Message - From: Stanislav Zayarsky [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, December 26, 2005 1:24 PM Subject: Re: [flexcoders] How to embed XML in AS3? I want to konw how to embed XML in AS2? Is xml MIME type? Let's try the next thing: create XML element in mxml and before this set in flex-config.xml file keep-generated-astrue/keep-generated-as. and then compile mxml. Then open generated *.as file and see what is there. From there we can take this script: var myXML:XMLNode; function createXML() { myXML = mx.utils.XMLUtil.createXML(document\n data/\n/document); } By this way we can manually embed XML file via ActionScript. Or I'm not right? On 12/26/05, Manish Jethani [EMAIL PROTECTED] wrote: On 12/24/05, flexhtoo [EMAIL PROTECTED] wrote: I want to konw how to embed XML in AS2? Is xml MIME type? I don't think there's a way to embed XML in ActionScript. You'll have to use the XML element in MXML. Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Why not XSD import not use in WSDL file in Flex WebService!
The following are that I call Web-Service in Flex! But I have one problem in this from. mx:WebService id=ws wsdl=http://localhost:8080/MyWebService/HelloWebService?WSDL; service=HelloService userProxy=false showBusyCursor=true fault=Alert.show('WSDL Load error'); mx:operation name=getHelloWorld concurrency=single resultFormat=e4x fault=opFaultHandler(event) result=opResultHandler(event)/ /mx:WebService mx:Button label=Hello World click=ws.getHelloWorld.send([{message:Hello Flex!!!}])/ mx:Script ![CDATA[ // Implement the event handler ]] /mx:Script In this situtation I haven't click could not result! It shown up error tns:helloWorld cannot resolve! That time I copy the WSDL manually and for fix this problem that I remove the xsd:schema xsd:import namespace=http://com.test.application/HelloWS; schemaLocation=http://localhost:8080/MyWebService/schema/HelloService_schema1.xsd/ /xsd:schema with its schemalocation in browse and copy the entire schema into that text. And then I run it. It's ok. Why can't import XSD in WSDL! And then Another Problem! It is RPC not Doc Lit... I want to konw how to and what change this source for Document Lit. Flexhtoo. Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] How to embed XML in AS3?
Which file are MIME in Flex Framewrok, that is contain TTF(True Type Font). I want to konw how to embed XML in AS2? Is xml MIME type? My App Directory Structure is the following. +--assets | | | +--employees.mxl | +--main.as Flexhtoo Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: How to fix Send Element not resolvable error call from WS in Flex!
/xsd:complexContent /xsd:complexType xsd:complexType name=revenueReport xsd:sequence xsd:element name=activeInd type=xsd:boolean/ xsd:element name=createDtTm type=xsd:dateTime minOccurs=0/ xsd:element name=createUserId type=xsd:long/ xsd:element name=enterpriseId type=xsd:long/ xsd:element name=id type=xsd:long/ xsd:element name=legalEntity type=ns34:legalEntity minOccurs=0 xmlns:ns34=http://servlet.ws.test.jumino.com/ServletWS/ xsd:element name=permission type=xsd:int/ xsd:element name=reportNumber type=xsd:short/ xsd:element name=reportedRevenue type=xsd:decimal minOccurs=0/ xsd:element name=reportingCurrency type=xsd:short/ xsd:element name=reportingQuarter type=xsd:short/ xsd:element name=reportingYear type=xsd:short/ xsd:element name=updtDtTm type=xsd:dateTime minOccurs=0/ xsd:element name=updtUserId type=xsd:long/ xsd:element name=validUntilDtTm type=xsd:dateTime minOccurs=0/ /xsd:sequence /xsd:complexType xsd:complexType name=searchIndexEntry xsd:sequence xsd:element name=account type=ns35:account nillable=true maxOccurs=unbounded minOccurs=0 xmlns:ns35=http://servlet.ws.test.jumino.com/ServletWS/ xsd:element name=accountRating type=xsd:short/ xsd:element name=accountState type=xsd:short/ xsd:element name=accountType type=xsd:short/ xsd:element name=activeInd type=xsd:boolean/ xsd:element name=aliasName type=xsd:string minOccurs=0/ xsd:element name=createDtTm type=xsd:dateTime minOccurs=0/ xsd:element name=createUserId type=xsd:long/ xsd:element name=description type=xsd:string minOccurs=0/ xsd:element name=emailAddress type=xsd:string minOccurs=0/ xsd:element name=enterpriseId type=xsd:long/ xsd:element name=fullName type=xsd:string minOccurs=0/ xsd:element name=id type=xsd:long/ xsd:element name=isMain type=xsd:boolean/ xsd:element name=permission type=xsd:int/ xsd:element name=phoneCityArea type=xsd:string minOccurs=0/ xsd:element name=phoneCountryPrefix type=xsd:short/ xsd:element name=phoneLocalNumber type=xsd:string minOccurs=0/ xsd:element name=phoneNumberFull type=xsd:string minOccurs=0/ xsd:element name=postalCity type=xsd:string minOccurs=0/ xsd:element name=postalCode type=xsd:string minOccurs=0/ xsd:element name=postalCountry type=xsd:short/ xsd:element name=postalStreet type=xsd:string minOccurs=0/ xsd:element name=updtDtTm type=xsd:dateTime minOccurs=0/ xsd:element name=updtUserId type=xsd:long/ xsd:element name=validUntilDtTm type=xsd:dateTime minOccurs=0/ xsd:element name=webUrl type=xsd:string minOccurs=0/ /xsd:sequence /xsd:complexType /xsd:schema /types message name=getAccount part name=parameters element=tns:getAccount/ /message message name=getAccountResponse part name=parameters element=tns:getAccountResponse/ /message portType name=ServletWS operation name=getAccount input message=tns:getAccount/ output message=tns:getAccountResponse/ /operation /portType binding name=MyPortBinding type=tns:ServletWS soap:binding transport=http://schemas.xmlsoap.org/soap/http; style=document/ operation name=getAccount soap:operation soapAction=urn:GetAccount/ input soap:body use=literal/ /input output soap:body use=literal/ /output /operation /binding service name=ServletWSService port name=MyPort binding=tns:MyPortBinding soap:address location=http://192.168.0.7:8080/SlickPOC-WebModule/ServletWSService; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl// /port /service /definitions ### Thanks, Flexhtoo --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Well that would explain why getAllPerson doesn't work, the WSDL only has getPerson :-) I can't tell if getPerson is supposed to take any parameters, it doesn't look like it. Also not sure if this will only take a literal request or support RPC encoding. I don't have time now set up something to simulate this but first thing to try is calling getPerson instead of getAllPerson. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexhtoo Sent: Friday, December 23, 2005 2:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to fix Send Element not resolvable error call from WS in Flex! ### There are WSDL ### ?xml version=1.0 encoding=UTF-8
[flexcoders] Re: How to small in Title window's title content area?
Thanks for your reply for this topic! flexhtoo --- In flexcoders@yahoogroups.com, Joan Tan [EMAIL PROTECTED] wrote: You can certainly use the width and height properties for TitleWindow to make the entire window smaller which will affect the content area. Then, if you want the header to be bigger, you can control it using the headerHeight property. I hope this helps. Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexhtoo Sent: Thursday, December 22, 2005 1:15 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to small in Title window's title content area? I have created TitleWindow that have Title content and close button! I assume the title area is a little big for my application. So I want to small title content area in Title Window? Flexhtoo! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . Yahoo! Groups Sponsor ~-- Most low income homes are not online. Make a difference this holiday season! http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] What event is data that can change in Editable DataGrid and how to updata its!
I want to create a datagrid in my application that is editable so i want to update data in gird. I can't trace what event trigger data change! I use to shown this data with data model. I was add data and update change in data grid. But its data not change e.g mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; creationComplete=srv.send() mx:Script import mx.collections.ArrayCollection; [Bindable] public var employees:ArrayCollection; /mx:Script mx:HTTPService id=srv url=../assets/employees.xml useProxy=false result=employees = new ArrayCollection(srv.result.list.employee)/ mx:DataGrid id=emp dataProvider={employees} width=300 editable=false click=gridClick(); mx:columns mx:Array mx:DataGridColumn columnName=name headerText=Name/ mx:DataGridColumn columnName=phone headerText=Phone/ mx:DataGridColumn columnName=email headerText=E-Mail/ mx:DataGridColumn columnName=active headerText=Active/ /mx:Array /mx:columns /mx:DataGrid /mx:Application 3 There are employees.xml in assets directory! ?xml version=1.0 encoding=utf-8? list employee nameChristina Coenraets/name phone555-219-2270/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameLouis Freligh/name phone555-219-2100/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameRonnie Hodgman/name phone555-219-2030/phone email[EMAIL PROTECTED]/email activefalse/active /employee /list What events and how to change this data in run-time? Flexhtoo Yahoo! Groups Sponsor ~-- AIDS in India: A lurking bomb. Click and help stop AIDS now. http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] How to fix Send Element not resolvable error call from WS in Flex!
mx:WebService id=PersonService destination=wsDest useProxy=false wsdl=http://localhost:8080/myHelloWorld/ServletWS?WSDL; mx:operation name=getAllPerson fault=showError(event); result=log(event); /mx:operation /mx:WebService mx:Button id=allPerson label=Get AllPerson click=try{ PersonService.getAllPerson.send(); }catch(e:Error){ Alert.show(Send: + e.message); }/ mx:Script ![CDATA[ import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; import mx.controls.Alert; public function log(event:ResultEvent) { // function implementation trace(Result from WS: + event.result.toString()); } public function showErrorDialog(error:FaultEvent) { // function implementation Alert.show(Error : + error.fault); } ]] /mx:Script There are my Web Service all flex application. It has call from WSDL Send: Element http://www.ourtest.org:/getAllPerson not resolvable error had come out. How to fix it this error! FlexHtoo Yahoo! Groups Sponsor ~-- Most low income homes are not online. Make a difference this holiday season! http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] How to small in Title window's title content area?
I have created TitleWindow that have Title content and close button! I assume the title area is a little big for my application. So I want to small title content area in Title Window? Flexhtoo! Yahoo! Groups Sponsor ~-- AIDS in India: A lurking bomb. Click and help stop AIDS now. http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: How to fix Send Element not resolvable error call from WS in Flex!
### There are WSDL ### ?xml version=1.0 encoding=UTF-8 standalone=yes? definitions targetNamespace=http://ws.test.com/Hello; name=HelloService xmlns:tns=http://ws.test.com/Hello; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns=http://schemas.xmlsoap.org/wsdl/; types xsd:schema xsd:import namespace=http://ws.test.com/Hello; schemaLocation=HelloService_schema1.xsd/ /xsd:schema /types message name=getPerson part name=parameters element=tns:getPerson/ /message message name=getPersonResponse part name=parameters element=tns:getPersonResponse/ /message portType name=Hello operation name=getPerson input message=tns:getPerson/ output message=tns:getPersonResponse/ /operation /portType binding name=MyPortBinding type=tns:Hello soap:binding transport=http://schemas.xmlsoap.org/soap/http; style=document/ operation name=getPerson soap:operation soapAction=urn:GetPerson/ input soap:body use=literal/ /input output soap:body use=literal/ /output /operation /binding service name=HelloService port name=MyPort binding=tns:MyPortBinding soap:address location=REPLACE_WITH_ACTUAL_URL/ /port /service /definitions ### And that WSDL import one xsd file describe in the following. ### ?xml version=1.0 encoding=UTF-8 standalone=yes? xs:schema version=1.0 targetNamespace=http://ws.test.com/Hello; xmlns:xs=http://www.w3.org/2001/XMLSchema; xs:element name=getPerson type=ns1:getPerson xmlns:ns1=http://ws.test.com/Hello/ xs:complexType name=getPerson/ xs:element name=getPersonResponse type=ns2:getPersonResponse xmlns:ns2=http://ws.test.com/Hello/ xs:complexType name=getPersonResponse xs:sequence xs:element name=return type=ns3:person minOccurs=0 xmlns:ns3=http://ws.test.com/Hello/ /xs:sequence /xs:complexType xs:complexType name=person xs:sequence xs:element name=age type=xs:int/ xs:element name=name type=xs:string minOccurs=0/ /xs:sequence /xs:complexType /xs:schema --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Can you post the WSDL? This makes it seem like the webservice wasn't able to figure out how to call the getAllPerson method either because the name is wrong or the parameters are wrong. Are there perhaps two getAllPerson methods (with different parameters)? Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexhtoo Sent: Thursday, December 22, 2005 1:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to fix Send Element not resolvable error call from WS in Flex! mx:WebService id=PersonService destination=wsDest useProxy=false wsdl=http://localhost:8080/myHelloWorld/ServletWS?WSDL; mx:operation name=getAllPerson fault=showError(event); result=log(event); /mx:operation /mx:WebService mx:Button id=allPerson label=Get AllPerson click=try{ PersonService.getAllPerson.send(); }catch(e:Error){ Alert.show(Send: + e.message); }/ mx:Script ![CDATA[ import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; import mx.controls.Alert; public function log(event:ResultEvent) { // function implementation trace(Result from WS: + event.result.toString()); } public function showErrorDialog(error:FaultEvent) { // function implementation Alert.show(Error : + error.fault); } ]] /mx:Script There are my Web Service all flex application. It has call from WSDL Send: Element http://www.ourtest.org:/getAllPerson not resolvable error had come out. How to fix it this error! FlexHtoo -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Most low income homes are not online. Make a difference this holiday season! http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: How do you change the color of text in a label
--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: What is the property that you use to change it? You can change text color with this code mx:Label id=resultLabel text=Text color changes!/ in script block . resultLabel.setStyle(text,#CFCFCF) Yahoo! Groups Sponsor ~-- Most low income homes are not online. Make a difference this holiday season! http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/