[Flashcoders] Timeline Streaming Sounds Playing Early?
I have a frame with a stop actionscript command. The next frame has a streaming sounds and a frame label. At runtime, Flash stops at the stop command frame, but then plays a very brief portion of the streaming sound in the next frame. Placing some frames in between the sound and command seems to fix(?) the problem. This occurs on Windows XP, but not Mac OS X using Flash Player 8. Has anybody else encountered this? I want to make sure my fix stays fix in different player versions and Os's. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Timeline Streaming Sounds Playing Early?
Dave Dev wrote: I have a frame with a stop actionscript command. The next frame has a streaming sounds and a frame label. At runtime, Flash stops at the stop command frame, but then plays a very brief portion of the streaming sound in the next frame. Placing some frames in between the sound and command seems to fix(?) the problem. This occurs on Windows XP, but not Mac OS X using Flash Player 8. Has anybody else encountered this? I want to make sure my fix stays fix in different player versions and Os's. We had the same problem. In our case it also happened on MacOS, playing the movie on slower CPUs. Our project was published for FP9 or later. (FWIW, we were developing in AS2.) We worked around it in a similar manner - we created several extra frames after the frame containing the stop action - and it seems to be OK. -Jim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] regex issue when validating unicode range
Hi there, issue with regex when trying to test if a char is within a unicode range var testIsArabic:Boolean = /\u0627/.test(str.charAt(0)); // this works testing for arabic chars of unicode 0627 var testIsArabic:Boolean = /[\u0627-\u]/.test(str.charAt(0)); this range does not work, returns false NOTE: the str.charAt(0) is 0627 any ideas? cheers, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] regex issue when validating unicode range
Have you tried looking at Grant Skinner's RegExp App? It might help http://gskinner.com/RegExr/ Ktu On Mon, Oct 19, 2009 at 1:24 PM, Matt Muller matthewmul...@gmail.comwrote: Hi there, issue with regex when trying to test if a char is within a unicode range var testIsArabic:Boolean = /\u0627/.test(str.charAt(0)); // this works testing for arabic chars of unicode 0627 var testIsArabic:Boolean = /[\u0627-\u]/.test(str.charAt(0)); this range does not work, returns false NOTE: the str.charAt(0) is 0627 any ideas? cheers, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] regex issue when validating unicode range
Hi I don't think the regex is wrong. In fact, if you change u for a smaller number, it works fine. I have not tested each code point, mind you, but with a few tries, the highest max range that works that I could find is 0xFEFF. The range 0xFF00 - 0x apparently is reserved for control stuff. So 0xFEFF is the last value before that range. Not sure if the way the regex behaves is a bug or a feature, really, but you can probably get by with something like this: var testIsArabic:Boolean = /[\u0627-\ufeff]/.test(str.charAt(0)); Cheers Juan Pablo Califano 2009/10/19 Matt Muller matthewmul...@gmail.com Hi there, issue with regex when trying to test if a char is within a unicode range var testIsArabic:Boolean = /\u0627/.test(str.charAt(0)); // this works testing for arabic chars of unicode 0627 var testIsArabic:Boolean = /[\u0627-\u]/.test(str.charAt(0)); this range does not work, returns false NOTE: the str.charAt(0) is 0627 any ideas? cheers, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: Movieclip in a remote shared object
Yes it is. 1. Decorate your MovieClip. 2. After applying the Decorator design pattern, use the registerClassAlias to include the object specific information as SharedObjects use AMF. Cheers, Craig Bowman www.techyoumedia.com Hello, Is it possible to store Movieclip in a remote shared object? Ktt ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders