Search found 5 matches

Actual Results

Post Posted: February 21st, 2004, 12:44 pm

obj = function(){ this.size = 0; this.statquo = false; } for (i=0;i<15;i++) { eval ("obj" + i ) = new obj(); } obj5.statquo = true; trace(obj5.statquo); when i try this code i get the following error am i doing it right?? Scene=Scene 1, Layer=Layer 1, Frame=1: Line 9: Left side of assignment oper...

Post Posted: February 16th, 2004, 12:33 pm

ok i think this is how this works [code] _global.Selected = ""; Car = function(){ this.NumberOfDoors = 0; } Mustang = new Car(); StationWagon = new Car(); Mustang.NumberOfDoors = 2; StationWagon .NumberOfDoors = 4; //no probs so far!! Selec...

Post Posted: February 15th, 2004, 2:33 pm

ok i create a button lets just say its a rectangle fill blue line red i edit the button put a keyframe in the "over" in that keyframe i change the colours of the rect so now when the mouse is over the button it changes to the colours cool? cool. ok the process is somewhat the same for the down frame...

Post Posted: February 14th, 2004, 10:50 am

ok i think i follow you...

your using eval to convert the name of the instance into a value and then assigning that to be the name of the new instance but what is the

1,5,7 all about?

Post Posted: February 11th, 2004, 7:58 am

Good Day Im a C++ Coder working with ActionScript ill get right to my question: TestObj = Function(){ this.Data1=0; this.Data2=0; } ok what im looking to do is have a loop like a for loop or something that creates say 100 instances of TestObj each instance has to have its own name so how can i do th...
  • Sort by
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.