all groups > flash (macromedia) > march 2006 >
You're in the

flash (macromedia)

group:

Re: magnified text


Re: magnified text bosskax
3/8/2006 10:12:02 PM
flash (macromedia): just one question...must de either something i cant see or something i need to
change

i want the magnifying glass(mag glass) to click down to take me to another
frame but i'm havin trouble making the mag glass a button and also using the
same mag glass effect

this is the tutorial i followed
http://www.tutorialized.com/tutorial/Creating-a-Magnifying-Glass-in-Flash-MX/103
32

any tips?
Re: magnified text tralfaz
3/10/2006 12:46:55 AM

[quoted text, click to view]

I can't understand exactly.. that example drags the lens around
without any mouse clicks but if you wanted to click on the lens to
start dragging it and stop dragging it when the mouse is unclicked you
can do it this way...

// frame code on _root timeline

this.onMouseDown = function()
{
if(dragLens.hitTest(_root._xmouse, _root._ymouse, true))
{
Mouse.hide()
startDrag(dragLens, true);
}
}

this.onMouseUp = function()
{
stopDrag();
mouse.show();
}

Or use the onMouseDown to trigger something else.
tralfaz



AddThis Social Bookmark Button