Further masking problem!

This is a discussion on "Further masking problem!" within the Flash & Multimedia Forum section. This forum, and the thread "Further masking problem! 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 Sep 20th, 2007, 14:10
Junior Member
Join Date: Sep 2007
Location: Bristol, UK
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Further masking problem!

Hi There,

since my previous thread I have been experimenting, and came to the idea of creating a mask in actionscript as oppossed to putting it direct onto the stage, in the hope that this wouldn't cause problems with the swf file loaded on top of it. But this doesn't seem to make any difference.

For my experiment I created an FLA called "Scrollermask" that contained the code of the mask. This loads up my image bar, " Scroller.swf" and that works fine. But when I then load " gallery1.swf" from the first image into level 2, there is a "hotspot" where the mask is still running underneath. I can't seem to solve this problem.

Does anyone know if I can basically "hide" the "Scrollermask" on a blank frame until it is needed again. If so, how do I do it? I'm in a bit of a mess with my code in terms of where I put things etc. Can anyone help. I have included the FLA's so that you can see what I am trying to do.

Thanks again

Tom.
Attached Files
File Type: fla scrollermask.fla (41.5 KB, 7 views)
File Type: fla scroller.fla (1.09 MB, 6 views)
File Type: fla gallery1.fla (738.5 KB, 4 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

  #2  
Old Sep 20th, 2007, 15:21
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Further masking problem!

See your other post, and my reply about using AS and the _alpha class.
Last Blog Entry: Yay!? (Oct 8th, 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 Sep 20th, 2007, 15:37
Junior Member
Join Date: Sep 2007
Location: Bristol, UK
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Further masking problem!

Thanks for the response.

I'm just not really sure how or where to do this. The buttons that control everything are nested in a movie clip inside the "Scroller.fla", which is,in turn, what is masked by Scrollermask.fla. I'm starting to get really lost as to where I am actually putting code in order for it to have an effect.

Any suggestions?

Thanks,
Tom.
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 Sep 20th, 2007, 18:15
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Further masking problem!

The best practice is it put all of your actions on 1 frame on it's own layer so things are easy to find and indentify.

Say you have an object that you want to hide...in the properties panel give it a name of "hideme"

Then, on your buttons you have....probably something like this:
Code: Select all
on (release)
{
gotoAndStop(1); //or whatever
}
Say on that button release you also want it to hide the specific MC - make you code look like this:
Code: Select all
on (release)
{
gotoAndStop(1); //or whatever
_root.hideme._alpha = 0; //hides object change to 100 if you want it visible again within another button.
}
Last Blog Entry: Yay!? (Oct 8th, 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 Sep 20th, 2007, 18:34
Junior Member
Join Date: Sep 2007
Location: Bristol, UK
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Further masking problem!

Thank you once again for taking the time to try and unravel my problems!
I think I really get what you are saying, and I will try it out tomorrow. I think I am going to adapt my ideas a bit, as I think I am causing myself unnecessary problems with what I am trying to do. I think I might go back to the "scrolling bar with a mouse over event" which won't have a mask on it, that which is causing me so much stress!

Thanks again,

All the best,

Tom.
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
flash masking.. benssyde Flash & Multimedia Forum 2 Oct 8th, 2007 11:08
Masking monkeygraphik Flash & Multimedia Forum 0 Sep 25th, 2007 10:18
Masking Problem. monkeygraphik Flash & Multimedia Forum 2 Sep 20th, 2007 08:04
Masking a duplicate MC eabigelow Flash & Multimedia Forum 3 Oct 22nd, 2006 03:23
phat masking master_phat Flash & Multimedia Forum 9 Jun 11th, 2005 08:51


All times are GMT. The time now is 08:56.


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