Search:
Type: Posts; User: Schfifty Five
Search:
Search took 0.03 seconds.
-
FlashBlock for Firefox:
https://addons.mozilla.org/en-US/firefox/addon/433
-
60+ FPS in all demos, very nice.
(Core i7 920, Win 7 Pro, Chrome 3.0)
-
I don't really have anything else to add that hasn't been said by 5Tons, but you might want to check out this site / book for more in depth info:
http://www.as3dp.com/
-
Not sure why you don't want to use a conditional, but here's a really ugly method that works (it can probably be simplified some more... I just worked it out right now, there's probably a better...
-
The easiest way is to not use Flash CS3 for coding :)
-
You're adding or subtracting 5 to the x and y coordiantes (_x and _y properties). scaleX and scaleY have nothing to do with it (just a typo perhaps?)
-
The BitmapData constructor can't take a Display Object (i.e. a Loader) as an argument:
BitmapData(width:int, height:int, transparent:Boolean = true, fillColor:uint = 0xFFFFFFFF)
Even if it did,...
-
By trace I mean something like:
if (_root.dead) {
trace("Is this working?");
this.gotoAndStop("dead");
}
...
Which will output "Is this working?" to the console depending on whether or...
-
If you put a trace statement inside the if(_root.dead), does it do anything?
-
What are you doing to gain weight? (besides Wii Fit)
-
It seems pretty straightforward. Are rectangular prisms the only shapes you need? (i.e. no spheres, cylinders, etc..?)
-
Can you provide a link to all the equations you'd want?
-
Yep, what he said.
i/20 gives you a percentage which you multiply by Math.PI*2 (360 degrees) to get a full circle.
The "i *" part is necessary to have a spiral rather than an ellipse.
-
Well you're taking the sin and cosine of the loop variable (i), which is essentially meaningless (i is not an angle).
Assuming you want the circles to go around in a 360 degree spiral, try...
-
-
One of the few flash games I actually enjoyed.
Well done!
-
You don't, instead you change its text with
my_textfield.text = "Text";
-
Ahh, you're right, good call.
I wasn't thinking.
So yeah, try what Pazil suggested :)
-
Yeah, check what I said (just posting this to bump, since you might not have seen my post, as I said it right before you replied).
Also, not really related to the topic, but you might want to keep...
-
You can use a switch case to check multiple conditions, although it might seem like a weird way of doing it:
switch(true){
case _root.poisoned:
// statements
case _root.stunned:
//...
-
The data structures at polygonal.de have a Queue which you might find useful:
http://lab.polygonal.de/ds/
Each node can hold whatever data you want, so you could make it some sort of animation...
-
function stringToHex(string:String):String{
var hexString:String = "";
var sub:String;
for (var i = 0; i<string.length; i++){
sub = string.charCodeAt(i).toString(16)
hexString+=sub.length...
-
Could you convert the whole field to hex (each character being 2 hex digits), send that to the PHP script and have the script convert back to ASCII characters?
-
I think you need to give a reference to Main in NewClass.
Something like:
package
{
import engine.NewClass;
import flash.display.MovieClip;
import flash.events.*;
-
|
Click Here to Expand Forum to Full Width
|