[Flashcoders] Random numbers?

2006-07-23 Thread Rajat Paharia
Can someone help me understand why the randRange function below doesn't return a random distribution, but the randRange2 function does? Here's some test code. thanks, - rajat var a = [0,0,0,0,0]; var b = [0,0,0,0,0]; var x; for (var i=0; i 1000; i++) { x = randRange(1,4); a[x]++; x

Re: [Flashcoders] (no subject)

2006-07-23 Thread supermonkey562
hey how do i not get all these message in other words not me registerd to flas coders -Original Message- From: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thu, 6 Jul 2006 2:27 AM Subject: Re: [Flashcoders] (no subject) I encountered this strange quirk recently

Re: [Flashcoders] butterfly animation

2006-07-23 Thread Mathis Moder
Hi Doug, i used the bit101 particle class (http://www.bit-101.com/Particles/) in conjunction with a preanimated butterfly. See http:// www.petrusko.de/butterfly.swf for an example (the butterflies appear after click). The important thing is to set turnToPath to true and experiment with

Re: [Flashcoders] (no subject)

2006-07-23 Thread Cliff Rowley
On 7/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hey how do i not get all these message in other words not me registerd to flas coders The instructions appear at the end of every message you receive from the mailing list. ___

Re: [Flashcoders] getting started with AS3

2006-07-23 Thread Meinte van't Kruis
try these as well, helped me get started: http://www.senocular.com/flash/tutorials/as3withmxmlc/ the same guy also posts as3 tip-of-the day on kirupa.com forum. good luck, -Meinte On 7/21/06, Bbt Lists [EMAIL PROTECTED] wrote: Tom Lee wrote: If you are a licensed user of Flash 8, you can

Re: [Flashcoders] butterfly animation

2006-07-23 Thread Jim Kremens
I had to create a butterfly animation for a client a while ago. After messing around for a bit, I decided that it was the kind of thing that could be done better using traditional timeline animation. The reason being that the butterfly's wings stretch and bend in all sorts of complicated ways

Re: [Flashcoders] (no subject)

2006-07-23 Thread Julian 'Julik' Tarkhanov
On 6-jul-2006, at 11:27, Adrian Park wrote: I encountered this strange quirk recently as well. I found the most reliable solution is to duplicate your project folder, open and recompile from that folder, close and continue working from your original folder and everything is fine (for a

[Flashcoders] sequential tweens ?

2006-07-23 Thread jcarlos
Hi All, I need some ideas how to workaround the following situation I have na mc as an holder for some photoStrip this photoStrip has n photos as mcs in it I want to produce some tween over each one BUT the next tween should only begin after the previous has finished as I don´t know how

[Flashcoders] Re: Flashcoders Digest, Vol 18, Issue 60

2006-07-23 Thread kim
Thank you for your email. I will be out of the office Friday, 7/21. If you need any assistance, please contact Paul Sternglass at [EMAIL PROTECTED] or 914-614-0046. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search

Re: [Flashcoders] need help with local apache test server

2006-07-23 Thread denfi
use xammp, saved u from installing them just one click xammp do it for you. www.apachefriends.org On 7/23/06, Marc Hoffman [EMAIL PROTECTED] wrote: I'm trying to set up a local apache server for testing PHP on my laptop. This is all new territory for me and although I've followed

Re: [Flashcoders] My Flash Editor UI is invisible/disapeared?

2006-07-23 Thread denfi
try ..rightclick 'restore'. On 7/22/06, Chris McFadyen aka Grayson Carlyle [EMAIL PROTECTED] wrote: As of yesterday, I can only see Flash Editor in maximized mode. Trying to restore the window to it's normal size results in blank desktop, however, I can still access the menus using alt, as

Re: [Flashcoders] sequential tweens ?

2006-07-23 Thread Zeh Fernando
Hi All, I need some ideas how to workaround the following situation I have na mc as an holder for some photoStrip this photoStrip has n photos as mcs in it I want to produce some tween over each one BUT the next tween should only begin after the previous has finished João, Your best bet

Re: [Flashcoders] sequential tweens ?

2006-07-23 Thread John VanHorn
i think the setInterval thing would work just fine. you could pass the same time to the interval that you do to the tween. or you could do somehthing like this: //if pics are loaded dynamically, these can be set dynamically var mcNum:Number = 1; var mcMax:Number = 4; function nextTween(){

Re: [Flashcoders] AS3, BitmapData and domain security

2006-07-23 Thread Alan Watts
I don't see the point of restricting access to BitmapData from another server when all you have to do to get at it is use a proxy script on your own server. Here's an example: http://www.neave.com/temp/proxy.php?proxy_url=http://www.google.com/ intl/en/images/logo.gif I was doing something

Re: [Flashcoders] Random numbers?

2006-07-23 Thread Charles Parcell
It is the difference between floor and round. Charles P. On 7/23/06, Rajat Paharia [EMAIL PROTECTED] wrote: Can someone help me understand why the randRange function below doesn't return a random distribution, but the randRange2 function does? Here's some test code. thanks, - rajat var a

Re: [Flashcoders] jigsaw puzzle

2006-07-23 Thread natalia Vikhtinskaya
I am trying to go on this way step by step and and met something that I cannot understand. Maybe anybody can help. I created pieces of puzzle. Each puzzle contain mask that I draw with Drawing API on one level. I checked it and it creates well. Then I attach picture on another layer. I see now

RE: [Flashcoders] Speak into microphone Save as wav to sever, is it possible in Flash9 /AS3/Flex2 ??!

2006-07-23 Thread sysco
There was a long discussion about this on the Red5 mailing list (open source flash comm server) a couple of months back. The audio is saved on the server as a FLV. Converting to mp3/wav is possible but not really so easy There are some posts and discussions on this subject on this site:

Re: [Flashcoders] jigsaw puzzle

2006-07-23 Thread Hans Wichman
Hi, what exactly do you mean, it has a config different from the mask shape? The only thing that seems 'off' to me is the starting index in the mask sides, which starts with 1 instead of zero, but that might be perfectly ok depending on how you built the array. Could you show a screendump of

Re: [Flashcoders] sequential tweens ?

2006-07-23 Thread jcarlos
yes .. I think it´s going to work .. I will try - Original Message - From: John VanHorn [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, July 23, 2006 2:00 PM Subject: Re: [Flashcoders] sequential tweens ? i think the setInterval thing

Re: [Flashcoders] sequential tweens ?

2006-07-23 Thread Marcelo de Moraes Serpa
Hi João! Have you taken a look at Fuse or animationpackage? It makes sequential tweens much easir and straitghforward... Cheers, - Marcelo. On 7/23/06, jcarlos [EMAIL PROTECTED] wrote: yes .. I think it´s going to work .. I will try - Original Message - From: John VanHorn [EMAIL

Re: [Flashcoders] sequential tweens ?

2006-07-23 Thread jcarlos
Well I made some through the onMotionFinished but your app is fully dependent on all tweens having their opening job done, the app logic gets hidden inside a series of onMotionFinished wich you have to navigate through one by one. For example I´m doing a CD where I have a lot of opening

Re: [Flashcoders] sequential tweens ?

2006-07-23 Thread jcarlos
Hi Marcelo you had suggested that to me another time -) I will take a look on them right now -) João Carlos - Original Message - From: Marcelo de Moraes Serpa [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, July 23, 2006 4:19 PM Subject:

Re: [Flashcoders] sequential tweens ?

2006-07-23 Thread Martin Wood
couldnt you just use 2 methods in your class to control the sequence of tweens? // Start a tween for a photo private function tweenPhoto() { var animPhotoX:Tween = new Tween (photoStrip[currentIndex], _xscale, Bounce.easeOut, 100, 120, 0.5, true); var

Re: [Flashcoders] sequential tweens ?

2006-07-23 Thread Gerry Creighton
I can't recommend Zeh's MC Tween enough...you can sequence the tweens and even have callbacks when the tween is finished to call a function. Check out the documentation and examples here: http:// hosted.zeh.com.br/mctween/index.html Gerry On Jul 23, 2006, at 3:40 PM, jcarlos wrote: Hi

Re: [Flashcoders] sequential tweens ?

2006-07-23 Thread Martin Wood
// Tween finished private function tweenFinished() { ... else { startTween(currentIndex); oops, this is meant to say tweenPhoto(currentIndex) my email client doesnt have refactoring support yet ;) ___

[Flashcoders] double-byte text entry in windowless mode

2006-07-23 Thread Sinead Hogan
Hi All, I'm having difficulty entering any double-byte text in a standard input text box, when the flash movie is embedded in either wmode transparent or opaque. Using the default wmode = window, I can switch my IME to Korean, Arabic or whatever and text will enter perfectly. Once I embed

Re: [Flashcoders] jigsaw puzzle

2006-07-23 Thread natalia Vikhtinskaya
May I sent fla to your mail? 2006/7/23, Hans Wichman [EMAIL PROTECTED]: Hi, what exactly do you mean, it has a config different from the mask shape? The only thing that seems 'off' to me is the starting index in the mask sides, which starts with 1 instead of zero, but that might be perfectly

Re: [Flashcoders] sequential tweens ?

2006-07-23 Thread Zeh Fernando
couldnt you just use 2 methods in your class to control the sequence of tweens? // Start a tween for a photo private function tweenPhoto() (...) You see, that's what I'm totally against when writing code: overcomplication. Going around and around and around to come back and do something

Re: [Flashcoders] sequential tweens ?

2006-07-23 Thread Martin Wood
Martin, do not take this personally, I don't mean to sound rude or anything, I'm sorry in advance if I do, and your code totally makes logical sense and it's 100% correct, but... WHY would someone need so much code just to produce sequential tweenings? A bunch of specialized functions just to

Re: [Flashcoders] Online Live Support without FlashComm (or even withouth Flash at all)

2006-07-23 Thread Helios Pregioni Bayma
Thanks Richards, I checked it and will fit for what I was looking for. 2006/7/21, richard carr [EMAIL PROTECTED]: ck out flash chat http://tufat.com/s_flash_chat_chatroom.htm Richard On 7/21/06, Helios Pregioni Bayma [EMAIL PROTECTED] wrote: Hi list, I am developing a site that will need