[flexcoders] Change Datagrid Row Colors

2006-07-11 Thread vestcomprogrammer



Ok I have a datagrid that bound to an Array and I want to change the background color of a row depending on the value of datafield Emergency.               Thank 

__._,_.___





--
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] Excel Export

2006-06-13 Thread vestcomprogrammer
Does anyone know how to export to excel, like they do on the 
timetracker application on the showcase page on 
http://labs.adobe.com/showcase/.




Thanks
Bill






 Yahoo! Groups Sponsor ~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Setting an Imge to sortArrowSkin

2006-06-05 Thread vestcomprogrammer



I know in the tag you can set an imge like this:
sortArrowSkin = "@Embed('heart.gif')" 

How would you do it in actionscript?


-Bill









--
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] .Net DataSet

2006-05-18 Thread vestcomprogrammer



Does anyone know if we will be able to use .net DataSet with Flex 2.0?



Bill









--
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 Flex 2.0

2006-05-08 Thread vestcomprogrammer



I have the follwing code and I have to click on the button twice to 
get the value that the web services send back.  Is there a way to 
fix this problem?








wsdl="http://localhost/Flex2T_WebServiceTest/Service1.asmx?wsdl"  
id="CustomerServices" 
fault="mx.controls.Alert.show(event.fault.faultstring)"
>

  
  










--
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] doDrag() in Flex 2.0

2006-05-04 Thread vestcomprogrammer



My code works fine in Flex 1.5 but I get:fff
"Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'mx.core:IFlexDisplayObject"
CODEvar ds = new mx.core.DragSource();ds.addData({name: name, component: component}, "product");
mx.managers.DragManager.doDrag(this, ds, event, {name: name, image: image,component: component, mxml: true});
-Bill






--
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: Looping Through A DataProvider In Flex 2.0

2006-05-03 Thread vestcomprogrammer



Thanks that worked.

--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> 
wrote:
>
> 
> What about this:
> 
> searchDP(FontFamily.dataProvider, "label", style.fontFamily);
> 
> 
> public function searchDP(arrToSearch:ArrayCollection, field:String,
> value:String):Number
> {
>   for (var idx = 0; idx < arrToSearch.length; ++idx)
>   {
>    if (arrToSearch.getItemAt(idx)[field] == value) {return idx};
>   }
>   return -1;
> }
> 
> 
> --- In flexcoders@yahoogroups.com, "vestcomprogrammer"
>  wrote:
> >
> >
> > It works in flex 1.5 but I try to run the same code in Flex 2.0 
Beta 2
> > and it gives me one element in the array.
> >
> >
> >
> >
> >
> > XML FILE
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> >
> > My Code
> >
> > 
> >
> > //Call to the funciton
> > searchDP(mx.utils.ArrayUtil.toArray
(FontFamily.dataProvider), "label",
> > style.fontFamily);
> >
> >
> > public function searchDP(arrToSearch:Array, field:String,
> > value:String):Number
> > {
> > for (var idx = 0; idx < arrToSearch.length; ++idx)
> > {
> > if (arrToSearch[idx][field] == value) {return idx};
> > }
> > return -1;
> > }
> >
>










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





  




  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Looping Through A DataProvider In Flex 2.0

2006-05-02 Thread vestcomprogrammer



It works in flex 1.5 but I try to run the same code in Flex 2.0 Beta 2 and it gives me one element in the array.
 
 
XML FILE 
My Code

//Call to the funciton searchDP(mx.utils.ArrayUtil.toArray(FontFamily.dataProvider), "label", style.fontFamily);
public function searchDP(arrToSearch:Array, field:String, value:String):Number{   for (var idx = 0; idx < arrToSearch.length; ++idx) {   if (arrToSearch[idx][field] == value) {return idx}; } return -1;}






--
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] Select ComboBox

2006-05-01 Thread vestcomprogrammer



I need to change the selectedIndex of a combox based of a string value.

Example:

Combobox has 
"not selected --"
"Arial"
"Georgia"
"Impact"
"Tahoma"
"Times New Roman"
"Verdana"
"Webdings"
"Windings" 

I want to be able to change the selectedIndex by that value say if I 
have "Impact" it would changed it to Impact.


Thanks
Bill









--
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] addEventListener In Flex 2.0

2006-05-01 Thread vestcomprogrammer



In Flex 1.5 I had this:

Parent 

DesignView[0].addEventListener("selectionChanged", 
mx.utils.Delegate.create(this, valueChanged))


function valueChanged(event) 
{
  currentSelection = event.selection
  adjustControls(event.style)
}


Child


  [Event("showBorders")]
  [Event("selectionChanged")]


dispatchEvent({type: 'selectionChanged', selection: 
event.target.getChildAt(0).id, style: styleSettings});


Now it not the same in flex 2 and I need too know how I have to 
change it in flex 2.


Thanks
Bill









--
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: Binding with Child Object In Flex 2.0

2006-04-26 Thread vestcomprogrammer



SS_Save.mxml - Part in Child





SSDemo.mxml - Part in Parent

    roundedBottomCorners="true" 
    dragEnter="doDragEnter(event)"
    dragExit="doDragExit(event)"
    dragDrop="doDragDrop(event)"
    creationPolicy="queued"
    childrenCreationCompleteEffect="Dissolve"
    horizontalAlign="center" verticalAlign="bottom" id="DesignView"  
>


The Child is drag and dropped into the parent at runtime.



-Bill








--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Well, I think it should, can we have more of an example?
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of vestcomprogrammer
> Sent: Tuesday, April 25, 2006 7:47 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Binding with Child Object In Flex 2.0
> 
> Before in flex 1.5 I have this
> 
> 
> source="AssetTitle.text" />
> 
> In Flex 2.0 Beta 2 this does not seem to work.
> 
> 
> 
> Thanks
> Bill
> 
> 
> 
> 
> 
> --
> 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.



  











[flexcoders] useHandCursor=true In Flex 2.0

2006-04-26 Thread vestcomprogrammer



Before in flex 1.5 I would have this :

event.target. on a 
 

ReferenceError: Error #1056: Cannot create property onRelease on 
mx.containers.HBox
  at SS_SL/__Description1_mouseOver()



Now it flex 2.0 if throw an error at runtime.


-Bill









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





  




  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Adding addEventListener too a Child object

2006-04-25 Thread vestcomprogrammer



I am trying to add a addEventListener to a child object in Flex 2.0 
beta 2 and I have tried this "DesignView[0].addEventListener
("selectionChanged", valueChanged(this));" but this does not seem to 
work.  Anyone know how?


Thanks
Bill









--
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 with Child Object In Flex 2.0

2006-04-25 Thread vestcomprogrammer



Before in flex 1.5 I have this


source="AssetTitle.text" />

In Flex 2.0 Beta 2 this does not seem to work.



Thanks
Bill









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





  




  
  
  YAHOO! GROUPS LINKS



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