Search:
Type: Posts; User: theTick
Search:
Search took 0.23 seconds.
-
does trace(tellTarget("/wheel")); actually return the object you want?
-
if zinc allows for it, use http://demonsterdebugger.com/
it's a great little tool.
-
one possibility: you could have all your texts in an array. then all your buttons have a var called "itemNum" that goes from 0 to x and corresponds with the text in the array. you then fill the text...
-
oh, it's been a long time in AS2, but maybe this helps:
_loc4.onLoad = function(){
this._xscale=50;
this._yscale = 50;
}
when you are loading data, you definitely need an event handler...
-
hi brick,
how did your job interview go? :)
concerning your post: in AS3 no problem, since you can use SWCs and and also have a display list to put objects on or take them off. in AS2, i'm not so...
-
that's way better, thanks! :)
although calculating the collision speed is more complicated than your example, depending on the kind of movement of the two objects.
don't have a nice example at...
-
well, there's always your second-best search engine.
and you could start with inspirations taken from these links:
http://www.edumedia-sciences.com/en/a367-polar-coordinates-2d...
-
Flash debug player != Flash player
Be prepared for all kinds of differences (especially performance-wise).
If you want to see your movie in a "real" environment, use the normal Flash player.
...
-
don't bother with flash's built-in tween. go over to http://www.greensock.com/tweenlite/ and use that one. will make your life soooo much easier.
-
crossdomain won't help much, I guess.
it seems that you are running a flash app on "http" protocol trying to access a file on a hard-coded "file" protocol.
change whatever "file" references you...
-
what's m2.testhit? (the "testhit" part)
mc1_speed should "read mc1._speed", and that only assuming that it has a variable called "_speed".
also, you need to know mc1's speed AND mc2's speed in...
-
hum, really I think that you should post a .fla for this sort of question, since it is really difficult to determine the cause of the problem by looking at your snippet of code.
and before...
-
i guess it'd be easiest to go to the link you posted, buy the effect for three dollars and check out the fla file to learn how the animation is done. no?
-
maybe:
getURL("page.htm", "_blank")
-
in my opinion this line:
if (this.login == "true")
should be
if (myVars.login == true)
or simply
if (myVars.login)
-
sure. i use this:
Part 1: http://blog.codefidelity.com/?p=16
Part 2: http://blog.codefidelity.com/?p=18
-
are you sure all the layers are unlocked and visible?
-
i didn't notice any slowdown, the cloud and the enemies move along swiftly. one thing though:
whenever you use onEnterFrame events, put this at the end of the event code:
updateAfterEvent();
by...
-
keeping track of game achievements might be done using variables on the root timeline. they are independent of the current frame.
you could init them on the first frame, e.g.:
var...
-
hi,
what you try to do involves creating a fire animation. I think there are plenty of flash/fire tutorials out there, but depending on the style and the quality of the flame animation, I'd say you...
-
just like you said: put your code inside an onEnterFrame or set an interval, such as:
function calcTime(){
// your code here
}
var inter = setInterval(calcTime, 1000);
-
my guess is that your server does not support PHP.
-
what browser are you using? what's the exact code you are using? are you sure your server really supports PHP?
-
hopefully you can use PHP on your server.
save this as download.php:
<?php
// download.php
// retrieve the filename to download from the query string of the page
$file = $_GET['filename']; ...
-
don't use scenes, they're a pain in the neck.
as far as i know, you can only jump to scenes from the main timeline. so i'd suggest you put a function on the main timeline such as this:
function...
|
Click Here to Expand Forum to Full Width
|