Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
Pea #1
Whats wrong with this code?
Hi all,
Whats wrong with this code? Am I able to create objects in a loop like this?
var obj : Object;
for (i=0; i<10; i++){
obj = new Object();
obj.x = Math.random(5);
obj.y = Math.random(5);
}
For some reason I have problems when I do multiple instances like that based
on the same variable.
Any ideas?
Pea
Pea Guest
-
math.random.whats wrong with my code?!!
Why is it doing this?? What I want is for my mc to slide to a new random x position when it is less than 5 pixels away from its target, it keeps... -
Anyone know whats wrong with this?
hi all, I have a form with a text box and a checkbox. If the text box is empty the page retreives records based on this text and if the check box... -
whats wrong with my fullscreen code?
on(press) { if ("fullscreen" == true ) { fscommand("fullscreen", "false"); } else { fscommand("fullscreen", "true"); }} -
[PHP] Whats wrong with my code?
Stevie D Peele wrote: Yeah. You need a ; at the end of the line before that. Like: include ($include); -
Whats wrong with this code?
Ray, This is the wrong syntax for the CASE expression. There are two valid kinds of CASE expression: CASE <expression> WHEN <value 1> THEN... -
PierreAlain #2
Re: Whats wrong with this code?
isn't it
----
for (i=0; i<10; i++){
obj[i] = new Object();
----
?
I am confused
--
Pierre Alain
com
"Pea" <com> a écrit dans le message de
news:c28hpb$26e$macromedia.com...
this?
based
PierreAlain Guest



Reply With Quote

