Improve company productivity with a Business Account.Sign Up

x
?
Solved

turn all instances of a library movie to invisible

Posted on 2006-12-01
7
Medium Priority
?
162 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 Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
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 1000 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

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to record live broadcast.

589 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