RE: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-18 Thread Ash Warren
[EMAIL PROTECTED] wrote: Hi, pretty cool :) If I had to guess I'd say the twist is caused by moving to a controlpoint instead of the average of one. Could you try moving to (firstPoint+lastPoint)/2 ? greetz JC On 7/18/07, Ash Warren [EMAIL PROTECTED] wrote: Oh I feel like I'm sooo

[Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Ash Warren
I am trying to create a very simple way for a user to manipulate a mask shape in Flash using curveTo. After finding a few great online examples I feel that I'm getting pretty close, however I cannot get rid of my corner control point that begins/ends the shape. Please view the example here and

RE: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Ash Warren
]; this.pLine.curveTo (lastPoint._x,lastPoint._y, 0, 100); this.pLine.endFill (); /**/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ash Warren Sent: Tuesday, July 17, 2007 1:44

RE: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Ash Warren
inside Hi, my quick guess is, let the loop run from 0 to i controlPoints.length and do the lookup like this.controlPoints[ (i+1)%controlPoints.length ] Just a guess though, but I think that might be it. And then skip the last curveTo outside of the loop. greetz JC On 7/17/07, Ash Warren

RE: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Ash Warren
and example inside Hi, shouldnt thethis.pLine.moveTo (0,100); be control point based as well? greetz JC On 7/17/07, Ash Warren [EMAIL PROTECTED] wrote: Well that seemed to kind of get me closer, here is the latest example using your code tip (pasted below) http://www.ashbrand.com

RE: [Flashcoders] Need help creating an old-skool arc or circularscrollbar

2007-05-24 Thread Ash Warren
Thank you both! This is great. I will try and apply the scroller to this code today. Ash -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Dittgen Sent: Thursday, May 24, 2007 1:35 AM To: flashcoders@chattyfig.figleaf.com Subject: Re:

[Flashcoders] Need help creating an old-skool arc or circular scrollbar

2007-05-23 Thread Ash Warren
A lng time ago it seems these things were all over flashkit etc. and now well not so much ;) Anyway, I wanted to create a scroller on an arc or radius like this example: http://s12987.gridserver.com/arc_scroller_example.jpg Can anyone point me in the right direction to create something like

[Flashcoders] Need help creating an old-skool arc or circular scrollbar

2007-05-23 Thread Ash Warren
A lng time ago it seems these things were all over flashkit etc. and now well not so much ;) Anyway, I wanted to create a scroller on an arc or radius like this example: http://s12987.gridserver.com/arc_scroller_example.jpg Can anyone point me in the right direction to create something like

RE: [Flashcoders] Slow-Running Script alert

2007-05-11 Thread Ash Warren
I had an issue like this the other day and I KNEW it wasn't related to a loop error, actually it is related to a bug with the MovieClipLoader object and loading large files. This trick saved the day: http://www.actionscript.org/forums/showthread.php3?p=559857#post559857 I knew I should have

RE: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread Ash Warren
Would you suggest Flex Builder even for hybrid Flash designer/developer geeks that still try and separate out code form the timeline and use proper class structures, but still do a lot of work on the timeline for visual assets, etc.? -Original Message- From: [EMAIL PROTECTED]

[Flashcoders] VISTA BUG: FLV 'Stutter' on play???

2007-04-23 Thread Ash Warren
I have recently purchased a Vista laptop and have noticed that each time I play an FLV file through the Flash Player (9,0,45,0) it 'stutters' or lags a bit at the beginning. The last two projects I have worked on have heavy FLV integration and on both (even after pausing until the entire FLV has

RE: [Flashcoders] seek() in VideoPlayer class

2007-04-23 Thread Ash Warren
2) Use a Video component and write your own NetStream and NetConnection class and use the seek() method of it, which does not have the bug. I suggest this using this method. This is actually what I am doing, and although it works on my xp box beautifully, it really stutters on vista. At first I

RE: [Flashcoders] seek() in VideoPlayer class

2007-04-23 Thread Ash Warren
] On Behalf Of Jon Bradley Sent: Monday, April 23, 2007 12:37 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] seek() in VideoPlayer class On Apr 23, 2007, at 1:08 PM, Ash Warren wrote: Why do I feel like it's a constant 1 step forward 2 steps back with these new releases

RE: [Flashcoders] seek() in VideoPlayer class

2007-04-23 Thread Ash Warren
Thank you for all of the suggestions, I am using a home grown player based on the NetConnection and NetStream classes. Can anyone confirm if they too notice a stutter when playing back flv files within the Flash player on Vista? Thank you. -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-12 Thread Ash Warren
In practice, you're right and I try not to name any parameters the same as a field name to avoid this confusion. Don't tell anyone, but sometimes I don't even use this. :) So this is wrong? function MyClass (myParam1:Number, myParam2:String) { this.myParam1 = myParam1;

[Flashcoders] AntiAlias Type and CacheBitmap = Jumbled Text???

2006-07-27 Thread Ash Warren
I have been using the advanced antiAlias prop for text in Flash with great success until I tried to place my text in a movieclip that was set to cacheBitmap. Now the text looks all jumbled, has anyone had this issue before or has anyone found a workaround? I am loading the text in dynamically

RE: [Flashcoders] Documentation of the XFactor's XPath class?

2006-06-27 Thread Ash Warren
I would love to check them out. I use these classes all the time and run into encode/decode issues a lot. Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, June 27, 2006 3:31 PM To: Flashcoders mailing list Subject:

RE: [Flashcoders] XML Parsing

2006-06-05 Thread Ash Warren
I have heard also (have not tested myself) that parsing attributes is much quicker as well. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler Sent: Monday, June 05, 2006 9:07 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] XML Parsing

RE: [Flashcoders] Stop loading

2006-05-13 Thread Ash Warren
I thought that I read someplace that this method worked (Where 'audio' is a created sound object): code this.audio.stop (); // delete this.audio.onSoundComplete; // this.audio = null; // The only way to stop a sound from downloading is to delete it

RE: [Flashcoders] Web Service Call Timing Out Within Flash (Any WayToSet A Timeout Var???)

2006-05-02 Thread Ash Warren
I am using the WebService classes and the folks handling the .NET services are telling me to edit the mx.services.WebService class here: class mx.services.WebService { ... _timeout = -1; ... From -1 to 10. I usually do not make it a habit to go in

RE: [Flashcoders] quick question about buttons

2006-05-02 Thread Ash Warren
You can do this: myButton_btn.onRelease = myButton_btn.onPress = myButton_btn.onRollOver = function(){ doStuff(); } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Burvill Sent: Tuesday, May 02, 2006 11:17 AM To: Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Determine text overflow

2006-05-02 Thread Ash Warren
I have always found that setting the textfield to autosize = left and filling it one letter at a time checking the width at each loop works. Then when it goes over the max width, trim it by one letter and display the field. Just set the alpha to 0 or something to hide it while you do the loop

RE: [Flashcoders] quick question about buttons

2006-05-02 Thread Ash Warren
: [Flashcoders] quick question about buttons That's what I'm after. Thanks :o) Ash Warren wrote: You can do this: myButton_btn.onRelease = myButton_btn.onPress = myButton_btn.onRollOver = function(){ doStuff(); } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf