Re: [flexcoders] Your preference - Loader or createChild?

2006-02-22 Thread Aral Balkan
Hi,

I prefer the use of a Loader -- in fact, multiple Loaders (if you want 
to cache loaded SWFs and not have to wait through the initialization 
stage again.) Combined with RSLs, this should give you an optimum 
balance between file size, modularity and speed.

hth,
Aral
--
http://flashant.org

fowleryj wrote:

We are trying to make a decision on how the shell of our application
should work. Our goal is to load the sub-applications that are a part
of our large app dynamically. Basically, should we go with the
createChild method or use the mx:Loader tag? We are happy with all of
the inner workings of our mxml/viewhelpers/commands/etc, but not with
the shell. Would anyone out there mind sharing how you structure your
large-scale applications? Are you using a shell with createChild,
mx:Loader, or another method?
snip




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread bhaq1972
quite surprising this didn't work for you. i took this idea from 
Peter Ent's weblogs. check out the cellrenders section

http://weblogs.macromedia.com/pent/archives/2004/12/index.cfm

the code can be downloaded and there is a sample test app to see it 
in action. its very good.


--- In flexcoders@yahoogroups.com, george_lui [EMAIL PROTECTED] 
wrote:

 I don't see how this was terribly different from the original 
code. 
 But I tried it anyways and it doesn't work. 
 
 thanx anyways,
 geo
 
 --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
 
  why dont you simplify things a bit. put your FullNameRenderer 
into 
  the same folder location as your ComboBox mxml application.
  
  and do this
  mx:ComboBox creationComplete=test(event)
  
  function test(event){
  event.target.dropdown.cellRenderer = FullNameRenderer;
  }
  
  
  
  
  --- In flexcoders@yahoogroups.com, george_lui george_lui@ 
  wrote:
  
   Y'know I just did a blind copypaste from some other guy in 
this
   group. But yeah, I don't see no getDropdown() method in the 
api 
  docs.
 Just the dropdown property. I did try your setting it to the
   property and it still didn't work :(
   
   thanx,
   george
   
   
   --- In flexcoders@yahoogroups.com, Doug Lowder douglowder@ 
  wrote:
   
Hi,

I'm not familiar with getDropdown().  Is getDropdown() a 
valid 
  method
of your combobox?

If not, try event.target.dropdown. instead of
event.target.getDropdown()..

Doug


--- In flexcoders@yahoogroups.com, george_lui 
george_lui@ 
  wrote:

 Hi,
 
 I had a cellrenderer that was originally used in  datagrid 
  cell.  I've
 since replaced the datagrid with a comboBox. I'm trying to 
  reuse the
 same cellrenderer in the combo using the code below.
 
 mx:ComboBox 
id=employeeComboBox
  creationComplete=
 
   
   event.target.getDropdown
  ().cellRenderer='com.sf.sfv4.view.sharkfin.FullNameRenderer';
 event.target.getDropdown().variableRowHeight=true 
  rowCount=10
   mx:dataProvider { ModelLocator.employees } 
  /mx:dataProvider
 /mx:ComboBox
 
 The FullNameRenderer cellrenderer I have just takes the 
first 
  and last
 name of a user vo and concatenates it.
 
 However this isn't working for the combobox.  I get and 
set the
 cellrenderer of the combobox's dropdown property as stated 
in 
  this
 group by another member, but it doesn't work.  Instead I 
get 
  the user
 vo object displayed.
 
 I'm confused, I'm using the same dataProvider and 
cellrenderer 
  in the
 combobox as I did in the datagrid.  I think there's a 
  difference
 between the two widgets, but I just don't know what it is.
 
 Please advise...
 
 TIA,
 George

   
  
 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Problem with Repeater

2006-02-22 Thread Richard Schutten





Hi 
Matt,

It 
works for my example, but when i'm using two nested Repeaters i'm in trouble 
again. See my example code:

mx:Model id="test"
 
result
 
item
 
nameItem 1/name

subitem
 
nameSubitem 1/name
/subitem
 
/item
 
/result
/mx:Model
mx:ArrayCollection id="testAC" 
source="{mx.utils.ArrayUtil.toArray(test.item)}"/mx:VBox 
mx:Repeater id="rep" 
dataProvider="{testAC}" 
mx:Label 
text="{rep.currentItem.name}"/ 
mx:HBox 
 mx:Repeater id="rep2" 
dataProvider="{rep.currentItem.subitem}" 
 mx:Label 
text="{rep2.currentItem.name}"/ 
 
/mx:Repeater 
/mx:HBox 
/mx:Repeater/mx:VBox

The 
same problem i don't get the subitems only if i use more 
subitems!
Must i 
use two ArrayCollections?

Richard

Thanx!
-Original 
Message-From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED]On Behalf Of Matt 
ChotinSent: Wednesday, February 22, 2006 6:45 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Problem with 
Repeater
You need to use 
  mx.utils.ArrayUtil.toArray().Matt-Original 
  Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] OnBehalf Of Richard SchuttenSent: 
  Tuesday, February 21, 2006 6:40 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Problem with 
  RepeaterHi there,I'm using Flex 2.0 Beta 1 and having a 
  problem with using a Model asdataProvider for the Repeater.I entered 
  an example code beneath:mx:Model 
  id="test" 
  result 
   itemItem 
  1/item 
  /result/mx:Modelmx:VBox 
  mx:Repeater id="rep" 
  dataProvider="{test.result.item}" 
   mx:Label 
  text="{rep.currentItem}"/ 
  /mx:Repeater/mx:VBoxWhen the model contains one 
  item, this code will not run. Using moreitemssee 
  code:mx:Model id="test" 
  result 
   itemItem 
  1/item 
   itemItem 
  2/item 
   itemItem 
  3/item 
  /result/mx:ModelAnd it will run 
  correctly!As i read in the documentation the Repeater can be used for 
  one or morecomponents.Does anyone know what's 
  wrong?Greetings,Richard--Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Binding Data to DataGrid from webservice response

2006-02-22 Thread Sathish K





tell
me clearly about labelfunction

  -Original Message-From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED]On Behalf Of Matt
  ChotinSent: 22 February 2006 11:06To:
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Binding Data to
  DataGrid from webservice responsecolumnName can be
  "Name" and headerText can be "Column 1". You couldalso use a
  labelFunction if you really needed to.Matt-Original
  Message-From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] OnBehalf Of sathish_kumar_18Sent:
  Tuesday, February 21, 2006 1:47 AMTo:
  flexcoders@yahoogroups.comSubject: [flexcoders] Binding Data to DataGrid
  from webservice responseHow to bind data from webservice
  response...if the column name in the grid is different and child tag in
  response is different...i cannot able to loop through the data because
  the response would contains huge data of 2 rows..example
  if webservice response is 
  response
  data
  Namesathish/Name
  AddressChennai/Address
  /data
  data
  Nameselva/Name
  Addressdelhi/Address
  /data
  /response mx:VBox
   mx:DataGrid id="dg1"
  dataProvider="{response.data}"
  mx:columns
  mx:Array
  mx:DataGridColumn columnName="Column1"
  /
  mx:DataGridColumn columnName="Column2"
  /
  /mx:Array
  /mx:columns 
  /mx:DataGrid/mx:VBoxregardssathish--Flexcoders
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch
  Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  








DISCLAIMER: 

Information transmitted by this e-mail may be proprietary to Ramco Systems Ltd., and / or the authors of the information and is intended for use only by the individual or entity to which it is addressed, and may contain confidential or legally privileged information. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are not authorised to access, read, disclose, copy, use or otherwise deal with it and any such actions are prohibited and may be unlawful. 

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses. Ramco Systems Limited therefore does not accept liability for any errors, omissions, viruses or computer problems experienced as a result of this transmission.

If you have received this e-mail in error, please notify us immediately at mail to: [EMAIL PROTECTED] and delete this mail from your records. Notice is hereby given that no representation, contract or other binding obligation shall be created by this e-mail.


Re: [flexcoders] Handling VERY large numbers in Flex

2006-02-22 Thread Paul Hastings
Niklas Richardson wrote:
 Unfortunately we're using Flex 1.5 and thus AS2.
 
 I'll see if we can create some sort of icu4j clone in AS2.

core java's code (well GNU classpath) version is 500++ lines, icu4j is 4400++ 
lines (loads of comments). icu4j's NumberFormat (which can handle 
BigDecimal/BigInteger) is around 1500 lines.

just to make sure i understand, you're simply going to port the java to AS?


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Validatior's binding problem?

2006-02-22 Thread Peter Watson










Hi Kazuya,



As Matt said  in Flex 1.5,
validators dont support binding.



Below is a workaround for your issue.




I got most of the code from here:

http://blog.daemon.com.au/archives/000317.html





Main.mxml

*

?xml version=1.0
encoding=utf-8?

mx:Application
xmlns:mx=http://www.macromedia.com/2003/mxml
xmlns:local=*

 mx:Script

 ![CDATA[

 function
testField( validator, value ){

 validator.numLength
= name1.maxChars;

 //debug

//mx.core.Application.alert(validator.numLength);

 validator.doValidation(value);

  }

 ]]

 /mx:Script

 

 mx:Model
id=test

  firstField{name1.text}/firstField

 secondField{name2.text}/secondField

  /mx:Model

 

 local:RequiredFieldValidator
xmlns=* field=test.secondField
validate=testField(event.validator, event.value)/

 

 mx:Form

 mx:FormItem

 mx:TextInput
id=name1 maxChars=5/

 /mx:FormItem

 mx:FormItem

 mx:TextInput
id=name2/

 /mx:FormItem

 /mx:Form

/mx:Application





RequiredFieldValidator.as



class RequiredFieldValidator extends
mx.validators.Validator {

 public var
numLength:Number;

 

 public
function RequiredFieldValidator(){

 

 }

 public
function doValidation(fieldString) : Void{

  RequiredFieldValidator.validateValue(this,
fieldString, null, numLength);

  }

 public
static function validateValue(validator:mx.validators.Validator,
fieldString:String, subField, numLength) : Boolean{

 var
tempValue = new String(fieldString);

 

 if(tempValue.length
 numLength){

 validator.validationError(TooLong,
You entered  + tempValue.length +  characters. The limit is
 + numLength, subField);

  return
false;

 }

 return
true;

 }

}





regards,

peter













From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of KOMON Kazuya
Sent: Wednesday, February 22, 2006
1:40 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Validatior's binding problem?





Hi, Matt

Thank you for your reply.

I watched the source which generated, it became
undefined in case of binding.
That was a reason.

Thank you,
KAZUYA KOMON

-Original Message-
Sorry, Validators in 1.5 can't accept binding,
they're special
components. We changed that in 2.0. 

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of KAZUYA KOMON
Sent: Monday, February 20, 2006 12:05 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Validatior's binding
problem?

Hi, all


I'm trying to bind attribute from MXML file to
custom validator.
(using 1.5)


// Code(MXML) :
RequiredFieldValidator xmlns=*
field=formData.text 

numLength={name.maxChars}/
 ^
mx:TextInput id=name
width=200 maxChars=5 /


// Code(ActionScript - RequiredFieldValidator.as)
:
class RequiredFieldValidator extends
mx.validators.Validator {
 var numLength:Number;

^
 ...
}


If I set number directory (ex.
numLength=5) , I can.
But if I use binding, I can't.
Is there something a good idea?

Any help is greatly appreciate.


Thanks,
KAZUYA KOMON


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com

Yahoo! Groups Links








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











Re: [flexcoders] Handling VERY large numbers in Flex

2006-02-22 Thread Niklas Richardson



Yeah, I just found that myself.I think I'll give it a miss!Perhaps I'll have to come up with another solution! ;)Hahahaha! :)On 2/22/06, 
Paul Hastings [EMAIL PROTECTED] wrote:
Niklas Richardson wrote: Unfortunately we're using Flex 1.5 and thus AS2. I'll see if we can create some sort of icu4j clone in AS2.core java's code (well GNU classpath) version is 500++ lines, icu4j is 4400++
lines (loads of comments). icu4j's NumberFormat (which can handleBigDecimal/BigInteger) is around 1500 lines.just to make sure i understand, you're simply going to port the java to AS?--Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/-- Niklas RichardsonPrismix LtdUK based Flex and ColdFusion Specialists






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread Anatole Tartakovsky





As far as I recall, dropdown object can be 
"dropped" and recreated when the data model and other things change. If you do 
not reassign cellrenderer at that time it will be gone. It would make sense to 
me to subclass the object and override getDropdown function to assign 
cellrenderer on each call or at least when dropdown was not defined at the time 
of the call.
Thank you,
Anatole

  - Original Message - 
  From: 
  bhaq1972 
  
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, February 22, 2006 4:00 
  AM
  Subject: [flexcoders] Re: problem with 
  cell renderer in ComboBox
  quite surprising this didn't work for you. i took this idea 
  from Peter Ent's weblogs. check out the cellrenders sectionhttp://weblogs.macromedia.com/pent/archives/2004/12/index.cfmthe 
  code can be downloaded and there is a sample test app to see it in action. 
  its very good.--- In flexcoders@yahoogroups.com, 
  "george_lui" [EMAIL PROTECTED] wrote: I don't see how 
  this was terribly different from the original code.  But I tried 
  it anyways and it doesn't work.   thanx anyways, 
  geo  --- In flexcoders@yahoogroups.com, "bhaq1972" 
  mbhaque@ wrote:   why dont you simplify things 
  a bit. put your FullNameRenderer into   the same folder 
  location as your ComboBox mxml application.and do 
  this  mx:ComboBox creationComplete="test(event)" 
 function test(event){  
  event.target.dropdown.cellRenderer = FullNameRenderer;  } 
   --- In 
  flexcoders@yahoogroups.com, "george_lui" george_lui@   
  wrote: Y'know I just did a blind 
  copypaste from some other guy in this   group. But 
  yeah, I don't see no getDropdown() method in the api   
  docs.   Just the dropdown property. I did try your 
  setting it to the   property and it still didn't work 
  :(  thanx,   
  george --- In 
  flexcoders@yahoogroups.com, "Doug Lowder" douglowder@   
  wrote:   Hi,   
   I'm not familiar with getDropdown(). Is 
  getDropdown() a valid   methodof your 
  combobox?If not, try 
  "event.target.dropdown." instead of
  "event.target.getDropdown().".   
   Doug   
   --- In flexcoders@yahoogroups.com, "george_lui" george_lui@ 
wrote: 
  Hi,  I had a 
  cellrenderer that was originally used in datagrid   
  cell. I've since replaced the datagrid with 
  a comboBox. I'm trying to   reuse the 
  same cellrenderer in the combo using the code below.
mx:ComboBox 
  id="employeeComboBox" 
  
   
  creationComplete= 
"event.target.getDropdown  
  ().cellRenderer='com.sf.sfv4.view.sharkfin.FullNameRenderer';  
 event.target.getDropdown().variableRowHeight=true"  
   rowCount="10" 
  mx:dataProvider { ModelLocator.employees }   
  /mx:dataProvider 
  /mx:ComboBox  
  The FullNameRenderer cellrenderer I have just takes the first  
   and last name of a user vo and concatenates 
  it.  However this 
  isn't working for the combobox. I get and set the   
cellrenderer of the combobox's dropdown property as stated in 
this group by another member, but it 
  doesn't work. Instead I get   the user   
vo object displayed.
I'm confused, I'm using the same dataProvider and cellrenderer 
in the combobox as I did in the 
  datagrid. I think there's a   difference   
between the two widgets, but I just don't know what it is. 
   Please advise...  
  TIA, 
  George 
   





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Binding question

2006-02-22 Thread Alberto Albericio Salvador
Hi all,

I dont know why, but the Flex compiler alerts some error when I try to 
use binding with 2 arguments:

mx:VBox visible={someCombo.selectedIndex != 0  
someOtherCombo.selectedIndex != 0}
...
/mx:VBox

And the error is : The entity name must immediately follow the '' in 
the entity reference

Using a function, it works fine

mx:VBox visible={isThisVisible()}
...
/mx:VBox

where:

private function isThisVisible():Boolean {
if (someCombo.selectedIndex != 0  someOtherCombo.selectedIndex != 
0) return true;
else return false;
}

Why and how to solve this so I dont have to fill my code with these 
functions?

-- 

Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: calling a cfc from flex

2006-02-22 Thread rgwilson26
First of all I want to say thanks for your help on the last few 
posts. I think I am almost there. 

I have my CFC now returning a query and have eliminated all errors. 
But, when I trigger my click event it seems to return the query in my 
DG however no text is visible (when you scroll over the DG it 
highlights each item, but not text is visible). 

Also, since I am now returning a wuery I no longer need to loop over 
query result and insert each record into an individual structure and 
append that to an array...correct? (or is that still necessary?) I 
did configure my CFC both ways though and got the same result...a DG 
with no text, but obvisouly filled with somthing do to highlighting.

I have posted what I have so far.

Thanks,



  getPersonnel.cfc

cfcomponent displayname=getPersonnel
cffunction name=getPersonnel access=remote returntype=query

  cfquery name=getAllPersonnel datasource=spotDB
  SELECT *
  FROM dbo.ItemsInvolvedLOV
  /cfquery

  cfreturn getAllPersonnel
  /cffunction
  /cfcomponent


   personnelNeeded.MXML

mx:Script
![CDATA[
public var dp:Array;

private function doResult(result:Array):Void {
 dp = result;
 }
]]
/mx:Script



   Remote Object

mx:RemoteObject id=ro
endpoint=http://IPADDRESS:PORT#/flashservices/gateway;
  source=cfdocs.components.getPersonnel
   fault=mx.controls.Alert.show
(event.fault.faultstring, 'Error')
 showBusyCursor=true
mx:method name=getPersonnel result=doResult
(event.result._items)/

/mx:RemoteObject



   Datagrid


mx:DataGrid id=dgPersonnelNeeded
height=300 width=100% dataProvider={dp}
mx:columns
mx:Array
mx:DataGridColumn headerText=Name columnName=ITEMID
width=225 /
mx:DataGridColumn headerText=Title columnName=ITEMTITLE
width=650/
mx:DataGridColumn headerText=Date columnName=ITEMDATE
width=100 /
/mx:Array
/mx:columns
/mx:DataGrid

mx:Button label=Get Records width=100
click={ro.getPersonnel()}/





--- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] 
wrote:

 The error is the type you returned. You typed as string when its or 
an array (of structs) or a query. Even in CF you'll have that error 
it's not on the Flex side the problem, is your return type in your 
CFC. 
 
 João Fernandes
 Sistemas de Informação
 
 Programador Informático
 Cofina media
 
 Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
 Tel (+351) 213 185 200 . Fax (+351) 213 540 370
 [EMAIL PROTECTED]
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of rgwilson26
 Sent: terça-feira, 21 de Fevereiro de 2006 15:32
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: calling a cfc from flex
 
 OK, I glad to know there is a way to just return a straight query 
 from a CFC...that is good to know. I did change my columnName in my 
 DG to all caps (is this still necessary in MX7?) and made changes 
to 
 my ActionScript code, however I am still getting a value from 
 getPersonnel() of not type string error. 
 
 Do I no longer need an array of structures in my CFC, and just 
return 
 a query result? Or, do I still need to put the results of the query 
 into an array of structures? I did try both ways however in my CFC, 
 and am still getting the same error regardless. 
 
 This is what I have:
 
 
  getPersonnel.cfc
 
 cfcomponent displayname=getPersonnel
 cffunction name=getPersonnel access=remote returntype=string
   
  cfset var arrayResult = ArrayNew(1)/
   
  cfquery name=getAllPersonnel datasource=spotDB
  SELECT * 
  FROM dbo.ItemsInvolvedLOV
  /cfquery
   
  cfoutput query=getAllPersonnel
  cfset structPersonnel = StructNew()/
  cfset structPersonnel[ItemId] = #getAllPersonnel.ItemId#
  cfset structPersonnel[ItemType] = #getAllPersonnel.ItemType#
  cfset structPersonnel[ItemName] = #getAllPersonnel.ItemName#
  cfset arrayAppend(arrayResult,structPersonnel)/ 
  /cfoutput
  
  cfreturn getAllPersonnel
  /cffunction
  /cfcomponent
 
 
   personnelNeeded.MXML
 
 mx:Script 
 ![CDATA[ 
public var dp:Array;
   
private function doResult(result:Array):Void {
   dp = result;
   }
 ]] 
 /mx:Script 
  
 
 
   Remote Object
  
 mx:RemoteObject id=ro 
  endpoint=http://IPADDRESS:PORT#/flashservices/gateway;  
source=cfdocs.components.getPersonnel
 fault=mx.controls.Alert.show
 (event.fault.faultstring, 'Error') 
   showBusyCursor=true
 mx:method name=getPersonnel result=doResult
 (event.result._items)/
   
 /mx:RemoteObject
 
 
 
   Datagrid
 

[flexcoders] Binding using Boolean expressions

2006-02-22 Thread Alberto Albericio Salvador
I rewrite my post because it got mixed into another thread (same 
subject) , sorry.

Hi all,

I dont know why, but the Flex compiler alerts some error when I try to 
use binding with 2 arguments:

mx:VBox visible={someCombo.selectedIndex != 0  
someOtherCombo.selectedIndex != 0}
...
/mx:VBox

And the error is : The entity name must immediately follow the '' in 
the entity reference

Using a function, it works fine

mx:VBox visible={isThisVisible()}
...
/mx:VBox

where:

private function isThisVisible():Boolean {
   if (someCombo.selectedIndex != 0  someOtherCombo.selectedIndex != 
0) return true;
   else return false;
}

Why and how to solve this so I dont have to fill my code with these 
functions?

-- 
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: KeyListener.onKeyDown = keyListenerFunction;

2006-02-22 Thread kjlinboomer
Thanks Matt,

I tried the following code which results in a syntax error:

var KeyListener:Object = new Object();
KeyListener.onKeyDown = mx.utils.Delegate(this, keyListenerFunction);
Key.addListener(KeyListener);

anything jump out at you?

Thanks,

Keith

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 You need to do KeyListener.onKeyDown = mx.utils.Delegate(this,
 keyListenerFunction);
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of kjlinboomer
 Sent: Tuesday, February 21, 2006 3:00 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] KeyListener.onKeyDown = keyListenerFunction;
 
 Hello,
 
 I have a key listener that instantiates itself in a contructor of a
 class.  When a key comes in, the key listener dispatches the call to a
 keyListenerFunction as in the subject of this post.
 
 The problem is that I am loosing focus to the rest of my class inside
 the handler function.  I want to be ablt to call a method in my class
 based on which key has been pressed:
 
 function keyListenerFunc() {
if (Key.getAscii() == 13) {
   Call some public function in my class here. 
   //saveFromAnnotationEdit();
}
if (Key.getAscii() == 97) {
   Call some public function in my class here.
 //addAnnotation();
}
   
 }
 
 Is there a way I can pass a reference into the handler function so I
 can access its methods?
 
 Thanks for any ideas,
 
 Keith
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Binding using Boolean expressions

2006-02-22 Thread Oscar . Cortes
What about something like ...



mx:VBox visible={Boolean(someCombo.selectedIndex != 0 *
someOtherCombo.selectedIndex != 0)}





|-+-
| | |
| |  Alberto Albericio |
| |  Salvador  |
| |  [EMAIL PROTECTED]  |
| |  Sent by:   |
| |  flexcoders@yahoogroups.com |
| |  02/22/2006 09:37 AM|
| |  Please respond to  |
| |  flexcoders |
| | |
|-+-
  
-|
  | 
|
  |  To: flexcoders@yahoogroups.com 
|
  |  cc:
|
  |  Subject:  [flexcoders] Binding using Boolean expressions   
|
  
-|




I rewrite my post because it got mixed into another thread (same
subject) , sorry.

Hi all,

I dont know why, but the Flex compiler alerts some error when I try to
use binding with 2 arguments:

mx:VBox visible={someCombo.selectedIndex != 0 
someOtherCombo.selectedIndex != 0}
...
/mx:VBox

And the error is : The entity name must immediately follow the '' in
the entity reference

Using a function, it works fine

mx:VBox visible={isThisVisible()}
...
/mx:VBox

where:

private function isThisVisible():Boolean {
   if (someCombo.selectedIndex != 0  someOtherCombo.selectedIndex !=
0) return true;
   else return false;
}

Why and how to solve this so I dont have to fill my code with these
functions?

--
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links











---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Binding using Boolean expressions

2006-02-22 Thread Brendan Meutzner
Can't use the  outside of the CDATA wrapping... here's the error
message from 1.5 (which is a bit more helpful)...

When using '' in a tag body, XML requires wrapping the tag body with
'![CDATA[' and ']]'. When using '' in an attribute value, XML
requires using the entity, 'amp;'.


Brendan


--- In flexcoders@yahoogroups.com, Alberto Albericio Salvador
[EMAIL PROTECTED] wrote:

 I rewrite my post because it got mixed into another thread (same 
 subject) , sorry.
 
 Hi all,
 
 I dont know why, but the Flex compiler alerts some error when I try to 
 use binding with 2 arguments:
 
 mx:VBox visible={someCombo.selectedIndex != 0  
 someOtherCombo.selectedIndex != 0}
 ...
 /mx:VBox
 
 And the error is : The entity name must immediately follow the '' in 
 the entity reference
 
 Using a function, it works fine
 
 mx:VBox visible={isThisVisible()}
 ...
 /mx:VBox
 
 where:
 
 private function isThisVisible():Boolean {
if (someCombo.selectedIndex != 0  someOtherCombo.selectedIndex != 
 0) return true;
else return false;
 }
 
 Why and how to solve this so I dont have to fill my code with these 
 functions?
 
 -- 
 Alberto Albericio Salvador
 Aura S.A. Seguros
 Departamento Informática







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Re: calling a cfc from flex

2006-02-22 Thread João Fernandes
Hi again,

When using query as return type you don't need to set columnName in your 
datagridColumn in uppercase. Uppercase is just when referencing to structures 
returned from coldfusion.

João Fernandes
Sistemas de Informação

Programador Informático
Cofina media

Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
rgwilson26
Sent: quarta-feira, 22 de Fevereiro de 2006 14:04
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: calling a cfc from flex

First of all I want to say thanks for your help on the last few 
posts. I think I am almost there. 

I have my CFC now returning a query and have eliminated all errors. 
But, when I trigger my click event it seems to return the query in my 
DG however no text is visible (when you scroll over the DG it 
highlights each item, but not text is visible). 

Also, since I am now returning a wuery I no longer need to loop over 
query result and insert each record into an individual structure and 
append that to an array...correct? (or is that still necessary?) I 
did configure my CFC both ways though and got the same result...a DG 
with no text, but obvisouly filled with somthing do to highlighting.

I have posted what I have so far.

Thanks,



  getPersonnel.cfc

cfcomponent displayname=getPersonnel
cffunction name=getPersonnel access=remote returntype=query

  cfquery name=getAllPersonnel datasource=spotDB
  SELECT *
  FROM dbo.ItemsInvolvedLOV
  /cfquery

  cfreturn getAllPersonnel
  /cffunction
  /cfcomponent


   personnelNeeded.MXML

mx:Script
![CDATA[
public var dp:Array;

private function doResult(result:Array):Void {
 dp = result;
 }
]]
/mx:Script



   Remote Object

mx:RemoteObject id=ro
endpoint=http://IPADDRESS:PORT#/flashservices/gateway;
  source=cfdocs.components.getPersonnel
   fault=mx.controls.Alert.show
(event.fault.faultstring, 'Error')
 showBusyCursor=true
mx:method name=getPersonnel result=doResult
(event.result._items)/

/mx:RemoteObject



   Datagrid


mx:DataGrid id=dgPersonnelNeeded
height=300 width=100% dataProvider={dp}
mx:columns
mx:Array
mx:DataGridColumn headerText=Name columnName=ITEMID
width=225 /
mx:DataGridColumn headerText=Title columnName=ITEMTITLE
width=650/
mx:DataGridColumn headerText=Date columnName=ITEMDATE
width=100 /
/mx:Array
/mx:columns
/mx:DataGrid

mx:Button label=Get Records width=100
click={ro.getPersonnel()}/





--- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] 
wrote:

 The error is the type you returned. You typed as string when its or 
an array (of structs) or a query. Even in CF you'll have that error 
it's not on the Flex side the problem, is your return type in your 
CFC. 
 
 João Fernandes
 Sistemas de Informação
 
 Programador Informático
 Cofina media
 
 Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
 Tel (+351) 213 185 200 . Fax (+351) 213 540 370
 [EMAIL PROTECTED]
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of rgwilson26
 Sent: terça-feira, 21 de Fevereiro de 2006 15:32
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: calling a cfc from flex
 
 OK, I glad to know there is a way to just return a straight query 
 from a CFC...that is good to know. I did change my columnName in my 
 DG to all caps (is this still necessary in MX7?) and made changes 
to 
 my ActionScript code, however I am still getting a value from 
 getPersonnel() of not type string error. 
 
 Do I no longer need an array of structures in my CFC, and just 
return 
 a query result? Or, do I still need to put the results of the query 
 into an array of structures? I did try both ways however in my CFC, 
 and am still getting the same error regardless. 
 
 This is what I have:
 
 
  getPersonnel.cfc
 
 cfcomponent displayname=getPersonnel
 cffunction name=getPersonnel access=remote returntype=string
   
  cfset var arrayResult = ArrayNew(1)/
   
  cfquery name=getAllPersonnel datasource=spotDB
  SELECT * 
  FROM dbo.ItemsInvolvedLOV
  /cfquery
   
  cfoutput query=getAllPersonnel
  cfset structPersonnel = StructNew()/
  cfset structPersonnel[ItemId] = #getAllPersonnel.ItemId#
  cfset structPersonnel[ItemType] = #getAllPersonnel.ItemType#
  cfset structPersonnel[ItemName] = #getAllPersonnel.ItemName#
  cfset arrayAppend(arrayResult,structPersonnel)/ 
  /cfoutput
  
  cfreturn getAllPersonnel
  /cffunction
  /cfcomponent
 
 
   personnelNeeded.MXML
 
 mx:Script 
 ![CDATA[ 
 

Re: [flexcoders] Mozilla Load Issue

2006-02-22 Thread Carolyn Cole




Hello,
I found the answer to this. You need to set the width and height of
the application tag to a fixed size.
-- Carolyn
At 08:48 AM 2/22/2006, Carolyn Cole wrote:
Hello,
I am currently trying to deploy my flex software on a Red Hat Linux
machine.
The code seems to deploy file, but when I browse to it the Mozilla window

comes up showing only half of my app and the rest of the window is
covered 
in gray.
I am running Mozilla 1.4.2 on Red Hat Enterprise Linux 3. I have
installed 
the Shockwaver Flash Plugin version 7.0 r61.
Does anyone have any ideas? The flex app seems to work, but it
looks 
really bad and is hard to use.
Thanks!
-- Carolyn

--
Flexcoders Mailing List
FAQ:

http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:

http://www.mail-archive.com/flexcoders%40yahoogroups.com


SPONSORED LINKS 


Web site design development

Computer software development

Software design and development 


Macromedia flex

Software development best practice 

YAHOO! GROUPS LINKS 

Visit your group
flexcoders
 on the web.
 
To unsubscribe from this group, send an email to:


[EMAIL PROTECTED]
 
Your use of Yahoo! Groups is subject to the
Yahoo! Terms of
Service. 








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] [OT] Know a good PM that could help the Flex team?

2006-02-22 Thread Phil Costa





We're looking for 
another product manager to join the Flex team. If you know someone with good 
product management experience, please pass this on. 


Flex 
Framework PM positiong in San Francisco
http://cooljobs.adobe.com/viewjob.html?optlink-view=view-29020ERFormID=newjoblistERFormCode=any

If you know someone 
that is interested, email me offlist (pcosta at adobe.com)

Thanks,

Phil 
Costa
Group Product 
Manager, Flex





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Webservice wsdl

2006-02-22 Thread Carolyn Cole




Hello,
I would like to use a variable to point the wsdl location of my web
service, but I can not seem to get it to work.
I have the following variable set in my action script section of my
mxml:

var wsdlLocation:
String =

https://arl3469.arl.psu.edu:8443/uaim-webService/UAIMService.wsdl
;
I then try to bind to it in my webservice definition:
 mx:WebService id=uaimWS
wsdl={wsdlLocation} showBusyCursor=true
...
 /mx:WebService
I get the following error:
Could not
load WSDL:
404
/flex/uaim/{wsdlLocation}
Does anyone know of a way that I can use a variable to specify my wsdl
location?
-- Carolyn







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread bhaq1972
--- In flexcoders@yahoogroups.com, Anatole Tartakovsky 
[EMAIL PROTECTED] wrote:

 As far as I recall, dropdown object can be dropped and recreated 
when the data model and other things change. If you do not reassign 
cellrenderer at that time it will be gone. It would make sense to me 
to subclass the object and override getDropdown function to assign 
cellrenderer on each call or at least when dropdown was not defined 
at the time of the call.
 Thank you,
 Anatole

i agree with you Anatole. infact this is what i'm doing for my 
subclassed combobox(flex1.5). i override the getDropdown() method. 
and instead of the dropdown being a List, it's a DataGrid (2 
columns, no header). my use case for this kind of dropdown is i can 
show more information to the user.

the only thing i don't like about this approach is its not supported.

regards
bod






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Does AS have an equivalant of Java's 'Abstract'

2006-02-22 Thread Sauro, Nick










I havent seen any examples of it
anywhere, but I could be looking in the wrong places? Im wondering if
AS 2.0 has this?



Thanks











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
3:31 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: Datagrid Row Heights







Im still trying to figure out how
to set a row height in actionscript J I havent even gotten to the effect of resizing the rows
yet.

_

Jonathan Miranda

Flexible Master of the Web

In the game
of chess, it's important to never let your opponent see your pieces.







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro,
 Nick
Sent: Tuesday, February 21, 2006
1:10 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: Datagrid Row Heights





What do you mean, move effect so its not
so instant?? If its moving too fast, there is a duration field that you
can increase to make the effect last longer.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FW: Datagrid Row Heights





Alright, lets say I have a datagrid with
variableRowHeight=true. Now I want, using actionscript, to switch the height of
row #2 to 200. Ive got a semi-way of doing it right now using a label
cellrenderer but I was wondering if there was a basic method I was missing.
Ive been attempting using getItemByIndex with little luck.

And anyway to add a move effect so its not instant?

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Re: Function call AFTER a transition

2006-02-22 Thread shuell2000
Thank you, that worked.  I just gave an ID (toDetailResize) to the
transition I wanted this to go after and used the below code:

toDetailResize.addEventListener(EffectEvent.EFFECT_END,
function(event:EffectEvent):Void{ 
show();
});

John

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 Can you try putting an effectEnd handler on the Sequence and calling
 your method from there?
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of shuell2000
 Sent: Tuesday, February 21, 2006 10:10 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Function call AFTER a transition
 
 Can anyone help me with this issue.  I have a transition from one
 state to another to move and resize a form in a sequence with a slight
 duration set.  After that transition is done, and only after, I need
 to reposition dynamic objects on the canvas that was just resized.  I
 have a function that does this moving around of the objects on the
 canvas, but how do I call it based on the transition ending?
 
 mx:transitions
   mx:Transition id=toDetail fromState=* toState=details
   mx:Sequence target={details}
   mx:Move duration=1400/
   mx:Resize duration=1400/
   /mx:Sequence
   /mx:Transition
   mx:Transition id=toBrowse fromState=details
 toState=browse
   mx:Sequence target={details}
   mx:Move duration=1400/
   mx:Resize duration=1400/
   /mx:Sequence
   /mx:Transition
 /mx:transitions
 mx:states
   mx:State name=browse
   mx:SetProperty target={details} property=width
 value=431/
   mx:SetProperty target={details} property=x
 value=150/
   /mx:State
   mx:State name=details
   mx:SetProperty target={details} property=width
 value=565/
   mx:SetProperty target={details} property=x
 value=0/
   /mx:State
 /mx:states
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread Anatole Tartakovsky





Bod,
 We are actually supporting our 
DGComboBox as a standard object in our framework. As far as Flex 2, it is also 
supported - just implementation is different - listItemRenderer is dynamically 
created instead of grid. So there is no code changein the application - 
just internal implementation is different.
However, if you are "starting fresh" with Flex 
2 and do not want 3rd party components this will do:
 
mx:ComboBox labelField="fname" 
 
dataProvider="{..}" 
width="200" 
 
mx:listItemRenderer 
 
mx:Component verticalGap="0"mx:HBox xmlns:mx="http://www.macromedia.com/2005/mxml" 
xmlns="*" verticalGap="0" hScrollPolicy="off" 
vScrollPolicy="off"  
mx:Label text="{dataObject.fname}" width="50%" /mx:VRule 
height="20"/ 
 mx:Label 
text="{dataObject.lname}" width="50%"/

/mx:HBox 
/mx:Component 
/mx:listItemRenderer 
/mx:ComboBox


- Original Message - 

  From: 
  bhaq1972 
  
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, February 22, 2006 10:21 
  AM
  Subject: [flexcoders] Re: problem with 
  cell renderer in ComboBox
  --- In flexcoders@yahoogroups.com, 
  "Anatole Tartakovsky" [EMAIL PROTECTED] wrote: As far 
  as I recall, dropdown object can be "dropped" and recreated when the data 
  model and other things change. If you do not reassign cellrenderer at that 
  time it will be gone. It would make sense to me to subclass the object and 
  override getDropdown function to assign cellrenderer on each call or at 
  least when dropdown was not defined at the time of the call. Thank 
  you, Anatolei agree with you Anatole. infact this is what i'm 
  doing for my subclassed combobox(flex1.5). i override the getDropdown() 
  method. and instead of the dropdown being a List, it's a DataGrid (2 
  columns, no header). my use case for this kind of dropdown is i can 
  show more information to the user.the only thing i don't like 
  about this approach is its not 
  supported.regardsbod





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Does AS have an equivalant of Java's 'Abstract'

2006-02-22 Thread Richard Leggett





Hi,

There's no abstractalthough you can get some of the 
behaviour by 'throw'-ing errors in all of the methods that would normally be 
abstract so that the sub-class is forced to implement those methods. 


Richard



From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Sauro, NickSent: 22 February 2006 15:34To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Does AS have an 
equivalant of Java's 'Abstract'


I havent seen any 
examples of it anywhere, but I could be looking in the wrong places? Im 
wondering if AS 2.0 has this?

Thanks





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jonathan 
MirandaSent: Tuesday, February 
21, 2006 3:31 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] FW: Datagrid Row Heights


Im still trying to 
figure out how to set a row height in actionscript J I havent even gotten 
to the effect of resizing the rows yet.
_
Jonathan 
Miranda
Flexible 
Master of the Web
"In the game of 
chess, it's important to never let your opponent see your 
pieces."


From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Sauro, NickSent: Tuesday, February 21, 2006 1:10 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] FW: Datagrid Row Heights

What do you mean, move 
effect so its not so instant?? If its moving too fast, there is a duration 
field that you can increase to make the effect last 
longer.





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jonathan 
MirandaSent: Tuesday, February 
21, 2006 2:38 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] FW: Datagrid Row Heights

Alright, lets say I have a datagrid 
with variableRowHeight=true. Now I want, using actionscript, to switch the 
height of row #2 to 200. Ive got a semi-way of doing it right now using a label 
cellrenderer but I was wondering if there was a basic method I was missing. Ive 
been attempting using getItemByIndex with little luck.And anyway to add 
a move effect so its not instant?
_
Jonathan 
Miranda
Flexible Master 
of the Web
"In the game of chess, it's important to 
never let your opponent see your pieces."






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Does AS have an equivalant of Java's 'Abstract'

2006-02-22 Thread Sauro, Nick










Yea, well, right now, Im just
having the parent class hold blank implementations, which is just kinda quirky
for me, but it works for now, I was just wondering if there was a cleaner way
to do it. Interface came to mind, but I need the base functionality of a Base
class that Im using :-/



O well, just wondering



Thanks J











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Richard Leggett
Sent: Wednesday, February 22, 2006
10:51 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Does AS
have an equivalant of Java's 'Abstract'





Hi,



There's no abstractalthough you can
get some of the behaviour by 'throw'-ing errors in all of the methods that
would normally be abstract so that the sub-class is forced to implement those
methods. 



Richard







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro,
 Nick
Sent: 22 February 2006 15:34
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Does AS have
an equivalant of Java's 'Abstract'

I havent seen any examples of it anywhere,
but I could be looking in the wrong places? Im wondering if AS 2.0
has this?



Thanks











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
3:31 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: Datagrid Row Heights







Im still trying to figure out how
to set a row height in actionscript J I havent even gotten to the effect of resizing the rows
yet.

_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro,
 Nick
Sent: Tuesday, February 21, 2006
1:10 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: Datagrid Row Heights





What do you mean, move effect so its not
so instant?? If its moving too fast, there is a duration field that you
can increase to make the effect last longer.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FW: Datagrid Row Heights





Alright, lets say I have a datagrid with variableRowHeight=true.
Now I want, using actionscript, to switch the height of row #2 to 200.
Ive got a semi-way of doing it right now using a label cellrenderer but
I was wondering if there was a basic method I was missing. Ive been
attempting using getItemByIndex with little luck.

And anyway to add a move effect so its not instant?

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.













--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread bhaq1972
thanks Anatole. i'll try it out.
there's so much to learn in flex 2 its like a new language.


--- In flexcoders@yahoogroups.com, Anatole Tartakovsky 
[EMAIL PROTECTED] wrote:

 Bod,
 We are actually supporting our DGComboBox as a standard object 
in our framework. As far as Flex 2, it is also supported - just 
implementation is different - listItemRenderer is dynamically 
created instead of grid. So there is no code change in the 
application - just internal implementation is different.
 However, if you are starting fresh with Flex 2  and do not want 
3rd party components this will do:
mx:ComboBox labelField=fname 
dataProvider={..}
width=200 
  mx:listItemRenderer 
mx:Component verticalGap=0
 mx:HBox xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* 
verticalGap=0
hScrollPolicy=off vScrollPolicy=off 
   
mx:Label text={dataObject.fname} width=50% /mx:VRule 
height=20/
 
mx:Label text={dataObject.lname} width=50%/
 
  /mx:HBox
/mx:Component
  /mx:listItemRenderer
/mx:ComboBox
 
 
 - Original Message - 
   From: bhaq1972 
   To: flexcoders@yahoogroups.com 
   Sent: Wednesday, February 22, 2006 10:21 AM
   Subject: [flexcoders] Re: problem with cell renderer in ComboBox
 
 
   --- In flexcoders@yahoogroups.com, Anatole Tartakovsky 
   anatolet@ wrote:
   
As far as I recall, dropdown object can be dropped and 
recreated 
   when the data model and other things change. If you do not 
reassign 
   cellrenderer at that time it will be gone. It would make sense 
to me 
   to subclass the object and override getDropdown function to 
assign 
   cellrenderer on each call or at least when dropdown was not 
defined 
   at the time of the call.
Thank you,
Anatole
 
   i agree with you Anatole. infact this is what i'm doing for my 
   subclassed combobox(flex1.5). i override the getDropdown() 
method. 
   and instead of the dropdown being a List, it's a DataGrid (2 
   columns, no header). my use case for this kind of dropdown is i 
can 
   show more information to the user.
 
   the only thing i don't like about this approach is its not 
supported.
 
   regards
   bod
 
 
 
 
 
 
   --
   Flexcoders Mailing List
   FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com 
 
 
 
   SPONSORED LINKS Web site design development  Computer software 
development  Software design and development  
 Macromedia flex  Software development best practice  
 
 
 ---
---
   YAHOO! GROUPS LINKS 
 
 a..  Visit your group flexcoders on the web.
   
 b..  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
   
 c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of Service. 
 
 
 ---
---








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Removing Default Halo Themes

2006-02-22 Thread grae_hall
I've tinkered around most of today - read quite a bit - and I'm not 
really sure if I'm on the right track.

In my default Flex app the components are obviously pre-styled with 
one of the Themes.

As part of a fairly interesting contract I'm working on - I'd like to 
specify the styles of my components myself - programmatically through 
stylesheets. I'm becoming more aware of how much I have to unstyle 
what seems to be the existing default theme.

For instance - with Flex Style Explorer, button components have a 
nice bevel. The manuals seem to indicate that the default theme 
doesn't allow you to control that aspect of the button component.

Ideally I'd like to create the styles either via stylesheets, or 
programmatically through the drawing API (although - lord knows I'm 
oblivious to the syntax required to take Kevin Hoyts accordian 
example and apply that style of director skinning to a button 
component).

Is there a way to set the themes to close to nill - so I can work my 
way up from there?

And - is there a decent example of succesful reskinning of a button 
component to be found on the interweb? After I crashed explorer by 
freestyling Kevin's Example and attempting to extend the button 
class - I'm cautious with how I'll proceed.

I'd prefer to work with the stylesheets and drawing API - I'd like to 
replicate this base button shape 
http://grae.halltech.com.au/media/ui_icon_ok.gif - and create my own 
custom button components which I can then pass glows, blurs, etc over.

I had a crack at the 9slice - the 9slice accordion skin prior to 
Kevin's demonstrated some issues with masking non-square shapes.

Here's hoping I'm on the right track.

- Grae





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: multiple lines in a datagrid

2006-02-22 Thread rgwilson26
Hmm, I still can't seem to get mine to work. I am using FLEX 1.5 are 
you using 2.0? Still trying to get the user input from the text box 
to create a dynamically expandable datagrid column height.


code

mx:DataGrid id=dg height=300 wordWrap=true 
variableRowHeight=true rowHeight=75
mx:columns
mx:Array
mx:DataGridColumn headerText=Name columnName=PersonName 
width=225 /
mx:DataGridColumn headerText=Title columnName=PersonTitle 
width=650/
/mx:Array
/mx:columns
/mx:DataGrid 


mx:TextInput id=txtPersonName/
mx:TextInput id=txtPersonTitle/ 


--- In flexcoders@yahoogroups.com, Jonathan Miranda [EMAIL PROTECTED] 
wrote:

 I've got this to work, but is there a way to disable the mousewheel 
on
 the text chunk or better yet the datagrid itself? It's scrolling the
 text down, removing the first row even though the text fits fine in 
the
 cell.
 
 _
 
 Jonathan Miranda
 
 Flexible Master of the Web
 
 In the game of chess, it's important to never let your opponent see
 your pieces.
 
 HealthGrades http://www.healthgrades.com/ : Guiding America to 
Better
 Healthcare(tm)
 
 NASDAQ: HGRD
 
 w  (720) 963-3832
 
 c  (707) 761-0868
 
 [EMAIL PROTECTED] 
 
 _
 
 The message contains confidential and/or legally privileged 
information
 and is intended for use only by the indicated addressee.  If you 
are not
 the named addressee you should not disseminate, distribute, or copy 
this
 e-mail. Please notify the sender immediately by e-mail if you have
 received this e-mail by mistake and delete this e-mail from your 
system.
 E-mail transmissions cannot be guaranteed to be secure or error-
free as
 information could be intercepted, corrupted, lost, destroyed,arrive 
late
 or incomplete, or contain viruses. The sender therefore does not 
accept
 liability for any errors or omissions in the contents of this 
message
 which arise as a result of e-mail transmission. If verification is
 required please request a hard-copy version.
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Matt Chotin
 Sent: Tuesday, February 21, 2006 10:48 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: multiple lines in a datagrid
 
  
 
 Add wordWrap=true to the column as well.
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of rgwilson26
 Sent: Tuesday, February 21, 2006 10:46 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: multiple lines in a datagrid
 
 I tried using variableRowHeight in my dataGrid with no luck. I may 
 not have been very clear in my first post. I am trying to add text 
 from a text input box, where if the text exceeds the length of the 
 data grid then it will expand to more than one line and create a 
word 
 wrap effect so the user can read the entire entry. 
 
 Any suggestions?
 
 
 mx:DataGrid id=dgUserInfo
 headerColor=#00CC33 
 variableRowHeight=true
 mx:columns
 mx:Array
   mx:DataGridColumn headerText=Title columnName=title  
 width=650 /
 
 /mx:Array
 /mx:columns
 /mx:DataGrid 
 
 mx:TextInput id=userInput /
 
 mx:Button label=Add textAlign=center  width=75 click=addRow
 ()/
 
 --- In flexcoders@yahoogroups.com, Doug Lowder douglowder@ 
 wrote:
 
  Specify a specific width for your DataGridColumn(s), and then in 
 your 
  DataGrid add variableRowHeight=true.  That should do it.
  
  Doug
  
  --- In flexcoders@yahoogroups.com, rgwilson26 ryan.wilson@ 
  wrote:
  
   I would like to know if anyone has an example of a multi line 
 column 
  in 
   a datagrid. I would like to have a datagrid with a fixed column 
  width, 
   where if the user inputs enough info the datagrid will allow 
for 
 a 
  word 
   wrap effect in the column if necessary.
   
   Thanks,
  
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 SPONSORED LINKS 
 
 Web site design development
 http://groups.yahoo.com/gads?
t=msk=Web+site+design+developmentw1=Web+
 
site+design+developmentw2=Computer+software+developmentw3=Software+d
es
 
ign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
ac
 ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ  
 
 Computer software development
 http://groups.yahoo.com/gads?
t=msk=Computer+software+developmentw1=We
 
b+site+design+developmentw2=Computer+software+developmentw3=Software
+d
 
esign+and+developmentw4=Macromedia+flexw5=Software+development+best+
pr
 acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw  
 
 Software design and development
 http://groups.yahoo.com/gads?

[flexcoders] changing date format display

2006-02-22 Thread rgwilson26
I would like to change the date field format to display as 
such...02/22/2006. Does anyone know where to change this in FLEX?


Thanks,





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Re: multiple lines in a datagrid

2006-02-22 Thread Jonathan Miranda










Im using 2, but I had wordwrap=true
on the DataGridColumn, not the datagrid



_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.

HealthGrades: Guiding America to Better Healthcare

NASDAQ:
HGRD

w (720)
963-3832

c (707)
761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or
legally privileged information and is intended for use only by the indicated
addressee. If you are not the named addressee you should not disseminate,
distribute, or copy this e-mail. Please notify the sender immediately by e-mail
if you have received this e-mail by mistake and delete this e-mail from your
system. E-mail transmissions cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed,arrive late or
incomplete, or contain viruses. The sender therefore does not accept liability
for any errors or omissions in the contents of this message which arise as a
result of e-mail transmission. If verification is required please request a
hard-copy version.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rgwilson26
Sent: Wednesday, February 22, 2006
10:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: multiple
lines in a datagrid





Hmm, I still can't seem to
get mine to work. I am using FLEX 1.5 are 
you using 2.0? Still trying to get the user input
from the text box 
to create a dynamically expandable datagrid column
height.


code

mx:DataGrid id=dg
height=300 wordWrap=true 
variableRowHeight=true
rowHeight=75
mx:columns
mx:Array
mx:DataGridColumn headerText=Name
columnName=PersonName 
width=225 /
mx:DataGridColumn headerText=Title
columnName=PersonTitle 
width=650/
/mx:Array
/mx:columns
/mx:DataGrid 


mx:TextInput id=txtPersonName/
mx:TextInput
id=txtPersonTitle/ 


--- In flexcoders@yahoogroups.com,
Jonathan Miranda [EMAIL PROTECTED] 
wrote:

 I've got this to work, but is there a way to
disable the mousewheel 
on
 the text chunk or better yet the datagrid
itself? It's scrolling the
 text down, removing the first row even though
the text fits fine in 
the
 cell.
 
 _
 
 Jonathan Miranda
 
 Flexible Master of the Web
 
 In the game of chess, it's important to
never let your opponent see
 your pieces.
 
 HealthGrades http://www.healthgrades.com/ :
Guiding America to 
Better
 Healthcare(tm)
 
 NASDAQ: HGRD
 
 w (720) 963-3832
 
 c (707) 761-0868
 
 [EMAIL PROTECTED] 
 
 _
 
 The message contains confidential and/or
legally privileged 
information
 and is intended for use only by the indicated
addressee. If you 
are not
 the named addressee you should not
disseminate, distribute, or copy 
this
 e-mail. Please notify the sender immediately
by e-mail if you have
 received this e-mail by mistake and delete
this e-mail from your 
system.
 E-mail transmissions cannot be guaranteed to
be secure or error-
free as
 information could be intercepted, corrupted,
lost, destroyed,arrive 
late
 or incomplete, or contain viruses. The sender
therefore does not 
accept
 liability for any errors or omissions in the
contents of this 
message
 which arise as a result of e-mail
transmission. If verification is
 required please request a hard-copy version.
 
 
 
 From: flexcoders@yahoogroups.com

[mailto:flexcoders@yahoogroups.com]
On
 Behalf Of Matt Chotin
 Sent: Tuesday, February 21, 2006 10:48 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: multiple lines
in a datagrid
 
 
 
 Add wordWrap=true to the column
as well.
 
 -Original Message-
 From: flexcoders@yahoogroups.com

[mailto:flexcoders@yahoogroups.com]
On
 Behalf Of rgwilson26
 Sent: Tuesday, February 21, 2006 10:46 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: multiple lines in a
datagrid
 
 I tried using variableRowHeight in my
dataGrid with no luck. I may 
 not have been very clear in my first post. I
am trying to add text 
 from a text input box, where if the text
exceeds the length of the 
 data grid then it will expand to more than
one line and create a 
word 
 wrap effect so the user can read the entire
entry. 
 
 Any suggestions?
 
 
 mx:DataGrid id=dgUserInfo
 headerColor=#00CC33 
 variableRowHeight=true
 mx:columns
 mx:Array
 mx:DataGridColumn headerText=Title
columnName=title 
 width=650 /
 
 /mx:Array
 /mx:columns
 /mx:DataGrid 
 
 mx:TextInput id=userInput
/
 
 mx:Button label=Add
textAlign=center width=75 click=addRow
 ()/
 
 --- In flexcoders@yahoogroups.com,
Doug Lowder douglowder@ 
 wrote:
 
  Specify a specific width for your
DataGridColumn(s), and then in 
 your 
  DataGrid add
variableRowHeight=true. That should do it.
  
  Doug
  
  --- In flexcoders@yahoogroups.com,
rgwilson26 ryan.wilson@ 
  wrote:

[flexcoders] Re: changing date format display

2006-02-22 Thread Doug Lowder
If you're talking about the DateField control, there's a dateFormatter 
property you can use for this.  Have a look at the 
mx.formatters.DateFormatter class too.

Doug

--- In flexcoders@yahoogroups.com, rgwilson26 [EMAIL PROTECTED] 
wrote:

 I would like to change the date field format to display as 
 such...02/22/2006. Does anyone know where to change this in FLEX?
 
 
 Thanks,







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Tree DragAndDrop no data for leaf

2006-02-22 Thread Sönke Rohde
Hi,
I have got a problem getting the data of a dragged leaf from a tree.
The DragEvent.DRAG_DROP is handled by the following function:

private function doDrop(e:DragEvent):void{
var data:Object = e.dragSource.dataForFormat(treeItems);
trace(data  + data.toString());
}

The leaf which is dragged has this XML node label=Test data=foo / and
nothing for the data is traced. When I drag a branch like:
node label=common
node label=Test data=bar/
/node
All is traced correctly.


Why do I get no data for the leaf? Is the XML malformated?

Thanks,
Sönke



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




re: [flexcoders] Handling NetStream Runtime Errors..?

2006-02-22 Thread Brian Lesser
Hi, Just following up on my own note. 
It turns out this was my bug and not Flex 2's! 
I had a couple streams and removed the addEventListener from the wrong one 
while testing. :-(
Sorry for the noise.
Mea culpa,
-Brian



Hi,
I have created a NetStream object that publishes video/audio via a 
NetConnection to Flash Media Server (Flex beta 1). I have setup a 
netStatus listener but find that some errors are reported as run-time 
errors and are not delivered to my netStatus handler. For example:

Error #2044: Unhandled NetStatusEvent: level=error, 
code=NetStream.Publish.BadName
at flex2FMS_1/flex2FMS_1::netStatus()

Is there something I can do to receive this event in an event handler?
Is there something I can do to stop the run-time error popup from appearing?

Yours truly,
-Brian

-- 
__
Brian Lesser
Assistant Director, Teaching and Technology Support
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario   Phone: (416) 979-5000 ext. 6835
M5B 2K3Fax: (416) 979-5220
Office: AB48D  E-mail: [EMAIL PROTECTED]
(Enter through LB66)   Web: http://www.ryerson.ca/~blesser
__



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] More datagrid row height issues

2006-02-22 Thread Jonathan Miranda










Still having problems changing the height of one row
specifically in actionscript, but that aside Im also having problems
matching datagrids together via height.

lets say I have 2 datagrids with variableRowHeight=true. Is
there a way to bind 2 data grids together via their row heights?

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.

HealthGrades:
Guiding America
to Better Healthcare

NASDAQ: HGRD

w (720) 963-3832

c (707) 761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or legally privileged
information and is intended for use only by the indicated addressee. If you
are not the named addressee you should not disseminate, distribute, or copy
this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information could
be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Flex Builder Memory leak

2006-02-22 Thread Jonathan Miranda












Where do you disable this? Ive
never used it so it shouldnt be that unless it runs in the background
somehow unless you disable it.

_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.

HealthGrades: Guiding America to Better Healthcare

NASDAQ:
HGRD

w (720)
963-3832

c (707)
761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or
legally privileged information and is intended for use only by the indicated
addressee. If you are not the named addressee you should not disseminate,
distribute, or copy this e-mail. Please notify the sender immediately by e-mail
if you have received this e-mail by mistake and delete this e-mail from your
system. E-mail transmissions cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed,arrive late or
incomplete, or contain viruses. The sender therefore does not accept liability
for any errors or omissions in the contents of this message which arise as a result
of e-mail transmission. If verification is required please request a hard-copy
version.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sauro, Nick
Sent: Wednesday, February 22, 2006
1:21 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex
Builder Memory leak





I know there is a memory leak involved
with Design View, in Flex builder. Disable design view in the
preferences. 



Does anyone know if the eclipse plug in
for 2.0 will be compatible with 1.5?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Wednesday, February 22, 2006
3:10 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Builder
Memory leak





Anyone else having the problem that if the FlexBuilder is
open for extended amounts of time, that it gets slower and slower? Closing mxml
components can take up to 3-4 seconds if I have the program open for an hour or
more, and opening/closing projects gets longer and longer. Ironically, building
the project doesnt change but the builder is definitely having issues
after time  copy and pasting big chunks can nearly freeze the program
and it seems to only be affected if I have the builder open for over 2-3 hours.
Ive got usually multiple projects open but only working in one 
should I be closing all projects Im not working on? I usually open
another file in another project to see some code, then close that file and go
back to workingclosing would make that a lot longer process (open
project and wait for it to load, open file, read, close file, close project).
Ive only got like 4-5 projects though, dont think thats
the issue.

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.

HealthGrades:
Guiding America
to Better Healthcare

NASDAQ: HGRD

w (720) 963-3832

c (707) 761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or legally privileged
information and is intended for use only by the indicated addressee. If
you are not the named addressee you should not disseminate, distribute, or copy
this e-mail. Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.












--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Re: Modal Box Popup and Wait

2006-02-22 Thread quasimotoca
Hi:
OK, I tried.  I failed.  Do you have an example of your iPause 
interface?  I couldn't seem to find pause and resume public methods 
(or do I build those as well?).  Anyway, a quick example/pseudo code 
would be very much appreciated.
Cheers,
Dave   

--- In flexcoders@yahoogroups.com, quasimotoca [EMAIL PROTECTED] wrote:

 Hi:
 Thanks, I'll do that.
 Cheers,
 Dave
 
 
 
 --- In flexcoders@yahoogroups.com, JesterXL jesterxl@ wrote:
 
  Flash has no publicly exposed method documented to pause the 
Flash 
 Player 
  scripting thread.  What I've done in games in the past is have 
 those 
  classes/components that must freeze implement an IPause 
interface 
 that has 
  the public methods of pause and resume.  That way, I can pause 
the 
 entire 
  program for classes that need to be paused.
  
  So, unless you code the pause functionality yourself, all you 
 really have is 
  the modality functionality of the popup.
  
  ...or you could use PrintJob.send...
  
  - Original Message - 
  From: quasimotoca dcook@
  To: flexcoders@yahoogroups.com
  Sent: Thursday, February 16, 2006 12:08 AM
  Subject: [flexcoders] Modal Box Popup and Wait
  
  
  Hi:
  Is ther a way in Flex2 to have a modal box popup and wait.  In 
other
  words, when my popup fires I'd like the program to wait until the 
 user
  hits OK then resume execution of the program.
  Cheers,
  Dave
  
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%
 40yahoogroups.com
  Yahoo! Groups Links
 








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Flex Builder Memory leak

2006-02-22 Thread Benoit Hediard





Here is another error I had during a "freeze/memory leak" 
:
"Couldn't read SWC
D:\Workspace\SomeProject\style.css
flex2.compiler.swc.SwcException: Error occurred while 
loading D:\Workspace\SomeProject\style.css: Unable to read files from SWC 
archive! Negative seek offset
"

It looks like there is also issues when using 
css.

Benoit Hediard


De: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] De la part de Jonathan 
MirandaEnvoyé: mercredi 22 février 2006 
21:10À: flexcoders@yahoogroups.comObjet: 
[flexcoders] Flex Builder Memory leak


Anyone else having the problem that 
if the FlexBuilder is open for extended amounts of time, that it gets slower and 
slower? Closing mxml components can take up to 3-4 seconds if I have the program 
open for an hour or more, and opening/closing projects gets longer and longer. 
Ironically, building the project doesn’t change but the builder is definitely 
having issues after time – copy and pasting big chunks can nearly freeze the 
program and it seems to only be affected if I have the builder open for over 2-3 
hours. I’ve got usually multiple projects open but only working in one – should 
I be closing all projects I’m not working on? I usually open another file in 
another project to see some code, then close that file and go back to 
working…closing would make that a lot longer process (open project and wait for 
it to load, open file, read, close file, close project). I’ve only got like 4-5 
projects though, don’t think that’s the issue.
_
Jonathan 
Miranda
Flexible Master 
of the Web
"In the game of chess, it's important to 
never let your opponent see your pieces."
HealthGrades: Guiding America 
to Better Healthcare™
NASDAQ: 
HGRD
w (720) 
963-3832
c (707) 
761-0868
[EMAIL PROTECTED] 

_
The message contains confidential 
and/or legally privileged information and is intended for use only by the 
indicated addressee. If you are not the named addressee you should not 
disseminate, distribute, or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. E-mail transmissions cannot be guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed,arrive late or incomplete, or contain viruses. The sender therefore 
does not accept liability for any errors or omissions in the contents of this 
message which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Flex Builder Memory leak

2006-02-22 Thread Ryan Stewart


How do you mean compatible? In theory you can use it do so some 1.5 MXML but the code-completion won't be correct and you won't be able to compile projects like you can with Flex 2.0. If you're looking for a good Flex 1.5 editor for Eclipse, check out OxygenXML. The Web Tools Platform also has a good XML editor.-RyanFrom: Sauro, Nick[mailto:[EMAIL PROTECTED]Sent: Wednesday, February 22, 2006 8:21 PM -08:00To: flexcoders@yahoogroups.comSubject: [flexcoders] Flex Builder Memory leak
I know there is a memory leak involved
with Design View, in Flex builder. Disable design view in the preferences. Does anyone know if the eclipse plug in
for 2.0 will be compatible with 1.5?From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Wednesday, February 22, 2006
3:10 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Builder
Memory leak

Anyone else having the problem that if the FlexBuilder is
open for extended amounts of time, that it gets slower and slower? Closing mxml
components can take up to 3-4 seconds if I have the program open for an hour or
more, and opening/closing projects gets longer and longer. Ironically, building
the project doesn’t change but the builder is definitely having issues
after time – copy and pasting big chunks can nearly freeze the program
and it seems to only be affected if I have the builder open for over 2-3 hours.
I’ve got usually multiple projects open but only working in one –
should I be closing all projects I’m not working on? I usually open
another file in another project to see some code, then close that file and go
back to working…closing would make that a lot longer process (open
project and wait for it to load, open file, read, close file, close project).
I’ve only got like 4-5 projects though, don’t think that’s
the issue.

_

Jonathan Miranda

Flexible Master of
the Web

"In the game of
chess, it's important to never let your opponent see your pieces."

HealthGrades:
Guiding America
to Better Healthcare™

NASDAQ: HGRD

w (720) 963-3832

c (707) 761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or legally privileged
information and is intended for use only by the indicated addressee. If
you are not the named addressee you should not disseminate, distribute, or copy
this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
    
  
  YAHOO! GROUPS LINKS  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.  


Get your own goowy now @ www.goowy.com





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  








[flexcoders] coldfusion convert formatting query in flex 1.5

2006-02-22 Thread rgwilson26
I am working with a query in coldfusion where I am converting the 
date format from the database. 2 of the 3 columns show up in my 
datagrid, but the 3rd  (InterviewDate) does not display. However, it 
does if I take out the convert formatting and just query the column 
name. Is this due to FLEX not recognizing the columnName or somthing 
else?

CF query -
**
cfquery name=getAllPersonnel datasource=spotDB

SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101)
FROM dbo.PersonnelNeeded
WHERE (InterviewDate = '2/20/2005')
  
/cfquery


FLEX - 
***
mx:DataGridColumn headerText=Name columnName=PersonName 
width=225 /
mx:DataGridColumn headerText=Title columnName=PersonTitle 
width=650 wordWrap=true/
mx:DataGridColumn headerText=Date columnName=InterviewDate 
width=100/







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: coldfusion convert formatting query in flex 1.5

2006-02-22 Thread Doug Lowder
Add a field name for the converted value (probably best to use 
something other than InterviewDate to avoid confusion) to your SQL, 
like so:

SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 
101) AS ConvertedInterviewDate FROM dbo.PersonnelNeeded WHERE 
(InterviewDate = '2/20/2005')

Then change the columnName for your DataGridColumn 
to ConvertedInterviewDate.


Doug

--- In flexcoders@yahoogroups.com, rgwilson26 [EMAIL PROTECTED] 
wrote:

 I am working with a query in coldfusion where I am converting the 
 date format from the database. 2 of the 3 columns show up in my 
 datagrid, but the 3rd  (InterviewDate) does not display. However, 
it 
 does if I take out the convert formatting and just query the 
column 
 name. Is this due to FLEX not recognizing the columnName or 
somthing 
 else?
 
 CF query -
 **
 cfquery name=getAllPersonnel datasource=spotDB
 
 SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 
101)
 FROM dbo.PersonnelNeeded
 WHERE (InterviewDate = '2/20/2005')
 
 /cfquery
 
 
 FLEX - 
 ***
 mx:DataGridColumn headerText=Name columnName=PersonName 
 width=225 /
 mx:DataGridColumn headerText=Title columnName=PersonTitle 
 width=650 wordWrap=true/
 mx:DataGridColumn headerText=Date columnName=InterviewDate 
 width=100/







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] coldfusion convert formatting query in flex 1.5

2006-02-22 Thread João Fernandes

Your  convert(datetime, InterviewDate, 101) doesn't have a alias. 
Try this  convert(datetime, InterviewDate, 101) as interviewdate.

Anyway, I always return non formated dates to Flex and format there and return 
a non-formated date back to CF.
If your problem is the format in your dataGrid, you should try the 
labelFunction in your dataGridColumn.

João Fernandes

-Original Message-
From: flexcoders@yahoogroups.com on behalf of rgwilson26
Sent: Wed 22-Feb-06 8:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] coldfusion convert formatting query in flex 1.5
 
I am working with a query in coldfusion where I am converting the 
date format from the database. 2 of the 3 columns show up in my 
datagrid, but the 3rd  (InterviewDate) does not display. However, it 
does if I take out the convert formatting and just query the column 
name. Is this due to FLEX not recognizing the columnName or somthing 
else?

CF query -
**
cfquery name=getAllPersonnel datasource=spotDB

SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101)
FROM dbo.PersonnelNeeded
WHERE (InterviewDate = '2/20/2005')
  
/cfquery


FLEX - 
***
mx:DataGridColumn headerText=Name columnName=PersonName 
width=225 /
mx:DataGridColumn headerText=Title columnName=PersonTitle 
width=650 wordWrap=true/
mx:DataGridColumn headerText=Date columnName=InterviewDate 
width=100/







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 
winmail.dat

RE: [flexcoders] coldfusion convert formatting query in flex 1.5

2006-02-22 Thread Ian Skinner
CF query -
**
cfquery name=getAllPersonnel datasource=spotDB

SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101) FROM 
dbo.PersonnelNeeded WHERE (InterviewDate = '2/20/2005')
  
/cfquery

On all the DBMS that I have experience with, using a function in the select 
statement will cause the name of the column to be changed.  The easiest fix for 
this is to alias the column name.

SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101) AS 
InterviewDate

This will alias the column back to its original name.  But you could put any 
legal string after that AS statement and then use that string in the flex code.




--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 
---BeginMessage---
I am working with a query in coldfusion where I am converting the 
date format from the database. 2 of the 3 columns show up in my 
datagrid, but the 3rd  (InterviewDate) does not display. However, it 
does if I take out the convert formatting and just query the column 
name. Is this due to FLEX not recognizing the columnName or somthing 
else?

CF query -
**
cfquery name=getAllPersonnel datasource=spotDB

SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101)
FROM dbo.PersonnelNeeded
WHERE (InterviewDate = '2/20/2005')
  
/cfquery


FLEX - 
***
mx:DataGridColumn headerText=Name columnName=PersonName 
width=225 /
mx:DataGridColumn headerText=Title columnName=PersonTitle 
width=650 wordWrap=true/
mx:DataGridColumn headerText=Date columnName=InterviewDate 
width=100/







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 


---End Message---


[flexcoders] More Flash Player memory issues

2006-02-22 Thread Jonathan Miranda










I have a basic chart that shows dashboard information, so I
have it calling the service every 30 seconds. Heres the code:

private function initApp() {

 srv.send();

 timer = new Timer(3);

 timer.addEventListener(timer, callService);

 timer.start();

}



public function callService(e:Event) {

 currentRefresh = new Date(); 

 currentRefresh =
dateAdd(h,currentRefresh,-1);

  srv.send();

}

If I take this out, it runs fineif I add this, after time it gets
insanely slower  give it 3-4 hours and itll take 95% of your CPU
usage. Is there something wrong with timers in Flex2? All the service does is
call an xml file which the results are bound to a chart.

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.

HealthGrades:
Guiding America
to Better Healthcare

NASDAQ: HGRD

w (720) 963-3832

c (707) 761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or legally privileged
information and is intended for use only by the indicated addressee. If you
are not the named addressee you should not disseminate, distribute, or copy
this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Flex2 - Custom JavaAdapter - ServletContext

2006-02-22 Thread Jim Schneider
I'm writing a custom java adapter (remote object). I'd like to get access to
the ServletContext. Is that available? If so, where would I be able to find
it? (adapter, service, channel, message broker, ...?). In 1.5, there was an
ActionContext class that I could use. Is there an equivalent in 2.0?

Additionally, is there some api that I can call from within the adapter that
will transform {context.root} to the actual context root string?

Thanks,

Jim

-
Jim Schneider
KJ Interactive, Inc.
1-877-370-6906
1-612-605-5399
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ian Skinner
Sent: Wednesday, February 22, 2006 3:50 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] coldfusion convert formatting query in flex 1.5

CF query -
**
cfquery name=getAllPersonnel datasource=spotDB

SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101) FROM
dbo.PersonnelNeeded WHERE (InterviewDate = '2/20/2005')
  
/cfquery

On all the DBMS that I have experience with, using a function in the select
statement will cause the name of the column to be changed.  The easiest fix
for this is to alias the column name.

SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101) AS
InterviewDate

This will alias the column back to its original name.  But you could put any
legal string after that AS statement and then use that string in the flex
code.




--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Setting user-agent in flex

2006-02-22 Thread feuille76
Hi,

I need to append some additional strings to the user-agent in the HTTP 
header, does anyone who how this can be done in flex?

Thanks.





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Setting user-agent in flex

2006-02-22 Thread Carson Hager
You can't alter the header.


Carson 



 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of feuille76
Sent: Wednesday, February 22, 2006 3:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Setting user-agent in flex

Hi,

I need to append some additional strings to the user-agent in the HTTP 
header, does anyone who how this can be done in flex?

Thanks.





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Re: Modal Box Popup and Wait

2006-02-22 Thread JesterXL
Damn... this is worthy of a blog entry, but ok.

interface IPause
{
funciton pause(){}
function resume(){}
}

So, that's the interface.  Seems simple, but you'll find implement pause and 
resume methods for various components is hard.  For some, you do nothing. 
For others, it involves a ton of logic.  Just depends.  So, let's say you 
are using a primitive move operation:

class Circle extends MovieClip implements IPause
{

private var engine_mc:MovieClip;

function Circle()
{
engine_mc = new MovieClip();
engine_mc.addEventListener( Event.ENTER_FRAME, onCrank );
}

function onCrank()
{
x += 6;
}
}

That circle will move across the screen to the right.  How do you pause it?

function pause()
{
engine_mc.removeEventListener(Event.ENTER_FRAME, onCrank);
}

How do you resume?

function resume()
{
engine_mc.addEventListener(Event.ENTER_FRAME, onCrank);
}

That wasn't so bad!

What if it used an interval instead?

function pause()
{
clearInterval ( engineID );
}

function resume()
{
clearInterval ( engineID );
engineID = setInterval ( onCrank, 300 );
}

Make sense?  Same with Timer's, or setTimeout; just cancel them or resume 
them.


- Original Message - 
From: quasimotoca [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, February 22, 2006 3:57 PM
Subject: [flexcoders] Re: Modal Box Popup and Wait


Hi:
OK, I tried.  I failed.  Do you have an example of your iPause
interface?  I couldn't seem to find pause and resume public methods
(or do I build those as well?).  Anyway, a quick example/pseudo code
would be very much appreciated.
Cheers,
Dave

--- In flexcoders@yahoogroups.com, quasimotoca [EMAIL PROTECTED] wrote:

 Hi:
 Thanks, I'll do that.
 Cheers,
 Dave



 --- In flexcoders@yahoogroups.com, JesterXL jesterxl@ wrote:
 
  Flash has no publicly exposed method documented to pause the
Flash
 Player
  scripting thread.  What I've done in games in the past is have
 those
  classes/components that must freeze implement an IPause
interface
 that has
  the public methods of pause and resume.  That way, I can pause
the
 entire
  program for classes that need to be paused.
 
  So, unless you code the pause functionality yourself, all you
 really have is
  the modality functionality of the popup.
 
  ...or you could use PrintJob.send...
 
  - Original Message - 
  From: quasimotoca dcook@
  To: flexcoders@yahoogroups.com
  Sent: Thursday, February 16, 2006 12:08 AM
  Subject: [flexcoders] Modal Box Popup and Wait
 
 
  Hi:
  Is ther a way in Flex2 to have a modal box popup and wait.  In
other
  words, when my popup fires I'd like the program to wait until the
 user
  hits OK then resume execution of the program.
  Cheers,
  Dave
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ:
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%
 40yahoogroups.com
  Yahoo! Groups Links
 








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Animation Sequence Problem.

2006-02-22 Thread quasimotoca
I am writing a simple animation program which uses the flash 
effects.Move component. My problem is as follows: 

1. I repeatedly call a function that adds bitmaps in UIComponent 
objects to a canvas and then applies a move effect to it.

public function setUICard(x:Number, y:Number):UIComponent
{
var c:UIComponent = new UIComponent()
var s:Bitmap

s = Bitmap(new cardPicture())
 
c.addChild(s)
c.move(390, 105)
canvas.addChild(c)

var mvArray:Array = new Array()
mvArray.push(c)

var mvEffects:Move = new Move()
mvEffects.xFrom = 390
mvEffects.yFrom = 105
mvEffects.xTo = x
mvEffects.yTo = y
mvEffects.duration = 2000
mvEffects.play(mvArray)

return c
}

2. The problem with the above code is that the effects (animations) 
run in parallel. But what I would like to happen is for the 
animations to run sequentially. With a view to this I tried:   

public function setUICard(x:Number, y:Number):UIComponent
{
var c:UIComponent = new UIComponent()
var s:Bitmap

s = Bitmap(new cardPicture())
 
c.addChild(s)
c.move(390, 105)
canvas.addChild(c)

var mvArray:Array = new Array()
mvArray.push(c)

var mvEffects:Move = new Move()
mvEffects.xFrom = 390
mvEffects.yFrom = 105
mvEffects.xTo = x
mvEffects.yTo = y
mvEffects.duration = 2000
mvEffects.play(mvArray)

// New Code

while (mvEffects.isPlaying)
{

// Yield Execution

}   

return c
}

3. The problem with the above is that it locks the whole program up. 
What I would like to do is to have the program yield control inside 
the loop, so that the current animation would continue (something 
like the DoEvents function in Visual Basic) while the function itself 
would pause.

Cheers,

Dave






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Animation Sequence Problem.

2006-02-22 Thread JesterXL
Try using the mx.effects.Sequence.  If you don't want to use any of the Flex 
classes, then build a queue, and when the effect has completed, run the next 
effect in the array.

- Original Message - 
From: quasimotoca [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, February 22, 2006 10:08 PM
Subject: [flexcoders] Animation Sequence Problem.


I am writing a simple animation program which uses the flash
effects.Move component. My problem is as follows:

1. I repeatedly call a function that adds bitmaps in UIComponent
objects to a canvas and then applies a move effect to it.

public function setUICard(x:Number, y:Number):UIComponent
{
var c:UIComponent = new UIComponent()
var s:Bitmap

s = Bitmap(new cardPicture())

c.addChild(s)
c.move(390, 105)
canvas.addChild(c)

var mvArray:Array = new Array()
mvArray.push(c)

var mvEffects:Move = new Move()
mvEffects.xFrom = 390
mvEffects.yFrom = 105
mvEffects.xTo = x
mvEffects.yTo = y
mvEffects.duration = 2000
mvEffects.play(mvArray)

return c
}

2. The problem with the above code is that the effects (animations)
run in parallel. But what I would like to happen is for the
animations to run sequentially. With a view to this I tried:

public function setUICard(x:Number, y:Number):UIComponent
{
var c:UIComponent = new UIComponent()
var s:Bitmap

s = Bitmap(new cardPicture())

c.addChild(s)
c.move(390, 105)
canvas.addChild(c)

var mvArray:Array = new Array()
mvArray.push(c)

var mvEffects:Move = new Move()
mvEffects.xFrom = 390
mvEffects.yFrom = 105
mvEffects.xTo = x
mvEffects.yTo = y
mvEffects.duration = 2000
mvEffects.play(mvArray)

// New Code

while (mvEffects.isPlaying)
{

// Yield Execution

}

return c
}

3. The problem with the above is that it locks the whole program up.
What I would like to do is to have the program yield control inside
the loop, so that the current animation would continue (something
like the DoEvents function in Visual Basic) while the function itself
would pause.

Cheers,

Dave






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Your preference - Loader or createChild?

2006-02-22 Thread KOMON Kazuya
Hi, fowleryj

I'm using Loader with precompiled SWFs. It feels better a little.

I thought of without using Loader once (following code style) because of 
performance, but application already use Loader and that is LARGE size.


mx:HBox
  mx:Button label=view1 click=t1.destroyAllChildren();t1.createComponent(0, 
false); /
  mx:Button label=view2 click=t1.destroyAllChildren();t1.createComponent(1, 
false); /
  mx:Button label=view3 click=t1.destroyAllChildren();t1.createComponent(2, 
false); /
/mx:HBox
mx:ViewStack id=t1 width=100% height=100% creationPolicy=none 
  ...

Best,
KAZUYA KOMON



fowleryj wrote:

We are trying to make a decision on how the shell of our application
should work. Our goal is to load the sub-applications that are a part
of our large app dynamically. Basically, should we go with the
createChild method or use the mx:Loader tag? We are happy with all of
the inner workings of our mxml/viewhelpers/commands/etc, but not with
the shell. Would anyone out there mind sharing how you structure your
large-scale applications? Are you using a shell with createChild,
mx:Loader, or another method?

What we have observed so far is this:

createChild
  Good: seems to execute more quickly than mx:Loader
  Bad: one huge SWF

mx:Loader
  Good: multiple SWFs
  Bad: seems to execute more slowly than createChild





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: RE: [flexcoders] Validatior's binding problem?

2006-02-22 Thread KAZUYA KOMON
Hi,

oh peter, Thank you very much !!
It works very fine! Super!

Best Regards,
KAZUYA KOMON


- Original Message -
From : Peter Watson [EMAIL PROTECTED]
To : flexcoders@yahoogroups.com
Sent : Wed, 22 Feb 2006 04:56:08 -0800
Subject : RE: [flexcoders] Validatior's binding problem?


 Hi Kazuya,
 
  
 
 As Matt said - in Flex 1.5, validators don't support binding.
 
  
 
 Below is a workaround for your issue.  
 
  
 
 I got most of the code from here:
 
 http://blog.daemon.com.au/archives/000317.html
 
  
 
  
 
 Main.mxml
 
 *
 
 ?xml version=1.0 encoding=utf-8?
 
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
 xmlns:local=*
 
 mx:Script
 
 ![CDATA[
 
 function testField( validator, value ){
 
 validator.numLength =
 name1.maxChars;
 
 //debug
 
 //mx.core.Application.alert(validator.numLength);
 
  
 validator.doValidation(value);
 
 }
 
 ]]
 
 /mx:Script
 
 
 
 mx:Model id=test
 
 firstField{name1.text}/firstField
 
 secondField{name2.text}/secondField
 
 /mx:Model
 
 
 
 local:RequiredFieldValidator xmlns=*
 field=test.secondField validate=testField(event.validator,
 event.value)/
 
 
 
 mx:Form
 
 mx:FormItem
 
 mx:TextInput id=name1
 maxChars=5/
 
 /mx:FormItem
 
 mx:FormItem
 
 mx:TextInput
 id=name2/
 
 /mx:FormItem
 
 /mx:Form
 
 /mx:Application
 
  
 
  
 
 RequiredFieldValidator.as
 
 
 
 class RequiredFieldValidator extends mx.validators.Validator {
 
 public var numLength:Number;
 
 
 
 public function RequiredFieldValidator(){
 
 
 
 }
 
 public function doValidation(fieldString) : Void{
 
  
 RequiredFieldValidator.validateValue(this, fieldString, null,
 numLength);
 
 }
 
 public static function
 validateValue(validator:mx.validators.Validator, fieldString:String,
 subField, numLength) : Boolean{
 
 var tempValue = new String(fieldString);
 
 
 
 if(tempValue.length  numLength){
 
  
 validator.validationError(TooLong, You entered  + tempValue.length +
  characters. The limit is  + numLength, subField);
 
 return false;
 
 }
 
 return true;
 
 }
 
 }
 
  
 
  
 
 regards,
 
 peter
 
  
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of KOMON Kazuya
 Sent: Wednesday, February 22, 2006 1:40 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Validatior's binding problem?
 
  
 
 Hi, Matt
 
 Thank you for your reply.
 
 I watched the source which generated, it became undefined in case of
 binding.
 That was a reason.
 
 Thank you,
 KAZUYA KOMON
 
 -Original Message-
 Sorry, Validators in 1.5 can't accept binding, they're special
 components.  We changed that in 2.0.  
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of KAZUYA KOMON
 Sent: Monday, February 20, 2006 12:05 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Validatior's binding problem?
 
 Hi, all
 
 
 I'm trying to bind attribute from MXML file to custom validator.
 (using 1.5)
 
 
 // Code(MXML) :
 RequiredFieldValidator xmlns=* field=formData.text 
 numLength={name.maxChars}/
 ^
 mx:TextInput id=name width=200 maxChars=5 /
 
 
 // Code(ActionScript - RequiredFieldValidator.as) :
 class RequiredFieldValidator extends mx.validators.Validator {
 var numLength:Number;
 ^
 ...
 }
 
 
 If I set number directory (ex. numLength=5) , I can.
 But if I use binding, I can't.
 Is there something a good idea?
 
 Any help is greatly appreciate.
 
 
 Thanks,
 KAZUYA KOMON
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 SPONSORED LINKS 
 
 Web site design development
 

[flexcoders] Re: SOAP message thru http proxy server

2006-02-22 Thread JulianHtun
Thanks Carson.  I was using TcpMon from old JBoss.  Looks like the 
TcpMon version from Matt is newer.

2 downside of TcpMon:

1. We have to heck the WSDL that stored in JBoss to point to 7070 
(local port).
2. I'm seeing some extra strange character in TcpMon even the latest 
version.  I'm not sure it's JBoss fault or TcpMon.

-Julian

--- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED] 
wrote:

 Another one I meant to mention is tcptunnelgui from Apache SOAP. I 
have
 a bundled version of this with a simplified batch file if you're
 interested in using it.
 
 
 Carson 
 
 
 
  
 Carson Hager
 Cynergy Systems, Inc.
 http://www.cynergysystems.com
  
 Email:  [EMAIL PROTECTED]
 Office:  866-CYNERGY
 Mobile: 1.703.489.6466
  
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Matt Chotin
 Sent: Tuesday, February 21, 2006 9:18 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] SOAP message thru http proxy server
 
 https://tcpmon.dev.java.net/
 
 The FES server can also print the debugging information you may be
 looking for.
 
 You could also run a true packet sniffer like Ethereal.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of JulianHtun
 Sent: Sunday, February 19, 2006 8:24 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] SOAP message thru http proxy server
 
 Hi,
 
 You know how Java has a HTTP Proxy option when you start a JVM. I 
want 
 to send all SOAP request message from AS3 script to a HTTP Proxy 
Server 
 so that I can exam the SOAP content. Is there a way to do that?
 
 TIA,
 -Julian 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Re: SOAP message thru http proxy server

2006-02-22 Thread Carson Hager
Title: Re: [flexcoders] Re: SOAP message thru http proxy server








You don't have to change the wsdl. It only specifies the default location. You can override that in code.

Where is the extra character you are seeing? Anything passed in a webservice should be technically visible in any text editor.

Let met know if you'd like me to send you tcptunnelgui. It's somehat primitive but effective.

Carson






Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY ext. 89
Mobile: 1.703.489.6466



-Original Message-
From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Wed Feb 22 23:14:22 2006
Subject: [flexcoders] Re: SOAP message thru http proxy server

Thanks Carson. I was using TcpMon from old JBoss. Looks like the
TcpMon version from Matt is newer.

2 downside of TcpMon:

1. We have to heck the WSDL that stored in JBoss to point to 7070
(local port).
2. I'm seeing some extra strange character in TcpMon even the latest
version. I'm not sure it's JBoss fault or TcpMon.

-Julian

--- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED]
wrote:

 Another one I meant to mention is tcptunnelgui from Apache SOAP. I
have
 a bundled version of this with a simplified batch file if you're
 interested in using it.


 Carson


 

 Carson Hager
 Cynergy Systems, Inc.
 http://www.cynergysystems.com

 Email: [EMAIL PROTECTED]
 Office: 866-CYNERGY
 Mobile: 1.703.489.6466



 -Original Message-
 From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On
 Behalf Of Matt Chotin
 Sent: Tuesday, February 21, 2006 9:18 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] SOAP message thru http proxy server

 https://tcpmon.dev.java.net/

 The FES server can also print the debugging information you may be
 looking for.

 You could also run a true packet sniffer like Ethereal.

 Matt

 -Original Message-
 From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On
 Behalf Of JulianHtun
 Sent: Sunday, February 19, 2006 8:24 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] SOAP message thru http proxy server

 Hi,

 You know how Java has a HTTP Proxy option when you start a JVM. I
want
 to send all SOAP request message from AS3 script to a HTTP Proxy
Server
 so that I can exam the SOAP content. Is there a way to do that?

 TIA,
 -Julian






 --
 Flexcoders Mailing List
 FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links








 --
 Flexcoders Mailing List
 FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

* To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/












--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Re: different color and shape in one plot chart

2006-02-22 Thread wujunjr
Thanks. I'm afraid it is not suitable for me to use LegendItem since 
there are over 30 plots on one chart. And there are many charts in 
the application.
Could you kindly give me an example about make a series or 
chart extends Series/ChartBase?
Maybe we can use the function get legendData():, but I don't know 
how.

Thanks a lot!

--- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] 
wrote:

 
 
 
 So you want to use one series, but have multiple items show up in 
the
 legend?
 
 There are ways to make a series do this through subclassing 
(PieSeries
 does this, for example), but for you the easiest thing might be to 
just
 build your legend manually.  Rather than hooking up your legend to a
 chart, you can explicitly populate it with LegendItems (like you 
would a
 Vbox).  LegendItems use renderers to draw their markers just like 
series
 do, so if necessary you can write custom renderers for your legend 
items
 as well.
 
 Ely.
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of wujunjr
 Sent: Wednesday, February 22, 2006 2:55 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: different color and shape in one plot 
chart
 
 Ely,
 
 Thank you so much.
 Your examples are terrific!
 But, when I did it that way, the Legend of the chart cannot work
 correctly (only display one item) even if I use the same renderer 
with
 PlotChart.
 
 Also, is there any way to add a lable on the top of a column chart?
 
 Regards,
 John
 
 --- In flexcoders@yahoogroups.com, Ely Greenfield egreenfi@
 wrote:
 
  
  
  
  There's a solution in both Flex 1.5 and Flex 2, but it's easier in
 Flex
  2.
  
  
  In Flex 1.5, you'll want to looking into building a custom 
renderer
 (I
  just posted an example a few days ago of doing this for a column 
  chart...doing it for a PlotChart is esentially the same).
  
  In Flex 2, you'd build a custom itemSkin...again, I posted an
 example of
  this recently for columnCharts.
  
  Ely.
   
  
  -Original Message-
  From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
  Behalf Of wujunjr
  Sent: Tuesday, February 21, 2006 6:56 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: different color and shape in one plot
 chart
  
  Is there any solution in Flex 2?
  I'm using Flex 1.5 now.
  
  Thanks.
  John
  
  --- In flexcoders@yahoogroups.com, Ely Greenfield egreenfi@
  wrote:
  
   
   
   
   This is probably starting to sound repetetive, but...
   
   
   Flex 1.5 or 2?
   
   E.

   
   -Original Message-
   From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] On
   Behalf Of wujunjr
   Sent: Tuesday, February 21, 2006 1:11 AM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] different color and shape in one plot 
chart
   
   Hi, all,
   
   Is it possible to implement a plot chart in flex, which have
  different
   color and shape within same PlotSeries.
   We are implementing this function like that:
   
 mx:PlotSeries name=Company1 xField=Debt_1 
yField=Cds_1/
 mx:PlotSeries name=Company2 xField=Debt_2 
yField=Cds_2/
 mx:PlotSeries name=Company3 xField=Debt_3 
yField=Cds_3/
 ...
   
   but it cannot get data from backgroud dynamically. If we put all
  company
   infomation into same Array, there would be no different color 
and
  shape.
   
   Thanks in advance!
   John
   
   
   
   
   
   --
   Flexcoders Mailing List
   FAQ: 
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives:
   http://www.mail-archive.com/flexcoders%40yahoogroups.com
   Yahoo! Groups Links
  
  
  
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Flex2 - Custom JavaAdapter - ServletContext

2006-02-22 Thread Peter Farland
For Flex 2.0 Beta 1 try
flex.messaging.HttpContext.getServletConfig().getServletContext() - (the
name of this class isn't necessarily final at this stage, but any
changes would be documented in release notes). There isn't a concept of
an ActionContext for Service Adapters in Flex 2.0 as the nature of how a
message is sent to the adapter is independent of which endpoint was used
for transport (ActionContext was specific to the ActionMessageFormat, or
AMF).

We are not planning to expose the token replacement API, such as
replacing {context.root}, at this time.




-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jim Schneider
Sent: Wednesday, February 22, 2006 6:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 - Custom JavaAdapter - ServletContext

I'm writing a custom java adapter (remote object). I'd like to get
access to the ServletContext. Is that available? If so, where would I be
able to find it? (adapter, service, channel, message broker, ...?). In
1.5, there was an ActionContext class that I could use. Is there an
equivalent in 2.0?

Additionally, is there some api that I can call from within the adapter
that will transform {context.root} to the actual context root string?

Thanks,

Jim

-
Jim Schneider
KJ Interactive, Inc.
1-877-370-6906
1-612-605-5399
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ian Skinner
Sent: Wednesday, February 22, 2006 3:50 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] coldfusion convert formatting query in flex
1.5

CF query -
**
cfquery name=getAllPersonnel datasource=spotDB

SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101)
FROM dbo.PersonnelNeeded WHERE (InterviewDate = '2/20/2005')
  
/cfquery

On all the DBMS that I have experience with, using a function in the
select statement will cause the name of the column to be changed.  The
easiest fix for this is to alias the column name.

SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101) AS
InterviewDate

This will alias the column back to its original name.  But you could put
any legal string after that AS statement and then use that string in the
flex code.




--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Implicit change events for [Bindable] properties? and some notes on ModelLocator

2006-02-22 Thread Matt Chotin
Yeah, I think this is something that could eventually go into the tool.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Aldo Bucchi
Sent: Tuesday, February 21, 2006 11:06 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Implicit change events for [Bindable]
properties? and some notes on ModelLocator

Hi Matt,

yeah... more clarity, but at the expense of quite some boiler-plate
code.
I really believe you should consider adding support for this
requirement at the generator level, something like

[BindableWithAutoEvent(myPropChanged)]
public var myProp:String;

this way I would still be expressing the intent, but avoiding the
overhead.

otherwise, integrate it into zorn... ( a la java's  Source  Generate
Getters and Setters... ).
for now, I use a handy app that generates the code for me:


?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;
xmlns=* layout=vertical
mx:Script
![CDATA[
import mx.utils.StringUtil;

public function generateCode():void
{
var template:Array = [  
[Event(\{0}Changed\)],
,
private var __{0}:{1};,
[Bindable(\{0}Changed\)],
public function get {0}():{1} {
return __{0};},
public function set {0}( v:{1}
):void {,
   if ( __{0} != v ) {,
   __{0} = v;,
   dispatchEvent(
new Event(\{0}Changed\) );,
   },
}
];

outputTa.text = StringUtil.substitute(
template.join(\n) ,
propertyNameTi.text, propertyClassTi.text );
}


]]
/mx:Script
mx:Form
mx:FormItem label=PropertyName (eg: selectedPerson)
mx:TextInput id=propertyNameTi/ 
/mx:FormItem
mx:FormItem label=PropertyClass (eg: PersonVO)
mx:TextInput id=propertyClassTi/
/mx:FormItem
mx:FormItem
mx:Button click=generateCode()
label=Generate/
/mx:FormItem
/mx:Form
mx:TextArea id=outputTa width=400 height=400/
/mx:Application


Best,
Aldo















On 2/22/06, Matt Chotin [EMAIL PROTECTED] wrote:
 Yes binding will generate the objectChange when it's done
 automatically, but you'd need to look at the details to figure out if
 it's the right property for you.  Generally if you find yourself
wanting
 to handle the event it's a good idea to do the re-write yourself
because
 I think it's clearer what you intend to accomplish rather than relying
 on code-gen.

 Matt

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Aldo Bucchi
 Sent: Monday, February 20, 2006 12:36 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Implicit change events for [Bindable]
properties?
 and some notes on ModelLocator

 Hi all,

 I USUALLY FIND MYSELF REWRITING THE FOLLOWING STATEMENT

 snip

 [Bindable]
 public var selectedItem:ItemVO;

 /snip

 TO SOMETHING LIKE THIS

 snip

 private var __selectedItem:ItemVO;
 [Bindable(selectedItemChanged)]
 public function get selectedItem():ItemVO{
 return __selectedItem;
 }
 public function set selectedItem( v:ItemVO ):void{
 __selectedItem = v;
 dispatchEvent( new Event(selectedItemChanged) );
 }
 // I ommited the Event metadata of course
 /snip

 SO I CAN DO THIS...

 snip

 MyComp
 selectedItemChanged=doSomethingThatCannotBeDoneThroughBinding()/

 /snip

 is there an implicit event that is fired when a Bindable property is
 changed??
 I have digged a little into the generated AS and apparently the
 objectChange event is used in general... but Is there a more
 granular approach?

 As a tangent to this issue.. ( now this is just in case any cairngorm
 fella is reading this ), I believe that the ModelLocator should be
 wrapp'able as an MXML tag to support inline event handlers... I always
 do that with my model locators ( I just call them models though ).

 Of course the MXML wrapper would create a new instance, which itself
 would be wrapping a singleton. there are some patterns around that (
 all of which involve some unwanted boiler plate code and repetition ).
 I will post some more on this later perhaps. need some sleep now. good

RE: [flexcoders] Problem with Repeater

2006-02-22 Thread Matt Chotin










Yeah, use the ArrayUtil for
rep.currentItem.subitem as well.











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Richard Schutten
Sent: Wednesday, February 22, 2006
1:39 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problem
with Repeater







Hi Matt,











It works for my example, but when i'm
using two nested Repeaters i'm in trouble again. See my example code:











mx:Model id=test





 result






item






nameItem 1/name







subitem






nameSubitem 1/name





/subitem






/item





 /result







/mx:Model






mx:ArrayCollection id=testAC
source={mx.utils.ArrayUtil.toArray(test.item)}/

mx:VBox
 mx:Repeater id=rep
dataProvider={testAC}

mx:Label text={rep.currentItem.name}/

mx:HBox

 mx:Repeater id=rep2
dataProvider={rep.currentItem.subitem}

 mx:Label
text={rep2.currentItem.name}/

 /mx:Repeater

/mx:HBox
 /mx:Repeater
/mx:VBox











The same problem i don't get the subitems only
if i use more subitems!





Must i use two ArrayCollections?











Richard











Thanx!





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]On Behalf
Of Matt Chotin
Sent: Wednesday, February 22, 2006
6:45 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problem
with Repeater





You need to use
mx.utils.ArrayUtil.toArray().

Matt

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Richard Schutten
Sent: Tuesday, February 21, 2006 6:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with Repeater

Hi there,

I'm using Flex 2.0 Beta 1 and having a problem
with using a Model as
dataProvider for the Repeater.
I entered an example code beneath:

mx:Model id=test
 result

 itemItem 1/item
 /result
/mx:Model

mx:VBox
 mx:Repeater
id=rep dataProvider={test.result.item}

 mx:Label
text={rep.currentItem}/

/mx:Repeater
/mx:VBox

When the model contains one item, this code will
not run. Using more
items
see code:

mx:Model id=test
 result

 itemItem 1/item

 itemItem 2/item

 itemItem 3/item
 /result
/mx:Model

And it will run correctly!

As i read in the documentation the Repeater can be
used for one or more
components.

Does anyone know what's wrong?


Greetings,

Richard



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com

Yahoo! Groups Links














--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] NetConnection with AMF0

2006-02-22 Thread Matt Chotin
For the PhoneVO line you should do
var phone:PhoneVO = new PhoneVO();
phone.setValues(event.result);

Everything else looks OK to me though.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Yokota Satoshi
Sent: Tuesday, February 21, 2006 11:22 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] NetConnection with AMF0

Hi Matt,

When I use this code,

var person:PersonVO = PersonVO(resultEvent.result);


I got runtime error.
For details, following code.

TypeError: Error #1034: Type Coercion failed: cannot convert 
[EMAIL PROTECTED] to com.mycompany.phones.model.PhoneVO
at MethodInfo-1607()
at mx.binding::Binding/execute()
at mx.binding::Binding/watcherFired()
at mx.binding::Watcher/notifyListeners()
at mx.binding::PropertyWatcher/eventHandler()
at flash.events::EventDispatcher/dispatchEvent()
at mx.controls.listclasses::ListBase/mouseDownHandler()
at mx.controls::List/mouseDownHandler()


I considered other alternatives.

package com.mycompany.phones.model {

[Bindable]
[RemoteClass(alias=com.mycompany.phones.model.PhoneVO)]
public class PhoneVO{

public var name:String;
public var description:String;
public var price:Number;
public var image:String;
public var series:String;
public var triband:Boolean;
public var camera:Boolean;
public var video:Boolean;
public var highlight1:String;
public var highlight2:String;

public function PhoneVO() {
name  = ;
description = ;
price = 0;
image = ;
series = ;
triband = false;
camera = false;
video = false;
highlight1 = ;
highlight2 = ;
}

public function setValues(obj:Object){
name  = obj.name;
description = obj.description;
price = obj.price;
image = obj.image;
series = obj.series;
triband = obj.triband;
camera = obj.camera;
video = obj.video;
highlight1 = obj.highlight1;
highlight2 = obj.highlight2;
}
}
}


Usage

var phone:PhoneVO = new PhoneVO().setValues(event.result);


I'm not sure this is correct approach.

Awesome FES!!

Thank you.
Satoshi Yokota

Matt Chotin wrote:
 I'm not sure why the class isn't working, I haven't played with
 NetConnection directly for this purpose.  
 
 Yes you can use FES for business purposes without charge, but we're
 still figuring out how exactly the tiered pricing structure will work.
 To use it in a clustered environment for example, you will be charged.
 But for small installations you'll probably be able to use it for
free.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Yokota Satoshi
 Sent: Tuesday, February 21, 2006 10:45 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] NetConnection with AMF0
 
 Hi Matt,
 
 PhoneVO have the getter/setter method.
 I could get primitive type, but I could'nt get the PhoneVO class.
 
 What do you mean about 'too high' ?
 I wish to use AMF easily like a Flash Pro.
 
 Can I use FES on business without charge or with small charge?
 
 Thank you.
 Satoshi Yokota
 
 Matt Chotin wrote:
 Does your PhoneVO on the Java side have the getName/setName pair?

 There will be an FES available that I think you'll be able to use
 without charge as long as your usage isn't too high.

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On
 Behalf Of Yokota Satoshi
 Sent: Tuesday, February 21, 2006 9:55 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] NetConnection with AMF0

 Hi all,

 I'm trying to connect openamf without AMF3.
 I could this by using NetConnection.
 But, I can't get mapped class from server.

 following example code,
 ---

 

RE: [flexcoders] Re: KeyListener.onKeyDown = keyListenerFunction;

2006-02-22 Thread Matt Chotin
Well I guess I did keyListenerFunction and you had keyListenerFunc?
What was the syntax error?

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of kjlinboomer
Sent: Wednesday, February 22, 2006 6:42 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: KeyListener.onKeyDown = keyListenerFunction;

Thanks Matt,

I tried the following code which results in a syntax error:

var KeyListener:Object = new Object();
KeyListener.onKeyDown = mx.utils.Delegate(this, keyListenerFunction);
Key.addListener(KeyListener);

anything jump out at you?

Thanks,

Keith

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 You need to do KeyListener.onKeyDown = mx.utils.Delegate(this,
 keyListenerFunction);
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of kjlinboomer
 Sent: Tuesday, February 21, 2006 3:00 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] KeyListener.onKeyDown = keyListenerFunction;
 
 Hello,
 
 I have a key listener that instantiates itself in a contructor of a
 class.  When a key comes in, the key listener dispatches the call to a
 keyListenerFunction as in the subject of this post.
 
 The problem is that I am loosing focus to the rest of my class inside
 the handler function.  I want to be ablt to call a method in my class
 based on which key has been pressed:
 
 function keyListenerFunc() {
if (Key.getAscii() == 13) {
   Call some public function in my class here. 
   //saveFromAnnotationEdit();
}
if (Key.getAscii() == 97) {
   Call some public function in my class here.
 //addAnnotation();
}
   
 }
 
 Is there a way I can pass a reference into the handler function so I
 can access its methods?
 
 Thanks for any ideas,
 
 Keith
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Webservice wsdl

2006-02-22 Thread Matt Chotin










Unfortunately in 1.5 you cant change the location of the wsdl
using binding. Instead what you can do is have the WSDL at a well-known
location, but the change the endpointURI after the WSDL has loaded to go to the
dynamic location.



Docs here: http://livedocs.macromedia.com/flex/15/flex_docs_en/0770.htm,
but note it has bad capitalization of setEndpointURI (lower-case p
is correct).



Matt













From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carolyn Cole
Sent: Wednesday, February 22, 2006
7:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Webservice
wsdl





Hello,

I would like to use a variable to point the wsdl location of my web service,
but I can not seem to get it to work.

I have the following variable set in my action script section of my mxml:

var
wsdlLocation: String =  https://arl3469.arl.psu.edu:8443/uaim-webService/UAIMService.wsdl
;

I then try to bind to it in my webservice definition:
 mx:WebService id=uaimWS
wsdl={wsdlLocation} showBusyCursor=true
...
 /mx:WebService

I get the following error:

Could not load
WSDL:
404
/flex/uaim/{wsdlLocation}

Does anyone know of a way that I can use a variable to specify my wsdl
location?

-- Carolyn











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












RE: [flexcoders] Tree DragAndDrop no data for leaf

2006-02-22 Thread Matt Chotin
It may be a bug in the drag and drop code.  Can you send a test case?

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sönke 
Rohde
Sent: Wednesday, February 22, 2006 10:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tree DragAndDrop no data for leaf

Hi,
I have got a problem getting the data of a dragged leaf from a tree.
The DragEvent.DRAG_DROP is handled by the following function:

private function doDrop(e:DragEvent):void{
var data:Object = e.dragSource.dataForFormat(treeItems);
trace(data  + data.toString());
}

The leaf which is dragged has this XML node label=Test data=foo / and
nothing for the data is traced. When I drag a branch like:
node label=common
node label=Test data=bar/
/node
All is traced correctly.


Why do I get no data for the leaf? Is the XML malformated?

Thanks,
Sönke



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] More datagrid row height issues

2006-02-22 Thread Matt Chotin










Im not sure what youre
trying to accomplish here. Generally the only way you can control an
individual rows height would be to put a cell renderer in that you
explicitly change the height on. I dont see how you then bind two grids
together.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Miranda
Sent: Wednesday, February 22, 2006
11:10 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] More
datagrid row height issues





Still having problems changing the height of one row
specifically in actionscript, but that aside Im also having problems
matching datagrids together via height.

lets say I have 2 datagrids with variableRowHeight=true.
Is there a way to bind 2 data grids together via their row heights?

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.

HealthGrades:
Guiding America
to Better Healthcare

NASDAQ: HGRD

w (720) 963-3832

c (707) 761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or legally privileged
information and is intended for use only by the indicated addressee. If
you are not the named addressee you should not disseminate, distribute, or copy
this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Strange Error on compiling Flex-2 project

2006-02-22 Thread Matt Chotin










Are you sure that my_cb.selectedIndex is
returning a value that is not -1? 











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Jignesh Dodiya
Sent: Wednesday, February 22, 2006
1:38 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Strange
Error on compiling Flex-2 project







Thanx, for clarifying my fundas regarding runtime Error..











Matt,











I m trying to retrive the data from the mySQL database in Flex through
AMFPHP...some part of code is as below...











function onResult(event:Object):void{





var array_id:Array = []; 
var array_cat_name:Array = [];

 var a:Array
= event.serverInfo.initialData; 
 var len:int
= a.length;
for(var i:int=0; ilen; i++)
{

var o:Object = {}; 

var item:Array = a[i]; 

o.id = item[0]; 

o.cat_name = item[1];

array_id.push( o.id);
array_cat_name.push(o.cat_name);
 }

var
ac_id:ArrayCollection = new ArrayCollection(array_id);
bb =
ac_id[my_cb.selectedIndex]; 





}











i got that the codes in Bold is creating the runtime error .but
i m using the variable bb to
somewhere else in codes just out of this function











Is there other alternatiove to eliminate runtime error? i can't got the
fault ?











regards,











jignesh












On 2/22/06, Matt
Chotin [EMAIL PROTECTED]
wrote:





What is your onResult function trying to do? This is considered a
runtime error by the way, not compilation.
This error looks like you 
have an ArrayCollection or XMLListCollection and
tried to read a
property off of it like
myCollection[someBadValue].

Matt 





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
Behalf Of Jignesh M. Dodiya
Sent: Tuesday, February 21, 2006 3:32 PM 
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Strange Error on compiling Flex-2 project

Hi,
when I am compiling the codes in mxml,
i found the Error as below..

ActionScript Error has occured::

Error: Unknown property -1
 at 
mx.collections::ListCollectionView/ http://www.macromedia.com/2005/actio
nscript/flash/proxy::getProperty()
 at states/states::onResult() 


Strange thing is that when I click on button like
CONTINUE...the 
swf file works fine and when click on button DISMISS
ALL..instead 
of stopping the functionality of swfit still works fine as 
normal..Confused.

Is anybody has idea of how to eliminate that error,

regards,

Jignesh







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 







Yahoo! Groups Links











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 






SPONSORED
LINKS 




 
  
  Web site design development 
  
  
  Computer software development 
  
  
  Software design and development 
  
 
 
  
  Macromedia flex 
  
  
  Software development best practice 
  
  
  
  
 










YAHOO!
GROUPS LINKS





 Visit your group
 flexcoders
 on the web.
 
 To unsubscribe
 from this group, send an email to:
  [EMAIL PROTECTED]
 
 Your use of
 Yahoo! Groups is subject to the Yahoo! Terms of Service.

















-- 
jignesh dodiya 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Tree DragAndDrop no data for leaf

2006-02-22 Thread Jason Hawryluk





the return 
from your dataForFormat call is anarray or a 
collection.

so try 
trace("data " + data[0].toString());

where the 
[0] is the first item in the collection or array.

Jason



  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Sönke RohdeEnvoyé: mercredi 22 février 2006 
  19:02À: flexcoders@yahoogroups.comObjet: 
  [flexcoders] Tree DragAndDrop no data for 
  leafHi,I have got a problem getting the data of a 
  dragged leaf from a tree.The DragEvent.DRAG_DROP is handled by the 
  following function:private function 
  doDrop(e:DragEvent):void{ var data:Object = 
  e.dragSource.dataForFormat("treeItems"); 
  trace("data " + data.toString());}The leaf which is dragged has 
  this XML node label="Test" data="" / andnothing for the data is 
  traced. When I drag a branch like:node 
  label="common" node label="Test" 
  data=""//nodeAll is traced correctly.Why do 
  I get no data for the leaf? Is the XML 
  malformated?Thanks,Sönke





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.