Re: [Flashcoders] Simple compression algo?

2008-02-05 Thread Dave Mennenoh
Hi Juan - I don't think it's assigning the string that's slow. It's calling sendAndLoad that is slow, because I think when you make the call the data is urlencoded or something. I've already found that, and am not calling it. I was simply outputting the before and after string lengths to see

[Flashcoders] DataGrid and Button

2008-02-05 Thread Lehr, Theodore M (N-SGIS)
Anyone know of a good tutorial on how to incorporate a button into a datagrid? Ted ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] DataGrid and Button

2008-02-05 Thread Glen Pike
Look for CellRenderer tutorials. Lehr, Theodore M (N-SGIS) wrote: Anyone know of a good tutorial on how to incorporate a button into a datagrid? Ted ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] DataGrid: Extra Row

2008-02-05 Thread Lehr, Theodore M (N-SGIS)
I am populating a datagrid via: data_array = new Array(); for (j=0; jthis.firstChild.childNodes.length; j++) { var lessonTitle:String = this.firstChild.childNodes[j].childNodes[0].firstChild.nodeValue; var desc:String =

Re: [Flashcoders] Insert new symbol

2008-02-05 Thread Sidney de Koning
if you load your image in with a MovieClipLoader (prolly the best way to go), you can position the image, only with the onLoadInit handler. Only then will you know the dimensions of the loaded in image. the you can shift it x of image = width of image * 0.5 something like this (AS2 example):

[Flashcoders] Odd Blend Mode Problem

2008-02-05 Thread Mark Hawley
I've got an API-drawn rectangle with a hairline stroke, with a blend mode of 3. (Multiply) When the rectangle clip is tweened over a bitmap, occasionally there are 'flickers' of a lighter color right at the edges, where the stroke would be. I've tried no stroke, a 1px stroke...everything I could

[Flashcoders] urgent angle problem

2008-02-05 Thread Allandt Bik-Elliott (Receptacle)
hi guys i have a problem that i need to sort out - i have a script that checks to see where the mouse pointer is in relation to a point of origin and then selects which frame from a group of 9 to show the problem i'm having is that if the angle is above 180 degrees, it swaps to negative

[Flashcoders] fullscreen

2008-02-05 Thread Pedro Kostelec
Hi list Does enyone know how to make this fullscreen function like this one here: http://bb.amctv.com/main.html ? (Press the fullscreen button on the bottom right)Looks the same think like in youtube. -- Pedro D.K. ___ Flashcoders mailing list

Re: [Flashcoders] urgent angle problem

2008-02-05 Thread Kenneth Kawamoto
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] urgent angle problem

2008-02-05 Thread Glen Pike
Hi, You make both values absolute and calculate your angle, then subtract 90 from the degrees. You have to detect whether adj is negative and if so, add 180 to your angle or something similar if I remember... var adjside:Number = watchX - originX; var oppside:Number =

Re: [Flashcoders] fullscreen

2008-02-05 Thread Glen Pike
http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html Pedro Kostelec wrote: Hi list Does enyone know how to make this fullscreen function like this one here: http://bb.amctv.com/main.html ? (Press the fullscreen button on the bottom right)Looks the same think like in youtube.

Re: [Flashcoders] fullscreen

2008-02-05 Thread Jason Van Cleave
http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html On Feb 5, 2008 12:09 PM, Pedro Kostelec [EMAIL PROTECTED] wrote: Hi list Does enyone know how to make this fullscreen function like this one here: http://bb.amctv.com/main.html ? (Press the fullscreen button on the

RE: [Flashcoders] urgent angle problem

2008-02-05 Thread Steve Abaffy
Just add 360 that should do it. But I wander if in your code you have if (angle 0) shouldn't that be if (angle 0)??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allandt Bik-Elliott (Receptacle) Sent: Tuesday, February 05, 2008 11:11 AM To:

Re: [Flashcoders] urgent angle problem

2008-02-05 Thread Kenneth Kawamoto
Oh, sorry Glen List. This was the mail sent out from me. Is the List dodgy again??? -- Try: if (angle0) { angle += 360; } Kenneth Kawamoto http://www.materiaprima.co.uk/ Glen Pike wrote: Dude, how come you keep sending empty emails to the list?? Kenneth Kawamoto wrote:

Re: [Flashcoders] urgent angle problem

2008-02-05 Thread Bob Leisle
er...make that if (angle 0) { angle += 360; } Bob Leisle wrote: Hi Allandt, How about something like this? if (angle 0) { angle += 180; } hth, Bob Allandt Bik-Elliott (Receptacle) wrote: hi guys i have a problem that i need to sort out - i have a script that checks to see where

Re: [Flashcoders] urgent angle problem

2008-02-05 Thread Glen Pike
Dude, how come you keep sending empty emails to the list?? Kenneth Kawamoto wrote: ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01736 759321

Re: [Flashcoders] urgent angle problem

2008-02-05 Thread Bob Leisle
Hi Allandt, How about something like this? if (angle 0) { angle += 180; } hth, Bob Allandt Bik-Elliott (Receptacle) wrote: hi guys i have a problem that i need to sort out - i have a script that checks to see where the mouse pointer is in relation to a point of origin and then selects

RE: [Flashcoders] urgent angle problem

2008-02-05 Thread Dave Watts
Oh, sorry Glen List. This was the mail sent out from me. Is the List dodgy again??? No, it's something on your end. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the

Re: [Flashcoders] Question about Arrays

2008-02-05 Thread Mark Lapasa
Wow, thx Erik. Great answer! I buy into that. -mL EECOLOR wrote: I believe it's type * so you should cast it. This has nothing to do with that, hehe. There is a tiny difference beween ClassToCastTo(value) and (value as ClassToCastTo). In the first case a compiler error will be thrown. In

Re: [Flashcoders] urgent angle problem

2008-02-05 Thread Fumio Nonaka
angle = (angle%360+360)%360; Then: 810 - 90 -810 - 270 _ Bob Leisle wrote: if (angle 0) { angle += 360; } -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/

RE: [Flashcoders] urgent angle problem

2008-02-05 Thread Keith Reinfeld
frame = Math.ceil(((angle 0)? -1*(angle): -1*(angle - 360))/40); Regards, -Keith http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] DataGrid: Extra Row

2008-02-05 Thread Andy Herrman
You say your loop is going the correct amount of times, but have you checked the array? Try looping over the array and tracing all the elements (along with the length of the array). Does what you get match what you expect? -Andy On Feb 5, 2008 11:45 AM, Lehr, Theodore M (N-SGIS) [EMAIL

RE: [Flashcoders] DataGrid and Button

2008-02-05 Thread Merrill, Jason
http://www.flash-db.com/Tutorials/cellrenderer/ http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp .htm?context=LiveDocs_Partsfile=3131.html Jason Merrill Bank of America GTO LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform

[Flashcoders] Fullscreen keyboard input

2008-02-05 Thread JulianG
Hi! I did this pong game (http://www.pixeltoys.net/2008/01/29/actionscript-3-pong.html) just to try AS3. The game can be controlled using the keyboard or the mouse. then I tried the full-screen feature just to learn that: Users cannot enter text in text input fields while in full-screen

[Flashcoders] AS3 receiving mouse event on overlap sibling sprite

2008-02-05 Thread Martin Tremblay
Hi, Trying to have two sibling sprite that overlap receive mouse event in the section that overlap. Is that possible? code: package { import flash.display.* import flash.events.*; public class MouseEventTwoMC extends MovieClip { public

Re: [Flashcoders] Simple compression algo?

2008-02-05 Thread Juan Pablo Califano
I don't think it's assigning the string that's slow. It's calling sendAndLoad that is slow, because I think when you make the call the data is urlencoded or something Yes, you're probably right. I thought maybe the string was encoded as soon as it assigned, but it makes more sense that the

[Flashcoders] Re: Odd Blend Mode Problem

2008-02-05 Thread Mark Hawley
Forcing the width and height of the clip to remain an integer during the tweens fixed the problem. On Feb 5, 2008 11:57 AM, Mark Hawley [EMAIL PROTECTED] wrote: I've got an API-drawn rectangle with a hairline stroke, with a blend mode of 3. (Multiply) When the rectangle clip is tweened over

Re: [Flashcoders] AS3 receiving mouse event on overlap sibling sprite

2008-02-05 Thread Jason Van Cleave
this may help http://www.tink.ws/blog/files/as3/IntersectionRectangle/ http://www.tink.ws/blog/as-30-hittest/ On Feb 5, 2008 3:37 PM, Martin Tremblay [EMAIL PROTECTED] wrote: Hi, Trying to have two sibling sprite that overlap receive mouse event in the section that overlap. Is that

Re: [Flashcoders] Re: Odd Blend Mode Problem

2008-02-05 Thread Zeh Fernando
There's a series of different problems that could be causing this. It depends on a lot of parameters and vary from player to player, from system to system. Basically you have to force the entire region to be drawn so those areas won't be erased. Having a transparent box (100% transparency is

[Flashcoders] This list is acting up again?

2008-02-05 Thread Merrill, Jason
Something up with this list again? The reply below took 13 and 1/2 hours to post, and when it did, the timestamp of when it was supposedly sent was off by 8 hours. He asked the question at 8:22am (at least according to the timestamp), and I replied immediately around 8:30am but it didn't post