ive got a movie clip that is animated when u hover it and i want it to load a swf when click ive applied the following code but it doesnt seem to work can anyone make me a code that will work
[AS]button.onRollOut = function(){
_root.contents.loadMovie(“music.swf”);[/AS]
system
July 20, 2003, 7:45pm
2
try
// don't give a button an instance name of 'button'
myButton.onRollOver = function(){
_root.contents.loadMovie("music.swf");
}
system
July 20, 2003, 7:47pm
3
oops lol i typed in the wrong code i put it like this [AS]button.onClick = function(){
_root.contents.loadMovie(“music.swf”);
}[/AS] and it dont work that other code i put means on hover but i want it when u click
system
July 20, 2003, 7:48pm
4
and its not an actual button its a movie clip because movie clips are easyer to animate
system
July 20, 2003, 7:50pm
5
there’s no such thing as onClick:
myButtonMC.onRelease = function(){
_root.contents.loadMovie("music.swf");
}
system
July 20, 2003, 7:51pm
6
lol i feel stupid now thanks anyway
system
July 20, 2003, 7:54pm
8
do u have msn messenger or any other kind of instant messenging software that i cud add u on if so send me ur address in a PM :beam: