[flexcoders] Re: SWFLoader problem
Thank you, Alex. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Set visible=false until it is loaded Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of chandruflex Sent: Monday, November 02, 2009 4:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] SWFLoader problem In my application, I have a SWFLoader component, placed inside a Canvas container. I load a swf into the SWFLoader, dynamically. The problem is, when the swf file is loading, the display seems to be larger than the size of the enclosing Canvas container. But, after the swf has loaded completely, it perfectly fits into that Canvas. How do I avoid this problem. I do not want the swf file look larger than the enclosing Canvas, while it is loading. I am using Flex sdk 3.0.
[flexcoders] can you get a command result in Cairngorm call a function on the calling page?
OK I have a sequence issue, I have a page that calls an event, which goes all the way to a cf page and the DB, on the Result I need to have a function on the page get called. Is there a way to do this? I tried a addEventListener on the submit button, but the sequence is still off. Thanks, D
Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?
You can attach an IResponder (with the result and fault functions) from your view as payload to your event. Inside your command you'll get the response/faul from the server and call the appropriate function on the IResponder reference. Check for UniversalMind cairngorm extension they explain this... However is doable and probably withhout the cairngorm extentsions ... HTH, Claudiu From: Darrin Kay dar...@stop-ing.com To: flexcoders@yahoogroups.com Sent: Tue, November 3, 2009 10:18:51 AM Subject: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? OK I have a sequence issue, I have a page that calls an event, which goes all the way to a cf page and the DB, on the Result I need to have a function on the page get called. Is there a way to do this? I tried a addEventListener on the submit button, but the sequence is still off. Thanks, D
Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?
I can not add any 3rd party tools to the app. can you think of any another way? On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_bran...@yahoo.comwrote: You can attach an IResponder (with the result and fault functions) from your view as payload to your event. Inside your command you'll get the response/faul from the server and call the appropriate function on the IResponder reference. Check for UniversalMind cairngorm extension they explain this... However is doable and probably withhout the cairngorm extentsions ... HTH, Claudiu -- *From:* Darrin Kay dar...@stop-ing.com *To:* flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 10:18:51 AM *Subject:* [flexcoders] can you get a command result in Cairngorm call a function on the calling page? OK I have a sequence issue, I have a page that calls an event, which goes all the way to a cf page and the DB, on the Result I need to have a function on the page get called. Is there a way to do this? I tried a addEventListener on the submit button, but the sequence is still off. Thanks, D
Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?
I have no idea what your architecture is, but if you use Cairngorm which I gather you do since you mentioned in the title you can still do some more or less dirty tircks in there. Put something in your model a boolean flag along with the data you want in your view. In the view bind the boolean data and execute a function (your function) when the bindings tirggers... when the data comes back from the server you just do boolFlah = !boolFlag and it fires your triggers... Dirty but it will do it ... C From: Darrin Kay dar...@stop-ing.com To: flexcoders@yahoogroups.com Sent: Tue, November 3, 2009 10:29:34 AM Subject: Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? I can not add any 3rd party tools to the app. can you think of any another way? On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ yahoo.com wrote: You can attach an IResponder (with the result and fault functions) from your view as payload to your event. Inside your command you'll get the response/faul from the server and call the appropriate function on the IResponder reference. Check for UniversalMind cairngorm extension they explain this... However is doable and probably withhout the cairngorm extentsions ... HTH, Claudiu From: Darrin Kay dar...@stop- ing.com To: flexcod...@yahoogro ups.com Sent: Tue, November 3, 2009 10:18:51 AM Subject: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? OK I have a sequence issue, I have a page that calls an event, which goes all the way to a cf page and the DB, on the Result I need to have a function on the page get called. Is there a way to do this? I tried a addEventListener on the submit button, but the sequence is still off. Thanks, D
Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?
is there a way to make the make the app wait until the complete sequence is complete before I call the next function? So I call a function but when I dispatch the event, I wait to stop there until the cmd result is complete On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_bran...@yahoo.comwrote: I have no idea what your architecture is, but if you use Cairngorm which I gather you do since you mentioned in the title you can still do some more or less dirty tircks in there. Put something in your model a boolean flag along with the data you want in your view. In the view bind the boolean data and execute a function (your function) when the bindings tirggers... when the data comes back from the server you just do boolFlah = !boolFlag and it fires your triggers... Dirty but it will do it ... C -- *From:* Darrin Kay dar...@stop-ing.com *To:* flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 10:29:34 AM *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? I can not add any 3rd party tools to the app. can you think of any another way? On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ yahoo.comthe_bran...@yahoo.com wrote: You can attach an IResponder (with the result and fault functions) from your view as payload to your event. Inside your command you'll get the response/faul from the server and call the appropriate function on the IResponder reference. Check for UniversalMind cairngorm extension they explain this... However is doable and probably withhout the cairngorm extentsions ... HTH, Claudiu -- *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 10:18:51 AM *Subject:* [flexcoders] can you get a command result in Cairngorm call a function on the calling page? OK I have a sequence issue, I have a page that calls an event, which goes all the way to a cf page and the DB, on the Result I need to have a function on the page get called. Is there a way to do this? I tried a addEventListener on the submit button, but the sequence is still off. Thanks, D
Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?
a addEventListner would be the best but not sure how to add it to the result of the cmd file and have it kick off a function in the view page On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_bran...@yahoo.comwrote: I have no idea what your architecture is, but if you use Cairngorm which I gather you do since you mentioned in the title you can still do some more or less dirty tircks in there. Put something in your model a boolean flag along with the data you want in your view. In the view bind the boolean data and execute a function (your function) when the bindings tirggers... when the data comes back from the server you just do boolFlah = !boolFlag and it fires your triggers... Dirty but it will do it ... C -- *From:* Darrin Kay dar...@stop-ing.com *To:* flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 10:29:34 AM *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? I can not add any 3rd party tools to the app. can you think of any another way? On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ yahoo.comthe_bran...@yahoo.com wrote: You can attach an IResponder (with the result and fault functions) from your view as payload to your event. Inside your command you'll get the response/faul from the server and call the appropriate function on the IResponder reference. Check for UniversalMind cairngorm extension they explain this... However is doable and probably withhout the cairngorm extentsions ... HTH, Claudiu -- *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 10:18:51 AM *Subject:* [flexcoders] can you get a command result in Cairngorm call a function on the calling page? OK I have a sequence issue, I have a page that calls an event, which goes all the way to a cf page and the DB, on the Result I need to have a function on the page get called. Is there a way to do this? I tried a addEventListener on the submit button, but the sequence is still off. Thanks, D
Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?
You have a model right ? you can aceess the model inside the command and also inside the view. In the view you can addEvt... on the modelInstance.propertyYouwantToListen (model class extend eventDispatcher or implements IEventDispatcher for this) update the model when in the command, view litens for the model and you call the function. TH From: Darrin Kay dar...@stop-ing.com To: flexcoders@yahoogroups.com Sent: Tue, November 3, 2009 11:02:40 AM Subject: Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? a addEventListner would be the best but not sure how to add it to the result of the cmd file and have it kick off a function in the view page On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_braniak@ yahoo.com wrote: I have no idea what your architecture is, but if you use Cairngorm which I gather you do since you mentioned in the title you can still do some more or less dirty tircks in there. Put something in your model a boolean flag along with the data you want in your view. In the view bind the boolean data and execute a function (your function) when the bindings tirggers... when the data comes back from the server you just do boolFlah = !boolFlag and it fires your triggers... Dirty but it will do it ... C From: Darrin Kay dar...@stop- ing.com To: flexcod...@yahoogro ups.com Sent: Tue, November 3, 2009 10:29:34 AM Subject: Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? I can not add any 3rd party tools to the app. can you think of any another way? On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ yahoo.com wrote: You can attach an IResponder (with the result and fault functions) from your view as payload to your event. Inside your command you'll get the response/faul from the server and call the appropriate function on the IResponder reference. Check for UniversalMind cairngorm extension they explain this... However is doable and probably withhout the cairngorm extentsions ... HTH, Claudiu From: Darrin Kay dar...@stop- ing.com To: flexcod...@yahoogro ups.com Sent: Tue, November 3, 2009 10:18:51 AM Subject: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? OK I have a sequence issue, I have a page that calls an event, which goes all the way to a cf page and the DB, on the Result I need to have a function on the page get called. Is there a way to do this? I tried a addEventListener on the submit button, but the sequence is still off. Thanks, D
Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?
so it would be like this : model.varName.addEventListner(change, function); Sorry I have not use that yet, thanks On Tue, Nov 3, 2009 at 9:07 AM, claudiu ursica the_bran...@yahoo.comwrote: You have a model right ? you can aceess the model inside the command and also inside the view. In the view you can addEvt... on the modelInstance.propertyYouwantToListen (model class extend eventDispatcher or implements IEventDispatcher for this) update the model when in the command, view litens for the model and you call the function. TH -- *From:* Darrin Kay dar...@stop-ing.com *To:* flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 11:02:40 AM *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? a addEventListner would be the best but not sure how to add it to the result of the cmd file and have it kick off a function in the view page On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_braniak@ yahoo.comthe_bran...@yahoo.com wrote: I have no idea what your architecture is, but if you use Cairngorm which I gather you do since you mentioned in the title you can still do some more or less dirty tircks in there. Put something in your model a boolean flag along with the data you want in your view. In the view bind the boolean data and execute a function (your function) when the bindings tirggers... when the data comes back from the server you just do boolFlah = !boolFlag and it fires your triggers... Dirty but it will do it ... C -- *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 10:29:34 AM *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? I can not add any 3rd party tools to the app. can you think of any another way? On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ yahoo.comthe_bran...@yahoo.com wrote: You can attach an IResponder (with the result and fault functions) from your view as payload to your event. Inside your command you'll get the response/faul from the server and call the appropriate function on the IResponder reference. Check for UniversalMind cairngorm extension they explain this... However is doable and probably withhout the cairngorm extentsions ... HTH, Claudiu -- *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 10:18:51 AM *Subject:* [flexcoders] can you get a command result in Cairngorm call a function on the calling page? OK I have a sequence issue, I have a page that calls an event, which goes all the way to a cf page and the DB, on the Result I need to have a function on the page get called. Is there a way to do this? I tried a addEventListener on the submit button, but the sequence is still off. Thanks, D
Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?
something like that in the view model.varName. addEventListner( change, function); , however in your model setter you do something like private var _whateverName:WhateverType; public var set varName(val:WhateverType):void { if (val != _whateverName) { _whateverName = val; dispatchEvent(change); } } again class extend EventDispatcher ... C From: Darrin Kay dar...@stop-ing.com To: flexcoders@yahoogroups.com Sent: Tue, November 3, 2009 11:15:11 AM Subject: Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? so it would be like this : model.varName. addEventListner( change, function); Sorry I have not use that yet, thanks On Tue, Nov 3, 2009 at 9:07 AM, claudiu ursica the_braniak@ yahoo.com wrote: You have a model right ? you can aceess the model inside the command and also inside the view. In the view you can addEvt... on the modelInstance. propertyYouwantT oListen (model class extend eventDispatcher or implements IEventDispatcher for this) update the model when in the command, view litens for the model and you call the function. TH From: Darrin Kay dar...@stop- ing.com To: flexcod...@yahoogro ups.com Sent: Tue, November 3, 2009 11:02:40 AM Subject: Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? a addEventListner would be the best but not sure how to add it to the result of the cmd file and have it kick off a function in the view page On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_braniak@ yahoo.com wrote: I have no idea what your architecture is, but if you use Cairngorm which I gather you do since you mentioned in the title you can still do some more or less dirty tircks in there. Put something in your model a boolean flag along with the data you want in your view. In the view bind the boolean data and execute a function (your function) when the bindings tirggers... when the data comes back from the server you just do boolFlah = !boolFlag and it fires your triggers... Dirty but it will do it ... C From: Darrin Kay dar...@stop- ing.com To: flexcod...@yahoogro ups.com Sent: Tue, November 3, 2009 10:29:34 AM Subject: Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? I can not add any 3rd party tools to the app. can you think of any another way? On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ yahoo.com wrote: You can attach an IResponder (with the result and fault functions) from your view as payload to your event. Inside your command you'll get the response/faul from the server and call the appropriate function on the IResponder reference. Check for UniversalMind cairngorm extension they explain this... However is doable and probably withhout the cairngorm extentsions ... HTH, Claudiu From: Darrin Kay dar...@stop- ing.com To: flexcod...@yahoogro ups.com Sent: Tue, November 3, 2009 10:18:51 AM Subject: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? OK I have a sequence issue, I have a page that calls an event, which goes all the way to a cf page and the DB, on the Result I need to have a function on the page get called. Is there a way to do this? I tried a addEventListener on the submit button, but the sequence is still off. Thanks, D
Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?
so wout the setter just go in the model file? if so any place under the variable definition? On Tue, Nov 3, 2009 at 9:22 AM, claudiu ursica the_bran...@yahoo.comwrote: something like that in the view model.varName. addEventListner( change, function); , however in your model setter you do something like private var _whateverName:WhateverType; public var set varName(val:WhateverType):void { if (val != _whateverName) { _whateverName = val; dispatchEvent(change); } } again class extend EventDispatcher ... C -- *From:* Darrin Kay dar...@stop-ing.com *To:* flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 11:15:11 AM *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? so it would be like this : model.varName. addEventListner( change, function); Sorry I have not use that yet, thanks On Tue, Nov 3, 2009 at 9:07 AM, claudiu ursica the_braniak@ yahoo.comthe_bran...@yahoo.com wrote: You have a model right ? you can aceess the model inside the command and also inside the view. In the view you can addEvt... on the modelInstance. propertyYouwantT oListen (model class extend eventDispatcher or implements IEventDispatcher for this) update the model when in the command, view litens for the model and you call the function. TH -- *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 11:02:40 AM *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? a addEventListner would be the best but not sure how to add it to the result of the cmd file and have it kick off a function in the view page On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_braniak@ yahoo.comthe_bran...@yahoo.com wrote: I have no idea what your architecture is, but if you use Cairngorm which I gather you do since you mentioned in the title you can still do some more or less dirty tircks in there. Put something in your model a boolean flag along with the data you want in your view. In the view bind the boolean data and execute a function (your function) when the bindings tirggers... when the data comes back from the server you just do boolFlah = !boolFlag and it fires your triggers... Dirty but it will do it ... C -- *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 10:29:34 AM *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? I can not add any 3rd party tools to the app. can you think of any another way? On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ yahoo.comthe_bran...@yahoo.com wrote: You can attach an IResponder (with the result and fault functions) from your view as payload to your event. Inside your command you'll get the response/faul from the server and call the appropriate function on the IResponder reference. Check for UniversalMind cairngorm extension they explain this... However is doable and probably withhout the cairngorm extentsions ... HTH, Claudiu -- *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 10:18:51 AM *Subject:* [flexcoders] can you get a command result in Cairngorm call a function on the calling page? OK I have a sequence issue, I have a page that calls an event, which goes all the way to a cf page and the DB, on the Result I need to have a function on the page get called. Is there a way to do this? I tried a addEventListener on the submit button, but the sequence is still off. Thanks, D
Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?
Either in your public class ModelName implements IModelLocator or inside some other class which is part of you model... Again I don't know your architecture... Are you developing this on your own? C From: Darrin Kay dar...@stop-ing.com To: flexcoders@yahoogroups.com Sent: Tue, November 3, 2009 11:33:30 AM Subject: Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? so wout the setter just go in the model file? if so any place under the variable definition? On Tue, Nov 3, 2009 at 9:22 AM, claudiu ursica the_braniak@ yahoo.com wrote: something like that in the view model.varName. addEventListner( change, function); , however in your model setter you do something like private var _whateverName: WhateverType; public var set varName(val: WhateverType) :void { if (val != _whateverName) { _whateverName = val; dispatchEvent(change); } } again class extend EventDispatcher ... C From: Darrin Kay dar...@stop- ing.com To: flexcod...@yahoogro ups.com Sent: Tue, November 3, 2009 11:15:11 AM Subject: Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? so it would be like this : model.varName. addEventListner( change, function); Sorry I have not use that yet, thanks On Tue, Nov 3, 2009 at 9:07 AM, claudiu ursica the_braniak@ yahoo.com wrote: You have a model right ? you can aceess the model inside the command and also inside the view. In the view you can addEvt... on the modelInstance. propertyYouwantT oListen (model class extend eventDispatcher or implements IEventDispatcher for this) update the model when in the command, view litens for the model and you call the function. TH From: Darrin Kay dar...@stop- ing.com To: flexcod...@yahoogro ups.com Sent: Tue, November 3, 2009 11:02:40 AM Subject: Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? a addEventListner would be the best but not sure how to add it to the result of the cmd file and have it kick off a function in the view page On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_braniak@ yahoo.com wrote: I have no idea what your architecture is, but if you use Cairngorm which I gather you do since you mentioned in the title you can still do some more or less dirty tircks in there. Put something in your model a boolean flag along with the data you want in your view. In the view bind the boolean data and execute a function (your function) when the bindings tirggers... when the data comes back from the server you just do boolFlah = !boolFlag and it fires your triggers... Dirty but it will do it ... C From: Darrin Kay dar...@stop- ing.com To: flexcod...@yahoogro ups.com Sent: Tue, November 3, 2009 10:29:34 AM Subject: Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? I can not add any 3rd party tools to the app. can you think of any another way? On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ yahoo.com wrote: You can attach an IResponder (with the result and fault functions) from your view as payload to your event. Inside your command you'll get the response/faul from the server and call the appropriate function on the IResponder reference. Check for UniversalMind cairngorm extension they explain this... However is doable and probably withhout the cairngorm extentsions ... HTH, Claudiu From: Darrin Kay dar...@stop- ing.com To: flexcod...@yahoogro ups.com Sent: Tue, November 3, 2009 10:18:51 AM Subject: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? OK I have a sequence issue, I have a page that calls an event, which goes all the way to a cf page and the DB, on the Result I need to have a function on the page get called. Is there a way to do this? I tried a addEventListener on the submit button, but the sequence is still off. Thanks, D
Re: [flexcoders] Plot Chart Vertical Axis Rendere label Rotation Problem
On Thursday 29 Oct 2009, Ramkumar wrote: Hi. Where and how to log bug? http://bugs.adobe.com/jira/browse/FLEXDMV -- Helping to augmentatively target leading-edge industry-wide bleeding-edge B2B designs as part of the IT team of the year, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?
yes, I got it in there but now it is telling me dispatchEvent(change) can not be a string, should be type flash.event:Event I have this in the ModelLocator.as: public function set varName(val:Number):void{ if(val !=areaID){ areaID = val; dispatchEvent(change); } } on the view page, in the init function I added model.areaID.addEventListner(change, setList); Thanks for all of your help Darrin On Tue, Nov 3, 2009 at 9:40 AM, claudiu ursica the_bran...@yahoo.comwrote: Either in your public class ModelName implements IModelLocator or inside some other class which is part of you model... Again I don't know your architecture... Are you developing this on your own? C -- *From:* Darrin Kay dar...@stop-ing.com *To:* flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 11:33:30 AM *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? so wout the setter just go in the model file? if so any place under the variable definition? On Tue, Nov 3, 2009 at 9:22 AM, claudiu ursica the_braniak@ yahoo.comthe_bran...@yahoo.com wrote: something like that in the view model.varName. addEventListner( change, function); , however in your model setter you do something like private var _whateverName: WhateverType; public var set varName(val: WhateverType) :void { if (val != _whateverName) { _whateverName = val; dispatchEvent(change); } } again class extend EventDispatcher ... C -- *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 11:15:11 AM *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? so it would be like this : model.varName. addEventListner( change, function); Sorry I have not use that yet, thanks On Tue, Nov 3, 2009 at 9:07 AM, claudiu ursica the_braniak@ yahoo.comthe_bran...@yahoo.com wrote: You have a model right ? you can aceess the model inside the command and also inside the view. In the view you can addEvt... on the modelInstance. propertyYouwantT oListen (model class extend eventDispatcher or implements IEventDispatcher for this) update the model when in the command, view litens for the model and you call the function. TH -- *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 11:02:40 AM *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? a addEventListner would be the best but not sure how to add it to the result of the cmd file and have it kick off a function in the view page On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_braniak@ yahoo.comthe_bran...@yahoo.com wrote: I have no idea what your architecture is, but if you use Cairngorm which I gather you do since you mentioned in the title you can still do some more or less dirty tircks in there. Put something in your model a boolean flag along with the data you want in your view. In the view bind the boolean data and execute a function (your function) when the bindings tirggers... when the data comes back from the server you just do boolFlah = !boolFlag and it fires your triggers... Dirty but it will do it ... C -- *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 10:29:34 AM *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? I can not add any 3rd party tools to the app. can you think of any another way? On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ yahoo.comthe_bran...@yahoo.com wrote: You can attach an IResponder (with the result and fault functions) from your view as payload to your event. Inside your command you'll get the response/faul from the server and call the appropriate function on the IResponder reference. Check for UniversalMind cairngorm extension they explain this... However is doable and probably withhout the cairngorm extentsions ... HTH, Claudiu -- *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 10:18:51 AM *Subject:* [flexcoders] can you get a command result in Cairngorm call a function on the calling page? OK I have a sequence issue, I have a page that calls an event, which goes all the way to a cf page and the DB, on the Result I need to have a function on the page get called. Is there a way to do this? I tried a addEventListener on the submit button, but the sequence
[flexcoders] dispatchEvent
ok all i want to do is add a eventListner to a variable, so when it changes value I kick off a event... why is it so damm hard? I am using cairngorn, and the variable is in the model scope. But I can not for the life of me figure how to get the dispatch / addeventlister to work and where it goes and what packages need to be added this is the last step I need to get done for a release any help would be sweet
RE: [flexcoders] dispatchEvent
Use binding? Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/ The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact is.helpd...@inps.co.uk
Re: [flexcoders] Adobe comment on ASC-3136?
On Monday 02 Nov 2009, Matt Chotin wrote: Well, it's what Closed/Deferred means but I'll see. IMVHO the status should never just be changed, the reasons should be given (however briefly). -- Helping to carefully unleash high-end infrastructures as part of the IT team of the year, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?
Because you need to dispatchEvent(new Event(change)); You need to do some RTFM :) before posting stuff like this... C From: Darrin Kay dar...@stop-ing.com To: flexcoders@yahoogroups.com Sent: Tue, November 3, 2009 11:49:29 AM Subject: Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? yes, I got it in there but now it is telling me dispatchEvent(change) can not be a string, should be type flash.event: Event I have this in the ModelLocator. as: public function set varName(val: Number):void{ if(val !=areaID){ areaID = val; dispatchEvent(change); } } on the view page, in the init function I added model.areaID. addEventListner(change, setList); Thanks for all of your help Darrin On Tue, Nov 3, 2009 at 9:40 AM, claudiu ursica the_braniak@ yahoo.com wrote: Either in your public class ModelName implements IModelLocator or inside some other class which is part of you model... Again I don't know your architecture. .. Are you developing this on your own? C From: Darrin Kay dar...@stop- ing.com To: flexcod...@yahoogro ups.com Sent: Tue, November 3, 2009 11:33:30 AM Subject: Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? so wout the setter just go in the model file? if so any place under the variable definition? On Tue, Nov 3, 2009 at 9:22 AM, claudiu ursica the_braniak@ yahoo.com wrote: something like that in the view model.varName. addEventListner( change, function); , however in your model setter you do something like private var _whateverName: WhateverType; public var set varName(val: WhateverType) :void { if (val != _whateverName) { _whateverName = val; dispatchEvent(change); } } again class extend EventDispatcher ... C From: Darrin Kay dar...@stop- ing.com To: flexcod...@yahoogro ups.com Sent: Tue, November 3, 2009 11:15:11 AM Subject: Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? so it would be like this : model.varName. addEventListner( change, function); Sorry I have not use that yet, thanks On Tue, Nov 3, 2009 at 9:07 AM, claudiu ursica the_braniak@ yahoo.com wrote: You have a model right ? you can aceess the model inside the command and also inside the view. In the view you can addEvt... on the modelInstance. propertyYouwantT oListen (model class extend eventDispatcher or implements IEventDispatcher for this) update the model when in the command, view litens for the model and you call the function. TH From: Darrin Kay dar...@stop- ing.com To: flexcod...@yahoogro ups.com Sent: Tue, November 3, 2009 11:02:40 AM Subject: Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? a addEventListner would be the best but not sure how to add it to the result of the cmd file and have it kick off a function in the view page On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_braniak@ yahoo.com wrote: I have no idea what your architecture is, but if you use Cairngorm which I gather you do since you mentioned in the title you can still do some more or less dirty tircks in there. Put something in your model a boolean flag along with the data you want in your view. In the view bind the boolean data and execute a function (your function) when the bindings tirggers... when the data comes back from the server you just do boolFlah = !boolFlag and it fires your triggers... Dirty but it will do it ... C From: Darrin Kay dar...@stop- ing.com To: flexcod...@yahoogro ups.com Sent: Tue, November 3, 2009 10:29:34 AM Subject: Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? I can not add any 3rd party tools to the app. can you think of any another way? On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ yahoo.com wrote: You can attach an IResponder (with the result and fault functions) from your view as payload to your event. Inside your command you'll get the response/faul from the server and call the appropriate function on the IResponder reference. Check for UniversalMind cairngorm extension they explain this... However is doable and probably withhout the cairngorm extentsions ... HTH, Claudiu From: Darrin Kay dar...@stop- ing.com To: flexcod...@yahoogro ups.com Sent: Tue, November 3, 2009 10:18:51 AM Subject: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? OK I have a sequence issue, I have a page that calls an event, which goes all the way to a cf page and the DB, on the Result I need to have a
Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?
Thanks for your help, I got it, was just a few things that needed to be done. Thanks for the help On Tue, Nov 3, 2009 at 11:42 AM, claudiu ursica the_bran...@yahoo.comwrote: Because you need to dispatchEvent(new Event(change)); You need to do some RTFM :) before posting stuff like this... C -- *From:* Darrin Kay dar...@stop-ing.com *To:* flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 11:49:29 AM *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? yes, I got it in there but now it is telling me dispatchEvent(change) can not be a string, should be type flash.event: Event I have this in the ModelLocator. as: public function set varName(val: Number):void{ if(val !=areaID){ areaID = val; dispatchEvent(change); } } on the view page, in the init function I added model.areaID. addEventListner(change, setList); Thanks for all of your help Darrin On Tue, Nov 3, 2009 at 9:40 AM, claudiu ursica the_braniak@ yahoo.comthe_bran...@yahoo.com wrote: Either in your public class ModelName implements IModelLocator or inside some other class which is part of you model... Again I don't know your architecture. .. Are you developing this on your own? C -- *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 11:33:30 AM *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? so wout the setter just go in the model file? if so any place under the variable definition? On Tue, Nov 3, 2009 at 9:22 AM, claudiu ursica the_braniak@ yahoo.comthe_bran...@yahoo.com wrote: something like that in the view model.varName. addEventListner( change, function); , however in your model setter you do something like private var _whateverName: WhateverType; public var set varName(val: WhateverType) :void { if (val != _whateverName) { _whateverName = val; dispatchEvent(change); } } again class extend EventDispatcher ... C -- *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 11:15:11 AM *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? so it would be like this : model.varName. addEventListner( change, function); Sorry I have not use that yet, thanks On Tue, Nov 3, 2009 at 9:07 AM, claudiu ursica the_braniak@ yahoo.comthe_bran...@yahoo.com wrote: You have a model right ? you can aceess the model inside the command and also inside the view. In the view you can addEvt... on the modelInstance. propertyYouwantT oListen (model class extend eventDispatcher or implements IEventDispatcher for this) update the model when in the command, view litens for the model and you call the function. TH -- *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 11:02:40 AM *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? a addEventListner would be the best but not sure how to add it to the result of the cmd file and have it kick off a function in the view page On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_braniak@ yahoo.comthe_bran...@yahoo.com wrote: I have no idea what your architecture is, but if you use Cairngorm which I gather you do since you mentioned in the title you can still do some more or less dirty tircks in there. Put something in your model a boolean flag along with the data you want in your view. In the view bind the boolean data and execute a function (your function) when the bindings tirggers... when the data comes back from the server you just do boolFlah = !boolFlag and it fires your triggers... Dirty but it will do it ... C -- *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com *Sent:* Tue, November 3, 2009 10:29:34 AM *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page? I can not add any 3rd party tools to the app. can you think of any another way? On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ yahoo.comthe_bran...@yahoo.com wrote: You can attach an IResponder (with the result and fault functions) from your view as payload to your event. Inside your command you'll get the response/faul from the server and call the appropriate function on the IResponder reference. Check for UniversalMind cairngorm extension they explain this...
Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?
On Tuesday 03 Nov 2009, Darrin Kay wrote: OK I have a sequence issue, I have a page that calls an event, which goes all the way to a cf page and the DB, on the Result I need to have a function on the page get called. Either have the page use ChangeWatcher to observe the model, or pass 'this' in as a parameter on the event, save the event object in the command to a private variable before invoking the server, and then reference savedEvent.callingView.yourFunc() in the result handler. I think ChangeWatcher is cleaner. -- Helping to continually disseminate guinine granular integrated distributed data as part of the IT team of the year, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
RE: [flexcoders] dispatchEvent
is it Watcher that you're looking for? something along these lines : (warning - straight off the top of my head so could well be wrong in detail at least. best check the docs) private function addWatcher():void { Watcher.watch(yourModelInstance,yourModelProperty,onYourModelPropertyChanged); } private function onYourModelPropertyChanged(changeEvent:ChangeEvent) { trace(changeEvent.newValue); //make and despatch your event here } I expect there are other ways to it as well.. -Original Message- From: flexcoders@yahoogroups.com on behalf of Darrin Kay Sent: Tue 11/3/2009 10:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] dispatchEvent ok all i want to do is add a eventListner to a variable, so when it changes value I kick off a event... why is it so damm hard? I am using cairngorn, and the variable is in the model scope. But I can not for the life of me figure how to get the dispatch / addeventlister to work and where it goes and what packages need to be added this is the last step I need to get done for a release any help would be sweet __ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. __winmail.dat
RE: [flexcoders] dispatchEvent
ooops, maybe that should be ChangeWatcher. Apologies, I've just got off a 14 hour overnight flight in cattle class I'm afraid! -Original Message- From: flexcoders@yahoogroups.com on behalf of Jim Hayes Sent: Tue 11/3/2009 12:29 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] dispatchEvent is it Watcher that you're looking for? something along these lines : (warning - straight off the top of my head so could well be wrong in detail at least. best check the docs) private function addWatcher():void { Watcher.watch(yourModelInstance,yourModelProperty,onYourModelPropertyChanged); } private function onYourModelPropertyChanged(changeEvent:ChangeEvent) { trace(changeEvent.newValue); //make and despatch your event here } I expect there are other ways to it as well.. -Original Message- From: flexcoders@yahoogroups.com on behalf of Darrin Kay Sent: Tue 11/3/2009 10:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] dispatchEvent ok all i want to do is add a eventListner to a variable, so when it changes value I kick off a event... why is it so damm hard? I am using cairngorn, and the variable is in the model scope. But I can not for the life of me figure how to get the dispatch / addeventlister to work and where it goes and what packages need to be added this is the last step I need to get done for a release any help would be sweet __ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. __winmail.dat
[flexcoders] Re: SWFLoader problem
Setting the SWFLoader component's visible attribute to false, solved the problem. Is it possible to control when the loaded swf file starts to play? This is because, by the time the swf file has loaded completely, and the SWFLoader component is made visible, the loaded swf file has already started playing. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Set visible=false until it is loaded Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of chandruflex Sent: Monday, November 02, 2009 4:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] SWFLoader problem In my application, I have a SWFLoader component, placed inside a Canvas container. I load a swf into the SWFLoader, dynamically. The problem is, when the swf file is loading, the display seems to be larger than the size of the enclosing Canvas container. But, after the swf has loaded completely, it perfectly fits into that Canvas. How do I avoid this problem. I do not want the swf file look larger than the enclosing Canvas, while it is loading. I am using Flex sdk 3.0.
Re: [flexcoders] Tab control of repeater items
Any one got any ideas?! From: Dave Cates d...@redemptionmedia.co.uk Reply-To: flexcoders@yahoogroups.com Date: Mon, 02 Nov 2009 23:00:03 + To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Subject: [flexcoders] Tab control of repeater items Hi all, I¹m creating an app that needs to make use of the tab control to cycle through the visible controls. Buttons, checkboxes etc are working great but I can¹t seem to be able to tab to the elements within my repeaters. Within the repeaters are custom components made up of things like textfields. I need each of the repeater¹s items to be tab enabled. I¹ve set them to tabEnabled, and set the repeater to have tabChildren enabled too. Any ideas?! Thanks!
[flexcoders] How can I put a PopUPMenuButton in an AdvancedDatagridColumn?
Hi, I have an advanced data grid , with 8 columns one of the columns i want the 8 th column as a POPUPMenu Button, and when I click on the menu item it should navigate to a url value which is in the Array dArr. Array dArr has 2 values ,how can i do this I have tried many things. Array dArr has the values [dd.label,dd.url] and some valuses in the array has more than one occurence, I mean [dd.label1,dd.url1],[dd.label2,dd.url2]. The values to be populated in the POPUPMenuButton , i have in an array dArr. please help me out. ?xml version=1.0? !-- Dashboard Main Service Summary table -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% backgroundColor=#FF initialize=initApp(); creationComplete=onCreationComplete(); mx:Style .hStyle { fontWeight:bold; fontFamily:Verdana; fontSize:12; align:center; } /mx:Style mx:Script ![CDATA[ var ddArr:ArrayCollection = new ArrayCollection(); var dp:ArrayCollection = new ArrayCollection(); var ddLabel:String=; var ddUrl:String=; var ddData:String=; var ddRest:String=; var popUpB:PopUpMenuButton; ddData= xd[9]; ddRest=ddData; var ddidx:int = ddData.indexOf(|); // var dObj:Object=new Object(); while ( ddidx 0 ) { ddLabel= ddRest.substring( 0, ddidx ); ddRest= ddRest.substring(ddidx + 1 ); ddidx = ddRest.indexOf(|); if( ddidx 0) { // ddUrl= ddRest.substring(ddidx + 1 ); ddUrl= ddRest.substring(0, ddidx ); ddRest= ddRest.substring(ddidx + 1 ); ddidx = ddRest.indexOf(|); } dObj.label= ddLabel; dObj.url=ddUrl; ddArr.addItem(dObj); } popUpB=new PopUpMenuButton(); myMenu = new Menu(); myMenu.labelField = Action; myMenu.showRoot = true; myMenu.width = popUpB.width; myMenu.selectedIndex = 0; myMenu.dataProvider = ddArr; // myMenu.addEventListener(itemClick, itemClickHandler); popUpB.popUp = myMenu; dp.addItem( { Index:xd[0], Service:xd[1], Priority:xd[2], Current SLA:xd[3],Health:xd[4], Quality:xd[5], Risk:xd[6], Avail:xd[7], OpMode:xd[8], dd:popUpB} ); dp = dpSrv; gc.source=dp; gc.refresh(); ]] /mx:Script mx:HTTPService id=sst resultFormat=text result=onJSONLoad(event) url={sURL} fault=onFaultLoad(event)/ mx:Panel title={cTitle} width=100% height=100% titleStyleName=hStyle headerColors=[0xC5DFF9,0xEFF6FF] mx:AdvancedDataGrid id=srvTable width=100% height=100% color=0x323232 dragEnabled=true dropEnabled=true enabled=true showHeaders=true displayItemsExpanded=true variableRowHeight=true wordWrap=false initialize=gc.refresh(); mx:dataProvider mx:GroupingCollection id=gc source ={dpSrv} mx:grouping mx:Grouping !-- mx:GroupingField name=PService / -- mx:GroupingField name=Service / /mx:Grouping /mx:grouping /mx:GroupingCollection !-- mx:HierarchicalData id=gc source={dpSrv}/ -- /mx:dataProvider mx:columns mx:AdvancedDataGridColumn id =ddcol dataField=dd headerText= Drill-down width=200 textAlign=left /mx:AdvancedDataGridColumn /mx:columns mx:rendererProviders mx:AdvancedDataGridRendererProvider dataField=dd depth=1 column={ddcol} columnIndex=8 renderer=mx.controls.PopUpMenuButton / /mx:rendererProviders /mx:AdvancedDataGrid /mx:Panel /mx:Application thanks in advance, Tom.
[flexcoders] Re: SSL certificate on linux machine
Hello all, I have a qustion abou HTTPs connections and certificate about AIR/Flex on linux. I have an appliaction built using flexbuilder which use URLloader to an HTTPs appliacion. To work correctly I need have ssl certificate installed before I use my application. On windows, I install cert using standard windows cert. storage. On MAC I can accept certificate when running my application. But only on linux (Ubuntu) I didn't found, howto install cacer permanently into a database and my application is asking me for unknown certificate agreement. I found http://kb2.adobe.com/cps/408/kb408085.html and http://labs.adobe.com/wiki/index.php/AIR_for_Linux:Release_Notes#Adobe_Unix_CertificateStore_Manager_.28aucm.29 but placing certificate into ~/.appdata/Adobe/AIR/Certs or /etc/opt/Adobe/certificates/crypt/ using aucm command didn't remove anoying certificate agreement when my app. connects to server. Can anyone help me with this ? Where can I place ssl certificate for URLloader using https for linux ? Thanks a lot.. Martin Polehla btw. I'm sorry about previous unfinished message. I sent it accidently. I'm new at flexcoders list and new in flex programing.
[flexcoders] Re: State of secure communication in Flex?
Hi Matt, More specifically and not at all apparent from my original post :) I was asking about the status of WS-* related functionality. There are a few deferred/closed defects here (assigned to MC), for example SDK-15398 http://bugs.adobe.com/jira/browse/SDK-15398?page=com.atlassian.jira.plu\ gin.system.issuetabpanels:all-tabpanel . Rob --- In flexcoders@yahoogroups.com, Matt Hughes hughes.m...@... wrote: HTTPS? On Fri, Oct 30, 2009 at 5:19 PM, Rob S. robsli...@... wrote: Hi everyone, I'm curious what the state of secure communication in Flex is. How are people securing communication (both authentication and encryption) between Flex clients and services, either via remoting or web services? Thanks! Rob
[flexcoders] Display icon and label
I am trying to display icon and label vertically in MenuBar control. But they are displaying it horizontally. I also tried to override updateDisplayList() but it did not worked out. Does anyone have a code snippet about how to display an icon and label vertically?
[flexcoders] A weird performance issue about regExp!
The further clue about the previous topic: A weird performance issue After some investigation, maybe regExp is one of the reasons. One loop in my air program: var beg1:Date = new Date(); regexMatched = regexpArray[index].test(line); var end1:Date = new Date(); sum1 += (end1.valueOf()-beg1.valueOf()); Then for value of sum1: The 1st runThe 2nd runThe 3rd run 34 --- 154 --- 34 39 --- 141 --- 39 54 --- 200 --- 59 Why so great difference for the second run regExp.test()? Any comments? Thanks. --- 09年11月3日,周二, ha a ahat...@yahoo.com.cn 写道: 发件人: ha a ahat...@yahoo.com.cn 主题: Weird performance issue 收件人: flexcoders@yahoogroups.com 日期: 2009年11月3日,周二,下午1:35 An air program will process many log files, click run button to inspect these log files one by one. *Problems*: Click run button, then the air program's performance is OK. Click run button again, then the air program's performance maybe OK or may not OK.(about 60-70% is NOT OK) Click run button again, then the air program's performance is OK. ... Then, seems only the second run may have the performance issue. So weird? In fact, each run should do the same thing. BTW, the busy cursor is a clock, when running slow, the clock cursor also run slowly. *About profiler*: And I also use Flex builder profiler to analyse. For example, for OK run, elapse time: 2min the biggest cumulative time: 1min for issue run: elapse time: 7min the biggest cumulative time: 3.5min *Questions*: 1. Do you have any general clue or hint on this issue? 2. About profiler, for example, the elapse time is 7min, but cumulative time is 3.5min, where is another 3.5min? seems some functions were not be counted by profiler? how can I know what costs the another 3.5 min? *Backgrounds*: 1. Windows Vista, Flex builder3, flex sdk3.2, actionscript3 2. when processing log, read file, check each line for finding the keyword. 3. one virtual thread(by timer) is for one log file processing. 4: any other information need? Thanks 好玩贺卡等你发,邮箱贺卡全新上线! ___ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/
[flexcoders] Weird performance issue
An air program will process many log files, click run button to inspect these log files one by one. *Problems*: Click run button, then the air program's performance is OK. Click run button again, then the air program's performance maybe OK or may not OK.(about 60-70% is NOT OK) Click run button again, then the air program's performance is OK. ... ... Seems only the second run may have the performance issue. So weird? In fact, each run should do the same thing. BTW, the busy cursor is a clock, when running slow, the clock cursor also run slowly. *About profiler*: And I also use Flex builder profiler to analyse. For example, for OK run, elapse time: 2min the biggest cumulative time: 1min for issue run: elapse time: 7min the biggest cumulative time: 3.5min *Questions*: 1. Do you have any general clue or hint on this issue? 2. About profiler, for example, the elapse time is 7min, but cumulative time is 3.5min, where is another 3.5min? seems some functions were not be counted by profiler? how can I know what costs the another 3.5 min? 3. *Backgrounds*: 1. Windows Vista, Flex builder3, flex sdk3.2, actionscript3 2. when processing log, read file, check each line for finding the keyword. 3. one virtual thread(by timer) is for one log file processing. 4: any other information need? Thanks.
[flexcoders] Have you been trying to have multi-bit streaming?
We had a number of clients that needed multi-bit streaming for a video page. This page must look like the website and not a typical video. We hunted and hunted and came up empty. To make a long story short we developed a page (full screen) that will deliver 150 kilobytes and up. Our player pings constantly and will change the delivery rate on the fly without interrupting the video feed. Our steaming does not BUFFER and is not progressive. We are offering to provide this technology for other web and video companys. We will stay in the background and not interfere with your relationship with your client. Give us your video and we will design the player or players. One other benefit is that we can play video on video which opens up many more opportunities. Give us a call at 941-869-6422 or email actionscri...@yahoo.com Here is an example of a video page. We did the opening and the clients web company did the rest of the site. http://www.unitekhawaii.com
[flexcoders] Weird performance issue
An air program will process many log files, click run button to inspect these log files one by one. *Problems*: Click run button, then the air program's performance is OK. Click run button again, then the air program's performance maybe OK or may not OK.(about 60-70% is NOT OK) Click run button again, then the air program's performance is OK. ... Then, seems only the second run may have the performance issue. So weird? In fact, each run should do the same thing. BTW, the busy cursor is a clock, when running slow, the clock cursor also run slowly. *About profiler*: And I also use Flex builder profiler to analyse. For example, for OK run, elapse time: 2min the biggest cumulative time: 1min for issue run: elapse time: 7min the biggest cumulative time: 3.5min *Questions*: 1. Do you have any general clue or hint on this issue? 2. About profiler, for example, the elapse time is 7min, but cumulative time is 3.5min, where is another 3.5min? seems some functions were not be counted by profiler? how can I know what costs the another 3.5 min? *Backgrounds*: 1. Windows Vista, Flex builder3, flex sdk3.2, actionscript3 2. when processing log, read file, check each line for finding the keyword. 3. one virtual thread(by timer) is for one log file processing. 4: any other information need? Thanks ___ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/
[flexcoders] Problem in deploying flex app in hardware load balanced environment
I have developed the dashboard in my application using flex 3.0. For this I have used JSP wrapper around the flex application. My application runs on JBoss application server. for communication between flex app and my application I am using LCDS. HTTPService component is being used to receive data from the server. Channel definitions are given in service-config.xml for amf and http channels and for both secure secure and not secure mode. In my proxy-config.xml I have defined Channels and destinations. In my development environment both secure and non secure mode were working fine. Now when I have deployed it behind the hardware load balancer(which accepts secure requests only and if the request is not secure it redirects it to secure url) there is no response from the message broker servlet. One thing more I have observed is when the environment is non load balanced there are request like 'http://{server.name}:{server.port}/{context.root}/messagebroker/http'. and these requests are post request. But in load balanced environment with ssl the request is again like 'http://{server.name}:{server.port}/{context.root}/messagebroker/http' which is a post request and it is redirected to 'https://{server.name}:{server.port}/{context.root}/messagebroker/http' which is a get request. The content returned by this get request is null. services-config.xml ... ... channel-definition id=my-amf class=mx.messaging.channels.AMFChannel endpoint url=http://{server.name}:{server.port}/{context.root}/messagebroker/amf; class=flex.messaging.endpoints.AMFEndpoint/ properties polling-enabledfalse/polling-enabled /properties /channel-definition channel-definition id=my-secure-amf class=mx.messaging.channels.SecureAMFChannel endpoint url=https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure; class=flex.messaging.endpoints.SecureAMFEndpoint/ properties add-no-cache-headersfalse/add-no-cache-headers /properties /channel-definition channel-definition id=my-http class=mx.messaging.channels.HTTPChannel endpoint url=http://{server.name}:{server.port}/{context.root}/messagebroker/http; class=flex.messaging.endpoints.HTTPEndpoint/ /channel-definition channel-definition id=my-secure-http class=mx.messaging.channels.SecureHTTPChannel endpoint url=https://{server.name}:{server.port}/{context.root}/messagebroker/httpsecure; class=flex.messaging.endpoints.SecureHTTPEndpoint/ properties add-no-cache-headersfalse/add-no-cache-headers /properties /channel-definition ... ... proxy-config.xml ... ... default-channels channel ref=my-http/ channel ref=my-amf/ channel ref=my-secure-http/ channel ref=my-secure-amf/ /default-channels ... ... destination id=dashboardService properties url/kr/servlet/DashboardServlet/url /properties /destination destination id=dashboardJSPService properties url/kr/krportal/dashboardJSPService.jsf/url /properties /destination ... ... Looking for some comments Thanks Abhishek Gupta
Re: [flexcoders] Display icon and label
try this http://dougmccune.com/blog/2007/01/25/vertical-menubar-component/ On Tue, Nov 3, 2009 at 9:16 AM, atflex9 atfl...@yahoo.com wrote: I am trying to display icon and label vertically in MenuBar control. But they are displaying it horizontally. I also tried to override updateDisplayList() but it did not worked out. Does anyone have a code snippet about how to display an icon and label vertically?
[flexcoders] real time messanging... REFdn2025035484
Suppose a flex. like a chat application, where the messages from other clients it is required to be transferred immediately. The solution is to develop a server side app where will be the hub and the message handler of client's messages. The communication will be based on tcp ip sockets. This server side application, in which development environment will be developed? JPEE? Please give some guidelines to search and read respectively. Best regards dennis
[flexcoders] where must be the storage place for files will be used from flex applications? REFdn6015532475
Suppose a flex application that shows photographs and information of some products. Where these data will be stored and how will be retrieved? A known solution is to store this kind of information to an ftp server, so the flash app will download or upload the data from an ftp server. Is there a better solution? Even more, suppose we have a very small kind of information. for instance the user's preferred environment color. And we want to store somewhere this information, but not in user's computer. which is the most popular way to store this information? Best regards dennis
[flexcoders] Wondering about buttons..
I have always wondered what the best way to do this was: I need to create a reusable button, but this button will sometimes have an arrow on the right side, an 'x' on the right side, or nothing on the right side. There might be the possibility to have these on the left side too. I have attempted this before, but I have never really come up with an elegant solution. Just wondering what the best/cleanest way to do this would be? Thanks!
[flexcoders] flexcoders stats and charts (and full data download)
Hey guys, Last night I put together a post that details some of the stats for this list: http://dougmccune.com/blog/2009/11/03/flexcoders-mailing-list-stats-pretty-graphs-full-dataset/ The post also contains a download of the entire archive of all flexcoders messages (up through last night). The file is a CSV file and contains the sender name, subject, and date of every message ever posted to the list. It contains 148,826 posts. I also have the full database archive (it's in MS Access format) that contains all the full-text of the messages, but that file is 1.5 gigs so I'm not posting it for download, but if someone has some ideas about what to do with it I can probably get it to you somehow. I know we had a long discussion back a long time ago about whether the list was declining in traffic, whether it should be split up, yadda yadda. I finally got around to getting a really good complete dataset to play with. Hope you enjoy the post and let me (and the rest of us on the list) know if you do anything cool with the data yourself. Doug
Re: [flexcoders] flexcoders stats and charts (and full data download)
Wow ! The UI looks really nice :) 2009/11/3 Doug McCune d...@dougmccune.com Hey guys, Last night I put together a post that details some of the stats for this list: http://dougmccune.com/blog/2009/11/03/flexcoders-mailing-list-stats-pretty-graphs-full-dataset/ The post also contains a download of the entire archive of all flexcoders messages (up through last night). The file is a CSV file and contains the sender name, subject, and date of every message ever posted to the list. It contains 148,826 posts. I also have the full database archive (it's in MS Access format) that contains all the full-text of the messages, but that file is 1.5 gigs so I'm not posting it for download, but if someone has some ideas about what to do with it I can probably get it to you somehow. I know we had a long discussion back a long time ago about whether the list was declining in traffic, whether it should be split up, yadda yadda. I finally got around to getting a really good complete dataset to play with. Hope you enjoy the post and let me (and the rest of us on the list) know if you do anything cool with the data yourself. Doug
Re: [flexcoders] flexcoders stats and charts (and full data download)
And of course instantly my server decides to go down. I'm aware, working on it. Sorry for the check this out, oh wait, server crashed :P Doug On Tue, Nov 3, 2009 at 8:04 AM, primo411 primo...@gmail.com wrote: Wow ! The UI looks really nice :) 2009/11/3 Doug McCune d...@dougmccune.com Hey guys, Last night I put together a post that details some of the stats for this list: http://dougmccune.com/blog/2009/11/03/flexcoders-mailing-list-stats-pretty-graphs-full-dataset/ The post also contains a download of the entire archive of all flexcoders messages (up through last night). The file is a CSV file and contains the sender name, subject, and date of every message ever posted to the list. It contains 148,826 posts. I also have the full database archive (it's in MS Access format) that contains all the full-text of the messages, but that file is 1.5 gigs so I'm not posting it for download, but if someone has some ideas about what to do with it I can probably get it to you somehow. I know we had a long discussion back a long time ago about whether the list was declining in traffic, whether it should be split up, yadda yadda. I finally got around to getting a really good complete dataset to play with. Hope you enjoy the post and let me (and the rest of us on the list) know if you do anything cool with the data yourself. Doug
Re: [flexcoders] flexcoders stats and charts (and full data download)
Seems to be back up, god I hate servers, but I guess that's why I do front-end development. BTW, I'm going to be investigating getting a full dataset of the Adobe Flex forums too and will likely do some similar visualizations once I figure out how to get the data. Looks like the forum software Adobe uses (from Jive) has webservice access and I should be able to write something to pull all the data. If anyone has any experience with this, drop me a line. Doug On Tue, Nov 3, 2009 at 8:07 AM, Doug McCune d...@dougmccune.com wrote: And of course instantly my server decides to go down. I'm aware, working on it. Sorry for the check this out, oh wait, server crashed :P Doug On Tue, Nov 3, 2009 at 8:04 AM, primo411 primo...@gmail.com wrote: Wow ! The UI looks really nice :) 2009/11/3 Doug McCune d...@dougmccune.com Hey guys, Last night I put together a post that details some of the stats for this list: http://dougmccune.com/blog/2009/11/03/flexcoders-mailing-list-stats-pretty-graphs-full-dataset/ The post also contains a download of the entire archive of all flexcoders messages (up through last night). The file is a CSV file and contains the sender name, subject, and date of every message ever posted to the list. It contains 148,826 posts. I also have the full database archive (it's in MS Access format) that contains all the full-text of the messages, but that file is 1.5 gigs so I'm not posting it for download, but if someone has some ideas about what to do with it I can probably get it to you somehow. I know we had a long discussion back a long time ago about whether the list was declining in traffic, whether it should be split up, yadda yadda. I finally got around to getting a really good complete dataset to play with. Hope you enjoy the post and let me (and the rest of us on the list) know if you do anything cool with the data yourself. Doug
[flexcoders] Re: real time messanging... REFdn2025035484
You can use messaging service in BlazeDS: http://opensource.adobe.com/wiki/display/blazeds/BlazeDS/ -Mete --- In flexcoders@yahoogroups.com, dennis den...@... wrote: Suppose a flex. like a chat application, where the messages from other clients it is required to be transferred immediately. The solution is to develop a server side app where will be the hub and the message handler of client's messages. The communication will be based on tcp ip sockets. This server side application, in which development environment will be developed? JPEE? Please give some guidelines to search and read respectively. Best regards dennis
[flexcoders] Re: Wondering about buttons..
If I were going to do this, I would create a new class that extended button with a couple of public properties - one to set the icon side and one to set the icon type. --- In flexcoders@yahoogroups.com, tchredeemed apth...@... wrote: I have always wondered what the best way to do this was: I need to create a reusable button, but this button will sometimes have an arrow on the right side, an 'x' on the right side, or nothing on the right side. There might be the possibility to have these on the left side too. I have attempted this before, but I have never really come up with an elegant solution. Just wondering what the best/cleanest way to do this would be? Thanks!
[flexcoders] SWF frame and Flash Player Frame
Hi folks, Could I have the definition about these concepts? What is the relationship between them? In particular, I would know if they are paired each other or not. Thanks in advance. Cheers.
Re: [flexcoders] flexcoders stats and charts (and full data download)
Very interesting stats., and it's hat's off to Tom Chiverton and Tracy Spratt. Thank you to them. How about a star burst to show which topics led to the most subsequent activity? John Doug McCune wrote: Seems to be back up, god I hate servers, but I guess that's why I do front-end development. BTW, I'm going to be investigating getting a full dataset of the Adobe Flex forums too and will likely do some similar visualizations once I figure out how to get the data. Looks like the forum software Adobe uses (from Jive) has webservice access and I should be able to write something to pull all the data. If anyone has any experience with this, drop me a line. Doug On Tue, Nov 3, 2009 at 8:07 AM, Doug McCune d...@dougmccune.com mailto:d...@dougmccune.com wrote: And of course instantly my server decides to go down. I'm aware, working on it. Sorry for the check this out, oh wait, server crashed :P Doug On Tue, Nov 3, 2009 at 8:04 AM, primo411 primo...@gmail.com mailto:primo...@gmail.com wrote: Wow ! The UI looks really nice :) 2009/11/3 Doug McCune d...@dougmccune.com mailto:d...@dougmccune.com Hey guys, Last night I put together a post that details some of the stats for this list: http://dougmccune.com/blog/2009/11/03/flexcoders-mailing-list-stats-pretty-graphs-full-dataset/ The post also contains a download of the entire archive of all flexcoders messages (up through last night). The file is a CSV file and contains the sender name, subject, and date of every message ever posted to the list. It contains 148,826 posts. I also have the full database archive (it's in MS Access format) that contains all the full-text of the messages, but that file is 1.5 gigs so I'm not posting it for download, but if someone has some ideas about what to do with it I can probably get it to you somehow. I know we had a long discussion back a long time ago about whether the list was declining in traffic, whether it should be split up, yadda yadda. I finally got around to getting a really good complete dataset to play with. Hope you enjoy the post and let me (and the rest of us on the list) know if you do anything cool with the data yourself. Doug
Re: [flexcoders] flexcoders stats and charts (and full data download)
And an specially big thank you to Alex Harui and Matt Chotin from Adobe for their Herculean work rate. John Doug McCune wrote: Seems to be back up, god I hate servers, but I guess that's why I do front-end development. BTW, I'm going to be investigating getting a full dataset of the Adobe Flex forums too and will likely do some similar visualizations once I figure out how to get the data. Looks like the forum software Adobe uses (from Jive) has webservice access and I should be able to write something to pull all the data. If anyone has any experience with this, drop me a line. Doug On Tue, Nov 3, 2009 at 8:07 AM, Doug McCune d...@dougmccune.com mailto:d...@dougmccune.com wrote: And of course instantly my server decides to go down. I'm aware, working on it. Sorry for the check this out, oh wait, server crashed :P Doug On Tue, Nov 3, 2009 at 8:04 AM, primo411 primo...@gmail.com mailto:primo...@gmail.com wrote: Wow ! The UI looks really nice :) 2009/11/3 Doug McCune d...@dougmccune.com mailto:d...@dougmccune.com Hey guys, Last night I put together a post that details some of the stats for this list: http://dougmccune.com/blog/2009/11/03/flexcoders-mailing-list-stats-pretty-graphs-full-dataset/ The post also contains a download of the entire archive of all flexcoders messages (up through last night). The file is a CSV file and contains the sender name, subject, and date of every message ever posted to the list. It contains 148,826 posts. I also have the full database archive (it's in MS Access format) that contains all the full-text of the messages, but that file is 1.5 gigs so I'm not posting it for download, but if someone has some ideas about what to do with it I can probably get it to you somehow. I know we had a long discussion back a long time ago about whether the list was declining in traffic, whether it should be split up, yadda yadda. I finally got around to getting a really good complete dataset to play with. Hope you enjoy the post and let me (and the rest of us on the list) know if you do anything cool with the data yourself. Doug
Re: [flexcoders] flexcoders stats and charts (and full data download)
I've got the numbers for longest threads too, just didn't include those stats in the post. Here are the top 5 threads for all time and for the past year. For all time: Splitting FlexCoders into smaller, focused groups - 137 messages Will Microsofts new Silverlight Player kill our beloved Flex? - 129 messages Flex 1.5 price - 103 messages Choice of backend systems - 82 messages SEO Compatibility - 66 messages For only 2009: Flex Builder on Linux being scrapped - 38 messages New Adobe Forums coming! - 37 messages Question about a Flex component - 34 messages Roles Based UI - 33 messages Ribbon in FLEX - 30 messages On Tue, Nov 3, 2009 at 9:02 AM, John McCormack j...@easypeasy.co.uk wrote: Very interesting stats., and it's hat's off to Tom Chiverton and Tracy Spratt. Thank you to them. How about a star burst to show which topics led to the most subsequent activity? John Doug McCune wrote: Seems to be back up, god I hate servers, but I guess that's why I do front-end development. BTW, I'm going to be investigating getting a full dataset of the Adobe Flex forums too and will likely do some similar visualizations once I figure out how to get the data. Looks like the forum software Adobe uses (from Jive) has webservice access and I should be able to write something to pull all the data. If anyone has any experience with this, drop me a line. Doug On Tue, Nov 3, 2009 at 8:07 AM, Doug McCune d...@dougmccune.comdoug%40dougmccune.com mailto:d...@dougmccune.com doug%40dougmccune.com wrote: And of course instantly my server decides to go down. I'm aware, working on it. Sorry for the check this out, oh wait, server crashed :P Doug On Tue, Nov 3, 2009 at 8:04 AM, primo411 primo...@gmail.comprimo411%40gmail.com mailto:primo...@gmail.com primo411%40gmail.com wrote: Wow ! The UI looks really nice :) 2009/11/3 Doug McCune d...@dougmccune.com doug%40dougmccune.com mailto:d...@dougmccune.com doug%40dougmccune.com Hey guys, Last night I put together a post that details some of the stats for this list: http://dougmccune.com/blog/2009/11/03/flexcoders-mailing-list-stats-pretty-graphs-full-dataset/ The post also contains a download of the entire archive of all flexcoders messages (up through last night). The file is a CSV file and contains the sender name, subject, and date of every message ever posted to the list. It contains 148,826 posts. I also have the full database archive (it's in MS Access format) that contains all the full-text of the messages, but that file is 1.5 gigs so I'm not posting it for download, but if someone has some ideas about what to do with it I can probably get it to you somehow. I know we had a long discussion back a long time ago about whether the list was declining in traffic, whether it should be split up, yadda yadda. I finally got around to getting a really good complete dataset to play with. Hope you enjoy the post and let me (and the rest of us on the list) know if you do anything cool with the data yourself. Doug
Re: [flexcoders] flexcoders stats and charts (and full data download)
Interesting. I wonder if the threads are getting shorter - a sign of the times, perhaps. I was thinking it might be useful to know about all the ones that people have appended the tag 'SOLVED'. I wonder if someone at Adobe might pick this up and create a searchable database of solutions. Imagine clicking on keywords and having the threads highlighted, with a solution tagged on the end. A suitable AIR project perhaps, using the 11meg downloaded message list. In my situation, just to keep control, I delete earlier months of messages once I get over 4000. It would be nice to be able to find all those wise words about a topic of concern. John Doug McCune wrote: I've got the numbers for longest threads too, just didn't include those stats in the post. Here are the top 5 threads for all time and for the past year. For all time: Splitting FlexCoders into smaller, focused groups - 137 messages Will Microsofts new Silverlight Player kill our beloved Flex? - 129 messages Flex 1.5 price - 103 messages Choice of backend systems - 82 messages SEO Compatibility - 66 messages For only 2009: Flex Builder on Linux being scrapped - 38 messages New Adobe Forums coming! - 37 messages Question about a Flex component - 34 messages Roles Based UI - 33 messages Ribbon in FLEX - 30 messages On Tue, Nov 3, 2009 at 9:02 AM, John McCormack j...@easypeasy.co.uk mailto:j...@easypeasy.co.uk wrote: Very interesting stats., and it's hat's off to Tom Chiverton and Tracy Spratt. Thank you to them. How about a star burst to show which topics led to the most subsequent activity? John Doug McCune wrote: Seems to be back up, god I hate servers, but I guess that's why I do front-end development. BTW, I'm going to be investigating getting a full dataset of the Adobe Flex forums too and will likely do some similar visualizations once I figure out how to get the data. Looks like the forum software Adobe uses (from Jive) has webservice access and I should be able to write something to pull all the data. If anyone has any experience with this, drop me a line. Doug On Tue, Nov 3, 2009 at 8:07 AM, Doug McCune d...@dougmccune.com mailto:doug%40dougmccune.com mailto:d...@dougmccune.com mailto:doug%40dougmccune.com wrote: And of course instantly my server decides to go down. I'm aware, working on it. Sorry for the check this out, oh wait, server crashed :P Doug On Tue, Nov 3, 2009 at 8:04 AM, primo411 primo...@gmail.com mailto:primo411%40gmail.com mailto:primo...@gmail.com mailto:primo411%40gmail.com wrote: Wow ! The UI looks really nice :) 2009/11/3 Doug McCune d...@dougmccune.com mailto:doug%40dougmccune.com mailto:d...@dougmccune.com mailto:doug%40dougmccune.com Hey guys, Last night I put together a post that details some of the stats for this list: http://dougmccune.com/blog/2009/11/03/flexcoders-mailing-list-stats-pretty-graphs-full-dataset/ The post also contains a download of the entire archive of all flexcoders messages (up through last night). The file is a CSV file and contains the sender name, subject, and date of every message ever posted to the list. It contains 148,826 posts. I also have the full database archive (it's in MS Access format) that contains all the full-text of the messages, but that file is 1.5 gigs so I'm not posting it for download, but if someone has some ideas about what to do with it I can probably get it to you somehow. I know we had a long discussion back a long time ago about whether the list was declining in traffic, whether it should be split up, yadda yadda. I finally got around to getting a really good complete dataset to play with. Hope you enjoy the post and let me (and the rest of us on the list) know if you do anything cool with the data yourself. Doug
[flexcoders] Line 717 of ModuleManager
Anybody have a problem with this line moduleEvent.bytesLoaded = loader.contentLoaderInfo.bytesLoaded; sometimes I get a null reference. Thanks, patrick
[flexcoders] Re: How can I put a PopUPMenuButton in an AdvancedDatagridColumn?
This quick and dirty example (Based on the Adobe Documentation) should get you well on your way: ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ import mx.collections.ArrayCollection; [Bindable] private var dpHierarchy:ArrayCollection = new ArrayCollection([ {Region:Southwest, children: [ {Region:Arizona, children: [ {Territory_Rep:Barbara Jennings, Actual:38865, Estimate:4, URL:www.apple.com}, {Territory_Rep:Dana Binn, Actual:29885, Estimate:3, URL:www.adobe.com}]}, {Region:Central California, children: [ {Territory_Rep:Joe Smith, Actual:29134, Estimate:3, URL:www.google.com}]}, {Region:Nevada, children: [ {Territory_Rep:Bethany Pittman, Actual:52888, Estimate:45000, URL:www.amazon.com}]}, {Region:Northern California, children: [ {Territory_Rep:Lauren Ipsum, Actual:38805, Estimate:4, URL:www.microsoft.com}, {Territory_Rep:T.R. Smith, Actual:55498, Estimate:4, URL:www.yahoo.com}]}, {Region:Southern California, children: [ {Territory_Rep:Alice Treu, Actual:44985, Estimate:45000, URL:www.ibm.com}, {Territory_Rep:Jane Grove, Actual:44913, Estimate:45000, URL:www.bing.com}]} ]} ]); ]] /mx:Script mx:AdvancedDataGrid width=100% height=100% mx:dataProvider mx:HierarchicalData source={dpHierarchy}/ /mx:dataProvider mx:columns mx:AdvancedDataGridColumn dataField=Region/ mx:AdvancedDataGridColumn dataField=Territory_Rep headerText=Territory Rep/ mx:AdvancedDataGridColumn dataField=Actual/ mx:AdvancedDataGridColumn dataField=Estimate/ mx:AdvancedDataGridColumn id=actionCol headerText=Action/ /mx:columns mx:rendererProviders mx:AdvancedDataGridRendererProvider column={actionCol} depth=3 renderer=PopUpMenuButtonRenderer/ /mx:rendererProviders /mx:AdvancedDataGrid /mx:Application PopUpMenuButtonRenderer.as: package { import mx.controls.*; import mx.events.MenuEvent; import flash.net.URLRequest; import flash.net.navigateToURL; public class PopUpMenuButtonRenderer extends PopUpMenuButton { private var _URL:String; private static const menuItems:Array = [Go to Web Site, Do Something Else]; public function PopUpMenuButtonRenderer() { super(); } override public function set data(value:Object):void { if(value != null) { super.data = value; _URL = value[URL]; addEventListener(MenuEvent.ITEM_CLICK, onMenuClick) label = Action; dataProvider = menuItems; } } private function onMenuClick(event:MenuEvent):void { switch(event.label) { case Go to Web Site: navigateToURL(new URLRequest(http://; + _URL),_top); break; } } } } HTH Steve --- In flexcoders@yahoogroups.com, thomas_13s thomas_...@... wrote: Hi, I have an advanced data grid , with 8 columns one of the columns i want the 8 th column as a POPUPMenu Button, and when I click on the menu item it should navigate to a url value which is in the Array dArr. Array dArr has 2 values ,how can i do this I have tried many things. Array dArr has the values [dd.label,dd.url] and some valuses in the array has more than one occurence, I mean [dd.label1,dd.url1],[dd.label2,dd.url2]. The values to be populated in the POPUPMenuButton , i have in an array dArr. please help me out. ?xml version=1.0? !-- Dashboard Main Service Summary table -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% backgroundColor=#FF initialize=initApp(); creationComplete=onCreationComplete(); mx:Style .hStyle { fontWeight:bold; fontFamily:Verdana; fontSize:12; align:center; } /mx:Style mx:Script ![CDATA[ var ddArr:ArrayCollection = new ArrayCollection(); var dp:ArrayCollection = new ArrayCollection(); var ddLabel:String=; var ddUrl:String=; var ddData:String=; var ddRest:String=; var popUpB:PopUpMenuButton; ddData= xd[9]; ddRest=ddData; var ddidx:int = ddData.indexOf(|); // var dObj:Object=new Object(); while ( ddidx 0 ) { ddLabel= ddRest.substring( 0, ddidx ); ddRest= ddRest.substring(ddidx + 1 );
RE: [flexcoders] Matrix3D error
The old projects from FB4 imported classes from the Flex 4 sdk and your Flex 3 compiler is complaining about classes that it can't find in Flex 3. If you want to compile against Flex 4 in FB3, then set up your SDKs to add the Flex 4 SDK, and point your project(s) at that SDK instead of the default Flex 3 SDK. If you're just building Flex3 code (and your projects that you imported aren't using and Flex 4-isms), then do a clean on those projects and rebuild. Chet. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Agha Mehdi Sent: Tuesday, November 03, 2009 11:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Matrix3D error All, I just installed FB 3 and now my imported projects done in FB 4 beta 2 give me this error Type was not found or was not a compile-time constant: Matrix3D. How do I get rid of this? Thanks
[flexcoders] What's up with Flashbuilder beta2 and the export release build
Takes a half hour, then says my project has errors and can't do it -- the compiler can't find em i guess -- what a suck-a-thon!
Re: [flexcoders] Matrix3D error
sorry. forgot to mention that it is pointing to flex 4 SDK On Tue, Nov 3, 2009 at 11:21 AM, Chet Haase cha...@adobe.com wrote: The old projects from FB4 imported classes from the Flex 4 sdk and your Flex 3 compiler is complaining about classes that it can’t find in Flex 3. If you want to compile against Flex 4 in FB3, then set up your SDKs to add the Flex 4 SDK, and point your project(s) at that SDK instead of the default Flex 3 SDK. If you’re just building Flex3 code (and your projects that you imported aren’t using and Flex 4-isms), then do a clean on those projects and rebuild. Chet. *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Agha Mehdi *Sent:* Tuesday, November 03, 2009 11:13 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Matrix3D error All, I just installed FB 3 and now my imported projects done in FB 4 beta 2 give me this error Type was not found or was not a compile-time constant: Matrix3D. How do I get rid of this? Thanks
Re: [flexcoders] Re: Fonts re-vanishing in module
Try setting it in applicationComplete ? 2009/11/3 djhatrick djhatr...@yahoo.com var myLoaderContext:LoaderContext = new LoaderContext(); myLoaderContext.applicationDomain = ApplicationDomain.currentDomain; why would applicationDomain be null after setting it in a creationComplete? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, djhatrick djhatr...@... wrote: Only one module gives me this problem, but it went away for an hour and is back. I'm :( Thanks, Patrick
[flexcoders] Fonts re-vanishing in module
Only one module gives me this problem, but it went away for an hour and is back. I'm :( Thanks, Patrick
[flexcoders] Matrix3D error
All, I just installed FB 3 and now my imported projects done in FB 4 beta 2 give me this error Type was not found or was not a compile-time constant: Matrix3D. How do I get rid of this? Thanks
[flexcoders] Re: Fonts re-vanishing in module
var myLoaderContext:LoaderContext = new LoaderContext(); myLoaderContext.applicationDomain = ApplicationDomain.currentDomain; why would applicationDomain be null after setting it in a creationComplete? --- In flexcoders@yahoogroups.com, djhatrick djhatr...@... wrote: Only one module gives me this problem, but it went away for an hour and is back. I'm :( Thanks, Patrick
[flexcoders] Re: Skinning a container - Canvas
Yep, it's possible. Lots of discussion here, with a link to a blog post as well: http://bugs.adobe.com/jira/browse/SDK-14806 Rob --- In flexcoders@yahoogroups.com, hworke kanps...@... wrote: Hi, I see all the tutorials about skinning different components. What about skinning a canvas? I am trying to skin a Canvas - is that possible?
[flexcoders] FB3 Debug: Launch Failed: Invalid argument
I've having an extremely agonizing time dealing with mysterious alert messages when trying to debug my Flex Builder 3 project. Debugging begins, the status bar reads Launching project: (91%), the application loads in the browser and displays, but back in Flex it hangs with an error message: Launch Failed Invalid argument This error message could be more informative. As is, no details, no line number given. Fixes I've tried, in combination and alone, to no avail: ) Clean Project. ) Strip mxml down to single bare Application tag. ) Delete build folder. Install details: Mac OS X 10.6.1 Safari 4.0.3 (6531.9) Flex Builder 3.0.2 Flash Player 10.0.32.18 content debugger Any insight would be terrific. Thanks, Steve
[flexcoders] PlotChart Multiple Values Per Point
I created a PlotChart with a single plotseries. My data has multiple values for the same point. How do I select all the items? Each point contains a query. I want to display the query for each one. So I need to be able to select them all. I am capturing the PlotChart change event. It notifies me when a point has been selected. But it only notifies me of one of the many values for that point.
[flexcoders] Is callLater() a hack?
I'm wondering if I'm excessively purist about not wishing to use callLater(). The specific case I have now is that I wish to set focus to the first field of a re-usable form when a new item is created, and select all the text in the field. Since I am using Mate, I have an injected listener in the view, which gets invoked when a new item is created. Even though the text input already has its text contents set by the time this listener is called, the text doesn't highlight unless I wrap the setFocus call in callLater(). Any ideas why that might happen? Thanks.
Re: [flexcoders] Skinning a container - Canvas
You can skin VBoxes, HBoxes, and presumably Canvases by setting the borderSkin style property to a programmatic skin, for example. You can find example programmatic skins (eg. for gradients) on the web. On Mon, Nov 2, 2009 at 3:13 PM, hworke kanps...@gmail.com wrote: Hi, I see all the tutorials about skinning different components. What about skinning a canvas? I am trying to skin a Canvas - is that possible?
[flexcoders] How can I populate the data in PopUpMenuButton?
Hi , I have an advanced data grid , with 8 columns one of the columns i want the 8 th column as a POPUPMenu Button, and when I click on the menu item it should navigate to a url value which is in the Array dArr. Array ddArr has 2 values ,how can i do this I have tried many things. Array ddArr has the values [dd.label,dd.url] and some valuses in the array has more than one occurence, I mean [dd.label1,dd.url1],[dd.label2,dd.url2]. The values to be populated in the POPUPMenuButton , i have in an array dArr.After doing this I see only the popupButton but no data from ddArr . please help me out. ?xml version=1.0? !-- Dashboard Main Service Summary table -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% backgroundColor=#FF initialize=initApp(); creationComplete=onCreationComplete(); mx:Style .hStyle { fontWeight:bold; fontFamily:Verdana; fontSize:12; align:center; } /mx:Style mx:Script ![CDATA[ var ddArr:ArrayCollection = new ArrayCollection(); var dp:ArrayCollection = new ArrayCollection(); var ddLabel:String=; var ddUrl:String=; var ddData:String=; var ddRest:String=; var popUpB:PopUpMenuButton; ddData= xd[9]; ddRest=ddData; var ddidx:int = ddData.indexOf(|); // var dObj:Object=new Object(); while ( ddidx 0 ) { ddLabel= ddRest.substring( 0, ddidx ); ddRest= ddRest.substring(ddidx + 1 ); ddidx = ddRest.indexOf(|); if( ddidx 0) { // ddUrl= ddRest.substring(ddidx + 1 ); ddUrl= ddRest.substring(0, ddidx ); ddRest= ddRest.substring(ddidx + 1 ); ddidx = ddRest.indexOf(|); } dObj.label= ddLabel; dObj.url=ddUrl; ddArr.addItem(dObj); } popUpB=new PopUpMenuButton(); myMenu = new Menu(); myMenu.labelField = Action; myMenu.showRoot = true; myMenu.width = popUpB.width; myMenu.selectedIndex = 0; myMenu.dataProvider = ddArr; // myMenu.addEventListener(itemClick, itemClickHandler); popUpB.popUp = myMenu; dp.addItem( { Index:xd[0], Service:xd[1], Priority:xd[2], Current SLA:xd[3],Health:xd[4], Quality:xd[5], Risk:xd[6], Avail:xd[7], OpMode:xd[8], dd:popUpB} ); dp = dpSrv; gc.source=dp; gc.refresh(); ]] /mx:Script mx:HTTPService id=sst resultFormat=text result=onJSONLoad(event) url={sURL} fault=onFaultLoad(event)/ mx:Panel title={cTitle} width=100% height=100% titleStyleName=hStyle headerColors=[0xC5DFF9,0xEFF6FF] mx:AdvancedDataGrid id=srvTable width=100% height=100% color=0x323232 dragEnabled=true dropEnabled=true enabled=true showHeaders=true displayItemsExpanded=true variableRowHeight=true wordWrap=false initialize=gc.refresh(); mx:dataProvider mx:GroupingCollection id=gc source ={dpSrv} mx:grouping mx:Grouping !-- mx:GroupingField name=PService / -- mx:GroupingField name=Service / /mx:Grouping /mx:grouping /mx:GroupingCollection !-- mx:HierarchicalData id=gc source={dpSrv}/ -- /mx:dataProvider mx:columns mx:AdvancedDataGridColumn id =ddcol dataField=dd headerText= Drill-down width=200 textAlign=left /mx:AdvancedDataGridColumn /mx:columns mx:rendererProviders mx:AdvancedDataGridRendererProvider dataField=dd depth=1 column={ddcol} columnIndex=8 renderer=mx.controls.PopUpMenuButton / /mx:rendererProviders /mx:AdvancedDataGrid /mx:Panel /mx:Application thanks in advance, Tom.
RE: [flexcoders] Re: Fonts re-vanishing in module
How did you prove it is null? IIRC, it doesn't always trace() very well. From: flexcoders@yahoogroups.com [flexcod...@yahoogroups.com] On Behalf Of djhatrick [djhatr...@yahoo.com] Sent: Tuesday, November 03, 2009 2:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Fonts re-vanishing in module var myLoaderContext:LoaderContext = new LoaderContext(); myLoaderContext.applicationDomain = ApplicationDomain.currentDomain; why would applicationDomain be null after setting it in a creationComplete? --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, djhatrick djhatr...@... wrote: Only one module gives me this problem, but it went away for an hour and is back. I'm :( Thanks, Patrick
RE: [flexcoders] Line 717 of ModuleManager
What is null, loader? or loader.contentLoaderInfo? Could you be requesting a load on the same module? We have some bugs on that. From: flexcoders@yahoogroups.com [flexcod...@yahoogroups.com] On Behalf Of djhatrick [djhatr...@yahoo.com] Sent: Tuesday, November 03, 2009 12:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Line 717 of ModuleManager Anybody have a problem with this line moduleEvent.bytesLoaded = loader.contentLoaderInfo.bytesLoaded; sometimes I get a null reference. Thanks, patrick
RE: [flexcoders] Is callLater() a hack?
Life would be better if you didn't need callLater, but sometimes you do. I wouldn't make it a staple of my code base though. When you click on something, the FocusManager tries to give it focus so if you try to set focus somewhere else, it may be overridden by the FocusManager. From: flexcoders@yahoogroups.com [flexcod...@yahoogroups.com] On Behalf Of Richard Rodseth [rrods...@gmail.com] Sent: Tuesday, November 03, 2009 11:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Is callLater() a hack? I'm wondering if I'm excessively purist about not wishing to use callLater(). The specific case I have now is that I wish to set focus to the first field of a re-usable form when a new item is created, and select all the text in the field. Since I am using Mate, I have an injected listener in the view, which gets invoked when a new item is created. Even though the text input already has its text contents set by the time this listener is called, the text doesn't highlight unless I wrap the setFocus call in callLater(). Any ideas why that might happen? Thanks.
RE: [flexcoders] Tab control of repeater items
All parents need tabChildren=true, the thing that gets focus must implement IFocusManagerComponent and have focusEnabled=true and tabEnabled=true From: flexcoders@yahoogroups.com [flexcod...@yahoogroups.com] On Behalf Of Dave Cates [d...@redemptionmedia.co.uk] Sent: Tuesday, November 03, 2009 5:27 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Tab control of repeater items Any one got any ideas?! From: Dave Cates d...@redemptionmedia.co.ukUrlBlockedError.aspx Reply-To: flexcoders@yahoogroups.comUrlBlockedError.aspx Date: Mon, 02 Nov 2009 23:00:03 + To: flexcoders@yahoogroups.comUrlBlockedError.aspx flexcoders@yahoogroups.comUrlBlockedError.aspx Subject: [flexcoders] Tab control of repeater items Hi all, I’m creating an app that needs to make use of the tab control to cycle through the visible controls. Buttons, checkboxes etc are working great but I can’t seem to be able to tab to the elements within my repeaters. Within the repeaters are custom components made up of things like textfields. I need each of the repeater’s items to be tab enabled. I’ve set them to tabEnabled, and set the repeater to have tabChildren enabled too. Any ideas?! Thanks!
RE: [flexcoders] Re: SWFLoader problem
Depends. If you can talk to it, you can rewind it before making it visible. From: flexcoders@yahoogroups.com [flexcod...@yahoogroups.com] On Behalf Of chandruflex [chandruf...@yahoo.com] Sent: Tuesday, November 03, 2009 5:08 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: SWFLoader problem Setting the SWFLoader component's visible attribute to false, solved the problem. Is it possible to control when the loaded swf file starts to play? This is because, by the time the swf file has loaded completely, and the SWFLoader component is made visible, the loaded swf file has already started playing. --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex Harui aha...@... wrote: Set visible=false until it is loaded Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com] On Behalf Of chandruflex Sent: Monday, November 02, 2009 4:55 AM To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com Subject: [flexcoders] SWFLoader problem In my application, I have a SWFLoader component, placed inside a Canvas container. I load a swf into the SWFLoader, dynamically. The problem is, when the swf file is loading, the display seems to be larger than the size of the enclosing Canvas container. But, after the swf has loaded completely, it perfectly fits into that Canvas. How do I avoid this problem. I do not want the swf file look larger than the enclosing Canvas, while it is loading. I am using Flex sdk 3.0.
RE: [flexcoders] when is concatenatedMatrix set?
Should be valid when rendered after being added to the display list. From: flexcoders@yahoogroups.com [flexcod...@yahoogroups.com] On Behalf Of flexaustin [flexaus...@yahoo.com] Sent: Monday, November 02, 2009 2:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] when is concatenatedMatrix set? Can anyone tell me when concatenatedMatrix is set during instantiation? Or point me to an article would be great. Or the entire transform object for that matter? Thanks, Jason