Re: [Flashcoders] Re: Biased Random Particle Distribution

2006-05-27 Thread Weldon MacDonald
from a practical standpoint, something like this should work, it's difficult to be sure at 5:30 in the AM. get a random number from 1 - 10 var ranNum:Number = random(10)+1; now if ranNum is less than 4 pick a random position within x of the origin if ranNum is 6-8 select a random point within x

Re: [Flashcoders] problems with dynamic text field autosize property

2006-05-27 Thread Duncan Reid
seems like thickness and sharpness don't effect too much but gridFitType definetely does, i'm glad you jumped into this conversation, never knew about that! dunc On 5/26/06, erixtekila [EMAIL PROTECTED] wrote: Use question.textHeight not question._height Are textHeight / textWidth

[Flashcoders] Re: view swfs in file folder window (windows os)

2006-05-27 Thread jason vancleave
Maybe this? http://www.eltima.com/products/swf-live-preview/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf

Re: [Flashcoders] Re: Biased Random Particle Distribution

2006-05-27 Thread Ron Wheeler
I was surprised that the squaring gave you any kind of banding since it should be a smooth bias. I think that the log transformation will give you less of a bias toward one side but I have not pulled out all my old stats and calculus books to check this out. It would seem that a normal

Re: [Flashcoders] Re: view swfs in file folder window (windows os)

2006-05-27 Thread Steve Rachels
Doesn't seem to work with flash 8. :-( jason vancleave wrote: Maybe this? http://www.eltima.com/products/swf-live-preview/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Kerning algortihms

2006-05-27 Thread GregoryN
Hello Alias, I've been thinking about issues like yours in relation to my Text2Curve component :-). A lot depends on what do you mean by kerning: 1) Just some space between letters to make text more rare 2) Normal (aka auto) kerning, like TextFormat.kerning in flash8 (see docs) 3) Manual

Re: [Flashcoders] sending HTML image map data to Flash

2006-05-27 Thread GregoryN
Hello Marc, I can suggest the following: 1) place your image map description inside div tag and set ID to this div. Say, div id=myMap 2) Create a function in Javascript that reads the document.getElementById(myMap).innerHTML; and sets some of hosted swf's var(s) according to content of this

Re: [Flashcoders] sending HTML image map data to Flash

2006-05-27 Thread Marc Hoffman
Thanks, Gregory! I'm passing this along to the person who's been working on parsing the image map from within flash. You approach would seem to eliminate the need for parsing by Flash. [Peter: what do you think?] Marc At 10:35 AM 5/27/2006, you wrote: Hello Marc, I can suggest the

Re: [Flashcoders] Re: Biased Random Particle Distribution

2006-05-27 Thread clark slater
Thanks Ron, I'm working on a dynamic portfolio component for a client and I've been given static designs that I have to match. The beginning of the portfolio has a couple hundred *tiny* icons that appear spread across the stage in a non overlapping random pattern. Thing is, it's not a normal

Re: [Flashcoders] Re: Biased Random Particle Distribution

2006-05-27 Thread Dwayne Neckles
My god are you guys seriously talking about Flash here. I mean this is so advanced. I feel like I gotta be a math whiz and a flash whiz ( an unexpected combination ) to get all of this. god bless you guys, meanwhile Ill be lurking figuring out how exactly biased random particle distribution

[Flashcoders] write out a ByteArray (ActionScript 3) ?

2006-05-27 Thread Mike Lyda
I have a ByteArray that I can't seem to get a decent output from.. I've tried writing out to a textField like so res.text += \n myByteArray = + myByteArray.toString(); and quite a few other things that I thought would give me a decent output, but nothing seems to be working. myByteArray has a