[flexcoders] Re: antiAliasType null exception with Text instances!

2006-07-27 Thread loftling
--- In flexcoders@yahoogroups.com, Sergey Kovalyov
[EMAIL PROTECTED] wrote:

 Hi All!
 
 Each time I create new Text instance in ActionScript using new Text()
 and then add it to parent container, I get exception:
 
 TypeError: Error #2007: Parameter antiAliasType must be non-null.


I'm having a similar problem. I've got two containers that have
UITextFields in them. One of them works sometimes, the other never
works. I've tried specifying the antiAliasType in css and setting the
style explicitly on the control.

TypeError: Error #2007: Parameter antiAliasType must be non-null.
at flash.text::TextField/set antiAliasType()
at
mx.core::UITextField/validateNow()[C:\dev\GMC\sdk\frameworks\mx\core\UITextField.as:1427]
at mx.core::UITextField/set
nestLevel()[C:\dev\GMC\sdk\frameworks\mx\core\UITextField.as:956]
at mx.core::UIComponent/set
nestLevel()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:2420]
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:4720]
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::addingChild()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:3306]
at
mx.core::Container/addChildAt()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:2285]





--
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: Flex2b2: Problem casting super to an Interface

2006-04-19 Thread loftling




 IInterface( super ).InterfaceMethod();


It seems to me that the bug is that super is allowed to be used by
itself (without calling a method). It seems that the compiler is just
treating super as an alias for this, which is about the most
sensible thing it can do other than generate an error.









--
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] Re: importing button designed in flash

2006-04-19 Thread loftling



--- In flexcoders@yahoogroups.com, Chaitanya [EMAIL PROTECTED] wrote:

 Hi,
 
 I am trying to import a button designed in flash into my flex
 project and use it. I imported it and I can see it in my navigator
 view. But when I try to drag it into my Panel I cant do it. Looks like
 something is wrong with the way I am doing it or flash designed
 buttons or components cannot be imported into Flex. Could somebody
 please help.

Flex components must extend mx.core.UIComponent, and your button is
probably just a DisplayObject.









--
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] RENDER event: before every frame or only when certain UI elements change?

2006-04-12 Thread loftling
Does anyone know if the RENDER event (flex 2 / actionscript 3.0,
flash.events.Event.RENDER) is supposed to be dispatched to the display
list prior to every frame, or is it merely supposed to be dispatched
prior to a frame in when *certain* UI elements (like mx controls) have
their state updated. The documentation led me to believe the former, but
in reality the latter is happening, which seems less useful to me.

(a
href=http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?\
catid=587threadid=1141438Posted on the Adobe labs forums/a, amongst
the tumbleweeds.)





--
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] compiler errors, runtime errors, requests for enhancement (Flex 2 beta)

2006-03-29 Thread loftling



I'm posting this here in the hopes that some of the Adobe engineers
active on this group will read the messages I've been posting to their
own forums. I've been having a lot of problems that other haven't, and
I'd love some responses.



A NullPointerException in the compiler prevents me from using Beta 2


Another compiler bug causes classes to be 'imported' into the
namespace even when not imported

Some bugs/limitations I've found with describeType():
one
two

In addition, I've written a few whingey posts about the design of the
language, but the ones listed above are actual bugs. I'd love to
engage with Adobe engineers on these problems and others, I was hoping
that the beta forums were the place to do that.






--
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.