Re: [flexcoders] Matrix3D error

2009-11-03 Thread Agha Mehdi
sorry. forgot to mention that it is pointing to flex 4 SDK

On Tue, Nov 3, 2009 at 11:21 AM, Chet Haase cha...@adobe.com wrote:



  The old projects from FB4 imported classes from the Flex 4 sdk and your
 Flex 3 compiler is complaining about classes that it can’t find in Flex 3.



 If you want to compile against Flex 4 in FB3, then set up your SDKs to add
 the Flex 4 SDK, and point your project(s) at that SDK instead of the default
 Flex 3 SDK.



 If you’re just building Flex3 code (and your projects that you imported
 aren’t using and Flex 4-isms), then do a clean on those projects and
 rebuild.





 Chet.





 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Agha Mehdi
 *Sent:* Tuesday, November 03, 2009 11:13 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Matrix3D error





 All,



 I just installed FB 3 and now my imported projects done in FB 4 beta 2 give
 me this error



 Type was not found or was not a compile-time constant: Matrix3D.



   How do I get rid of this?



   Thanks





[flexcoders] Matrix3D error

2009-11-03 Thread Agha Mehdi
All,

I just installed FB 3 and now my imported projects done in FB 4 beta 2 give
me this error

Type was not found or was not a compile-time constant: Matrix3D.

How do I get rid of this?

Thanks


[flexcoders] Flex2gateway not accessible

2009-10-22 Thread Agha Mehdi
All,
http://[servername]/flex2gateway comes back with error 404. My setup is
Coldfusion on JRun integrated with IIS. have tried a bunch of suggestions
from the web but nothing seems to be working.

Please help

Thanks


Re: [Spam] RE: [SPAM] Re: [Spam] Re: [flexcoders] Checkbox in Datagrid

2009-10-15 Thread Agha Mehdi
Thanks guys. how do i get the list of all checked rows from the datagrid?

On Thu, Oct 15, 2009 at 7:14 AM, Nick Middleweek n...@middleweek.co.ukwrote:



 Ah ok... Thanks Tracy...

 Is that a bit like Application.application ?




 2009/10/15 Tracy Spratt tr...@nts3rd.com



  An item renderer is a component and has its own scope.  “outerDocument”
 is a reference to the renderer’s parent document.  You use it to access
 public properties of the parent.



 Tracy Spratt,

 Lariat Services, development services available



  



Re: [Spam] RE: [SPAM] Re: [Spam] Re: [flexcoders] Checkbox in Datagrid

2009-10-15 Thread Agha Mehdi
it's giving me below error
Description Resource Path Location Type
Could not resolve mx:Component to a component implementation. comp.mxml
Flex_FB/src line 238 Flex Problem


mx:DataGridColumn headerText= dataField=select sortable=false
editable=false resizable=false textAlign=center
mx:itemRenderer
mx:Component
mx:CheckBox change=outerDocument.brigFiles_clickHandler(event) /
/mx:Component
/mx:itemRenderer
/mx:DataGridColumn

Thanks

On Thu, Oct 15, 2009 at 8:55 AM, Agha Mehdi aghaime...@gmail.com wrote:

 Thanks guys. how do i get the list of all checked rows from the datagrid?


 On Thu, Oct 15, 2009 at 7:14 AM, Nick Middleweek n...@middleweek.co.ukwrote:



 Ah ok... Thanks Tracy...

 Is that a bit like Application.application ?




 2009/10/15 Tracy Spratt tr...@nts3rd.com



  An item renderer is a component and has its own scope.  “outerDocument”
 is a reference to the renderer’s parent document.  You use it to access
 public properties of the parent.



 Tracy Spratt,

 Lariat Services, development services available



  





Re: [Spam] RE: [SPAM] Re: [Spam] Re: [flexcoders] Checkbox in Datagrid

2009-10-15 Thread Agha Mehdi
so this is what I am doing. it gives me A term is undefined and has no
properties.
public function brigFiles_clickHandler(_comp:CheckBox):void
{
   var dp:Object = datagrid.dataProvider;
   var cursor:IViewCursor=dp.createCursor();
   while( !cursor.afterLast )
   {
Alert.show(cursor.current.select.toString());
cursor.moveNext();
   }
}
mx:DataGridColumn headerText= dataField=select sortable=false
editable=false resizable=false textAlign=center width=20
mx:itemRenderer
fx:Component
mx:CheckBox change=outerDocument.datagrid_clickHandler(this) /
/fx:Component
/mx:itemRenderer
/mx:DataGridColumn



On Thu, Oct 15, 2009 at 10:15 AM, turbo_vb timh...@aol.com wrote:




 Look at the dataProvider. You're using the select property of the
 items, so loop and look.


 -TH

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Agha
 Mehdi aghaime...@... wrote:
 
  Thanks guys. how do i get the list of all checked rows from the
 datagrid?
 
  On Thu, Oct 15, 2009 at 7:14 AM, Nick Middleweek n...@...wrote:
 
  
  
   Ah ok... Thanks Tracy...
  
   Is that a bit like Application.application ?
  
  
  
  
   2009/10/15 Tracy Spratt tr...@...
  
  
  
   An item renderer is a component and has its own scope.
 outerDocument
   is a reference to the renderer's parent document. You use it to
 access
   public properties of the parent.
  
  
  
   Tracy Spratt,
  
   Lariat Services, development services available
  
  
  
  
  
 

  



[flexcoders] Background Image of HBox

2009-10-14 Thread Agha Mehdi
Hi,
I have a custom component with root as mx:HBox. I am trying to give it a
background image but it's not working with style. I have a style definition
for it as HBox{background-image: [imagePath]}

What is the best way to do it?

Thanks

Agha


[flexcoders] Checkbox in Datagrid

2009-10-14 Thread Agha Mehdi
Hi,
I have a datagrid column with checkbox in it. how do i run a process when
the checkbox state is changed.

mx:DataGridColumn headerText= dataField=select sortable=false
resizable=false width=20 editable=true textAlign=center
rendererIsEditor=true itemRenderer=mx.controls.CheckBox/

Thanks

Agha