582 posts It's just life. Just live it.
  • Author had a Free File of the Month
  • Elite Author
  • Won a Competition
  • Sold between 100 000 and 250 000 dollars
  • Exclusive Author
  • Bought between 50 and 99 items
  • Has been a member for 6-7 years
+2 more
Themes-Dojo says

Hi guys,

I need your help. I want to create two scrollable fields on the stage and I want to have mouse scroll function, nothing hard till here, the problem is when I use mouse scroll both fields moves. The question is how can I make it scroll only when the mouse is over on one filed or another?

I have another question to you FD guys. I have a contact form and it works perfectly but when I expand the website to full screen it doesn’t work. I can’t input the text, the cursor doesn’t appear. How can I make it work?

Thanks!

-Alex

755 posts
  • Beta Tester
  • Bought between 100 and 499 items
  • Croatia
  • Exclusive Author
  • Has been a member for 7-8 years
  • Referred between 50 and 99 users
  • Sold between 50 000 and 100 000 dollars
djankey says

1)

if(yourScrollArea.hitTest(_xmouse,_ymouse)) {
trace("over");
} else {
trace("out");
}

2) LINK

1955 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • Netherlands
  • Referred between 10 and 49 users
  • Sold between 5 000 and 10 000 dollars
Emroni says

Use an IF statement:

if(_xmouse >= mc1._x and _xmouse <= mc1._x+mc1._width){

You could also put the y in there

1955 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • Netherlands
  • Referred between 10 and 49 users
  • Sold between 5 000 and 10 000 dollars
Emroni says

Wow, didnt know that existed! Thanks djankey :)

582 posts It's just life. Just live it.
  • Author had a Free File of the Month
  • Elite Author
  • Won a Competition
  • Sold between 100 000 and 250 000 dollars
  • Exclusive Author
  • Bought between 50 and 99 items
  • Has been a member for 6-7 years
+2 more
Themes-Dojo says

Thanks guys for your quick replays ;)

755 posts
  • Beta Tester
  • Bought between 100 and 499 items
  • Croatia
  • Exclusive Author
  • Has been a member for 7-8 years
  • Referred between 50 and 99 users
  • Sold between 50 000 and 100 000 dollars
djankey says

no problemos amigos :)

by
by
by
by
by
by