[flexcoders] Re: For Each loop with ArrayCollection
Thanks for your help... I got it by doing the following: for each (var testcompanyValue in testCompany) { for each (var testcompanyValue2 in testcompanyValue) { mytestcompanyOutput = mytestcompanyOutput + testcompanyValue2.toString() + \n; } } -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Is FDS the right choice for me?
On Saturday 12 August 2006 05:18, Jay Gibb wrote: Can anyone suggest another solution that I might not have considered? Depending in what you mean by 'push', and assuming you have a ColdFusion backend, you may be able to do away with FDS and replicate the functionality using polling and/or pre-save checks for currency. -- Tom Chiverton 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 St James's Court Brown Street Manchester M2 2JF. 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 Law Society. 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 8008. 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/ * 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] Duplicate function error using setters
Are you extending a Flex component? Maybe you are using avariable name already used by that component? Hilary www.bridel.org On 8/14/06, Oriol Gual [EMAIL PROTECTED] wrote: Hi,I'm getting a 1021 Duplicate function definition. when I declare the setters of to variables, there's no problem with the getters. The class is marked as Bindable, has a remote alias and both vars are private, and I'm using Flex 2 What I'm doing wrong?Thank you,Oriol. -- Hilary-- __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Duplicate function error using setters
No, I'm using Cairngorm, and it's a ValueObject. What is really freaking me out, is that if I copy the class, and just change the name of it there are no errors! Also, I can't override it because then I have a 1023 error ( Incompatible override), but I haven't declared it before. BTW I came to this because I wanted to declare the setter for a Date var, because I get a Coercion error when using remoting with AMFPHP, whatever I return it fails, milliseconds since 1970 or strings! Oriol.2006/8/14, Hilary Bridel [EMAIL PROTECTED]: Are you extending a Flex component? Maybe you are using avariable name already used by that component? Hilary www.bridel.org On 8/14/06, Oriol Gual [EMAIL PROTECTED] wrote: Hi,I'm getting a 1021 Duplicate function definition. when I declare the setters of to variables, there's no problem with the getters. The class is marked as Bindable, has a remote alias and both vars are private, and I'm using Flex 2 What I'm doing wrong?Thank you,Oriol. -- Hilary-- __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Duplicate function error using setters
I want to point out, that when implementing IUID there's no error with the setter of _uid.2006/8/14, Oriol Gual [EMAIL PROTECTED]: No, I'm using Cairngorm, and it's a ValueObject. What is really freaking me out, is that if I copy the class, and just change the name of it there are no errors! Also, I can't override it because then I have a 1023 error ( Incompatible override), but I haven't declared it before. BTW I came to this because I wanted to declare the setter for a Date var, because I get a Coercion error when using remoting with AMFPHP, whatever I return it fails, milliseconds since 1970 or strings! Oriol.2006/8/14, Hilary Bridel [EMAIL PROTECTED]: Are you extending a Flex component? Maybe you are using avariable name already used by that component? Hilary www.bridel.org On 8/14/06, Oriol Gual [EMAIL PROTECTED] wrote: Hi,I'm getting a 1021 Duplicate function definition. when I declare the setters of to variables, there's no problem with the getters. The class is marked as Bindable, has a remote alias and both vars are private, and I'm using Flex 2 What I'm doing wrong?Thank you,Oriol. -- Hilary-- __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Getting RPC Error, Channel.Connect.Failed error NetConnection.Call.Failed:HTTP
On Monday 14 August 2006 06:50, malik_robinson wrote: error NetConnection.Call.Failed: HTTP: Status 500] That's the internal error HTTP status code. What's in the server logs ? -- Tom Chiverton 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 St James's Court Brown Street Manchester M2 2JF. 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 Law Society. 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 8008. 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/ * 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] Duplicate function error using setters
On Sunday 13 August 2006 18:22, Oriol Gual wrote: What I'm doing wrong? Not posting your code :-) -- Tom Chiverton 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 St James's Court Brown Street Manchester M2 2JF. 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 Law Society. 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 8008. 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/ * 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] Duplicate function error using setters
I haven't posted it cause it's very simple:package com.example.vo { import com.adobe.cairngorm.vo.ValueObject; [RemoteClass(alias=com.example.vo.TestVO)] [Bindable] public class TestVO implements ValueObject { public var id : int;public function get id():int { return this.id;} public function set id(value:int):void { this.id=value; } } }Wow, while writing the post I've found the error, when I add a var to the model locator, like:public var test:TestVO;the 1021 error appears on the setter!2006/8/14, Tom Chiverton [EMAIL PROTECTED]:On Sunday 13 August 2006 18:22, Oriol Gual wrote: What I'm doing wrong?Not posting your code :-)--Tom ChivertonThis 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 St James's Court Brown Street Manchester M2 2JF.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 Law Society. CONFIDENTIALITYThis 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 8008. For more information about Halliwells LLP visit www.halliwells.com.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Duplicate function error using setters
public var id : int; is a typo, it should be private var id : int;2006/8/14, Oriol Gual [EMAIL PROTECTED]: I haven't posted it cause it's very simple:package com.example.vo { import com.adobe.cairngorm.vo.ValueObject; [RemoteClass(alias=com.example.vo.TestVO)] [Bindable] public class TestVO implements ValueObject { public var id : int;public function get id():int { return this.id;} public function set id(value:int):void { this.id=value; } } }Wow, while writing the post I've found the error, when I add a var to the model locator, like:public var test:TestVO;the 1021 error appears on the setter!2006/8/14, Tom Chiverton [EMAIL PROTECTED]: On Sunday 13 August 2006 18:22, Oriol Gual wrote: What I'm doing wrong?Not posting your code :-)--Tom ChivertonThis 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 St James's Court Brown Street Manchester M2 2JF.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 Law Society. CONFIDENTIALITYThis 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 8008. For more information about Halliwells LLP visit www.halliwells.com.--Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Duplicate function error using setters
Doing some more testing:- I've created a dummy class to test it, no problem: [RemoteClass(alias=com.example.vo.ProvaVO)] [Bindable] public class ProvaVO implements ValueObject { private var id : Number; public function get id():Number { return id; } public function set id(value:Number):void { id = value; } }- Then an event containing a test var: public class CrearProvaEvent extends CairngormEvent { public function CrearProvaEvent( prova : ProvaVO ) { super( ExampleControl.EVENT_CREAR_PROVA ); this.prova = prova; } public var prova : ProvaVO; } Still, there's no problem.After this I created I command:public class CrearProvaCommand implements Command, Responder { public function execute( event : CairngormEvent ) : void { var delegate : ProvaDelegate = new ProvaDelegate (this); var crearProvaEvent : CrearProvaEvent = CrearProvaEvent( event ); delegate.crearProva(crearProvaEvent.prova); }The bold line makes the 1021 error appear, in fact, any use of the class makes the error appear, anyone has an explanation for this?Any help will be very much appreciated, Oriol.PS: I've omitted the imports to save some space.2006/8/14, Oriol Gual [EMAIL PROTECTED]:I haven't posted it cause it's very simple: package com.example.vo { import com.adobe.cairngorm.vo.ValueObject; [RemoteClass(alias=com.example.vo.TestVO)] [Bindable] public class TestVO implements ValueObject { public var id : int;public function get id():int { return this.id;} public function set id(value:int):void { this.id=value; } } }Wow, while writing the post I've found the error, when I add a var to the model locator, like:public var test:TestVO;the 1021 error appears on the setter!2006/8/14, Tom Chiverton [EMAIL PROTECTED]: On Sunday 13 August 2006 18:22, Oriol Gual wrote: What I'm doing wrong?Not posting your code :-)--Tom ChivertonThis 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 St James's Court Brown Street Manchester M2 2JF.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 Law Society. CONFIDENTIALITYThis 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 8008. For more information about Halliwells LLP visit www.halliwells.com.--Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Duplicate function error using setters
I've found my error thanks to another post, I didn't know that the var should have a different name, like _id.Sorry and thanks :POriol.2006/8/14, Oriol Gual [EMAIL PROTECTED]:Doing some more testing:- I've created a dummy class to test it, no problem: [RemoteClass(alias=com.example.vo.ProvaVO)] [Bindable] public class ProvaVO implements ValueObject { private var id : Number; public function get id():Number { return id; } public function set id(value:Number):void { id = value; } }- Then an event containing a test var: public class CrearProvaEvent extends CairngormEvent { public function CrearProvaEvent( prova : ProvaVO ) { super( ExampleControl.EVENT_CREAR_PROVA ); this.prova = prova; } public var prova : ProvaVO; } Still, there's no problem.After this I created I command:public class CrearProvaCommand implements Command, Responder { public function execute( event : CairngormEvent ) : void { var delegate : ProvaDelegate = new ProvaDelegate (this); var crearProvaEvent : CrearProvaEvent = CrearProvaEvent( event ); delegate.crearProva(crearProvaEvent.prova); }The bold line makes the 1021 error appear, in fact, any use of the class makes the error appear, anyone has an explanation for this?Any help will be very much appreciated, Oriol.PS: I've omitted the imports to save some space. 2006/8/14, Oriol Gual [EMAIL PROTECTED]: I haven't posted it cause it's very simple: package com.example.vo { import com.adobe.cairngorm.vo.ValueObject; [RemoteClass(alias=com.example.vo.TestVO)] [Bindable] public class TestVO implements ValueObject { public var id : int;public function get id():int { return this.id;} public function set id(value:int):void { this.id=value; } } }Wow, while writing the post I've found the error, when I add a var to the model locator, like:public var test:TestVO;the 1021 error appears on the setter!2006/8/14, Tom Chiverton [EMAIL PROTECTED]: On Sunday 13 August 2006 18:22, Oriol Gual wrote: What I'm doing wrong?Not posting your code :-)--Tom ChivertonThis 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 St James's Court Brown Street Manchester M2 2JF.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 Law Society. CONFIDENTIALITYThis 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 8008. For more information about Halliwells LLP visit www.halliwells.com.--Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] flex2 final - datagrid sortableColumns=false and itemDoubleClick event issue
i have a datagrid with the following attributes. mx:DataGrid doubleClickEnabled=true sortableColumns=false itemDoubleClick=mx.controls.Alert.show('item double clicked') i'm finding that if i doubleClick the header, i'm getting the itemDoubleClick evnt being trigged. is this the correct behaviour. (i'd assume not) please verify regards bod -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Type Coercion failed Error when returning date from web service
I finally solve it declaring the var private and creating the getter and setter:private var _date : Date; public function get data_inici():Date{ return _date ;} public function set data_inici(value:*):void { _date = new Date(value); }The * is important in order to create a Date form a string, Number or a Date object.2006/8/13, Oriol Gual [EMAIL PROTECTED]:Hi Daniel, I'm having the same problem but using AMFPhp, did you finally solve it?Thanks,Oriol.2006/6/26, Daniel Tuppeny [EMAIL PROTECTED]: I think this is definately a bug. Attached is a screenshot showing my dates that are strings, and the relevant part of the WSDL (all items with string dates are of one of the types included there). The dates at the top level are fine, but those deeper down have just been changed to strings. I'll keep trying to reproduce it in a small sample I can post, but if anyone has any ideas, they'd be most welcome. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel TuppenySent: 26 June 2006 15:09To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Type Coercion failed Error when returning date from web service I tried to recreate this with a simple example, and it didn't happen. I think the dates might be being changed to strings when passed into my component, like this: mx:Script![CDATA[[Bindable]public var dataProvider:Object;[Bindable]public var displayType:String;]]/mx:Scriptmx:TitleWindow title=Timeline width=100% height=100%link:TimelineBox dataProvider={dataProvider} width=100% displayType={displayType} //mx:TitleWindow I'm in the process of creating a simple version of that too :-( From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Daniel TuppenySent: 26 June 2006 11:15To: flexcoders@yahoogroups.comSubject: [flexcoders] Type Coercion failed Error when returning date from web service More date madness.Some of the dates from our web services come out as dates in Flex. However, now I'm returning a whole tree of objects, I'm having issues. The type in question is defined in the WSDL as this:s:complexType name=Event s:complexContent mixed=false s:extension base=tns:Item s:sequence s:element minOccurs=1 maxOccurs=1 name=StartDate type=s:dateTime / /s:sequence /s:extension /s:complexContent/s:complexTypeWhich correctly has the DateTime type. When I try to access is in Flex, I get this error:TypeError: Error #1034: Type Coercion failed: cannot convert 2006-09-28T11:13:52.2254775+01:00 to Date.at TimelineRow$iinit()If I create a simple web service that directly returns a date, it's fine. I'm not sure why! :-( The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd. __This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __[Inbound Mail Scanned by MessageLabs]__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __ [Inbound Mail Scanned by MessageLabs] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] flex2 final - how set flashing cursor in textinput
how do i place the cursor onto the first textinput on my form in actionscript. the setFocus() and setSelection() methods aren't quite what i'm looking for. regards bod -- 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] unable to get a camera by passing the name from the names list
Hi, i think ive discovered a bug with the flash 9 player. Im unable to collect the camera from the names list like so _camera = Camera.getCamera(Camera.names[1]); if keeps returning null, even though when tracing Camera.names[1], its returning the name any ideas ? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] PrintDataGrid page filling
Does anyone know much about using the PrintDataGrid class with multiple pages beyond whats included in the flex livedocs. I'm trying to print a graph with a table, and so need the chart at the top of the first page, followed by the datagrid. If the data is longer than one page then i need to flow it onto the next page. This is working fine however when I hide the chart on the second page, the datagrid doesnt resize to fill the whole page, but keeps the same height as if the chart was there, just at the top of the page. This means that if i have lots of data, i get lots of pages all with small chunks of datagrid at the top. I've tried calling invalidate() and validateNow() on both the chart and the containing page, and turned off includeInLayout for the chart, but this seems to make no difference. Am i missing something? Thanks. Phil -- 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] WhiteBoard
My application has a whiteboaerd requirement, but these people can't afford the full ride for FDS. What are the limitations on the free version? Are there alternatives? Weldon MacDonald -- 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: dynamic vbox backgroundcolor in renderer
Hello, I tried doing this, but also without any luck ... the click event shows the correct text status0 or status1, so the data is correctly inserted into the renderer ?xml version=1.0? mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml; horizontalAlign=center horizontalGap=5 mx:Script ![CDATA[ import mx.controls.Alert; private function showErrorDialog(error:String):void { Alert.show(error, 'Alert Box', Alert.OK); } ]] /mx:Script mx:Style .status0 { backgroundColor: #FF; } .status1 { backgroundColor: #00FF00; } /mx:Style mx:VBox id=importcolor height=100% width=10 styleName={data.showstyle} click=showErrorDialog(data.showstyle); / !--backgroundColor={data.showcolor} -- mx:Text id=importnr width=100% selectable=false text={data.importnr} / /mx:HBox Greetings, Frank --- In flexcoders@yahoogroups.com, Igor Costa [EMAIL PROTECTED] wrote: In fact you need to use StyleName instead of using an import to the directly tag. I mean StyleName=importnr On 8/11/06, amigo_fd [EMAIL PROTECTED] wrote: Hello, I have a datagrid with three colums: mx:DataGrid id=dgImportSearchResults click=doImportSelected(); width=250 x=0 bottom=0 top=225 mx:columns mx:DataGridColumn headerText=Nr width=60 itemRenderer=renderer_dg_importstatus / mx:DataGridColumn headerText=Destination dataField=destination/ mx:DataGridColumn headerText=Bedrijf dataField=supplier/ /mx:columns /mx:DataGrid As you can see the first one uses a renderer to show different things within the same cell. This is the code for the renderer: ?xml version=1.0? mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml; horizontalAlign=center horizontalGap=5 mx:VBox id=importcolor height=100% width=10 backgroundColor={data.showcolor} / mx:Text id=importnr width=100% selectable=false text={data.importnr} / /mx:HBox The importnr is shown ok, but the backgroundColor doesn't do a thing ... it just stays black although the datafield showcolor contains #ff or #00ff00. What am I doing wrong ? Thanks, Frank -- Igor Costa www.igorcosta.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/ * 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: dynamic vbox backgroundcolor in renderer
found a solution ! mx:Script ![CDATA[ private function setImportStyle(doStyle:String):void { importcolor.styleName = doStyle; } ]] /mx:Script mx:Style .status0 { backgroundColor: #FF; } .status1 { backgroundColor: #00FF00; } /mx:Style mx:VBox id=importcolor height=100% width=10 creationComplete=setImportStyle(data.showstyle); / mx:Text id=importnr width=100% selectable=false text={data.importnr} / --- In flexcoders@yahoogroups.com, Igor Costa [EMAIL PROTECTED] wrote: In fact you need to use StyleName instead of using an import to the directly tag. I mean StyleName=importnr On 8/11/06, amigo_fd [EMAIL PROTECTED] wrote: Hello, I have a datagrid with three colums: mx:DataGrid id=dgImportSearchResults click=doImportSelected(); width=250 x=0 bottom=0 top=225 mx:columns mx:DataGridColumn headerText=Nr width=60 itemRenderer=renderer_dg_importstatus / mx:DataGridColumn headerText=Destination dataField=destination/ mx:DataGridColumn headerText=Bedrijf dataField=supplier/ /mx:columns /mx:DataGrid As you can see the first one uses a renderer to show different things within the same cell. This is the code for the renderer: ?xml version=1.0? mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml; horizontalAlign=center horizontalGap=5 mx:VBox id=importcolor height=100% width=10 backgroundColor={data.showcolor} / mx:Text id=importnr width=100% selectable=false text={data.importnr} / /mx:HBox The importnr is shown ok, but the backgroundColor doesn't do a thing ... it just stays black although the datafield showcolor contains #ff or #00ff00. What am I doing wrong ? Thanks, Frank -- Igor Costa www.igorcosta.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/ * 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: Clarification needed on how WSDL affects conversion of AS objects to SOAP
Hi Matt, My current problem and questions are concerning serialization, not deserialization. Flex is creating SOAP requests differently for 2 methods of the same service, even though the AS is virtually identical. My only guess is that its due to the WSDL. Here is a recap from my previous posts. // SERIALIZES AS EXPECTED AND WORKS CORRECTLY args.ContainersToRetrieve = new Array(); args.ContainersToRetrieve.push(Client); args.ContainersToRetrieve.push(IndustryTrends); // RESULTING SOAP CALL ContainersToRetrieve ContainerTypeClient/ContainerType ContainerTypeIndustryTrends/ContainerType // CORRESPONDING PIECE OF WSDL s:element minOccurs=0 maxOccurs=unbounded name=ContainerType type=tns:ContainerType/ (tns:ContainerType maps to an enum collection) // // DOES NOT SERIALIZE AS EXPECTED, CAUSING AN ERROR IN THE WEB SERVICE args.RPRSelections = new Object(); args.RPRSelections.SelectedPlans = new Array(); for(var i:int = 0; i model.arr_selectedPlans.length; i++) { args.RPRSelections.SelectedPlans.push(model.arr_selectedPlans[i]); } // RESULTING SOAP CALL // ignores the SelectedPlans array that was created. RPRSelections item78167/item item78173/item // WHAT IT SHOULD LOOK LIKE RPRSelections SelectedPlans PlanNumber78167/PlanNumber PlanNumber78173/PlanNumber SelectedPlans /RPRSelections // CORRESPONDING PIECE OF WSDL s:element minOccurs=0 maxOccurs=1 name=SelectedPlans type=tns:ArrayOfString/ s:complexType name=ArrayOfString s:sequence s:element minOccurs=0 maxOccurs=unbounded name=PlanNumber nillable=true type=s:string/ /s:sequence /s:complexType I would LOVE to know how to fix this as right now its a total deal breaker for my project. Thanks, Ben --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: I'm not sure how WSDL structure would affect deserialization. We have mappings of the standard types into ActionScript versions. There's not a huge number of those types so we map as best as possible. Are you looking for those exact details? As far as RPC vs. doc-literal, I believe that the WSDL for a doc-lit generally provides less information that we can use so we're less likely to be able serialize or deserialize with as much accuracy as we attempt in RPC. If you use resultFormat=xml or e4x of course the doc-lit services will work fine, though I've seen serialization work fine with doc-lit too. Sorry, not sure if that is very helpful. If you have a more specific issue I might be able to forward that in, though the engineer who really knows our library at this point is on vacation. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Friday, August 11, 2006 10:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Clarification needed on how WSDL affects conversion of AS objects to SOAP Hi Matt, The types of things I would like to see explained are what I mentioned in my previous posts. Stuff like how does WSDL structure affect Flex's serialization of objects? (this is a big one) and what differences are there in Flex's treatment of Doc/Literal vs RPC/Encoded web services? I would also be more than willing to alpha/beta test any new functionality as my entire app revolves around .NET web services. Thanks, Ben --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Matt Chotin mchotin@ wrote: We have folks working on a complete rewrite of the web service library in an attempt to really bring it up to snuff. However it won't be available until the next major release. I believe we do have some web service articles in the works. If you have suggestions for what you'd like to see as far as tutorials or articles on the subject let me know offlist. Matt From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of ben.clinkinbeard Sent: Wednesday, August 09, 2006 5:56 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Clarification needed on how WSDL affects conversion of AS objects to SOAP Hi Franck, I am also impressed at how powerful Flex + web services seem like they could be and I don't think my issue is related to a bug. My complaint is that, as far as I know, there are zero Adobe sponsored articles or tutorials about using web services in anything but the most basic and mundane ways. As both of us have said, web services are the mechanism that will allow the widest adoption and impact of Flex (I also work in an environment where money is not the deciding factor), yet they have seemingly ignored the topic in their communications to developers, in
Re: [flexcoders] Duplicate function error using setters
Title: Re: [flexcoders] Duplicate function error using setters Ok you have a cyclic error where the property is the same as a value object. Change the value object to something else, for instance the code below ! package com.example.vo { import com.adobe.cairngorm.vo.ValueObject; [RemoteClass(alias=com.example.vo.TestVO)] [Bindable] public class TestVO implements ValueObject { public var __id : int = 0; public function get id():int { return __id;} public function set id(value:int):void { __id=value; } } } That should solve the issue Regards Samuel On 14/8/06 11:26, Oriol Gual [EMAIL PROTECTED] wrote: I haven't posted it cause it's very simple: package com.example.vo { import com.adobe.cairngorm.vo.ValueObject; [RemoteClass(alias=com.example.vo.TestVO)] [Bindable] public class TestVO implements ValueObject { public var id : int; public function get id():int { return this.id http://this.id ;} public function set id(value:int):void { this.id=value; } } } Wow, while writing the post I've found the error, when I add a var to the model locator, like: public var test:TestVO; the 1021 error appears on the setter! 2006/8/14, Tom Chiverton [EMAIL PROTECTED]: On Sunday 13 August 2006 18:22, Oriol Gual wrote: What I'm doing wrong? Not posting your code :-) -- Tom Chiverton 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 St James's Court Brown Street Manchester M2 2JF. 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 Law Society. 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 8008. For more information about Halliwells LLP visit www.halliwells.com http://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/ * 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/ http://docs.yahoo.com/info/terms/ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] One Website, Multiple Applications - Flex Builder 2 Setup
Hi all, First of all let me thank you for creating and contributing to such a wonderful group of Flex professionals. I have to say that most of the answers I have gleaned over time have come from this community and not from those other official forums. On to my question: I have a website I am working with (DOMAIN A for this example) - On this website, there will be two applications that are related to eachother, providing functionality specific to the user type (PUBLIC APP and ADMIN APP). It would seem most effective to use one Flex Project for both applications for code reuse purposes and general organization. Should I just create a single Flex project (with the default application as say, [ADMINAPP].mxml) and then create a second MXML Application (from the File menu) called [PUBLICAPP].mxml? Does that sound right? Or is general practice one project per application?? Thanks for any help you can offer. -- 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] Referencing objects in parent documents
Hi, noob question here. I need to access some xml data obtained via an httpservice in a parent state. So far in my data attribute for the field I have data={parentDocument.parentDocument.datarequest.lastResult.physician.lastname} this seems to work but its just plain ugly and if i change any names in the xml etc i would have to edit every field I used this reference in so... I tried putting a script in this file that obtained a reference to the parentobject and put it into a local var. At runtime I get a null object error when I use the following reference: data={xmldata.physician.lastname} mx:Script ![CDATA[ public var xmldata = parentDocument.parentDocument. datarequest.lastResult; ]] /mx:Script I assumed that obtaining a reference was similar to javascript but apprently this appears not to work. Any ideas please? -- 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] File Upload :Complete path of File needed
Hi All, Below is the code that I am using for uploading files. In this code I am able to get only name of the file which is to being uploaded, What I want is to get the full path of the file for example c:/new/abxfile.txt. Can some one help me out of these? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=vertical creationComplete=initApp() mx:Script ![CDATA[ import mx.controls.Alert; import mx.utils.ObjectUtil; import flash.events.*; import flash.net.FileReference; import flash.net.URLRequest; private var fileRef:FileReference; private function initApp():void { fileRef = new FileReference(); fileRef.addEventListener(Event.CANCEL, traceEvent); fileRef.addEventListener(Event.COMPLETE, completeEvent); fileRef.addEventListener(Event.SELECT, selectEvent); fileRef.addEventListener(IOErrorEvent.IO_ERROR, traceEvent); fileRef.addEventListener(Event.OPEN, traceEvent); fileRef.addEventListener(ProgressEvent.PROGRESS, progressEvent); fileRef.addEventListener(SecurityErrorEvent.SECURITY_ERROR, traceEvent); } private function traceEvent(event:Event):void { var tmp:String = \n; ta.text += tmp + event.type + event: + mx.utils.ObjectUtil.toString(event) + \n ; ta.verticalScrollPosition += 20; } private function ioErrorEvent(event:IOErrorEvent):void{ Alert.show(IOError: + event.text); traceEvent(event); } private function selectEvent(event:Event):void{ btn_upload.enabled = true; traceEvent(event); // Alert.show(String(fileRef.name)); filename.text = fileRef.name; progressBar.setProgress(0, 100); progressBar.label = Loading 0%; } private function progressEvent(event:ProgressEvent):void { progressBar.setProgress(event.bytesLoaded, event.bytesTotal); traceEvent(event); } private function completeEvent(event:Event):void { progressBar.label = Complete.; Alert.show(filename.text); filename.text += uploaded; traceEvent(event); btn_upload.enabled = false; btn_cancel.enabled = false; } private function uploadFile(endpoint:String):void { var param:String = author= + ti_author.text; var req:URLRequest = new URLRequest(endpoint); req.method = URLRequestMethod.POST; Alert.show(String(req.method)); fileRef.upload(req, param, false); progressBar.label = Uploading...; btn_cancel.enabled = true; } ]] /mx:Script mx:Panel title=Flex 2 File Uploading Demo width=100% height=100% mx:Form mx:FormItem label=Upload URL: mx:TextInput id=uploadURL width=100% text= enabled=true / /mx:FormItem mx:FormItem label=Selected File: mx:Label id=filename/ /mx:FormItem mx:FormItem label=Upload By: mx:TextInput id=ti_author text=Author / /mx:FormItem mx:FormItem direction=horizontal width=100% mx:Button width=80 label=Browse click=fileRef.browse() / mx:Button width=80 label=Upload id=btn_upload enabled=false click=uploadFile(uploadURL.text) / mx:Button width=80 label=Cancel id=btn_cancel enabled=false click=fileRef.cancel() / /mx:FormItem mx:HRule width=100% tabEnabled=false/ mx:FormItem label=Progress: mx:ProgressBar id=progressBar mode=manual / /mx:FormItem mx:FormItem label=Events: mx:TextArea id=ta width=350 height=200 / /mx:FormItem /mx:Form /mx:Panel /mx:Application Thanks Kumar __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: One Website, Multiple Applications - Flex Builder 2 Setup
--- In flexcoders@yahoogroups.com, lostinrecursion [EMAIL PROTECTED] wrote: It would seem most effective to use one Flex Project for both applications for code reuse purposes and general organization. You may want to take a look at this thread with a similar topic: http://groups.yahoo.com/group/flexcoders/message/45006 Stefan -- 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] XML/Chart Scripting help
Hi all, I've done this before, but I can't find the source, and now need to mage changes! I'm trying to draw a pie chart from an XML doc. The XML comes from an external source, and I've just simplified it for this example, so no comments about using mx:model etc. etc.! :) The bit I'm having trouble with is the myChart.dataProvider line - I've tried .children, .data, .item, .data.item etc. etc. and cannot get the chart to appear properly. Does anyone know how to fix this? Thanks mx:Script![CDATA[ import mx.controls.Alert; public function setData(sXml:String):void{var x:XML = new XML(sXml);myChart.dataProvider = x;}public function initApp():void{ ExternalInterface.addCallback("setData", setData); setData("dataitem name=\"danny\" val=\"10\" /item name=\"danny2\" val=\"10\" //data");} ]]/mx:Script mx:PieChart id="myChart" top="0" left="0" width="100%" height="100%" showDataTips="true" mx:series mx:PieSeries labelPosition="callout" field="val" nameField="name" / /mx:series /mx:PieChart The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Bug applying filter to resized VBox
When I resize a VBox (by resizing the browser window) that I have applied a filter to, the filter does not resize properly, making the VBox look bad. If I remove the filter everything looks great. Is there anything special I need to do when rebuild the filter? It appears that the old filter bits or rules or something, are hanging around when the object is resized. This feels like a bug but perhaps I am missing something. Hank -- 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] Event listeners: Removing a listener prevents future added listeners
Hi there I'm struggling with a series of KeyboardEvents. Here is the scenario: - I have mouse-down and mouse-up event listeners for my UIComponent. - In the mouse-down event I add a new listener for key-up(so that I can capture mouse-down + a key pressed) - I remove the key-up listener in the mouse-up event The functionality works fine for the 1st time I have my mouse-down - i.e. the key-up event fires when I hold my mouse down and press a key It doesn't work the 2nd time, once I have un-pressed my mouse (firing the mouse-up event removing the key listener) and pressing my mouse again (firing the mouse-down event, adding the key listener) It does however work if I explicitly dispatch a KeyboardEvent.KEY_UP Any expertise on this? 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] Re: expandItem() not working on my tree :( - fixed
OK, since nobody replied, I solved it myself. Solution is a bit strange, but basically referring to treeData2[0] works to expand the first node, while intuitively you might think that it should be treedData2.node[0]. hmmm... here's the working code: --- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ [Bindable] private var XLC:XMLList; private function initTree() : void { openTreeNodes(); } private function openTreeNodes():void{ //open the first two folders in IM tree imTree.expandItem(treeData2[0], true, true); trace(treeData2.node[0] = +treeData2[0]); } ]] /mx:Script mx:XMLList id=treeData2 node label=Buddies node label=master email=[EMAIL PROTECTED] / /node node label=CoWorkers node label=Ewoldt/ node label=Swingler/ /node node label=Offline node label =Bini / /node /mx:XMLList mx:Tree id=imTree width=100% height=100% labelField=@label showRoot=false dataProvider={treeData2} creationComplete=initTree()/ /mx:Application --- In flexcoders@yahoogroups.com, fuad_kamal [EMAIL PROTECTED] wrote: I can't get expandItem() to work; anyone see the problem in my code? I want to automatically expand the first node on the tree. --- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.events.ListEvent; [Bindable] private var XLC:XMLList; private function initTree() : void { openTreeNodes(); } private function openTreeNodes():void{ //open the first two folders in IM tree imTree.expandItem(treeData2.node[0], true, true); } ]] /mx:Script mx:XMLList id=treeData2 node label=Buddies node label=master email=[EMAIL PROTECTED] / /node node label=CoWorkers node label=Ewoldt/ node label=Swingler/ /node node label=Offline node label =Bini / /node /mx:XMLList mx:Tree id=imTree width=100% height=100% labelField=@label showRoot=false dataProvider={treeData2} creationComplete=initTree()/ /mx:Application -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Duplicate function error using setters
On Monday 14 August 2006 10:58, Oriol Gual wrote: Sorry and thanks :P Not a problem - always worth posting code, esp. if it's an odd error in something simple :-) -- Tom Chiverton 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 St James's Court Brown Street Manchester M2 2JF. 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 Law Society. 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 8008. 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/ * 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] trace.... redirection possible?
Dear all, is there any way of overriding the trace construct to go elsewhere? - such as a custom class - or is this only active in debug? Regards Samuel -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] XML/Chart Scripting help
I can't even get this simple chart to work: mx:XML format="e4x" id="myXmlTest" data item name="danny" val="25" / item name="danny2" val="22" / /data /mx:XML mx:PieChart dataProvider="{myXmlTest}" id="myChart" top="0" left="0" width="100%" height="100%" showDataTips="true" mx:series mx:PieSeries labelPosition="callout" field="val" nameField="name" / /mx:series /mx:PieChart It just draws a weird triangle. Anyone see my error? Thanks, Danny __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Pen response quirky on tablet pc with Flash Player 9
Has the Adobe team tested the Flash Player 9 against the latest Windows 2005 Tablet PC edition? Flash Player 7 responded fairly well to pen gestures such as textInput focus and double click, but 9 is responding poorly. Should I be listening for a certain event other than mouseEvents or is this a known issue? Thanks, Sof -- 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] exiting a tabset.
Hello all I have a problem. I have created a tabnavigator component. I want to set up one of the tabs to exit the tabset and take me back to the main grid results page. The way it is set up is the canvases of the tabs are mxml components that are loaded in to the tabs. The tabset as a whole is also a seperate mxml file that is loaded into an edit state of the main grid page. When exiting the tabs it needs to go back to the parent pages default state. Anyone know how to create that reference? 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] Array direction with repeater and bar chart....
Hi all, I currently have a bar chart with n elements and right next to it a repeater that displays the growth of each element compared to last years value. Both objects use the same array as a data provider. The problem is that the direction for the bar chart start from the bottom and the repeater starts from the top so the elements don't line up. Is there any way of reversing the direction of one of the objects so they match up? Thanks in advance! -- 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] Server side updates to a bound Object
I've got a datagrid bound to ArrayCollection via a destination. Pretty close to the standard example. This part works. What I haven't been able to get to work is to make an update to the java object on the server and have that be reflected in the client. My ArrayCollection is [Bindable] AutoSyncEnabled is set to the default true value. I am sure that my server side object changes ( if I refresh I see the changes ... but don't get them pushed to the datagrid ). I've tried executing the following ... public void pushChanges() { DataServiceTransaction myDataServiceTransaction = DataServiceTransaction.begin(true); updateLastRadarData(); myDataServiceTransaction.refreshFill(radardata, null ); } But am still not getting seeing updates on the client. Any suggestions on where to go next? Many thanks, Paul -- 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] expandItem() doesn't seem to work w/dynamic dataprovider - BUG?
expandItem() on a node on a Tree works fine when the dataprovider is a hard-coded XML or XMLList in the mxml, but when the dataprovider is a variable of type XML or XMLList, expandItem() doesn't do anything. code example (should expand the node, but doesn't): --- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ [Bindable] private var xlc:XMLList; private function initTree() : void { //xlc = treeData2; var myNode : XMLList = new XMLList(node label='Buddies'node label='master' email='[EMAIL PROTECTED]' / /node) //treeData2 = + treeData2; XML(treeData2).insertChildBefore(treeData2.node[0], myNode); imTree.dataProvider = treeData2; //tried this just in case, but it makes no difference openTreeNodes(); } private function openTreeNodes():void{ //open the first two folders in IM tree imTree.expandItem(treeData2.node[0], true, true); trace(treeData2.node[0] = +treeData2.node[0]); //trace(treeData2[0] = +treeData2[0]); //imTree.expandItem(XMLList(imTree.dataprovider)[0], true, true); } ]] /mx:Script mx:XML id=treeData2 tree node label=CoWorkers node label=Ewoldt/ node label=Swingler/ /node node label=Offline node label =Bini / /node /tree /mx:XML mx:Tree id=imTree width=100% height=100% labelField=@label showRoot=false dataProvider={treeData2} creationComplete=initTree()/ /mx:Application -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Chart error when mouse rolls over
IIRC, this is caused by having an older player and a newer build of Flex 2. Try syncing them up with the release versions. hth, matt horn flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Lingwai Sent: Friday, August 11, 2006 6:41 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Chart error when mouse rolls over get the following run time error when my mouse rolls over one of my charts: ReferenceError: Error #1069: Property hitData not found on mx.charts.HitData and there is no default value. at Chart1/::formatDataTip() at mx.charts.chartClasses::ChartBase/::invokeDTFunction() at mx.charts::HitData/get displayText() at mx.charts.chartClasses::DataTip/set data() at mx.charts.chartClasses::ChartBase/::updateDataTipToMatchHitSet() at mx.charts.chartClasses::ChartBase/::processRollEvents() at mx.charts.chartClasses::ChartBase/::mouseMoveHandler() Here is the section of code i believe is causing the error: private function formatDataTip(obj : Object) : String { var name : String = obj.hitData.item.Publication; var revenue:Number = obj.hitData.item.Size; return bPublication: +name+/bbrSize: + revenue; } _ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ -- 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] Dynamic datagrid columns
The dynamic column methods for the datagrid seem to have disappeared between 1.5 2. I've looked around for examples or descriptions of Flex 2 replacements for methods such as dataGrid.addColumn() and dataGric.removeAllColumns() that were available in 1.5, but haven't come up with much. Anyone have any pointers? - Tom -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Problem with List in TitleWindow
I reported this as a bug to Adobe, and was told that the workaround is to set cacheAsBitmap for the PopUpWindow to false. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doug Lowder Sent: Friday, August 11, 2006 4:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Problem with List in TitleWindow Looks like TitleWindow has some issues with lists. Here's a workaround. If you want to see even more weirdness, try setting headerHeight=0 for the DataGrid in the below code. ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml title=Test mx:Script ![CDATA[ import mx.managers.PopUpManager; [Bindable] private var dp: Array = [ {label: 'Goose'}, {label: 'Dog'}, {label: 'Cat'}, {label: 'Horse'}, {label: 'Blue Bird'}, {label: 'f'}, {label: 'g'}, {label: 'h'}, {label: 'i'}, {label: 'j'}, {label: 'k'} ]; nb sp; ]] /mx:Script mx:DataGrid width=100% height=100% dataProvider={dp} headerHeight=20 alternatingItemColors=[0xFF, 0xFF] mx:columns mx:DataGridColumn dataField=label headerText=Label / /mx:columns /mx:DataGrid mx:ControlBar mx:Button label=Go Back id=bGoBack click=PopUpManager.removePopUp(this);/ /mx:ControlBar /mx:TitleWindow --- In [EMAIL PROTECTED]ups.com, gotgoose09 thegoosmans@... wrote: Yes, you're right, I should've given some code. http://www.thegoosmans.com/flexlistintitlewindow/TitleWindowListState.sw\ f This is a simplified version of my project. You can right click on the SWF and select View Source to see the code. --- In [EMAIL PROTECTED]ups.com, Tim Hoff TimHoff@ wrote: If you could provide the TitleWindow code, it would be easier to see what is causing the problem. -TH --- In [EMAIL PROTECTED]ups.com, gotgoose09 thegoosmans@ wrote: I guess no one has tried this yet? --- In [EMAIL PROTECTED]ups.com, gotgoose09 thegoosmans@ wrote: I have a TitleWindow that has a List with cfm pages in it as items. The TitleWindow also has a state that adds TextField to create or edit a list item. The first time I popup this TitleWindow and there are more items than the List's height, a strange display issue occurs. You can see it here: http://img102.imageshack.us/my.php? image=titlewindowlistbugsm2.jpg Notice the white bar on the top of the List. Now, when I click the create button I go to another state -- http://img60.imageshack.us/img60/3317/titlewindowlistbug2vs4.jpg . If I now scroll through the list the display issue in the previous image does not occur, even after I cancel out of that state. Anyone have a solution to this? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [Junk E-Mail - LOW] [flexcoders] Dynamic datagrid columns
Yes. Here's a little sample code, hopefully you can figure out what I did :) public function getProductsResult(event:ResultEvent):void {acProducts = event.result as ArrayCollection;var newColumns:Array = dgStoreStates.columns;var cf:ClassFactory = new ClassFactory(com.webapper.controls.GridCheckBox);var thisColumn:DataGridColumn;for (var i:Number=0;iacProducts.length;i++) {thisColumn = new DataGridColumn();thisColumn.dataField = "prod" + acProducts.getItemAt(i).productID.toString();thisColumn.setStyle("textAlign","center");thisColumn.width = 100;thisColumn.headerText = acProducts.getItemAt(i).productName;thisColumn.headerText = thisColumn.headerText.replace("amp;","");thisColumn.itemRenderer = cf;thisColumn.rendererIsEditor = true;thisColumn.editorDataField = "value";newColumns.push(thisColumn);dgStoreStates.columns = newColumns;}CursorManager.removeBusyCursor();} Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom FitzpatrickSent: Monday, August 14, 2006 10:36 AMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] Dynamic datagrid columns The dynamic column methods for the datagrid seem to have disappeared between 1.5 2.I've looked around for examples or descriptions of Flex 2 replacements for methods such as dataGrid.addColumn() and dataGric.removeAllColumns() that were available in 1.5, but haven't come up with much. Anyone have any pointers?- Tom --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.405 / Virus Database: 268.10.9/417 - Release Date: 8/11/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.9/417 - Release Date: 8/11/2006
[flexcoders] Extending CSSStyleDeclaration
Is there a way to extend the CSSStyleDeclaration class in such a way that I can store/calculate the style values in my application? For example, I want to create a style CSS1 that depends on a different style CSS0. If a style property is not assigned to CSS1 then it should get the value from the parent style CSS0. If a style property is assigned to CSS1 then it should just return the value. I tried creating a subclass of CSSStyleDeclaration and overriding the getStyle and setStyle methods. However, after applying the style declaration to a UIComponent, the component does not call the getStyle method on the style declaration so loose the oportunity to override the behavior. After debugging for a while it looks like the UI component calls a private method in the style declaration 'addStyleToProtoChain' which I can not override. Is there any other way to customize the Style subsystem? 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] setStyle(styleProperty, null) or setStyle(styleProperty, undefined)?
Hi All! How to reset one particular style property? Do I need to call setStyle(styleProperty, null) or setStyle(styleProperty, undefined)? Or any other solution is suitable in this particular case? Thank you in advance! Regards, Sergey. -- 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: flex2 final - how set flashing cursor in textinput
Hi Bod, This might help a little: http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=462 -TH--- In flexcoders@yahoogroups.com, "bhaq1972" [EMAIL PROTECTED] wrote: how do i place the cursor onto the first textinput on my form in actionscript. the setFocus() and setSelection() methods aren't quite what i'm looking for. regards bod __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Bug applying filter to resized VBox
Hi Hank, That sounds a little odd. You might try cacheAsBitmap = true and/or force a redraw with invalidateDisplayList() on the resize event. -TH --- In flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED] wrote: When I resize a VBox (by resizing the browser window) that I have applied a filter to, the filter does not resize properly, making the VBox look bad. If I remove the filter everything looks great. Is there anything special I need to do when rebuild the filter? It appears that the old filter bits or rules or something, are hanging around when the object is resized. This feels like a bug but perhaps I am missing something. Hank -- 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] Flex 2 Garbage Collection (based on AS3 changes)
Hi all, I used garbage collection methods a lot in my prior RIAs to keep the application running smooth as it progressed. But, now, being that I am not a total pro, I'm not sure how we accomplish this. Actionscript 3.0 does not allow the delete keyword to be used when trying to get rid of references to an Object. So if I create a new instance of a class: i.e. var myClass:MyClass = new MyClass(); How do I then get rid of the myClass reference when I no longer need it? I guess I could set it to undefined or null, but that still leaves a blank variable lingering in memory. How do you folks do 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] Re: One Website, Multiple Applications - Flex Builder 2 Setup
Much appreciated. I hit that topic's subject line but steered awy because it mentioned Cairngorm, but clearly the topic is exactly what I needed. Thanks so much. On my way to build. I've got all the advice I need. -Kenny --- In flexcoders@yahoogroups.com, Stefan Schmalhaus [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, lostinrecursion k.silans@ wrote: It would seem most effective to use one Flex Project for both applications for code reuse purposes and general organization. You may want to take a look at this thread with a similar topic: http://groups.yahoo.com/group/flexcoders/message/45006 Stefan -- 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: setStyle(styleProperty, null) or setStyle(styleProperty, undefined)?
--- In flexcoders@yahoogroups.com, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All! How to reset one particular style property? Do I need to call setStyle(styleProperty, null) or setStyle(styleProperty, undefined)? Or any other solution is suitable in this particular case? Thank you in advance! Regards, Sergey. You should try clearStyle(styleProp). This defined in the CSSStyleDeclaration class and the IStyleClient interface. I think it sets the style property to 'undefined' but I would definetely use clearStyle. -Sergio -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Is FDS the right choice for me?
Thanks Tom. My intuition tells me that polling would generate a significant amount of overhead for the server when several thousand users are connected, so I'm thinking that allowing the server to send data to clients when it determines that they need it would make the system scale better. It also strikes me that both the client and server-side programming should be significantly simpler if polling logic can be avoided. Are there any alternative techniques with the Adobe family of products, or is Flex/FDS/ColdFusion/Actionscript my only option if server push is a key requirement? Thanks for your input, - j. On Aug 14, 2006, at 1:11 AM, Tom Chiverton wrote: On Saturday 12 August 2006 05:18, Jay Gibb wrote: Can anyone suggest another solution that I might not have considered? Depending in what you mean by 'push', and assuming you have a ColdFusion backend, you may be able to do away with FDS and replicate the functionality using polling and/or pre-save checks for currency. -- Tom Chiverton -- 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] Cairngorm:One controller, so many commands, so many delegates, so many events
Now I have about 4-5 events that correspond with the app server and get data back. Each of these events get registered with the CairngormEvent. When the controller executes these events it needs a command associated with the event. Each such command needs a delegate. So for my one interaction with the server I have at least one Event class, one Command class and one delegate class and untold number of interests in the ModelLocator. This is leading to code cluge. Just wondering whether this is what the rest of the developers are doing or am I doing something wrong. In my app, I might end up having about 30-40 separate server calls at least. That will lead to 90-120 independant files. Is this what you are running into as well? Am I missing something? 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] ASDoc now available on Labs
http://labs.adobe.com/wiki/index.php/ASDoc Enjoy! -- 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] ASDoc is now available for download
ASDoc, the tool we use at Adobe to generate documentation from ActionScript source code, is now available on labs: http://labs.adobe.com/wiki/index.php/ASDoc Stephen -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: WebService - What's wrong with this code?
Thanks, Ben - Your code works fine. My code, even after I manually edited to make it identical to yours, does not. I can only conclude that Flex Builder is on crack. Seriously, I went over it line by line... No differences except whitespace. I hope this is not going to become a behavioral pattern in Builder... I work with Visual Studio, and there's no room for more than one buggy IDE in my life. Thanks again, -tom -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Friday, August 11, 2006 10:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WebService - What's wrong with this code? Does it compile for you without errors? Yep, this exact code works for me. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=init() mx:Script ![CDATA[ import mx.rpc.soap.LoadEvent; import mx.rpc.soap.WebService; private function init():void { var myWebService:WebService; myWebService = new WebService(); myWebService.loadWSDL(http://webservices.amazon.com/AWSECommerceService/AWS ECommerceService.wsdl); myWebService.addEventListener(load, loadComplete); } private function loadComplete(event:LoadEvent):void { trace(ALL GOOD); } ]] /mx:Script /mx:Application -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Friday, August 11, 2006 12:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WebService - What's wrong with this code? For your second example, if you wrap the lines other than the import inside of a function it should work. HTH, Ben --- In flexcoders@yahoogroups.com, Tom Lee design@ wrote: I can't figure this out for the life of me - I'm following other people's examples, but still getting errors. This must be something obvious. Here's my code (I've removed the actual WSDL url): ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.rpc.soap.WebService; var myWebService:WebService; function initWS(){ myWebService = new WebService(); myWebService.loadWSDL(**); } ]] /mx:Script /mx:Application And here's my error: 1061: Call to a possibly undefined method loadWSDL through a reference with static type WebService. (Line 9) I've tried a bunch of different stuff - here's another variation, which throws different errors: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.rpc.soap.WebService; var myWebService:WebService; myWebService = new WebService(); myWebService.loadWSDL(**); ]] /mx:Script /mx:Application And the errors: 1120: Access of undefined property myWebService. (Lines 8 9) Thanks! - tom -- 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 -- 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:
RE: [flexcoders] ASDoc now available on Labs
Awesome news J thanks Matt!! Clint Modien http://esria.com p. 1.877.TRY.ESRIA ext 706 c. 1.408.489.0750 f. 1.877.828.4436 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin Sent: Monday, August 14, 2006 10:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ASDoc now available on Labs http://labs.adobe.com/wiki/index.php/ASDoc Enjoy! __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Calling functions from an itemRenderer
I've got an itemRenderer in a datagrid that's rendering a linkbutton with a script. The following doesn't work because it's not valid XML, with the symbols in the click value... mx:DataGridColumn headerText=Entity ID width=100 dataField=ENTITYID mx:itemRenderer mx:Component mx:LinkButton label={data.ENTITYID} click=navigateToURL(new URLRequest(javascript:popup_ultraslim('/tools/entityLookup3/entity_details.cfm?ENTITYID= + this.label + ',750,550)), '_self');/ /mx:Component /mx:itemRenderer /mx:DataGridColumn I originally had a function defined in the same file that did that and I called like like this: mx:LinkButton label={data.ENTITYID} click=launchDetailsWindow(this.label);/ But it kept telling me that launchDetailsWindow was a possibly undefined function, leading me to believe that I don't understand scoping in itemrenders :) Rick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] ASDoc now available on Labs
And I'll be trying to awaken myself from my hibernation on flexcoders, so if you have any questions about it, fire away. -Brian -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin Sent: Monday, August 14, 2006 1:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ASDoc now available on Labs http://labs.adobe.com/wiki/index.php/ASDoc Enjoy! -- 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/
RE: [flexcoders] Flex 2 Garbage Collection (based on AS3 changes)
Setting it to null (along with removing any other references to the class) is the answer. The variable is removed when it is out of scope: so if you define the variable in a function, it is removed when the function ends. If it's a class-level variable and you still have the class around, there's simply no way to get rid of the variable reference, which is a small amount of memory anyways. -Brian -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lostinrecursion Sent: Monday, August 14, 2006 12:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2 Garbage Collection (based on AS3 changes) Hi all, I used garbage collection methods a lot in my prior RIAs to keep the application running smooth as it progressed. But, now, being that I am not a total pro, I'm not sure how we accomplish this. Actionscript 3.0 does not allow the delete keyword to be used when trying to get rid of references to an Object. So if I create a new instance of a class: i.e. var myClass:MyClass = new MyClass(); How do I then get rid of the myClass reference when I no longer need it? I guess I could set it to undefined or null, but that still leaves a blank variable lingering in memory. How do you folks do 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 -- 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: File Upload :Complete path of File needed
I have also tried to figure this out and through searching found that you can't get the full path because of sandbox security. --- In flexcoders@yahoogroups.com, Kumar [EMAIL PROTECTED] wrote: Hi All, Below is the code that I am using for uploading files. In this code I am able to get only name of the file which is to being uploaded, What I want is to get the full path of the file for example c:/new/abxfile.txt. Can some one help me out of these? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=initApp() mx:Script ![CDATA[ import mx.controls.Alert; import mx.utils.ObjectUtil; import flash.events.*; import flash.net.FileReference; import flash.net.URLRequest; private var fileRef:FileReference; private function initApp():void { fileRef = new FileReference(); fileRef.addEventListener(Event.CANCEL, traceEvent); fileRef.addEventListener(Event.COMPLETE, completeEvent); fileRef.addEventListener(Event.SELECT, selectEvent); fileRef.addEventListener(IOErrorEvent.IO_ERROR, traceEvent); fileRef.addEventListener(Event.OPEN, traceEvent); fileRef.addEventListener(ProgressEvent.PROGRESS, progressEvent); fileRef.addEventListener(SecurityErrorEvent.SECURITY_ERROR, traceEvent); } private function traceEvent(event:Event):void { var tmp:String = \n; ta.text += tmp + event.type + event: + mx.utils.ObjectUtil.toString(event) + \n ; ta.verticalScrollPosition += 20; } private function ioErrorEvent(event:IOErrorEvent):void{ Alert.show(IOError: + event.text); traceEvent(event); } private function selectEvent(event:Event):void{ btn_upload.enabled = true; traceEvent(event); // Alert.show(String(fileRef.name)); filename.text = fileRef.name; progressBar.setProgress(0, 100); progressBar.label = Loading 0%; } private function progressEvent(event:ProgressEvent):void { progressBar.setProgress(event.bytesLoaded, event.bytesTotal); traceEvent(event); } private function completeEvent(event:Event):void { progressBar.label = Complete.; Alert.show(filename.text); filename.text += uploaded; traceEvent(event); btn_upload.enabled = false; btn_cancel.enabled = false; } private function uploadFile(endpoint:String):void { var param:String = author= + ti_author.text; var req:URLRequest = new URLRequest(endpoint); req.method = URLRequestMethod.POST; Alert.show(String(req.method)); fileRef.upload(req, param, false); progressBar.label = Uploading...; btn_cancel.enabled = true; } ]] /mx:Script mx:Panel title=Flex 2 File Uploading Demo width=100% height=100% mx:Form mx:FormItem label=Upload URL: mx:TextInput id=uploadURL width=100% text= enabled=true / /mx:FormItem mx:FormItem label=Selected File: mx:Label id=filename/
Re: [flexcoders] Calling functions from an itemRenderer
Rick,Have a look at the ExternalInterface functionality to call a _javascript_ function which resides in your HTML page which will satisfy your popup requirements...Brendan On 8/14/06, Rick Root [EMAIL PROTECTED] wrote: I've got an itemRenderer in a datagrid that's rendering a linkbutton with a script. The following doesn't work because it's not valid XML, with the symbols in the click value... mx:DataGridColumn headerText=Entity ID width=100 dataField=ENTITYID mx:itemRenderer mx:Component mx:LinkButton label={data.ENTITYID} click=navigateToURL(new URLRequest(_javascript_:popup_ultraslim('/tools/entityLookup3/entity_details.cfm?ENTITYID= + this.label + ',750,550)), '_self');/ /mx:Component /mx:itemRenderer /mx:DataGridColumn I originally had a function defined in the same file that did that and I called like like this: mx:LinkButton label={data.ENTITYID} click=launchDetailsWindow(this.label);/ But it kept telling me that launchDetailsWindow was a possibly undefined function, leading me to believe that I don't understand scoping in itemrenders :) Rick __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] trace.... redirection possible?
There's no way to redirect trace that I know of, other than to a different file location. trace is only active when you are using the debug player. There's various debug projects that use a cutom method rather than trace and print out the debug messages in a different format. I don't know of any for Flex 2, but here's one for 1.5: http://www.adobe.com/devnet/flex/articles/tracepanel.html -Brian -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Samuel Colak Sent: Monday, August 14, 2006 10:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] trace redirection possible? Dear all, is there any way of overriding the trace construct to go elsewhere? - such as a custom class - or is this only active in debug? Regards Samuel -- 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/
Re: [flexcoders] Calling functions from an itemRenderer
extract the URLRequest() call to a AS method. make sure your mx:script block has the CDATA schtuffs.DKOn 8/14/06, Rick Root [EMAIL PROTECTED] wrote:I've got an itemRenderer in a datagrid that's rendering a linkbutton with a script.The following doesn't work because it's not valid XML, with the symbols in the click value...mx:DataGridColumn headerText=Entity ID width=100 dataField=ENTITYID mx:itemRenderermx:Componentmx:LinkButton label={data.ENTITYID} click=navigateToURL(newURLRequest(_javascript_:popup_ultraslim('/tools/entityLookup3/entity_details.cfm?ENTITYID= + this.label + ',750,550)), '_self');//mx:Component/mx:itemRenderer/mx:DataGridColumnI originally had a function defined in the same file that did that and I called like like this:mx:LinkButton label={data.ENTITYID}click=launchDetailsWindow(this.label);/But it kept telling me that launchDetailsWindow was a possibly undefined function, leading me to believe that I don't understandscoping in itemrenders :)Rick--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] exception during transcoding:
I keep getting the following compiler message: exception during transcoding: That is the entire message. It's interesting that there is no explanation as to what caused the exception; the colon at the end makes me think that something should follow, but nothing does. I'm left without a clue as to what is throwing the exception. Here is the line of code that it's complaining about: [Embed(source=assets/map.swf, mimeType=application/x-shockwave-flash)] A couple of notes: 1. assets/map.swf is really there. If it weren't, the compiler would say so; e.g., unable to resolve 'map.swf' for transcoding 2. map.swf is a functioning flash file. I can open it in the Flash Player or load it into a file created using Flash 8 IDE. Any ideas? -- 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: Split Application in Sections. Prevent one loading only.
I don´t know if it´s possible to interfere in the preloading funcs. In flash, I usuly set a flag when the movie has beeen already loaded, so it only load once. Maybe it´s possible to do something like this in flex, with the tab navigator. Maybe you know how to.. =) Thanks.. Zig --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 10 August 2006 21:02, Thomas Rühl -akitogo- wrote: additional swfs for you. Then take a look at the SWFLoader class and the events the TabNavidator dispatches. This solution may of course be more of a pain to users because of the unexpected pause for downloading when they switch tabs. In general hidden tab contents are not created until the tab is viewed the first time. Something to think about. -- Tom Chiverton 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 St James's Court Brown Street Manchester M2 2JF. 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 Law Society. 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 8008. 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/ * 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] Variations of sending arguments to a WebService in AS
Hello, I'm trying to send some arguments to a webservice, but every variation I have tried other than generating the XML from scratch keeps failing (eg. sends an empty message body). Relevant parts of the WSDL are as follows: message name=sendStrings part element=tns:sendStrings name=parameters/part /message message name=sendStringsResponse part element=tns:sendStringsResponse name=parameters/part /message ... operation name=sendStrings input message=tns:sendStrings/input output message=tns:sendStringsResponse/output /operation And from the XSD: xs:element xmlns:ns3=http://server.webservices.tutorials.wakaleo.com/; type=ns3:sendStrings name=sendStrings/xs:element xs:complexType name=sendStrings xs:sequence xs:element type=xs:string minOccurs=0 name=arg0 maxOccurs=unbounded/xs:element /xs:sequence /xs:complexType xs:element xmlns:ns4=http://server.webservices.tutorials.wakaleo.com/; type=ns4:sendStringsResponse name=sendStringsResponse/xs:element xs:complexType name=sendStringsResponse xs:sequence xs:element type=xs:string minOccurs=0 name=return maxOccurs=unbounded/xs:element /xs:sequence /xs:complexType Based on everything that I have been able to find in the documentation and on flexcoders, there are a number of different ways to send requests to the web service, so I tried each of the ones that I could find. However, only one of them succeeds -- specifically, the case where I build an XMLDocument from scratch and send it. All the other cases fail -- that is, they do not pass *any* arguments to the web service. The following TestCase (which is kind of long) shows the different variations that have been tried. The main things of interest are the variationN functions in the beginning of the class as these test the different ways to call the web service. If TestCase had an asyncSetup function the sample case could be quite a bit shorter... (but perhaps I'll work on that next): package code { import flash.events.Event; import flexunit.framework.TestCase; import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; import mx.rpc.soap.LoadEvent; import mx.rpc.soap.mxml.WebService; import flash.utils.describeType; import mx.rpc.events.AbstractEvent; import mx.rpc.AbstractOperation; import flash.xml.XMLDocument; import flash.xml.XMLNode; public class TestSendStrings extends TestCase { private var ws:WebService; private static const SERVICE_TIMEOUT:Number = 2000; private var wsdlUrl:String = http://192.168.1.108:8080/stockquotes/stock_quote?wsdl;; private var responseHandler:String; private var sendStringsFunc:String; // these are the different variations that I have tried. Of these // different variations, variation9 succeeds because I have hand // crafted a valid message body (NOTE that variation 8 fails and // that the only difference is XML vs. XMLDocument). variation6 // generates a fault, so it fails for a different reason than // some of the others private function variation1():void { trace('variation1'); var op:AbstractOperation = ws.getOperation('sendStrings'); op.arguments = new Array('variation','one'); op.send(); } private function variation2():void { trace('variation2'); ws.sendStrings.arguments = new Array('variation','two'); ws.sendStrings.send(); } private function variation3():void { trace('variation3'); ws.sendStrings.send(new Array('variation','three')); } private function variation4():void { trace('variation4'); ws.sendStrings.send('variation','four'); } private function variation5():void { trace('variation5'); ws.sendStrings('variation','five'); } private function variation6():void { // this function results in a fault event: // Unexpected parameter 'sendStrings' found in input arguments. trace('variation6'); var op:AbstractOperation = ws.getOperation('sendStrings'); op.arguments = {sendStrings:{arg0:new Array('variation','six')}}; op.send(); } private function variation7():void { trace('variation7'); var op:AbstractOperation = ws.getOperation('sendStrings'); op.send({sendStrings:{arg0:new Array('variation','six')}}); } private function variation8():void { trace('variation8'); var xml:XML = new XML('ns1:sendStrings xmlns:ns1=http://server.webservices.tutorials.wakaleo.com/;' + 'arg0variation/arg0arg0eight/arg0' + '/ns1:sendStrings'); var op:AbstractOperation = ws.getOperation('sendStrings'); op.send(xml); } private function variation9():void { trace('variation9'); var xml:XMLDocument = new XMLDocument('ns1:sendStrings xmlns:ns1=http://server.webservices.tutorials.wakaleo.com/;' +
Re: [flexcoders] Calling functions from an itemRenderer
Douglas Knudsen wrote: extract the URLRequest() call to a AS method. make sure your mx:script block has the CDATA schtuffs. This is what I had done, as mentioned here: I originally had a function defined in the same file that did that and I called like like this: mx:LinkButton label={data.ENTITYID} click=launchDetailsWindow(this.label);/ But it kept telling me that launchDetailsWindow was a possibly undefined function, leading me to believe that I don't understand scoping in itemrenders :) I had also tried Application.application.launchDetailsWindow(this.label); which also didn't work. so I just added mx.core. to the front of it and it's good now. Rick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] exception during transcoding:
Odds are good that there's a Flash 8 SWF tag in the file that we don't support in Flex 2. You're only looking at the error messages, I think uncaught compiler exceptions are logged in "About Flex Builder 2 Configuration Details Error Log". (Or run mxmlc at the command line.) We have a known issue with morph shapes. Do you have any of those in your SWF? (Actually... you're not pulling a symbol out of the SWF, but are embedding the whole thing? Hmm. You're embedding on a var, right? Flex doesn't actually look inside that file. Do you have flex.swc in your library-path?) -rg From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dadrobsonSent: Monday, August 14, 2006 11:39 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] exception during transcoding: I keep getting the following compiler message:exception during transcoding:That is the entire message. It's interesting that there is noexplanation as to what caused the exception; the colon at the endmakes me think that something should follow, but nothing does. I'mleft without a clue as to what is throwing the exception. Here is the line of code that it's complaining about:[Embed(source="assets/map.swf", mimeType="application/x-shockwave-flash")]A couple of notes:1. assets/map.swf is really there. If it weren't, the compiler wouldsay so; e.g., "unable to resolve 'map.swf' for transcoding"2. map.swf is a functioning flash file. I can open it in the FlashPlayer or load it into a file created using Flash 8 IDE. Any ideas? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] A simple printing question
I am using FlexPrintJob to print a component that just has some html text in it. The problem is the text is more than one page, and the print code doesnt seem to be able to break the pages at line boundaries. Will any configuration of the API do this on its own? The thought of doing manual pagination of HTML really sucks, particularly for something that is very much not core to my app. I just want something that doesnt look silly. Hank -- 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 detect absolute image URL when using mx.controls.Image control?
No ideas? :( On 8/13/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All! Sure, image URL is placed in source property of mx.controls.Image instance. But there could be relative path that is not starting from either http://; or https://;. Also the reference to the embeded resource could be the value of source property. So how to detect whether mx.controls.Image instance holds runtime loaded image, not embeded one, and how to get absolute URL of that image? Regards, Sergey. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Cairngorm:One controller, so many commands, so many delegates, so many events
Yes, however, I try to create files that can be reused... that way different save buttons can use the same save event, command and/or the same save service. Oversimplifying, I know, but that's the general idea. If you have an app that performs lots of CRUD then you can generalize your code and reuse alot of it in different places. One CreateEvent, CreateCommand, CreateService but they all accept a variety of arguments so you can reuse them in different situations. Darren From: flxcoder [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm:One controller, so many commands, so many delegates, so many events Date: Mon, 14 Aug 2006 18:01:21 - Now I have about 4-5 events that correspond with the app server and get data back. Each of these events get registered with the CairngormEvent. When the controller executes these events it needs a command associated with the event. Each such command needs a delegate. So for my one interaction with the server I have at least one Event class, one Command class and one delegate class and untold number of interests in the ModelLocator. This is leading to code cluge. Just wondering whether this is what the rest of the developers are doing or am I doing something wrong. In my app, I might end up having about 30-40 separate server calls at least. That will lead to 90-120 independant files. Is this what you are running into as well? Am I missing something? 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 -- 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: ASDoc now available on Labs
Any Idea what would fire off the following: Error: The definition is in circular inheritance. I can get it going by specifying individual classes but when I use - doc-sources I get an output of a few of those errors. --- In flexcoders@yahoogroups.com, Brian Deitte [EMAIL PROTECTED] wrote: And I'll be trying to awaken myself from my hibernation on flexcoders, so if you have any questions about it, fire away. -Brian -- 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] Problem after displaying video in TextArea
Hi, i'm almost finish with my work but i have one last problemi'm using e4x to make a datagrid filter searchso i have a textinput,datagrid and a textareamx:TextInput id="inputText" width="134" change="xlc.refresh()" fontSize="12" /mx:DataGrid dataProvider="{xlc}" editable="false" width="161" id="datagrid" scroll="true" height="531" x="5" variableRowHeight="true" wordWrap="true"mx:columnsmx:DataGridColumn dataField="name"/ /mx:columns /mx:DataGridmx:TextArea id="areaDeTexto" width="560" height="414" wordWrap="true" editable="false" htmlText="{datagrid.selectedItem.desc}"/im using XML with CDATA in it to display html text and embed pictures or swf filesdesc![CDATA[img src=""/]]/descfor the pictures i have no problem but if there is a swf file after i watch the video or the flashpaperit slows down and sometimes won't let me select anything else, or make a filter search with the textinputi hope somebody could help me __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Calling functions from an itemRenderer
I think you could have also used outerDocument.launchDetailsWindow (), as per http://livedocs.macromedia.com/flex/2/langref/mxml/component.html --- In flexcoders@yahoogroups.com, Rick Root [EMAIL PROTECTED] wrote: Douglas Knudsen wrote: extract the URLRequest() call to a AS method. make sure your mx:script block has the CDATA schtuffs. This is what I had done, as mentioned here: I originally had a function defined in the same file that did that and I called like like this: mx:LinkButton label={data.ENTITYID} click=launchDetailsWindow(this.label);/ But it kept telling me that launchDetailsWindow was a possibly undefined function, leading me to believe that I don't understand scoping in itemrenders :) I had also tried Application.application.launchDetailsWindow(this.label); which also didn't work. so I just added mx.core. to the front of it and it's good now. Rick -- 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] Cairngorm: Opening sibling view?
I have a heirarchy of classes in my viewstate A. A has child aa, ab and ac. aa, ab and ac are siblings, think about them as being 3 canvases under A. aa has tabNavigator X ab received data and wants to set aa.X.selectedIndex = 1 or something. How can I get reference to the id X since X is a child of aa. Is this making sense, please let me know and I will give a better example :) 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] Re: Variations of sending arguments to a WebService in AS
I didn't read through all of your code but here is the method I have been using with success. var op:Operation = service.getOperation(GetDataByGrouping) as Operation; op.resultFormat = e4x; // temp object to store arguments var args:Object = new Object(); args.groupingRequests = new Object(); args.groupingRequests.GroupName = RPRToolStaticData; op.arguments = args; service.GetDataByGrouping(); HTH, Ben --- In flexcoders@yahoogroups.com, kaleb_pederson [EMAIL PROTECTED] wrote: Hello, I'm trying to send some arguments to a webservice, but every variation I have tried other than generating the XML from scratch keeps failing (eg. sends an empty message body). Relevant parts of the WSDL are as follows: message name=sendStrings part element=tns:sendStrings name=parameters/part /message message name=sendStringsResponse part element=tns:sendStringsResponse name=parameters/part /message ... operation name=sendStrings input message=tns:sendStrings/input output message=tns:sendStringsResponse/output /operation And from the XSD: xs:element xmlns:ns3=http://server.webservices.tutorials.wakaleo.com/; type=ns3:sendStrings name=sendStrings/xs:element xs:complexType name=sendStrings xs:sequence xs:element type=xs:string minOccurs=0 name=arg0 maxOccurs=unbounded/xs:element /xs:sequence /xs:complexType xs:element xmlns:ns4=http://server.webservices.tutorials.wakaleo.com/; type=ns4:sendStringsResponse name=sendStringsResponse/xs:element xs:complexType name=sendStringsResponse xs:sequence xs:element type=xs:string minOccurs=0 name=return maxOccurs=unbounded/xs:element /xs:sequence /xs:complexType Based on everything that I have been able to find in the documentation and on flexcoders, there are a number of different ways to send requests to the web service, so I tried each of the ones that I could find. However, only one of them succeeds -- specifically, the case where I build an XMLDocument from scratch and send it. All the other cases fail -- that is, they do not pass *any* arguments to the web service. The following TestCase (which is kind of long) shows the different variations that have been tried. The main things of interest are the variationN functions in the beginning of the class as these test the different ways to call the web service. If TestCase had an asyncSetup function the sample case could be quite a bit shorter... (but perhaps I'll work on that next): package code { import flash.events.Event; import flexunit.framework.TestCase; import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; import mx.rpc.soap.LoadEvent; import mx.rpc.soap.mxml.WebService; import flash.utils.describeType; import mx.rpc.events.AbstractEvent; import mx.rpc.AbstractOperation; import flash.xml.XMLDocument; import flash.xml.XMLNode; public class TestSendStrings extends TestCase { private var ws:WebService; private static const SERVICE_TIMEOUT:Number = 2000; private var wsdlUrl:String = http://192.168.1.108:8080/stockquotes/stock_quote?wsdl;; private var responseHandler:String; private var sendStringsFunc:String; // these are the different variations that I have tried. Of these // different variations, variation9 succeeds because I have hand // crafted a valid message body (NOTE that variation 8 fails and // that the only difference is XML vs. XMLDocument). variation6 // generates a fault, so it fails for a different reason than // some of the others private function variation1():void { trace('variation1'); var op:AbstractOperation = ws.getOperation('sendStrings'); op.arguments = new Array('variation','one'); op.send(); } private function variation2():void { trace('variation2'); ws.sendStrings.arguments = new Array('variation','two'); ws.sendStrings.send(); } private function variation3():void { trace('variation3'); ws.sendStrings.send(new Array('variation','three')); } private function variation4():void { trace('variation4'); ws.sendStrings.send('variation','four'); } private function variation5():void { trace('variation5'); ws.sendStrings('variation','five'); } private function variation6():void { // this function results in a fault event: // Unexpected parameter 'sendStrings' found in input arguments. trace('variation6'); var op:AbstractOperation = ws.getOperation('sendStrings'); op.arguments = {sendStrings:{arg0:new Array('variation','six')}}; op.send(); } private function variation7():void { trace('variation7'); var op:AbstractOperation = ws.getOperation('sendStrings');
Re: [flexcoders] Is FDS the right choice for me?
Are there any alternative techniques with the Adobe family of products, or is Flex/FDS/ColdFusion/Actionscript my only option if server push is a key requirement? Yes, Flash Media Server was the way to do push before FDS. I believe FDS either includes some code or architectural elements from FMS. FMS is cheaper than FDS, but there is no data sychronization code, its would handle the push part. Regards Hank -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Bug applying filter to resized VBox
Thanks Tim, but neither worked. It really is starting to feel like bug. I suspect I could isolate it pretty easily... but I need to find the time. I'm trying to push a first release out the door. For the time being I just dont apply the filter and everything is OK. Regards Hank On 8/14/06, Tim Hoff [EMAIL PROTECTED] wrote: Hi Hank, That sounds a little odd. You might try cacheAsBitmap = true and/or force a redraw with invalidateDisplayList() on the resize event. -TH --- In flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED] wrote: When I resize a VBox (by resizing the browser window) that I have applied a filter to, the filter does not resize properly, making the VBox look bad. If I remove the filter everything looks great. Is there anything special I need to do when rebuild the filter? It appears that the old filter bits or rules or something, are hanging around when the object is resized. This feels like a bug but perhaps I am missing something. Hank -- 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] Re: exception during transcoding:
Hi Roger, There's nothing in the error log. I resolved the issue using the following steps: 1. Decompiled the SWF using the Sothink Decompiler 2. Recompiled it using the the Flash IDE --- In flexcoders@yahoogroups.com, Roger Gonzalez [EMAIL PROTECTED] wrote: Odds are good that there's a Flash 8 SWF tag in the file that we don't support in Flex 2. You're only looking at the error messages, I think uncaught compiler exceptions are logged in About Flex Builder 2 Configuration Details Error Log. (Or run mxmlc at the command line.) We have a known issue with morph shapes. Do you have any of those in your SWF? (Actually... you're not pulling a symbol out of the SWF, but are embedding the whole thing? Hmm. You're embedding on a var, right? Flex doesn't actually look inside that file. Do you have flex.swc in your library-path?) -rg From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dadrobson Sent: Monday, August 14, 2006 11:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] exception during transcoding: I keep getting the following compiler message: exception during transcoding: That is the entire message. It's interesting that there is no explanation as to what caused the exception; the colon at the end makes me think that something should follow, but nothing does. I'm left without a clue as to what is throwing the exception. Here is the line of code that it's complaining about: [Embed(source=assets/map.swf, mimeType=application/x-shockwave-flash)] A couple of notes: 1. assets/map.swf is really there. If it weren't, the compiler would say so; e.g., unable to resolve 'map.swf' for transcoding 2. map.swf is a functioning flash file. I can open it in the Flash Player or load it into a file created using Flash 8 IDE. Any ideas? -- 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] SOT: Flash Player 9 distribution
I don't want to have to tell my client base *NOT* to download the Yahoo Toolbar, and it annoys the heck out of me that Adobe puts that on their download page and checks it by default. Are there any other options besides directing people to the adobe page herE: http://www.macromedia.com/go/getflashplayer Rick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: ASDoc now available on Labs
Hi, I would just stick to doc-classes then. :) Well, I'm not sure why you'd get that with doc-sources. The compiler believes that you have something similar to a class A which extends B which extends A. If you could send me the files you use to reproduce this or a smaller test case, I can look into this for a later release. -Brian -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Williams Sent: Monday, August 14, 2006 3:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ASDoc now available on Labs Any Idea what would fire off the following: Error: The definition is in circular inheritance. I can get it going by specifying individual classes but when I use - doc-sources I get an output of a few of those errors. --- In flexcoders@yahoogroups.com, Brian Deitte [EMAIL PROTECTED] wrote: And I'll be trying to awaken myself from my hibernation on flexcoders, so if you have any questions about it, fire away. -Brian -- 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/
RE: [flexcoders] SOT: Flash Player 9 distribution
I agree. I think trying to trick people into installing third party crap software is stupid and I would hope that Adobe makes enough money on its own that it doesnt need to sellout to Yahoo. --Kelly From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rick Root Sent: Monday, August 14, 2006 1:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] SOT: Flash Player 9 distribution I don't want to have to tell my client base *NOT* to download the Yahoo Toolbar, and it annoys the heck out of me that Adobe puts that on their download page and checks it by default. Are there any other options besides directing people to the adobe page herE: http://www.macromedia.com/go/getflashplayer Rick __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] SOT: Flash Player 9 distribution
Rick Root wrote: I don't want to have to tell my client base *NOT* to download the Yahoo Toolbar, and it annoys the heck out of me that Adobe puts that on their download page and checks it by default. Are there any other options besides directing people to the adobe page herE: http://www.macromedia.com/go/getflashplayer FAQ here: http://www.adobe.com/products/flashplayer/productinfo/faq/#item-4-1 Summary, as I recall: Those few IE/Win users who do not use the normal ActiveX background installation, but are instead directed to the Adobe webpages, are the ones who can see additional download offers on those pages. Specifying a minimum version in your OBJECT tag should be enough to avoid any exposure to unwanted offers. jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, 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/
Re: [flexcoders] Re: ASDoc now available on Labs
I'm getting the same too - I seem to be getting in particularly on interface definitions - I'll try and make a simple reproducable case when I get a spare minute or two...taPBH On 8/14/06, Brian Deitte [EMAIL PROTECTED] wrote: Hi, I would just stick to doc-classes then. :) Well, I'm not sure why you'd get that with doc-sources. The compiler believes that you have something similar to a class A which extends B which extends A. If you could send me the files you use to reproduce this or a smaller test case, I can look into this for a later release. -Brian -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Geoffrey Williams Sent: Monday, August 14, 2006 3:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ASDoc now available on Labs Any Idea what would fire off the following: Error: The definition is in circular inheritance. I can get it going by specifying individual classes but when I use - doc-sources I get an output of a few of those errors. --- In flexcoders@yahoogroups.com, Brian Deitte [EMAIL PROTECTED] wrote: And I'll be trying to awaken myself from my hibernation on flexcoders, so if you have any questions about it, fire away. -Brian -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: ASDoc now available on Labs
Thanks. I'd love to dig into this more and figure out what's happening. -Brian From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul BHSent: Monday, August 14, 2006 4:29 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: ASDoc now available on Labs I'm getting the same too - I seem to be getting in particularly on interface definitions - I'll try and make a simple reproducable case when I get a spare minute or two...taPBH On 8/14/06, Brian Deitte [EMAIL PROTECTED] wrote: Hi, I would just stick to doc-classes then. :) Well, I'm not sure whyyou'd get that with doc-sources. The compiler believes that you havesomething similar to a class A which extends B which extends A. If youcould send me the files you use to reproduce this or a smaller testcase, I can look into this for a later release. -Brian -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Geoffrey Williams Sent: Monday, August 14, 2006 3:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ASDoc now available on Labs Any Idea what would fire off the following: Error: The definition is in circular inheritance. I can get it going by specifying individual classes but when I use - doc-sources I get an output of a few of those errors. --- In flexcoders@yahoogroups.com, "Brian Deitte" [EMAIL PROTECTED] wrote: And I'll be trying to awaken myself from my hibernation on flexcoders, so if you have any questions about it, fire away. -Brian -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Anyone know of an automatic generator of multiple Flex apps from a single SWF?
I've briefly reviewed the Ariaware Optimizer product, read Roger Gonalez' Multi-SWF apps and ApplicationDomain blog entries and Ted Patrick's Flex Shared Libraries posts, which leads me to a question. Should I be concerned with manually breaking my Flex app into smaller on-demand pieces or rest assured that the next Flex release or a separate product will come along that will do this for me? Ideally, all the portions of the app that aren't immediately executed would be extracted into separate SWFs. Stub code that would load the separate SWF on an on-demand basis would replace the now-extracted content. It would also be nice if the modules could be automatically downloaded during idle time after app startup. They would then be cached in the event the user was offline when they accessed a previously-unused portion of the app. Any insight/crystal ball gazing is most appreciated! Thanks, Tom -- 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] Asynchronous calls in Flex 1.5
Hi, Silly question really, I have an app that does this in a function: getTheData.method1(datef,datet,accessGroups,1,1); getTheData.method2(datef,datet,accessGroups,1,1); However, when you look at the dubug, method2 doesn't start until method1 is finished, I thought that they were meant to be asynchronous? Have I got this all wrong? These are remoteObject calls on a POJO. Thanks for keeping me straight (who ever answers first!). Cheers, Iain -- 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] removing a key from object
How do you remove a key from an Object in flex? This is what I currently have:UserData.getInstance().recordMap[vendorOrder.detail_id] = null; What I really want to doiscompletely remove vendorOrder.detail_id from the recordMap Object completely, not just set it null. Thanks! - Doug __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Cairngorm:One controller, so many commands, so many delegates, so many events
What I do is typically is have one delegate that groups server interaction for every specific portion of the app. So one delegate is used by several commands. For an example ticketing app I'd have a UserDelegate (for specific user interaction, might have several method) and TicketDelegate (has several methods for interacting with a server... ex.: create, update, etc...) Hope that helps. Dimitrios Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flxcoderSent: Monday, August 14, 2006 2:01 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Cairngorm:One controller, so many commands, so many delegates, so many events Now I have about 4-5 events that correspond with the app server and get data back. Each of these events get registered with the CairngormEvent. When the controller executes these events it needs a command associated with the event. Each such command needs a delegate.So for my one interaction with the server I have at least one Event class, one Command class and one delegate class and untold number of interests in the ModelLocator. This is leading to code cluge.Just wondering whether this is what the rest of the developers are doing or am I doing something wrong. In my app, I might end up having about 30-40 separate server calls at least. That will lead to 90-120 independant files.Is this what you are running into as well? Am I missing something?Thanks. AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Operation.arguments is populated but nulls are sent
I am having a very odd error, and it only happens sometimes. I am creating an object structure and then assigning that to the arguments property of my mx.rpc.soap.Operation object like this: op.arguments = args; I then call the SOAP method like this: var call:AsyncToken = service.GetDataByGrouping(); call.addResponder(responder); Sometimes (I've not figured out a pattern), Flex somehow loses all of the contents of the arguments property and sends nulls. It is sending the same number of nulls as there were properties though, so I am super confused. The Operation.arguments object is still populated with the correct data, but none of it gets sent. Does anyone have any idea what is going on here? I am pasting the entire method from my delegate below. // in the delegate constructor service = ServiceLocator.getInstance().getService(cmws) as WebService; // in the method called by my command class var op:Operation = service.getOperation(GetDataByGrouping) as Operation; op.resultFormat = e4x; // temp object to store arguments var args:Object = new Object(); args.groupingRequests = new Object(); args.groupingRequests.GroupName = RPRTool; args.groupingRequests.Parameters = new Array(); ... populate Parameters array ... op.arguments = args; var call:AsyncToken = service.GetDataByGrouping(); call.addResponder(responder); // results in sendign an object like this ns1:groupingRequests xmlns:ns1=http://fmr.com/BackOffice/ClientMeasures; ns1:DataGroupingRequest/ ns1:DataGroupingRequest/ ns1:DataGroupingRequest/ Ben -- 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: Cairngorm: Opening sibling view?
Hi there, For simple applications you can reference siblings by traversing the dispay list: Application.application.A.aa.X.selectedIndex = 1;. However, since you are using Cairngorm, you can maintain encapsulation by binding the state (selectedIndex) to the ModelLocator. Jesse's going to have a pink kitten if he reads this. First, create a state variable in the ModelLocator: public var AaaXselectedIndex : Number; Then bind the variable to X.selectedIndex in aa: TabNavigator id="X" selectedIndex="{ModelLocator.getInstance().AaaXselectedIndex}" To change X.selectedIndex just set the ModelLocator variable, from a command (preferable) or ab'sscript: ModelLocator.getInstance().AaaXselectedIndex = 1; BecauseX.selectedIndex is bound to the ModelLocator state variable the selectedIndex will be automatically updated and the view will reflect the change. -TH --- In flexcoders@yahoogroups.com, "flxcoder" [EMAIL PROTECTED] wrote: I have a heirarchy of classes in my viewstate A. A has child aa, ab and ac. aa, ab and ac are siblings, think about them as being 3 canvases under A. aa has tabNavigator X ab received data and wants to set aa.X.selectedIndex = 1 or something. How can I get reference to the id X since X is a child of aa. Is this making sense, please let me know and I will give a better example :) 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Asynchronous calls in Flex 1.5
Tricky stuff there. Peter Ent has a really helpful article on this:http://weblogs.macromedia.com/pent/archives/2005/02/operating_in_pa.cfm --- In flexcoders@yahoogroups.com, "digital_eyezed" [EMAIL PROTECTED] wrote: Hi, Silly question really, I have an app that does this in a function: getTheData.method1(datef,datet,accessGroups,1,1); getTheData.method2(datef,datet,accessGroups,1,1); However, when you look at the dubug, method2 doesn't start until method1 is finished, I thought that they were meant to be asynchronous? Have I got this all wrong? These are remoteObject calls on a POJO. Thanks for keeping me straight (who ever answers first!). Cheers, Iain __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: removing a key from object
You might be able to use the delete operator for this. http://livedocs.macromedia.com/flex/2/langref/operators.html#delete --- In flexcoders@yahoogroups.com, "Doug Arthur" [EMAIL PROTECTED] wrote: How do you remove a key from an Object in flex? This is what I currently have: UserData.getInstance().recordMap[vendorOrder.detail_id] = *null*; What I really want to do is completely remove vendorOrder.detail_id from the recordMap Object completely, not just set it null. Thanks! - Doug __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Flex2: Error: VideoPlayerNetStream was unable to invoke callback onLastSecond
Has anyone seen this error? Im writing a control that displays an FLV file, allowing the user to pause, start, seek, etc. I sometimes get this error right before the FLV movie finishes. Thanks. Tobias. Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095: VideoPlayer.as$317.VideoPlayerNetStream was unable to invoke callback onLastSecond. error=ReferenceError: Error #1069: Property onLastSecond not found on VideoPlayer.as$317.VideoPlayerNetStream and there is no default value. at mx.controls.videoClasses::VideoPlayer/mx.controls.videoClasses:VideoPlayer::createStream()[C:\dev\GMC\sdk\frameworks\mx\controls\videoClasses\VideoPlayer.as:2712] at mx.controls.videoClasses::VideoPlayer/mx.controls.videoClasses:VideoPlayer::_load()[C:\dev\GMC\sdk\frameworks\mx\controls\videoClasses\VideoPlayer.as:2170] at mx.controls.videoClasses::VideoPlayer/play()[C:\dev\GMC\sdk\frameworks\mx\controls\videoClasses\VideoPlayer.as:1324] at mx.controls::VideoDisplay/play()[C:\dev\GMC\sdk\frameworks\mx\controls\VideoDisplay.as:1405] at mx.controls::VideoDisplay/mx.controls:VideoDisplay::autoPlaying()[C:\dev\GMC\sdk\frameworks\mx\controls\VideoDisplay.as:1616] at mx.controls::VideoDisplay/mx.controls:VideoDisplay::creationCompleteHandler()[C:\dev\GMC\sdk\frameworks\mx\controls\VideoDisplay.as:1680] at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/set initialized()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:1161] at mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation()[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:687] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7789] at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7732] Kodak Graphic Communications Canada Company Tobias Patton | Software Developer | Tel: +1.604.451.2700 ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: Best way to reference items in a parent MXML component?
How would a child call a function in the parent though? parentDocument.someMethod(); - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ben.clinkinbeard Sent: Saturday, August 12, 2006 3:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Best way to reference items in a parent MXML component? How would a child call a function in the parent though? Events don't seem (semantically) like the right thing because I basically just want to use a utility function defined in the parent. Like I have a function that I am using to format the dataTips of my charts in the child components, but dispatching an event every time I roll over a chart item seems a bit tedious and extreme. Is there a better way or do I just need to get used to using events? I come from a Flash background and have not used events very much. Thanks, Ben --- In [EMAIL PROTECTED]ups.com, Sergey Kovalyov skovalyov.flexcode[EMAIL PROTECTED] wrote: Events must be used here. Your child elements should dispatch custom events and container that holds them should listen to that events. Event listener will handle the child via target property of event object. On 8/12/06, ben.clinkinbeard ben.clinkinbeard@... wrote: I have a ViewStack whose child elements each contain a graph. I would like to define some things in the file that holds the ViewStack so that all of the child charts can use them, but am not sure of the best way to reference and call these things. Ideally I would like to somehow pass in a reference to the containing object so that I don't have to pass several items into each child, but have yet to figure out a way to do that. I know there has to be a better way than what I have now: __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Macintosh hqx
Yeah, I am having problems as well. Does anyone else know how to make a OS X 'projector' FP9 SWFs? --jason --- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote: Second that, nice product and support. But seems Zinc v2.5 for FP9 is still a bit buggy, almost everything I tried had some bugs here and there, non critical but slightly annoying. Jeremy. On 8/12/06, Jason [EMAIL PROTECTED] wrote: http://www.multidmedia.com Check out Zinc, it should do what you want. They have been fairly quick to implement Flash Player 9 support. I think they are still having some problems with Macs with Intel chips, but that is due to problems with the Flash Player for OSX. I have been using Zinc for serveral years and I am very happy with the support. Check out the forums if you have any questions. Developing for the Mac is often a pain-in-the-but because of odd file path issues, but if you don't need to load or save assets to the hard drive you should be ok. They have trial versions of all the Zinc and the OSX plugin. --jason --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Martina Smith martina_smith_06@ wrote: Hi, I need to create an hqx(Macintosh Projector) file for the swf created using flex 2.0. I am unable to do it as I can't find any option in flex menu, may I have your suggestion on this? Thanks, Martina - Here's a new way to find what you're looking for - Yahoo! Answers -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Draw Label Border
That's kind of a heavyweight solution. I'd recommend subclassing Label and overriding updateDisplayList() to draw a border. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sergey Kovalyov Sent: Saturday, August 12, 2006 7:04 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Draw Label Border Put label into the Box: mx:HBox borderStyle=solid mx:Label text=Label / /mx:HBox On 8/12/06, Kumar kumarpal.jain@infobeans.com wrote: Hi All, I am finding it difficult to draw border of label. I am trying to use flash API for drawing rectangle in place of border. Can some one help me out? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: Best way to reference items in a parent MXML component?
You can also simply use parentDocument.someMethod(); - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Franck de Bruijn Sent: Saturday, August 12, 2006 10:35 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Best way to reference items in a parent MXML component? I was wondering about this after I sent my reply ... What if you need a return value? I think there are basically 3 ways to go: The circular dependency way: define an instance of your (custom) view stack in your child, with a setter. After you loaded the child into the view stack, also call the setter method with the ViewStack in it: easiest solution, but if its nice ... The interface way: define an interface where you put the methods that you need in your children. Let the ViewStack implement this interface. Define an instance of this interface in your child, with a setter. Call the setter with the ViewStack as argument later. Use a utility action script. This might be the best solution for what you mention below: formatting dates. Probably you will want to have your dates formatted the same way throughout your application; formatting is most likely also a stateless operation, at least not something ViewStack specific, so you could perfectly place it behind some static operation. I am using the event way quite a lot myself, and Im happy with it. But, indeed, you can only use it for notification cases only; where you need a return value, this would not apply. HTH, Franck From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of ben.clinkinbeard Sent: Sunday, August 13, 2006 12:12 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Re: Best way to reference items in a parent MXML component? How would a child call a function in the parent though? Events don't seem (semantically) like the right thing because I basically just want to use a utility function defined in the parent. Like I have a function that I am using to format the dataTips of my charts in the child components, but dispatching an event every time I roll over a chart item seems a bit tedious and extreme. Is there a better way or do I just need to get used to using events? I come from a Flash background and have not used events very much. Thanks, Ben --- In [EMAIL PROTECTED]ups.com, Sergey Kovalyov skovalyov.flexcode[EMAIL PROTECTED] wrote: Events must be used here. Your child elements should dispatch custom events and container that holds them should listen to that events. Event listener will handle the child via target property of event object. On 8/12/06, ben.clinkinbeard ben.clinkinbeard@... wrote: I have a ViewStack whose child elements each contain a graph. I would like to define some things in the file that holds the ViewStack so that all of the child charts can use them, but am not sure of the best way to reference and call these things. Ideally I would like to somehow pass in a reference to the containing object so that I don't have to pass several items into each child, but have yet to figure out a way to do that. I know there has to be a better way than what I have now: __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Asynchronous calls in Flex 1.5
Thanks a lot, I thought something strange was going on! Cheers, Iain --- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] wrote: Tricky stuff there. Peter Ent has a really helpful article on this: http://weblogs.macromedia.com/pent/archives/2005/02/operating_in_pa.c fm http://weblogs.macromedia.com/pent/archives/2005/02/operating_in_pa. cfm\ --- In flexcoders@yahoogroups.com, digital_eyezed iain.mclean@ wrote: Hi, Silly question really, I have an app that does this in a function: getTheData.method1(datef,datet,accessGroups,1,1); getTheData.method2(datef,datet,accessGroups,1,1); However, when you look at the dubug, method2 doesn't start until method1 is finished, I thought that they were meant to be asynchronous? Have I got this all wrong? These are remoteObject calls on a POJO. Thanks for keeping me straight (who ever answers first!). Cheers, Iain -- 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: Cairngorm:One controller, so many commands, so many delegates, so many event
I tried combining similar events, commands, delegates with mixed success. For instance if I had one event called "UpdateTreeDataEvent" where I assigned different events as static vars like "ADD", "ADD_CHILD", "EDIT", "DELETE", etc. I could call specific events in that event class withvar nav:UpdateTreeDataEvent = new UpdateTreeDataEvent(UpdateTreeDataEvent.DELETE, '', customForms); CairngormEventDispatcher.getInstance().dispatchEvent(nav);However I ran into problems when I wanted to send different types of data to the event. AS3 does not allow for overloading of the constuctor. So if I wanted to send a XML for my ADD and a Number for my DELETE events then I was forced to create an Object of properties and then look through that object to see what data was in it (send multiple props and send some as null data)In the end it kinda was more work then just creating the dozen or so different Class files. How are others dealing not wanting to have 400 files for 100 events?--jason--- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" [EMAIL PROTECTED] wrote: What I do is typically is have one delegate that groups server interaction for every specific portion of the app. So one delegate is used by several commands. For an example ticketing app I'd have a UserDelegate (for specific user interaction, might have several method) and TicketDelegate (has several methods for interacting with a server... ex.: create, update, etc...) Hope that helps. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flxcoder Sent: Monday, August 14, 2006 2:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm:One controller, so many commands, so many delegates, so many eventsNow I have about 4-5 events that correspond with the app server and get data back. Each of these events get registered with the CairngormEvent. When the controller executes these events it needs a command associated with the event. Each such command needs a delegate. So for my one interaction with the server I have at least one Event class, one Command class and one delegate class and untold number of interests in the ModelLocator. This is leading to code cluge. Just wondering whether this is what the rest of the developers are doing or am I doing something wrong. In my app, I might end up having about 30-40 separate server calls at least. That will lead to 90-120 independant files. Is this what you are running into as well? Am I missing something? Thanks. -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] trace.... redirection possible?
Consider using the mx.logging.Log class instead of the trace() function. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Samuel Colak Sent: Monday, August 14, 2006 7:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] trace redirection possible? Dear all, is there any way of overriding the trace construct to go elsewhere? - such as a custom class - or is this only active in debug? Regards Samuel __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Flex2: Error: VideoPlayerNetStream was unable to invoke callback onLastSecond
Hi, onLastSecond is a custom event injected by our software FLVMDI ( http://www.buraks.com/flvmdi ) and Captionate ( http://www.captionate.com ). We were not aware of any issues related with it, till your post. It will be great if anyone else, especially from Adobe, can shed some light on this. Best regards, Burak Burak KALAYCI, Manitu Group http://www.buraks.com http://www.manitugroup.com - Original Message - From: Tobias Patton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, August 15, 2006 12:47 AM Subject: [flexcoders] Flex2: Error: VideoPlayerNetStream was unable to invoke callback onLastSecond Has anyone seen this error? I'm writing a control that displays an FLV file, allowing the user to pause, start, seek, etc. I sometimes get this error right before the FLV movie finishes. Thanks. Tobias. Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095: VideoPlayer.as$317.VideoPlayerNetStream was unable to invoke callback onLastSecond. error=ReferenceError: Error #1069: Property onLastSecond not found on VideoPlayer.as$317.VideoPlayerNetStream and there is no default value. at mx.controls.videoClasses::VideoPlayer/mx.controls.videoClasses:VideoPlay er::createStream()[C:\dev\GMC\sdk\frameworks\mx\controls\videoClasses\Vi deoPlayer.as:2712] at mx.controls.videoClasses::VideoPlayer/mx.controls.videoClasses:VideoPlay er::_load()[C:\dev\GMC\sdk\frameworks\mx\controls\videoClasses\VideoPlay er.as:2170] at mx.controls.videoClasses::VideoPlayer/play()[C:\dev\GMC\sdk\frameworks\m x\controls\videoClasses\VideoPlayer.as:1324] at mx.controls::VideoDisplay/play()[C:\dev\GMC\sdk\frameworks\mx\controls\V ideoDisplay.as:1405] at mx.controls::VideoDisplay/mx.controls:VideoDisplay::autoPlaying()[C:\dev \GMC\sdk\frameworks\mx\controls\VideoDisplay.as:1616] at mx.controls::VideoDisplay/mx.controls:VideoDisplay::creationCompleteHand ler()[C:\dev\GMC\sdk\frameworks\mx\controls\VideoDisplay.as:1680] at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven tFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/set initialized()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:1161] at mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiat ion()[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:687] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2()[C:\dev\ GMC\sdk\frameworks\mx\core\UIComponent.as:7789] at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()[C:\dev\G MC\sdk\frameworks\mx\core\UIComponent.as:7732] Kodak Graphic Communications Canada Company Tobias Patton | Software Developer | Tel: +1.604.451.2700 ext: 5148 | mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] | http://www.creo.com http://www.creo.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/ * 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/