Re: [flexcoders] Help with error message

2008-11-29 Thread gabriel montagné
Hi,

markgoldin_2000 wrote:
 What exaclty this means:
 TypeError: Error #2007: Parameter antiAliasType must be non-null.
 at flash.text::TextField/set antiAliasType()

Paraphrasing the error message one can defintely say that you have a TextField
somewhere for which you're setting the anti alias type property
(antiAliasType) to null (this might not be something you're doing on purpose,
but you might be binding to something which has the value null at some point).

If you check the docs for TextField you'll se that the valid values are only
normal or advanced (the values are held in the class constants NORMAL and
ADVANCED in the AntiAliasType class which one should always use instead of the
literals).

I don't know what you're doing, but if you're, for example, doing tests
changing the anti alias type from a combo box or something like that, you
should always test or provide a fallback for it.  Something like mx:TextField
antiAliasType={myValue || AntiAliasType.ADVANCED} / could do the job.

hth,
gabriel.

-- 
gabriel montagné láscaris-comneno
http://rojored.com
+506 83.67.67.94


[flexcoders] Help with error message

2008-03-27 Thread markgoldin_2000
What exaclty this means:
TypeError: Error #2007: Parameter antiAliasType must be non-null.
at flash.text::TextField/set antiAliasType()
at mx.core::UITextFormat/measure()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UITextFormat.a
s:459]
at mx.core::UITextFormat/measureText()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UITextFormat.a
s:385]
at mx.core::UIComponent/measureText()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as
:6151]
at yardmodel.modulecode::destinationGrid/set assignBlocks()
[D:\testarea\beltrailway\flexversions\src\yardmodel\modulecode\destina
tionGrid.as:45]
at mx.core::ClassFactory/newInstance()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\ClassFactory.a
s:153]
at 
mx.controls.advancedDataGridClasses::AdvancedDataGridBase/http://www.a
dobe.com/2006/flex/mx/internal::columnItemRenderer()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\advancedDataGridClasses\AdvancedDataGridBase.as:1415]
at 
mx.controls::AdvancedDataGridBaseEx/http://www.adobe.com/2006/flex/mx/
internal::getMeasuringRenderer()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:2004]
at mx.controls::AdvancedDataGridBaseEx/measureItems()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:6985]
at mx.controls::AdvancedDataGridBaseEx/commitProperties()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:1973]
at mx.controls::AdvancedDataGrid/commitProperties()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGrid.as:2209]
at mx.core::UIComponent/validateProperties()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as
:5670]
at mx.managers::LayoutManager/validateProperties()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutMana
ger.as:519]
at mx.managers::LayoutManager/doPhasedInstantiation()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutMana
ger.as:669]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as
:8460]
at mx.core::UIComponent/callLaterDispatcher()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as
:8403]

Thanks for looking into it.



[flexcoders] Help with error message ASAP!

2005-10-02 Thread delaquae
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





 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/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/
 





RE: [flexcoders] Help with error message ASAP!

2005-10-02 Thread Kelly Roman










You are going to have to break up your
file into components.



Its 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" 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] Help with error message ASAP!

2005-10-02 Thread Matt Chotin










And check the faq (linked below) for more
info.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 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.



Its a good design practice anyways
so get in the habit of it.















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 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








  
  
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.