Link to home
Start Free TrialLog in
Avatar of headsy
headsy

asked on

turn all instances of a library movie to invisible

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 ??
Avatar of psyki_be
psyki_be
Flag of Belgium image

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.

I'll make an example fla later. i'm in class now :p
Avatar of headsy
headsy

ASKER

did you manage to make a sample ?
ooh, sh*t, forgot, sorry.

I'll start right away.
If you need some more help implementing this in your application, feel free to ask.
I hope the example helped you :)
ASKER CERTIFIED SOLUTION
Avatar of psyki_be
psyki_be
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial