drawing with Hype but exitShape gives a error

6 views
Skip to first unread message

karin

unread,
Sep 21, 2011, 4:35:27 AM9/21/11
to HYPE Framework
Hi,

I'm experimenting with drawing in flash with Hype. I use ShapeLayout
and ExitShapeTrigger, mouseFollow.

When I create the clip variable add, the bmc and clipContainer it
works fine. Adding the ShapeLayout it still is all over the place
drawing. When I use the ExitShapeTrigger, it works fine, but Flash
gives me an error. When I call the on ExitShape function I need to
release the clip in order to remove it when it's entering the
exitshape, but since I do not use a pool I thought of using

function onExitShape(clip) {
this.realease(clip);
removeChild(clip);
}

the error message is : release is not a function,

but it works, and I can draw within my shapeLayout.

How can I solve this?

regards,
Karin
Reply all
Reply to author
Forward
0 new messages