[flexcoders] Re: Help with error

2009-05-08 Thread markgoldin_2000
This is unbelievable!
I am playing with Gumbo. I was compiling many times, but I was getting this 
error. But now, after I checked my Iframe class (did not do anything just 
opened.). It ran fine. Well, as long as it works...


--- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote:

 On Friday 08 May 2009, markgoldin_2000 wrote:
  TypeError: Error #1009: Cannot access a property or method of a null object
  reference.
  D:\projects\sfcs\UFDPortal\src\IFrame.as:353
 
 I mean, I'm just *guessing* ya know, but might something be null around line 
 353 of your IFrame class ? 
 
 -- 
 Helping to confidentially maintain metrics as part of the IT team of the 
 year, '09 and '08
 
 Tom Chiverton
 Developer
 Tel: +44 0161 618 5032
 Fax: +44 0161 618 5099 
 tom.chiver...@...
 3 Hardman Square, Manchester, M3 3EB
 www.Halliwells.com
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list 
 of members is available for inspection at the registered office together with 
 a list of those non members who are referred to as partners. We use the word 
 ?partner? to refer to a member of the LLP, or an employee or consultant with 
 equivalent standing and qualifications. Regulated by the Solicitors 
 Regulation Authority.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above and may 
 be confidential or legally privileged. If you are not the addressee you must 
 not read it and must not use any information contained in nor copy it nor 
 inform any person other than Halliwells LLP or the addressee of its existence 
 or contents. If you have received this email in error please delete it and 
 notify Halliwells LLP IT Department on 0870 365 2500.
 
 For more information about Halliwells LLP visit www.Halliwells.com.





RE: [flexcoders] Re: Help with error

2009-05-08 Thread Jonathon Stierman
I used to run into strange issues like this all the time - after I started 
using the Disable Cache feature Web Developer add-on to Firefox, I've never run 
into it again.

Errors don't just go away - something has to change to fix them. ;)  Preventing 
caching at least ensures that you're getting all your latest updates.

Jonathon

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of markgoldin_2000
Sent: Friday, May 08, 2009 10:55 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Help with error




This is unbelievable!
I am playing with Gumbo. I was compiling many times, but I was getting this 
error. But now, after I checked my Iframe class (did not do anything just 
opened.). It ran fine. Well, as long as it works...

--- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Tom 
Chiverton tom.chiver...@... wrote:

 On Friday 08 May 2009, markgoldin_2000 wrote:
  TypeError: Error #1009: Cannot access a property or method of a null object
  reference.
  D:\projects\sfcs\UFDPortal\src\IFrame.as:353

 I mean, I'm just *guessing* ya know, but might something be null around line
 353 of your IFrame class ?

 --
 Helping to confidentially maintain metrics as part of the IT team of the
 year, '09 and '08

 Tom Chiverton
 Developer
 Tel: +44 0161 618 5032
 Fax: +44 0161 618 5099
 tom.chiver...@...
 3 Hardman Square, Manchester, M3 3EB
 www.Halliwells.com

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list 
 of members is available for inspection at the registered office together with 
 a list of those non members who are referred to as partners. We use the word 
 ?partner? to refer to a member of the LLP, or an employee or consultant with 
 equivalent standing and qualifications. Regulated by the Solicitors 
 Regulation Authority.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and may 
 be confidential or legally privileged. If you are not the addressee you must 
 not read it and must not use any information contained in nor copy it nor 
 inform any person other than Halliwells LLP or the addressee of its existence 
 or contents. If you have received this email in error please delete it and 
 notify Halliwells LLP IT Department on 0870 365 2500.

 For more information about Halliwells LLP visit www.Halliwells.com.


inline: image001.jpginline: image002.jpg

[flexcoders] Re: Help with error #1119

2008-09-22 Thread David Schenk
I thought that too but when I tried that, flex had a problem with var 
n:int = ciData.length; instead it gives me a 1069 error.
let me mention that before I tried to break the code apart it did 
work.

Perhaps a little more explaination 
I am trying to move the dp:Array() that was in the mx:Script tag to 
an exteternal xml file and in doing so the Array() changed to an 
ArrayCollection() and I'm thinking it needs to be handled differently?
is this true?

Dave

--- In flexcoders@yahoogroups.com, Haykel BEN JEMIA [EMAIL PROTECTED] 
wrote:

 I think you should be using ciData instead of dp in these function. 
It's the
 property that seems to hold the data returned by the service.
 
 On Sun, Sep 21, 2008 at 7:43 PM, dmschenk1 [EMAIL PROTECTED] wrote:
 
I have a 1119 error that is giving me fits and I'm sure its 
probably
  something simple but I've been trying for days with no luck.
 
  Would someone please take a look at this code and help me figure 
out
  what I'm doing wrong here?
  The problem is in dp.length at line 18 of the AverageFunction 
and
  also in line 29 of the TotalFunction but being new to 
programing I
  don't really understand how to interpolate the error.
 
  -
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
  xmlns:scripts=scripts.*
  initialize=dp.send() 
 
  mx:Script
  ![CDATA[
  import mx.collections.ArrayCollection;
  import mx.rpc.events.ResultEvent;
 
  [Bindable]
  private var ciData:ArrayCollection = new ArrayCollection();
  private function ciResult(event:ResultEvent):void{
  ciData = event.result.Credit.Creditor;
  }
 
  public function AverageFunction(col:DataGridColumn):String {
  var n:int = dp.length;
  var avg:Number = 0;
  for (var i:int = 0; i  n; i++)
  {
  avg += dp[i][col.dataField];
  }
  avg /= n;
  return Avg:  + avg.toFixed(1) +%;
  }
 
  public function TotalFunction(col:DataGridColumn):String {
  var t:int = dp.length;
  var tot:Number = 0;
  for (var i:int = 0; i  t; i++)
  {
  tot += dp[i][col.dataField];
  }
  return Total: $ +tot.toFixed(2);
  }
 
  ]]
  /mx:Script
 
  mx:HTTPService id=dp url=data/creditInfo.xml
  result=ciResult(event) /
 
  scripts:FooterDataGrid id=dGrid initialize=dGrid.dataProvider 
=
  dp width=550 paddingTop=0 paddingBottom=0
  verticalAlign=middle
 
  scripts:columns
 
  scripts:FooterDataGridColumn headerText= 
dataField=creditorName 
 
  mx:DataGridColumn headerText=Name dataField=creditorName
  editable=true/
 
  /scripts:FooterDataGridColumn
 
  scripts:FooterDataGridColumn headerText=Interest Rate
  dataField=interestRate 
 
  mx:DataGridColumn labelFunction=AverageFunction
  dataField=interestRate editable=true /
 
  /scripts:FooterDataGridColumn
 
  scripts:FooterDataGridColumn headerText=Balacnce
  dataField=balanceOwed 
 
  mx:DataGridColumn labelFunction=TotalFunction
  dataField=balanceOwed editable=true /
 
  /scripts:FooterDataGridColumn
 
  scripts:FooterDataGridColumn headerText=Monthly Payment
  dataField=monthlyPayment 
 
  mx:DataGridColumn labelFunction=TotalFunction
  dataField=monthlyPayment editable=true /
  /scripts:FooterDataGridColumn
  /scripts:columns
  /scripts:FooterDataGrid
 
  /mx:Application
  
 
  Thanks
  Dave
 
   
 
 
 
 
 -- 
 Haykel Ben Jemia
 
 Allmas
 Web  RIA Development
 http://www.allmas-tn.com





Re: [flexcoders] Re: Help with error #1119

2008-09-22 Thread Haykel BEN JEMIA
All that you're using in the ArrayCollection are the length property and []
to access its items. Both are also available for the Array, so no special
handling here.
Could you post the whole error messages or better an example that we can
compile and having the same problem?

Anyway, you have to use ciData and not dp! It makes no sense to use a
HTTPService object like that.


On Mon, Sep 22, 2008 at 1:55 PM, David Schenk [EMAIL PROTECTED]wrote:

   I thought that too but when I tried that, flex had a problem with var
 n:int = ciData.length; instead it gives me a 1069 error.
 let me mention that before I tried to break the code apart it did
 work.

 Perhaps a little more explaination
 I am trying to move the dp:Array() that was in the mx:Script tag to
 an exteternal xml file and in doing so the Array() changed to an
 ArrayCollection() and I'm thinking it needs to be handled differently?
 is this true?

 Dave

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Haykel
 BEN JEMIA [EMAIL PROTECTED]
 wrote:

 
  I think you should be using ciData instead of dp in these function.
 It's the
  property that seems to hold the data returned by the service.
 
  On Sun, Sep 21, 2008 at 7:43 PM, dmschenk1 [EMAIL PROTECTED] wrote:
 
   I have a 1119 error that is giving me fits and I'm sure its
 probably
   something simple but I've been trying for days with no luck.
  
   Would someone please take a look at this code and help me figure
 out
   what I'm doing wrong here?
   The problem is in dp.length at line 18 of the AverageFunction
 and
   also in line 29 of the TotalFunction but being new to
 programing I
   don't really understand how to interpolate the error.
  
   -
   ?xml version=1.0 encoding=utf-8?
   mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
   xmlns:scripts=scripts.*
   initialize=dp.send() 
  
   mx:Script
   ![CDATA[
   import mx.collections.ArrayCollection;
   import mx.rpc.events.ResultEvent;
  
   [Bindable]
   private var ciData:ArrayCollection = new ArrayCollection();
   private function ciResult(event:ResultEvent):void{
   ciData = event.result.Credit.Creditor;
   }
  
   public function AverageFunction(col:DataGridColumn):String {
   var n:int = dp.length;
   var avg:Number = 0;
   for (var i:int = 0; i  n; i++)
   {
   avg += dp[i][col.dataField];
   }
   avg /= n;
   return Avg:  + avg.toFixed(1) +%;
   }
  
   public function TotalFunction(col:DataGridColumn):String {
   var t:int = dp.length;
   var tot:Number = 0;
   for (var i:int = 0; i  t; i++)
   {
   tot += dp[i][col.dataField];
   }
   return Total: $ +tot.toFixed(2);
   }
  
   ]]
   /mx:Script
  
   mx:HTTPService id=dp url=data/creditInfo.xml
   result=ciResult(event) /
  
   scripts:FooterDataGrid id=dGrid initialize=dGrid.dataProvider
 =
   dp width=550 paddingTop=0 paddingBottom=0
   verticalAlign=middle
  
   scripts:columns
  
   scripts:FooterDataGridColumn headerText=
 dataField=creditorName 
  
   mx:DataGridColumn headerText=Name dataField=creditorName
   editable=true/
  
   /scripts:FooterDataGridColumn
  
   scripts:FooterDataGridColumn headerText=Interest Rate
   dataField=interestRate 
  
   mx:DataGridColumn labelFunction=AverageFunction
   dataField=interestRate editable=true /
  
   /scripts:FooterDataGridColumn
  
   scripts:FooterDataGridColumn headerText=Balacnce
   dataField=balanceOwed 
  
   mx:DataGridColumn labelFunction=TotalFunction
   dataField=balanceOwed editable=true /
  
   /scripts:FooterDataGridColumn
  
   scripts:FooterDataGridColumn headerText=Monthly Payment
   dataField=monthlyPayment 
  
   mx:DataGridColumn labelFunction=TotalFunction
   dataField=monthlyPayment editable=true /
   /scripts:FooterDataGridColumn
   /scripts:columns
   /scripts:FooterDataGrid
  
   /mx:Application
   
  
   Thanks
   Dave
  
  
  
 
 
 
  --
  Haykel Ben Jemia
 
  Allmas
  Web  RIA Development
  http://www.allmas-tn.com
 

  




-- 
Haykel Ben Jemia

Allmas
Web  RIA Development
http://www.allmas-tn.com


[flexcoders] Re: Help with error message ASAP!

2005-10-02 Thread delaquae
Thanks,

That worked.  I planned on re-factoring at some point, but since it 
is a quick  dirty prototype I thought I could get away with a 
single file for now...  Oh well!

Martin


--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] 
wrote:
 And check the faq (linked below) for more info.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Kelly Roman
 Sent: Sunday, October 02, 2005 4:31 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Help with error message ASAP!
 
  
 
 You are going to have to break up your file into components.
 
  
 
 It's a good design practice anyways so get in the habit of it.
 
  
 
  
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of delaquae
 Sent: Sunday, October 02, 2005 6:51 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Help with error message ASAP!
 
  
 
 I just started getting the following error message when I try to 
 compile an mxml file I have been working on in FlexBuilder:
 
 Branch between 9975 and 43151 around line 0 exceeds 32K span. If 
 possible, please refactor this component.
 
 Can someone tell me what this means?  Is my file too large?
 
 Thanks...
 
 Martin
 
 
 
 
 
 
 --
 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
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
subject=Unsubscribe 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 





 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/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] Re: Help with error message ASAP!

2005-10-02 Thread delaquae

Matt,

I did not see a FAQ link in your post.  Did I miss something?

Martin

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] 
wrote:
 And check the faq (linked below) for more info.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Kelly Roman
 Sent: Sunday, October 02, 2005 4:31 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Help with error message ASAP!
 
  
 
 You are going to have to break up your file into components.
 
  
 
 It's a good design practice anyways so get in the habit of it.
 
  
 
  
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of delaquae
 Sent: Sunday, October 02, 2005 6:51 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Help with error message ASAP!
 
  
 
 I just started getting the following error message when I try to 
 compile an mxml file I have been working on in FlexBuilder:
 
 Branch between 9975 and 43151 around line 0 exceeds 32K span. If 
 possible, please refactor this component.
 
 Can someone tell me what this means?  Is my file too large?
 
 Thanks...
 
 Martin
 
 
 
 
 
 
 --
 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
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
subject=Unsubscribe 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 




 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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/