[flexcoders] Re: why doesnt this work (custom drawing)

2009-03-30 Thread valdhor
The function never runs. AFAIK you need to add this to a component implementation and then instantiate the component. Something like this... MyComponent.as: package { import mx.core.UIComponent; public class MyComponent extends UIComponent { public function MyComponent()

[flexcoders] Re: why doesnt this work (custom drawing)

2009-03-30 Thread gmoniey22
hmm...I thought that my mx:Canvas line did instantiate, and that the script within the canvas tag's essentially overrode the updateDisplayList function. Thanks for clearing this up. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: The function never runs. AFAIK you need