snail <[EMAIL PROTECTED]> wrote:
hello,dos dedos����Perhaps you can use the "mx.effects.Parallel()".this method can mix many effect and play them asynchronously.for examplefunction mixEffect(){var e1 = new mx.effects.Fade(hideObj);
e1.duration=500;
e1.alphaTo = 0;var e2 = new mx.effects.Fade(showObj);
e2.duration=500;
e2.alphaTo = 100;var mixEffect = new mx.effects.Parallel();
mixEffect.addChild(e1);
mixEffect.addChild(e2);mixEffect.playEffect();}this script mix to effect. Good Luck!!Snail in China����������������������������======== 2006-03-25 10:12:11 ����������� ========
Let's say you had 8 or 16 "Wav" files that you wanted to play at the same time (e.g. for special sound effects in games) then one way woudl be to issue async calls to play each file in sequence, so that all of them would start at approx the same time.
Is that possible in Flex?
I've seen games and demos in Shockwave where multiple audio channels are mixed.. Not sure if it's possible in Flash and Flex?
New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low rates.
Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.