Link to home
Start Free TrialLog in
Avatar of dirklance
dirklance

asked on

loadMovie bottom movie links showing in top layer

greetings.

i'm using loadMovie to introduce some content on top of my current movie.  The links from the bottom movie are showing through the top movie.

http://luminopolis.com/portfolio/webDesign2.asp

steps to replicate.

browse to page.
click a thumb (detail will expand)
the only link in that window should be the web address.  the four spots where the thumbs are on the bottom movie are showing through the content.

thanks,


Avatar of Ramy_atef
Ramy_atef

Hi
You can enable or disable the buttons or the movie clips by

mySpot.enabled=false

and to activate it again

mySpot.enabled=true

Regards,
Ramy
Avatar of dirklance

ASKER

would mySpot be substituted for the instance name of the button?

thanks,
hi,

u can do some work around

add a dummy button (bottom most layer) to ur details movie clip and give instance name as mybtn1_btn and add following script to time line

mybtn1_btn.onRollOver = function()
{
mybtn1_btn.useHandCursor = false;
}

or u can add following script on button

on(rollOver){
      mybtn1_btn.useHandCursor = false;
}

i hope this will help

regards,
anjip

Exactly dirklance , mySpot is a substitute for the instance name of the button,

just remove mySpot and put the name of the button of yours

Regards,
hmm, i can't seem to get that to work for me.

in the external movie i'm opening i have:
_root.btn_aikc.onRollOver = function()
{
_root.btn_aikc.useHandCursor = false;
}

i also tried:

_root.btn_aikc

where btn_aikc is the instance name of the button in the bottom movie.

Ideally i'd like to only disable the buttons on the bottom movie when the loadmovie loads the external movie and then enable them when the user closes the top movie.

suggestions?
Hi

_root.btn_aikc.onRollOver = function()
{
_root.btn_aikc.enabled=false
}


_root.btn_aikc.onRollOut = function()
{
_root.btn_aikc.enabled=true
}

this should work
interesting.

i'm putting that code in the movie that opens on top of the root movie and cannot get it to work.

heres my fla's

http://luminopolis.com/portfolio/portfolio_web.fla (root movie)

http://luminopolis.com/portfolio/portfolio_aikc_detail.fla (movie opened w/ loadMovie)


thanks,
ASKER CERTIFIED SOLUTION
Avatar of Ramy_atef
Ramy_atef

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
that works only when i click on the aikc button.  i added the close code to all other movies but when i expand them the links still show through?

but the one button is working great as planned.

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
but i'm trying to control links in the base movie from a movie loaded w/ loadMovie does that make it different?

thanks,
ahhhh

i was not adding the disable button actionscript on click of the thumb on the parent movie.

oops

thanks for all your help guys.  i've split the points accordingly.