Search:
Type: Posts; User: -Blue-
Search:
Search took 0.04 seconds.
-
string= "bob+=1"
How can I run "string" so it adds 1 to "bob"? Is this even possible?
-
Ok, The code below if found on the original Barrier MC. I am hoping this code will:
onClipEvent (load) {
var i = 1;
var speed = 10;
Stage_height = Stage.height;
this._x = random(550);...
-
So setting the onEnterFrame this way:
_root["barrier"+i].onEnterFrame = function() {
Will not overwrite an already existent onEnterframe?
-
_root["barrier"+i].onEnterFrame = function() {
Should(to my knowledge) make new objects onEnterFrame become whatever is in the curly brackets but it's not. By changing the onEnterframe for new...
-
Hmmm... The dynamic handler just doesn’t seem to work. If I remove it I get the exact same effect.
I want it so new duplicated objects are only running the code that I specified but that’s not...
-
nope I don't need it in a loop. all i need is for the onEenterFrame code of a new duplicated object to change.
It's acting like the:
_root["barrier"+i].onEnterFrame = function() { does not...
-
If I remove:
_root["barrier"+i].onEnterFrame = function() { I get the exact same effect. Why is the code above doing nothing instead of changing newly duplicated object’s onEnterFrame handlers?...
-
whats that ment to mean?????
-
it's fine for about 10 seconds...then it starts running then it seems to run the function more often because it duplicats an object quicker...after a minute there is some serious lag!!
i have...
-
and now i feel like a total....i fugured it out i wasent ++ing the i variable so the objects depth wasent increasing
-
on a symbol on my main time line i have this...
onClipEvent (load) {
var i = 0;
}
onClipEvent (enterFrame) {
//to tell duplicates to move
if (this != _root.player) {
trace("moving");...
-
he that makes it work. thx
i still dont understand why i have to put var or not infront of my veriables...
thx
-
i am making a function that will automaticly set an interval in when that intervil finishe: restart it but with twice the delay....
basicly i want to time the levels in a game and ech time a level...
-
if i have a circle MC on stage(instance name"circle") and on that MC i have:
onClipEvent (load) {
var bob = 100
}
how would i write a path to a variable? would it be:
_root.circle.bob???
...
-
so nothings wrong with it??? and it must be something else...
-
it looks fine to me but it's not working. i have been doing actionscript for awile now.
_root.ship.onEnterFrame = function() {
//below not working
trace("HI");
}
-
I Found it out! it seems if you preveiw it in flash with more than what you normaly see(off-stage stuff)it lags....I wonder why.....
i just minimized the preveiw box so it was only showing whats...
-
is there a way to optimize it?
-
it only happens when i simulate the download....
-
i dont get what you mean in the first line
but i do have a preloader
-
ah no wonder
i knew it was something siple thx alot
-
i have this game full of actionscript(dynamicly gererated objects mainly),
It runs perfictly when i test it but when i "Simulate Download" It runs extramely slow. This also happens in this website...
-
onClipEvent (enterFrame) {
for (i=0; i<10; i++) {
duplicateMovieClip(_root.dot, "dot"+i, i);
root["dot"+i]._x += 10;
root["dot"+i]._y += 5;
}
}
Why is it not working??
-
im trying to cheack to see if a cricle hits another but it's acting strange:
this is on my Blue circle labled 1:
onClipEvent (load) {
radius = 50;
}
onClipEvent (enterFrame) {
for (i=0;...
-
i want a veriable string to be put in a text box, but i want to make it go one line down(as if you pressed enter) so when its in the text box it will look like this,
Hello
How are you? ...
|
Click Here to Expand Forum to Full Width
|