Olá pessoal, estou usando o degrafa para desenhar uma figura na tela. Porém
como faço para adicionar eventos, por exemplo, mouse passe por cima da
figura e exibe um alert?


valeu..

<?xml version="1.0" encoding="utf-8"?>
<mx:Application
        xmlns:mx="http://www.adobe.com/2006/mxml";
        xmlns:Degrafa="http://www.degrafa.com/2007";
        layout="absolute" creationComplete="init()">

    <Degrafa:GeometryComposition graphicsTarget="{[cnv]}">
        <Degrafa:Path id="um"
data="M343.34,213.081l0.891-1.147l1.91-4.768l-0.915-3.994l0.861-0.873l0.221-0.715l1.168-1.332l0.411-1.071l0.867-0.49l0.392,0.641

l0.405-0.114l0.337,0.247l-0.212,0.569l0.811,0.91l1.196-0.748l0.238-0.602l0.566,0.125l0.545,0.694l0.694-0.085l0.362-0.7

l0.426,1.318l0.694,0.859l0.672,0.064l-0.519,1.324l0.07,0.45l0.329,0.071l0.97-0.598l0.481,0.699l1.326,0.278l0.031,0.697

l0.32,0.255l1.557-0.06l1.074,0.402l0.896-0.314l0.429,0.53l0.827,0.224l0.057,0.42l1.273,0.323l0.459-0.21l0.782,0.182

l0.766-0.482l0.246-0.388l0.49-0.068l0.771,0.891l-0.63,1.578l0.071,0.539l1.44,1.1l-1.475,0.559l0.219,0.742l1.063,0.344

l-0.879,0.853l-0.13,1.767l-1.859,0.516l-0.338,1.14l-4.178,3.974l-0.627,0.031l-1.298-0.921l-1.823-0.627l-1.635-1.235

l-2.041,0.422l-2.291-0.757l-1.958-0.02l-0.04-0.484l-0.748-0.369l-1.554-2.134l-1.435-0.641l-1.618,0.651l-1.415-0.45V213.081z">
            <Degrafa:fill>
                <Degrafa:SolidFill color="#EECCEE" />
            </Degrafa:fill>
            <Degrafa:stroke>
                <Degrafa:SolidStroke color="#FF00FF" weight="3" />
            </Degrafa:stroke>
        </Degrafa:Path>
    </Degrafa:GeometryComposition>

    <mx:Canvas id="cnv" />
</mx:Application>

-- 
Você recebeu esta mensagem porque está inscrito na lista "flexdev"
Para enviar uma mensagem, envie um e-mail para flexdev@googlegroups.com
Para sair da lista, envie um email em branco para 
flexdev-unsubscr...@googlegroups.com
Mais opções estão disponíveis em http://groups.google.com/group/flexdev

To unsubscribe, reply using "remove me" as the subject.

Responder a