Solved

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

Posted on 2008-06-17
6
204 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 125 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 13

Expert Comment

by:crooksy88
Comment Utility
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
Comment Utility
Upload the file, and I'll take a look for you :)

| Samuel
0
 

Author Comment

by:Observer11
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now