Solved

turn all instances of a library movie to invisible

Posted on 2006-12-01
7
155 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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. …
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…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to record live broadcast.

820 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