Groups | Blog | Home
all groups > flash (macromedia) > january 2007 >

flash (macromedia) : having a loaded movie clip talk to another movie clip


ponch
1/3/2007 10:52:36 PM
Here's what I want to do:

Load a clip into my main movie - "loadedMovie"

at the end of the timeline in "loadedMovie" i want a function, perhaps
setColor, which will change the colour of another movie clip which sits in the
main movie.

Does this make sense? for a loaded movie clip to change the color of an
instance of another movie?

Many thanks,

Ray


ponch
1/4/2007 11:51:26 AM
Thanks Urami, sounds like the answqer I wanted, I'll give it a try.

urami_
1/4/2007 2:08:47 PM


[quoted text, click to view]

Sure make sense.
If the clip you like to target is on main timeline of the movie than
you will use something like :

on (release) {
var my_color:Color = new Color(_root.SomeMC);
my_color.setRGB(0xFF00FF);
}

You can also refer to it by level:

(_level123.SomeMC);



--
Best Regards

Urami


--

!!!!!!! Merry Christmas !!!!!!!
&
Happy New Year


<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
AddThis Social Bookmark Button