Hi…
Okay my attempt is wanna save in sharedobject…and the amount of item depend on how many the button has been press
here’s the code
stop();
createEmptyMovieClip("paper",999);
var i:Number = 0;
for(var j=0;j<3;j++){
this["btn"+j].jvar = j;
this["btn"+j].onPress = attachMC;
}
function attachMC(){
clip = paper.attachMovie("obj"+this.jvar,"obj"+this.jvar,99+i);
trace(clip);
clip._x = random(500);
clip._y = random(300);
trace(clip._x);
trace(clip._y);
trace(Math.round(clip._width));
trace(Math.round(clip._height));
clip.onPress = dragMe;
clip.onRelease = letMe;
i++;
}
///////////////////////
function dragMe(){
this.startDrag();
}
function letMe(){
this.stopDrag();
}
So …what I want is I wanna store this… “obj0,_x0,_y0,_x0scale,_y0scale” it can be many item …u can check my fla …then u can see what I mean…I mean push in Array then store in sharedobject…is it possbile?..
tq…