Ok, i have managed to create a small component in flash and load it in flex, work great, tho i have one problem.
As the class i created extends uimovieclip, flex sees it as movieclip, but i need the property's of a button. Actualy i need autoRepeat property of a button. Does anyone know how to get flex to see my component as a button? thx.