customcomponents

Flex: How to Call a Custom Component's Public Function in the Main App?

Hi, How do I call a custom component's public function from the main app. For example, I've got a timer component, MyTimer. In the main app, I want to call startTimer() or stopTimer(). In the main app, I've got: <visualcomponent:MyTimer /> In the component, I've got: public function startTimer():void { baseTimer = getTimer();...

Android: Control Hierarchy in Custom Components

I'm reading the android docs on custom component development and i'm a little confused. If you're creating an activity, you can add add a hierarchy of views via setContent. however, if you're creating a custom component, you have to handle everything in the draw() overload. if i want to build a custom component that relies on a view hie...

Component published property as array of TQuery

hi, i'm developing a custom component, and i'd like to add a published property that would be an array of TQuery (it should be visible in the object inspector). the main feature would be to drop the component on a form and then visually select the queries that are present on the same form, or on any other project form. is that doable? ...

Flex 4: Help adressing an object.

Hi, I found this amazing code to make a dropdownlist with check boxes: Click here I implemented it and it works, except for one detail I cant for the life of me get the array of selected checkboxes back. I have implemented as follows: <local:MultiSelectionDropDown maxHeight="300" x="181" y="-7" width="233" requireSelection="false" it...