[SOLVED] onRollOver

This is a discussion on "[SOLVED] onRollOver" within the Flash & Multimedia Forum section. This forum, and the thread "[SOLVED] onRollOver are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Oct 30th, 2007, 19:01
Reputable Member
Join Date: Aug 2007
Location: netherlands
Posts: 109
Thanks: 1
Thanked 0 Times in 0 Posts
[SOLVED] onRollOver

Hi,I have a MC with an .onRollOver function on it. I put the AS in the layer above the MC So the whole mc acts as the hitfield for the mouse-over so to say. Now i want the hitfield to be smaller than the mc.Can someone explain me how this works?
Thanks,
Marieke
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Oct 30th, 2007, 20:42
Reputable Member
Join Date: Sep 2007
Location: Tehran - Iran
Age: 29
Posts: 434
Blog Entries: 2
Thanks: 7
Thanked 7 Times in 7 Posts
Re: onRollOver

I think you should create a movieclip with the size u want and then give it this code :

Code: Select all
myMC.hitarea = movieclipname;
movieclipname._visible = false;
__________________
Designing For Communicating
Website : http://www.datisdesign.com
Weblog : http://blog.datisdesign.com

Last Blog Entry: Throughout IRAN (Dec 10th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Oct 30th, 2007, 20:51
Reputable Member
Join Date: Aug 2007
Location: netherlands
Posts: 109
Thanks: 1
Thanked 0 Times in 0 Posts
Re: onRollOver

Quote:
Originally Posted by marSoul View Post
I think you should create a movieclip with the size u want and then give it this code :

Code: Select all
myMC.hitarea = movieclipname;
movieclipname._visible = false;
Hi,ive attached a sample of my problem:P
I want just the door to be the hit area..is that possible the way i set this up?

thanks alot,
marieke
Attached Files
File Type: fla rolloverprob.fla (80.0 KB, 2 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Oct 30th, 2007, 21:06
Reputable Member
Join Date: Sep 2007
Location: Tehran - Iran
Age: 29
Posts: 434
Blog Entries: 2
Thanks: 7
Thanked 7 Times in 7 Posts
Re: onRollOver

here is ur file....
Attached Files
File Type: fla rolloverprob.fla (69.5 KB, 2 views)
__________________
Designing For Communicating
Website : http://www.datisdesign.com
Weblog : http://blog.datisdesign.com

Last Blog Entry: Throughout IRAN (Dec 10th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Oct 30th, 2007, 21:11
Reputable Member
Join Date: Aug 2007
Location: netherlands
Posts: 109
Thanks: 1
Thanked 0 Times in 0 Posts
Re: onRollOver

Quote:
Originally Posted by marSoul View Post
here is ur file....
oh boys thats awesome!
Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Oct 30th, 2007, 21:15
Reputable Member
Join Date: Sep 2007
Location: Tehran - Iran
Age: 29
Posts: 434
Blog Entries: 2
Thanks: 7
Thanked 7 Times in 7 Posts
Re: onRollOver

you are welcome,
if your problem solved please mark the topic SOLVED with thread tools
__________________
Designing For Communicating
Website : http://www.datisdesign.com
Weblog : http://blog.datisdesign.com

Last Blog Entry: Throughout IRAN (Dec 10th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] 1 solved problem causes another delusion Web Page Design 9 Dec 21st, 2007 08:12
Adding "Topic Solved" for solved topics AdRock Webforumz Suggestions and Feedback 21 Oct 4th, 2007 15:08


All times are GMT. The time now is 23:32.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42