Jump to content

child movie clip not resetting color from parent movie


gilgalbiblewheel

Recommended Posts

I'm trying to reset the color of the child movie clip by ActionScript of the _parent or _root movie clip. It's not working:http://n.1asphost.com/wheelofgod/flash/genesis.html

on(rollOver){	colorobject = new Color([b]this.left_container.left_empty.iicor11_h[/b]); [color="#9ACD32"]//creates a new color object from a color class	colorobject.setRGB(0xFF9900); //color colorobject in green (0x 009900 indicates HEX)[/color]}on(rollOut){	colorobject = new Color(this.left_container.left_empty.iicor11_h); [color="#9ACD32"]//creates a new color object from a color class	colorobject.setRGB(0xFF0000); //color colorobject in green (0x 009900 indicates HEX)[/color]}on(release){	gen27b_h._alpha = 75; [color="#9ACD32"]//dan4_h stands for the highlighted words[/color]	_root.right_container.right_empty.loadMovie("gen_clips/sp3/2cor11.swf");}

this.left_container.left_empty.iicor11_h left_container is the instance name of the _root, left_empty is the instance name of the first child movieclip, iicor11_h is the instance name of the third. The third movieclip is a separate exported file.Would you know what causes the problem that it wouldn't work?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...