Search:
Type: Posts; User: dudeqwerty
Search:
Search took 0.43 seconds; generated 45 minute(s) ago.
-
Thanks caseyryan,
I'd completely forgotten about this thread and had figured it out already (using tweens).
I can post the code up as it's now too integrated with the rest of my code base, but...
-
Hello,
I'm trying to write a function which makes a movieclip bounce to a certain position.
All I've come up with is a bit of trig which moves the clip up and down while gradually shifting the...
-
In the middle? Gerbick's got the most recognisable "forum trait".
You know what I'm talking about
-
You're not including that class or package.
-
-
It's just down to rounding errors in the floating point arithmetic. Although I don't get the same rounding error, I get 90.9.
It's an easy problem to overcome though, just use this function which...
-
The problem is that you are using the logical OR operator rather than the logical AND operator. Switch all your ||'s to &&'s and it should work.
-
Oops, little mistake, should probably test code in flash before posting!!!
var currentDate:String = "03/31/09";
function getNextDate(d:String):String {
var temp:Array = d.split("/");
var...
-
var currentDate:String = "04/30/09";
function getNextDate(d:String):String {
var temp:Array = d.split("/");
var date:Date = new Date(int((temp[2].length==2?"20":"")+temp[2]), int(temp[0])+1,...
-
myValue*myValue is more efficient as the Math class does not need to be called up. Plus if the value of myValue is known to the compiler it will probably get preprocessed.
-
Well actually seeing as the question was "... 1 ton exactly?"
It was stupid then to start trying to calculate the monetary worth of spam, when the question at hand was to do with mass.
Currency...
-
make a setTimeout on every mouse click to switch a boolean:
var canClick:Boolean = true;
function mouseClicked() {
// PUT YOUR CODE HERE
}
function switchCanClick() {
canClick =...
-
No, that's not how the conversion would work.
You would see how much storage space that many messages take up, then get the weight of that many harddrives. Which give you the amount of spam.
I...
-
== is used for comparison and = is used for assignment.
So change these lines:
_root.player.shooting == false;
and
_root.player.shooting == true;
-
Oh, and If you want to declare a function in "variable style" declaration, do it like this:
var myFunc:Function = function():Void {
trace("myFunc called");
}
myFunc();
Putting Void in...
-
You're (nearly) using set interval correctly, but its your function declaration which is mostly off:
var pistolshottime:Number = 1
var counter:Number = 0;
var interval:Number =...
-
Also, you can forget the movieclip all together if you want, here is an example with a bitmap move/lineTo function:
var bmd:BitmapData = new BitmapData(stage.stageWidth, stage.stageHeight,...
-
It's because vector graphics are quite memory/cpu intensive, best bet is draw to a bitmapdata:
var bmd:BitmapData = new BitmapData(stage.stageWidth, stage.stageHeight, false, 0xFFFFFF);
var...
-
I apologise if you feel that I mocked you, it wasn't the intention. Just trying to deter you away from this idea.
-
It's a nice shot and it shows the detail of the spider well.
It is over exposed though, and I can't help thinking that it would have been a better shot had you closed down the DOF a bit.
-
Age verification is a redundant thing, if someone wants to see that part of the site, they will lie, nothing you can do about that.
It might be a legal requirement though. If it is, I suggest you...
-
However, on a more constructive note. There is a html component for the flex framework which will let you display html pages "within" your application with a bit of trickery. It will set you back...
-
I'm sorry but are you joking???
Making a full html renderer in actionscript is ridiculous on so many levels. Most browsers' rendering engines are written in C or C++ which are about as low level...
-
Simplest idea number guessing game, higher/lower kinda thing.
Bit harder would be pairs, not really too much to trip you up there.
Noughts and crosses (tic tac toe)
-
Ok, I can't open the .fla and I have no idea what's going on with the code you pasted, but I don't think its the code in the .swf .
The problem with the example is that the pupils dont really...
|
Click Here to Expand Forum to Full Width
|