RE: [flexcoders] datagrids and data changes

2007-10-31 Thread Nate Nielsen
Have you set an item renderer for the check box column?  Something like the
following:

 

mx:DataGridColumn dataField=Confirmed 

editable=true 

rendererIsEditor=true 

itemRenderer=mx.controls.CheckBox 

editorDataField=selected/

 

This will bind the value back into your data provider as it is
clicked/selected.

 

Also, to iterate through your ArrayCollection, you reference it differently
than a regular array as it is likely a collection of objects.  You'll
iterate through it with something like :

 

var i : uint;

var thisItem : YourItemClass;

for( i = 0 ; i  myData.length; i++){

  thisItem = YourItemClass( myData.getItemAt(i)
);

}

 

Hope that helps,

 

Nate Nielsen

[EMAIL PROTECTED] 

 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ramsey, Robert L
Sent: Wednesday, October 31, 2007 9:09 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] datagrids and data changes

 

Hi,

I have the feeling I'm being very stupid about something, but here goes.

I have a datagrid, myDatagrid, bound to a dataprovider, myData. myData
is an ArrayCollection based on an xml list of data returned from a php
script with an httpservice call, but I don't think that should make a
difference.

Right now, the data is one column that is a checkbox. By default, the
checkbox value is set to false.

If I click a checkbox and then iterate through myData, myData doesn't
reflect the change to the data. Some of the things I was reading seemed
to suggest that myData should immediately reflect the changes made to
the data presented by myDatagrid. I'm not sure that should be true
since it was only a one way binding from myData - myDatagrid.

My ultimate goal is that when the user clicks the submit button, I get
only the records in myDatagrid that have changed. By the time the app
is done there may be hundreds of rows of records with up to 10 fields.
If I have to build the iteration, that's fine, but I'm also not seeing
how to iterate through myDatagrid. Ideally,
myDatagrid[rownumber][columned] would be great, but reading through the
help I can't see what property of the datagrid let's me access the array
of data.

Thanks for any suggestions you can give me!

Bob

~~~
Even a man who is pure in heart
and says his prayers by night
may become a wolf when the wolfbane blooms
and the autumn moon is bright. 
Maleva (Maria Ouspenskaya) The Wolf Man
~~~

 

image001.jpgimage002.jpg

[flexcoders] Flex / CF server setup guru needed

2005-08-19 Thread Nate Nielsen





Hello all

I'm looking for a server guru to set up some 
environments. This person would be responsible for setting up a number of 
servers with the following :

Windows Server 2000 / 2003
Macromedia Flex
Macromedia Cold Fusion
Macromedia JRun

This would be a perfect opportunity for someone to 
make some extra cash at home/ on the weekends etc. Everything can be 
done remotely from your location. The work would be part time but could 
turn into full time if you are interested in making that move.

If you're interested, please contact me off list at 
[EMAIL PROTECTED]

Thanks!

-Nate Nielsen






--
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] Cairngorm woes =\

2005-08-18 Thread Nate Nielsen





Hi all,

Having a tough time with a cairngorm app that's 
been inherited. I didn't write the cairngorm adaptation, so I'm a bit 
lost. This is what we're getting :


Error C:\Inetpub\wwwroot\bidfly\com\bidfly\view\BrowseViewHelper.as:100 

There is no method with the name 'getInstance'.


  
  
99:
function showView(Void):Void{ 
  
100:
var 
  nav:LeftTabNavigator=LeftTabNavigator.getInstance();
  
101:
nav.selectedIndex = 
  nav.getChildIndex(UIObject(view)); 


The odd part about it is that the same 
code works on another server, or the same server but some setup changes were 
made.

Is it possible I need to include some 
of the framework into the user classes area or something?

Any help anyone can provide would be 
greatly appreciated and I'll paypal ya so you're next round of brews are on 
me!


Thanks,

-Nate





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Re: If I buy a flex license can I host other peoples apps on the license?

2005-07-18 Thread Nate Nielsen





From what I understand, only on an ASP basis. 


I.e. you can only host what you create for 
your clients.

-someone correct me if I'm wrongplease  
:)


  - Original Message - 
  From: 
  Clint Modien 
  
  To: flexcoders@yahoogroups.com 
  Sent: Monday, July 18, 2005 2:54 PM
  Subject: [flexcoders] Re: If I buy a flex 
  license can I host other peoples apps on the license?
  anyone?
  On 7/15/05, Clint 
  Modien [EMAIL PROTECTED] 
  wrote:
  Just 
a question I thought I'd kick out there to MM.





--
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] contract opportunity - telecommute!

2005-06-29 Thread Nate Nielsen





Hi all,

I'm looking for 3-4 full / part time flex 
developers for some contract work. 

This project consists of being part of a team to 
develop and deploy a large scale e-commerce site entirely in flex! With 
over 80,000 consumer products already approved for online sales, this is sure to 
be the first project of its size and kind for the flex platform!

All work will be done ** telecommute **, so this is 
your chance to flex your coding muscles in your underwear at home! (oh 
my!)

If you are interested in working on this exciting 
project (and/or dumping the micro management regime you're imprisoned 
innow) - please send your resume (or skills summary), contact information 
andnumber of hours you are available (weekly)to : [EMAIL PROTECTED]


Thanks!

Nate Nielsen
[EMAIL PROTECTED]





--
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] Adobe aquires Macromedia

2005-04-18 Thread Nate Nielsen





SAN JOSE, Calif.--(BUSINESS WIRE)--April 18, 2005--Adobe Systems 
Incorporated (Nasdaq:ADBE) today announced a definitive agreement to acquire 
Macromedia (Nasdaq:MACR) in an all-stock transaction valued at approximately 
$3.4 billion. 
Crazy.







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 the Yahoo! Terms of Service.










[flexcoders] method to list properties / describe class ?

2005-03-26 Thread Nate Nielsen





is the a method to list the properties/ 
methods / etc of a particular class ? anyway to do something similar by 
accessing the class and properties via associative array syntax 
maybe?

i'd like to build something to auto-document my 
mxml components / classesand their properties / values etc.

thanks,

Nate Nielsen
[EMAIL PROTECTED]








Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.










Re: [flexcoders] method to list properties / describe class ?

2005-03-26 Thread Nate Nielsen





Just found UIObjectDescriptor in docs is what i 
waslookin for.

Nevermind =)


  - Original Message - 
  From: 
  Nate Nielsen 
  
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, March 26, 2005 7:01 
  PM
  Subject: [flexcoders] method to list 
  properties / describe class ?
  
  is the a method to list the properties/ 
  methods / etc of a particular class ? anyway to do something similar by 
  accessing the class and properties via associative array syntax 
  maybe?
  
  i'd like to build something to auto-document my 
  mxml components / classesand their properties / values etc.
  
  thanks,
  
  Nate Nielsen
  [EMAIL PROTECTED]
  







Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.










flex project

2005-03-09 Thread Nate Nielsen



i'm looking for 2-3 flex coders to do somehourly 
contract work.

i would prefer you to be local to the dallas / ft 
worth, TXarea for some meetings, but all of the work will be done from 
your location via telecommuting. if you are able to drive to DFW for 
meetings roughly once a week but live/work further out, that shouldn't be a 
problem.

if you currently have a part time / full time job 
elsewhere and want some flex work for extra cash or experience, that is 
acceptable. (i.e. don't have to quit your day job if you are already 
engaged 8-5). but I am looking for people with a minimum of 20 hours a 
week to spare on this project.

you will be part of a team that is building an 
exciting new e-commerce .com that will be emerging shortly. this is an 
awesome chance to work on a high profile --fully-- flex site that will actually 
be open to the public! (perhaps the first large scale flex B2C 
.com!)

if you are interested, please send a resume or 
skills summary along with details of your flex experience and any URLs you might 
have OFF LIST to [EMAIL PROTECTED]

thanks

nate nielsen
[EMAIL PROTECTED]




Re: [flexcoders] flex project

2005-03-09 Thread Nate Nielsen



sorry, i meant to mention the technology details : 


flex 1.5

cold fusion mx 7

ms sql

-most of the back end will be coded by a different 
team, so the primary importance is flex 1.5 and enough knowledge of CF to manage 
communications via flash remoting and/or web services (no big 
deal).

=)


- Original Message - 
From: 
Nate Nielsen 

To: flexcoders@yahoogroups.com
Sent: Wednesday, March 09, 2005 8:47 
AM
Subject: [flexcoders] flex project

i'm looking for 2-3 flex coders to do some hourly 
contract work.

i would prefer you to be local to the dallas / ft 
worth, TXarea for some meetings, but all of the work will be done from 
your location via telecommuting. if you are able to drive to DFW for 
meetings roughly once a week but live/work further out, that shouldn't bea 
problem.

if you currently have a part time / fulltime job 
elsewhere and want some flex work for extra cash or experience, that is 
acceptable. (i.e. don't have to quit your day job if you are already 
engaged 8-5). but I am looking for people with a minimum of 20 hours a 
week to spare on this project.

you will be part of a team that is building an 
exciting new e-commerce .com that will be emerging shortly. this isan 
awesome chance to work on a high profile --fully-- flex site that will 
actually be open to the public! (perhaps the first large scale 
flex B2C .com!)

if you are interested, please send a resume or 
skills summary along with details of your flex experience and any URLs you 
might have OFF LIST to [EMAIL PROTECTED]

thanks

nate nielsen
[EMAIL PROTECTED]




Re: [flexcoders] How do you convert a string to a number

2005-03-09 Thread Nate Nielsen



syntax : 
Number(yourStringVariable)

keep in mind that your string may not always be able to be cast into a 
number, so you may want to add a conditional to check.

here is some sample code to demostrate casting a string into a number,just 
call the function and you'll see it alert 100:

mx:Script![CDATA[

function castTest(){var 
myString:String = "60";var total:Number;total = 
40 + 
Number(myString);alert(total.toString());}

]]/mx:Script 

Without the Number(  ) cast statement, you will get a compile time 
error : "Type mismatch in assignment statement: found String where Number 
is required." -But remember that you will not get a compile time 
error if you are casting to a custom class type, which is why you may want to 
add a conditional to test if the cast worked propertly (it will return nullif 
the cast cannot be performed): 

mx:Script![CDATA[

function castTest(){var 
myString:String = "60";var total:Number;total = 
40 + 
Number(myString);if(total){alert(total.toString());}}

]]/mx:Script 

hth

nate nielsen
[EMAIL PROTECTED]


- Original Message - 
From: 
[EMAIL PROTECTED] 

To: flexcoders@yahoogroups.com
Sent: Wednesday, March 09, 2005 8:57 
AM
Subject: [flexcoders] How do you convert 
a string to a number
I am just curious because I am trying to do this in Flex