Re: [Flashcoders] animating fish and other animals

2006-09-29 Thread ben farrell
Or done with video - either Flash video, or shooting, running it through some DV software turning the contrast way up to make whatever stand out, and then exporting each frame as an image. Once the images are in flash, you could trace bitmap to make them vectors. Patrick Matte wrote:

Re: [Flashcoders] log or sin or what?

2006-09-28 Thread ben farrell
You're looking for sin. Cosine (cos) will do about the same thing, but it starts where your example ends - but both have the same shape when left to go forever. The only hitch is that you want to look at the sin of angles 0 -180, but when you use sin or cosine, you need to convert to radians

Re: [Flashcoders] Hex colors function?

2006-08-22 Thread ben farrell
I guess I'd say it depends on what you're inputting to get your range. A hex color value consists of red, green and blue values. It goes 0xRRBBGG and you can probably guess which colors go where. If you don't know how to count in hex, F is the new 9. So it goes

Re: [Flashcoders] Day before duplication audio problem

2006-08-21 Thread ben farrell
Well, I'll tell ya about a problem I had in a project of mine that sounded kinda similar. It was similar because we were loading mini resource intensive games into a main container movie - which in turn was in Zinc. Anyway I did end up having memory leaks, but it wasn't Flash's fault. I

Re: [Flashcoders] MovieClip loader IE Caching bug

2006-08-17 Thread ben farrell
Does anyone know if this applies to Director hosted content as well? I had a Flash game that was hosted in Director. It used the movieclip loader to load external assets. When run in flash alone on my desktop, it work great. But then in Director, the events called when it finished loading

Re: [Flashcoders] LoadVars - sending an array

2006-08-05 Thread ben farrell
I believe it'll always come in as a string - but you can use the split keyword quite easily. I pick a separator character that won't appear in my array like the pipes myString =val1|val2|val3|val4|val5 Once you load the string... myArray = myString.split('|'); So then myArray will an

[Flashcoders] LoadVars vs XML for pulling in HTML

2006-08-01 Thread ben farrell
Hey, I'm not really stuck on this, but I'm very curious what's going on. I was using loadVars to pull in HTML - I tried my personal site which worked fine, and I tried google and amazon, and the HTML source was very much out of order. I tried some other sites I made, and it seems that if they

[Flashcoders] Duplicate linkage id weirdness

2006-06-09 Thread ben farrell
So I had some weirdness publishing a file that I just got back from a client who had someone swap an entire new graphic interface, but left my code intact. I had some movieclips with some linkage ID, and they had a class associated with them that I wrote to make them act like buttons. Also,

Re: [Flashcoders] Publicity with associated projects- can you link to press releases in your portfolio or blog?

2006-06-05 Thread ben farrell
I would say to look at your NDA, or contract agreement, or whatever you signed for your position. I think your NDA will prevent you from talking about a project first and foremost. If you managed to go without signing an NDA, most likely your contract agreement that says you are doing this