Hi Guys,
Here is an example of the way i have coded something so when you hover over a smal blob graphic, it reduces in opacity by 10%:
but how would i do this, if the (for example) entire sceen was full of these blobs? is there a way to attach the
to all blob movie clips on the screen?
they will all be instances of the same class (the same blob library item) if that makes it easier?
is this even possible or would i need:
(there will potentially be 100s of these blobs...)
Here is an example of the way i have coded something so when you hover over a smal blob graphic, it reduces in opacity by 10%:
Code:
function blobFade(evt:Event):void
{
mBlob.alpha = mBlob.alpha - .1;
}
mBlob.addEventListener(MouseEvent.MOUSE_OUT, blobFade);
Code:
.addEventListener(MouseEvent.MOUSE_OUT, blobFade);
they will all be instances of the same class (the same blob library item) if that makes it easier?
is this even possible or would i need:
Code:
mBlob01.addEventListener(MouseEvent.MOUSE_OUT, blobFade);
mBlob02.addEventListener(MouseEvent.MOUSE_OUT, blobFade);
mBlob03.addEventListener(MouseEvent.MOUSE_OUT, blobFade);
mBlob04.addEventListener(MouseEvent.MOUSE_OUT, blobFade);
etc...