Is there a way to make the 'MyButton'
component to render in the Flex Builder like others built-in components?
Hi, You have to compile it as a SWC. Only SWC's are viewable correctly in FlexBuilder. Peace, Mike On 1/29/07, Chua Chee Seng <[EMAIL PROTECTED]> wrote:
Hi all, With reference to previous topic of 'Custom Component Render Problem', I have successfully compile Button class source file under my own package name, and it renders well in Flex Builder and runs well too. However, if I try to rename the class name from 'Button' to 'MyButton', it does not render in Flex Builder anymore, and does not render in runtime too. I suspect it to be CSS problem, so I add a type selector for 'MyButton' (which same as original 'Button' type selector) in defaults.css which I used to compile my application project. After that, it renders well in runtime, but it still does not render in the Flex Builder. Is there a way to make the 'MyButton' component to render in the Flex Builder like others built-in components? Thanks in advance for any help. Thanks Best Regards, Chee Seng
-- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.
