Search:
Type: Posts; User: fx.barrett
Search:
Search took 0.09 seconds.
-
Maybe because "you can" and second of all, the satisfaction is not the same. It's ok if you use the stuff someone else put together just "to get the job done" but you really not learning from all...
-
Personally, I'd simply go with recursion. I would have a method that gets as an argument an index ( assuming that you store the paths to all your image in an Array ). I'd start the loading by calling...
-
It's not working because the text field is stealing the event. Use button.mouseChildren = false; button.buttonMode = true;
-
Hint: don't look for tutorials, learn programming instead ( only if you ever want to actually be able to do something with AS 3.0 ).
-
In short: go on with Flex. Flash is not a development environment, it's good for making animations and simple stuff but it would be way time consuming to build a real application in Flash. Cairngorm...
-
Uhh, really late reply... Sorry.
@ neznein9: yeah, that's a good way of doing it. An even faster would be this:
var arr:Array = [0xFF0000, 0xFF6600, 0xFFFF00, 0x0066FF, 0x00FF00];
var...
-
Nothing is perfect :) Nor is ActionScript...
-
I don't have a scientific explanation for this... but it might have something to do with possibility. We should take a look at the Math class an see how random works ( because random ain't really...
-
You got me confused a bit... Why did you use dual random instead of round and random in the second situation ?
What were you trying to prove / test there ?
-
Why would ceil screw the randomness ? Please explain...
EDIT: it's essentially the same thing as using Round ( in your last post ) just that it has a slightly larger chance to hit a bigger index...
-
@ MyFriendIsATaco: your code is almost correct, but there's a tiny problem with it... By using Math.round you might end up with a situation when instead of getting a random index from 0 to the length...
-
First of all, where are the artowork MCs situated at ? If your MCs are in the library then you'll need to do this:
// assuming artwork1 , 2, 3... are the linkage names of your MCs
var...
-
I'll be a bit harsh, but my intention is not to offend but to give a honest feedback.
1) No offense, but "Alien Web Designs" sounds childish, you really should have thought of a better name
2) I...
-
I don't understand you problem, could you write proper English ?
-
Could you post some code so that we can see how you're doing the whole focus thing ? If you ever using FocusEvent.FOCUS_IN and FocusEvent.FOCUS_OUT, it should work just fine.
-
Is your published .swf embedded as 100% width and 100% height ( full browser ) ? Because if it's not then that's the problem.
-
1) Don't use setInterval, use Timer instead.
2) It's going faster and faster because with each click you are initiating that setInterval function that keeps on firing the writeIt(); function. You...
-
Here's my custom scrollbar class, maybe it will help as inspiration. Good job. ;)
http://www.flashforum.ro/viewtopic.php?f=25&t=73&start=0#p743
-
I don't know of any easy books... AI is essentially: applying algorithms.
I'm currently studying AI at University too and sadly, I can't point you in a way... It's seems complicated only at first...
-
Here's how I'd do it:
var rectList:Array = new Array();
for (var i:int = 0; i < 5; i++)
{
var rect:RectangleMc = new RectangleMc();
rect.x = Math.round(rect.width + 10) * i;...
-
I don't know of any book specially on AI in AS but you could try this book:...
-
var list:Array = ["one", "two", "three", "four"];
trace(this.list.indexOf("three"));
-
import fl.transitions.Tween;
import fl.transitions.easing.None;
import fl.transitions.TweenEvent;
var counter:Number = 0;
var container:MovieClip;
var tf:TextField;
// your XML structure...
-
This is ActionScript 3.0, meaning that all code goes on frames. You can't add anything to any symbol ( that was only possible in ActionScript 2.0 and 1.0 ).
-
Thanks jAQUAN for taking a look. I have no idea why you got infinity% infinity% infinity% maybe you caught my server off guard and it wasn't doing something right because I never got those values :)...
|
Click Here to Expand Forum to Full Width
|