right ok heres my problem …!!
im using this code
[AS]onClipEvent (load) {
this.elasticScale = function(tar, accel, convert) {
xScale = xScale * accel + (tar - this._xscale) * convert;
yScale = yScale * accel + (tar - this._yscale) * convert;
this._xscale += xScale;
this._yscale += yScale;
}
}
onClipEvent(enterFrame){
if(this.hitTest(_root._xmouse,_root._ymouse,true)){
this.elasticScale(90,0.7,0.4)
}else if (!this.hitTest(_root._xmouse,_root._ymouse,true)){
this.elasticScale(100,0.7,0.4)
}
}[/AS]
it is a nice simple bit of code that when dropped onto any movie clip makes it elastic (i believe the original code i made it from was BillyTs tute on elasticity!!)
I have a main movie which ------ loads in a movie called bands which holds the buttons (exists on level1)
Anyway that code works fine however i have a problem when i put the button clips with this code on them into my movie it doesnt work.
At first i thought it may be a problem with path names as when loaded in they exist on _level1 but i tried that and it made no difference !! and even weirder than that i made a small test movie which had just one button in it, then attached the exact same code to it and loaded it into my main movie and it works ???
how come i do not understand at all…
It is very bad problem some one help me please…!!!