PDA

View Full Version : Instance Properties


thede
02-17-2002, 02:29 AM
Hi guys :) newbie time =/

I've searched here but couldn't find anything relevant to this.. and I've read and re-read but I'm still confused....(it's a short trip)

Re: movie clip symbols / instances.

Ok, I thought the whole idea to conserve size was the ability to reuse symbols by creating new instances of the same symbol and thereby being able to change it's properties.

I.E.: I create a one-frame MC symbol and name it 'bar'. Name the instance 'bar'.

Then, duplicate that symbol (right-click in Library) and rename the copy to 'bar1' and name the instance 'bar1'.

Then I would be able to change the properties of 'bar1' without changing the properties of 'bar' (properties being it's action on a button 'over' frame, and it's color Effects) and be able to use 'bar1' on button 2 "over" frame without it affecting or messing with 'bar' on button 1' 'over' frame action.

This doesn't work? Do I have to create a brand new symbol for each button's "over" frame?

:confused: I hope this is clearer than mud ...

farafiro
02-17-2002, 05:55 AM
It's a bit strange THEDE, that should work .... try again

Billy T
02-17-2002, 01:53 PM
umm I'm not too sure what you are doing but...

if you have a movieclip with a button inside and you duplicate the movieclip in the library, your duplicate movie will still contain the original button inside it. You can apply different actions to this button, but the rollover states etc will be the same

hope that helps

thede
02-17-2002, 05:05 PM
doh.. :o

It's working properly now. What I failed to do was define the Hit state of the second button. Apparently this was causing the first button's Over state to activate the second button's Over state.

The duplicated, renamed MC symbol instance is working correctly.

Funny how the next morning can bring clarity to the baffled mind...

Thanks for the replies! :)