Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-06-17
6
Medium Priority
?
212 Views
Last Modified: 2013-11-11
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
Comment
Question by:Observer11
  • 3
  • 2
6 Comments
 
LVL 13

Accepted Solution

by:
crooksy88 earned 500 total points
ID: 21807606
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
 

Author Comment

by:Observer11
ID: 21807851
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
 

Author Comment

by:Observer11
ID: 21807927
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 13

Expert Comment

by:crooksy88
ID: 21810584
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
 
LVL 12

Expert Comment

by:SamuelRostol
ID: 21854961
Upload the file, and I'll take a look for you :)

| Samuel
0
 

Author Comment

by:Observer11
ID: 21860306
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

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question