Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 214
  • Last Modified:

how come my movie clip wont pop up in my flash movie

Hello. So i have a hotspot with this actionscript:

on(release){
      rbnAD._visible = true;
}

which is suppose to enable my movieclip (rbnAD) to become visible, and i had it working, but now it wont. Is my code right?
0
Observer11
Asked:
Observer11
  • 3
  • 2
1 Solution
 
crooksy88Commented:
Have you moved the movieclip rbnAD into another movieclip?

If rbnAD is on the root timeline use:
_root.rbnAD._visible=true;

or if it nested within another movie clip try
_root.newMovieClipName.rbnAD._visible=true;

Alternatively you can use:
_root.rbnAD._alpha=100;

(but set the alpha of rbnAD to 0 before publishing the movie.
0
 
Observer11Author Commented:
oops, sorry, let me clarify a bit :P

 Hello. So i have a hotspot with this actionscript:

on(release){
      rbnAD._visible = true;
}

which is suppose to make my movieclip's visibility true upon click (release)
When i click the hotspot.. nothing happens..

is this the same question i just asked and im not understanding you? :P or does this make the solution different?
0
 
Observer11Author Commented:
here is the url witih my example:

http://welcomemap.biz/cambriatest.html

if you click on "Robins Restaurant" at the top you will see that it zooms into the area where the #71 hotspot is. When i click it, the "rbnAD" is suppose to pop up.

That hotspot over the "71" has the following code:

on(release){
      rbnAD._visible = true;
}
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
crooksy88Commented:
Yes it's the same question and I would imagine (but can't say for sure without seeing the .fla file) that it is this type of solution you need.

or if it nested within another movie clip try
_root.newMovieClipName.rbnAD._visible=true;

On the timeline, select the movieclip named rbnAD and add this code to it.

onClipEvent (load) {
      trace(eval(this._target));
}

This will output the path to the rbnAD movieclip which you can use to target your visibility command.


0
 
SamuelRostolCommented:
Upload the file, and I'll take a look for you :)

| Samuel
0
 
Observer11Author Commented:
cool thank you! however it doesnt let me upload fla files.
so im giving you an ftp:

ftp.welcomemap.biz

(host directory =  /www/)
user: welcomem
pass: room123inn

file is called "test.fla"
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now