я придумал!Добавлено (06.12.2012, 15:16)
---------------------------------------------
я правда в as3 слабачок,
зато в as2 вот так придумал:
Code
var container:MovieClip = this.createEmptyMovieClip("container", this.getNextHighestDepth());
var label:TextField = container.createTextField("label", 1, 0, 0, 150, 20);
label.text = "anDarky - super Designer!!";
container._x=random(256)
container._y=random(128)
speed=random(10)+1
rndnum=random(3)+3
container.onEnterFrame=this['func'+rndnum.toString()]
container.onRollOver=func2
container.onRollOut=func3
//---------------FUNCTIONS
function func1()
{
this._xscale=this._xscale+15
this._yscale=this._yscale+15
}
function func2()
{
this._xscale=100
this._yscale=100
}
function func3()
{
this._x=this._x+speed;
if (this._x>Stage.width) {this._x=0}
}
function func4()
{
this._y=this._y+speed;
if (this._y>Stage.height) {this._y=0}
}
function func5()
{
this._x=this._x-speed;
if (this._x<0) {this._x=Stage.width}
}
хотя можно всё одной ф-цией прописать, но сама идея - НАЗНАЧИТЬ действие динамическиРожденномуМувику() !
думаю немного поравив синтаксис эту фигню на As3 с успехом сможешь перенести :)