Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Button Color if FrameLoaded = n

Status
Not open for further replies.

esearing

IS-IT--Management
Aug 22, 2000
132
US
Is it possible to change the color of a button/movieclip (created from a Circle)when a particular frame is loaded?

Something like
onClipEvent (load){
if(_currentFrame == 5){
c= new Color(button1);
c.setRGB(0x996633);
} else {
c= new Color(button1);
c.setRGB(0x336699);
}
}
Also need it to change color on rollOver which I can do with a button but not sure how to do it with a movieClip.

Thanks in advance

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top