|
-
Is this okay?
PHP Code:
for (i=100; i==0; i--){
element ("bomb").scale.x=i
element ("bomb").scale.y=i
}
If it's not okay, would you send me the script of the motion form scale.x and scale.y
I mean that zoom out motion..
If it's okay why does'nt it work?
I've put it in a mouse action
It may look stupid (that script) but i think that's because i know to much about PHP...
N00b flasheR
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
-
Your FOR loop is incorrect, it should be
PHP Code:
for (i=100; i>=0; i--){
element ("bomb").scale.x=i
element ("bomb").scale.y=i
}
since i==0 would ONLY be true when i=0
-
Is there something like a delay in actionscript?
N00b flasheR
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
-
In 3DFA there is a DELAY scene event which allows you to do a delay based on seconds or frames.
There is no actionscript delay function that I am aware of but you could make 1 or maybe Blanius already has 1 in his bag of tricks.
-
KoolMoves Moderator
you cannot delay with in a script, What you need to do is break the scripting into functions and then you can use timing to call the function when it is time.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|