Solved

turn all instances of a library movie to invisible

Posted on 2006-12-01
7
152 Views
Last Modified: 2010-05-18
I am using XML & actionscript to place multiple instances of a hotspot movie clip on the stage in realtime. These hoptspots are used to play video, audio, & hyperlinks.

Is there an actionscript method for turning all instance of this hotspot movie clip to invisible ??
0
Comment
Question by:headsy
  • 6
7 Comments
 
LVL 5

Expert Comment

by:psyki_be
ID: 18075651
hmmmz.

Write a class that extends movieclip.
In the linkage of your movieclip in the library (righclick ==> linkage), enable export for Actionscript and set the AS2.0 clas to your newly created classfile.
In the classfile, make a static property that controls your visibility.

0
 
LVL 5

Expert Comment

by:psyki_be
ID: 18075656
I'll make an example fla later. i'm in class now :p
0
 

Author Comment

by:headsy
ID: 18084782
did you manage to make a sample ?
0
What Is Threat Intelligence?

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

 
LVL 5

Expert Comment

by:psyki_be
ID: 18084863
ooh, sh*t, forgot, sorry.

I'll start right away.
0
 
LVL 5

Expert Comment

by:psyki_be
ID: 18085422
0
 
LVL 5

Expert Comment

by:psyki_be
ID: 18088122
If you need some more help implementing this in your application, feel free to ask.
I hope the example helped you :)
0
 
LVL 5

Accepted Solution

by:
psyki_be earned 250 total points
ID: 18114533
It's been almost a week now...

Do you require more information?
Any more questions?

Feel free to as...
0

Featured Post

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

Join & Write a Comment

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

708 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

16 Experts available now in Live!

Get 1:1 Help Now