Posts by radykal

561 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Germany
  • Has been a member for 5-6 years
+1 more
radykal says

Here is the link for a preview.

561 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Germany
  • Has been a member for 5-6 years
+1 more
radykal says
typo step 7, Milkbox link ;) :P

oh….I will write it to Scott ;)

561 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Germany
  • Has been a member for 5-6 years
+1 more
radykal says

Hey

I have a good and easy solution for you. In Actionscript 3 Cookbook is a class, that generates random numbers between two numbers.

import ascb.util.NumberUtilities;
NumberUtilities.random(1, 100);
//generates a random number between 1 and 100

So I optimize this a little bit and you would like to get so many 1 digits number as 4 digits number. So this loop gives 5 numbers of each digit.

import ascb.util.NumberUtilities;

var counter:int = 1;
for(var i:uint = 0; i < 20; ++i)
{        
    if(!(i%5))
    {
        counter *= 10;
    }

    trace(NumberUtilities.random(0.1 * counter, 1 * counter));
}
This is the result, what you get:
7
5
6
10
3
36
68
59
82
24
113
233
842
960
271
7994
3414
6970
2148
6641

You can download the class here.

P.S. When you dont know, how the modulo operator works. There is a new tutorial at the activeden blog, where I explain it clearly.

561 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Germany
  • Has been a member for 5-6 years
+1 more
radykal says

Yes thanks…..I´m the author, the crazy 3D maker ;). Thanks to Scott who corrects my english and for the quick uploading. Yesterday evening mailed > 6 hours later published….great!!!

561 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Germany
  • Has been a member for 5-6 years
+1 more
radykal says

Whoo you have already earned over 8 million dollars, but you have still the brown badge…you should contact the support!!! ;)

561 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Germany
  • Has been a member for 5-6 years
+1 more
radykal says

Congrats…..I got my brown badge a few minutes ago. I hope to get a blue steel badge in this century too.

561 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Germany
  • Has been a member for 5-6 years
+1 more
radykal says

I already download it.

561 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Germany
  • Has been a member for 5-6 years
+1 more
radykal says

I sent it back ;)

561 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Germany
  • Has been a member for 5-6 years
+1 more
radykal says
561 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Germany
  • Has been a member for 5-6 years
+1 more
radykal says
I see no eventlistener for myLoader. You have to set am eventlistener, when the swf is loaded. Something like this:
myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, swfLoaded);

function swfLoaded(evt:Event):void
        {
            var swf:MovieClip = evt.target.content;
        }
I hope you get this…otherwise I will send you a link where its described.

Oh I didn´t see that you add the myLoader to the stage. Your code should work, did you do some test trace in your function to check if they work….....otherwise send it to me.

by
by
by
by
by
by