Solved

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

Posted on 2008-06-17
6
209 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 13

Accepted Solution

by:
crooksy88 earned 125 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
Technology Partners: 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

Technology Partners: 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!

Question has a verified solution.

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

I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

752 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