all groups > flash actionscript > april 2006 >
You're in the

flash actionscript

group:

Movie Clip Loader Question


Movie Clip Loader Question incubox
4/9/2006 8:10:35 PM
flash actionscript:
I am using the movieClipLoader method. No problems there. But I notice that
when I load a movie over another movie that contains rollover actions, the
rollovers are still functioning beneath the higher level movie even though you
can't see them (I was wanting the higher level movie to prevent the rollover
actions from working while the higher level movie was visible).

Any ideas on how to correct this? Thanks.
Re: Movie Clip Loader Question incubox
4/9/2006 8:52:03 PM
I got it to work the way I wanted it to. I added a layer to the higher level
movie, set the alpha to zero, made it a button, and set the hand cursor to
false. This apparently overrides the lower level rollovers.

That said, though I'm glad I can move on, I'm very curious to know if anyone
has an answer as to why a higher level movie has some "transparent" way of
interpreting the on methods. Thanks.
Re: Movie Clip Loader Question abeall
4/10/2006 1:00:39 AM
[quoted text, click to view]

It makes more sense that way if you think about it. Interactivity is not the
same as visibility. When you define a movieclip as interactive, Flash simply
does that, it does not try and force it's interactivity to fit into it's
visibility; that would limit the control the author has. It simply defines that
area as interactive, the area being the area the movieclip takes up. Putting
visible objects over top does not change the interactive area.
Re: Movie Clip Loader Question Rothrock
4/10/2006 2:05:20 AM
Why would it do that? Because that is what it does.

Don't set the alpha to zero, because as you are learning that doesn't turn off
the rollOver-ableness of an item.

If you are using buttons, check out the button.enabled property.

You can also do something like

_level0.visible=false

to hide an entire level. BTW, when you say level you do really mean _level,
not just a higher depth, right? And you know the difference?

Also I think when abeall is talking about "forcing it's interactivity to fit
into it's visibility" I think he isn't talking about the _visible property, but
rather just he idea of if something is stacked ontop of it. Am I right?
Re: Movie Clip Loader Question Rothrock
4/10/2006 2:12:11 AM
Whoops. That was supposed to be

_level0._visible=false

Re: Movie Clip Loader Question abeall
4/10/2006 2:19:05 AM
Re: Movie Clip Loader Question incubox
4/10/2006 3:42:05 AM
Thanks to both of you for your feedback. Yes, I know the difference between
_level and depth - for the most part (for certain in this instance). And you
are right, abeall, that I set the alpha to 0 on the cover graphic (that I made
a button as a work-around to "cover" the onRollover hit areas on the _level
below). I will keep the _level0._visible=false in mind for future use - thanks
for that. I work best with visual reference, so it was confusing to me that
something still worked even though I couldn't see it.

abeall - very nice site and graphics work that you are showcasing. love the
flow of the flash graphics. is that all done in actionscript or combined with
timeline animation?
Re: Movie Clip Loader Question abeall
4/10/2006 3:04:28 PM
AddThis Social Bookmark Button