Continuous Movement Prob

I have created a Continuous Movement flash thing… I am new to flash so… ya

My problem is my circles are disapering and I have no F#$@^%& clue why. I have followed the tutorial here exactly exept for my modifications, layers and different size.

Please tell me what went wrong my file is avalible here

Your dots move too fast. In one frame, they are in front of the block, and in the next they are behind it so there’s no collision. Try to check the position instead.

onClipEvent (enterFrame) {
	//generating movement
	location = this._x;
	var i;
	i = 1+_root._xmouse/15;
	if (_x >= 300) {
		this._x = -500;
	} else {
		this._x = location+i++;
	}
	//clips are scaled according to y-mouse;
	this._xscale = 40+_root._ymouse;
	this._yscale = 40+_root._ymouse;
}

And please tone down your footer. It was ulta big and has too many topics in it.

Ironically: Your Flash footer is the same thing as the other person who was asked to tone down the footer for being too big.

wonder where he got the footer from? hmmm…:bad:

/unflux
:goatee:

I think that footer is cool!

Click me!

WOW

So F***ING original.

So brass…

So nivo’ se’

So sassy!

yup its so F****** origonal!!!
<:} - Just like this… lol

LET THIS POST LIVE!!!

I used that code, and it worked great. Thanks! Now I’m loading my finished SWF into another movie, but is there a way to get it the speed and scaling to only respond when the mouse is over the loaded movie as opposed to the movie that containes it? I’m sure it has to have something to do w/the “_root.” stuff.
Thanks!!
-Justin

No one has any ideas?
-Justin

What you can try…

On your movie clip of the movie ball have this…

onClipEvent (enterFrame) {
	if(_root.moveMe){
	location = this._x;
	var i;
	i = 1+_root._xmouse/5;
	if (this, hitTest(_root.block)) {
		this._x = -1000;
	} else {
		this._x = location+i++;
	}
	//clips are scaled according to y-mouse;
	this._xscale = 40+_root._ymouse;
	this._yscale = 40+_root._ymouse;
}
}

Then on a layer above those create a movie clip that covers the exact area of your stage. Turn this into a movie clip symbol, then click on it and drop the _alpha to 0 in the properties panel (CTRL+F3).

After that, right click on the symbol and open the actions panel.
Apply these actions…

onClipEvent (enterFrame) { 
if (this.hitTest(_root._xmouse, _root._ymouse, true)){
_root.moveMe = true;
} else { 
_root.moveMe = false; 
}
}

I didn’t test it, but its worth a try.