Re: [Flashcoders] Re: Runtime Align Panel package AS3

2009-06-09 Thread Hans Wichman
Hi Ktu, seems great, but havent had time to really dive into it, don't take the lack of response the wrong way it happens now and then, but has nothing to do with whether or not you're building something great;) regards, JC On Sun, Jun 7, 2009 at 5:54 AM, Ktu ktu_fl...@cataclysmicrewind.com

[Flashcoders] Re: Fast color-transformation over MovieClip with cacheAsBitmap

2009-06-09 Thread Pavel Repkin
One week has gone, there is no answer, I'm in despair :( If you think there is no way to apply the color transfromation to cached bitmap, just write it. Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] does anyone use MonsterDebugger

2009-06-09 Thread Mario Gonzalez
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Re: Fast color-transformation over MovieClip with cacheAsBitmap

2009-06-09 Thread Ruy Adorno
Why don't you create a BitmapData from the original background and apply the light on this new bitmapdata which even yourself said it's faster. Then, everytime the stage is resized you can just create another BitmapData from the original background. This is not really a solution, but seems a

[Flashcoders] XML find and delete nodes

2009-06-09 Thread Merrill, Jason
Posted this on Flash_tiger without any luck. I know about using delete in E4X XML to delete unwanted XML nodes, but how would you hunt down through and delete any nodes (of a specific type, say module nodes in the example below) that don't have any children? For example, if myXML happens to

Re: [Flashcoders] XML find and delete nodes

2009-06-09 Thread Rob Romanek
This might get you pointed in the right direction. You can get an XMLList of all the empty nodes by this kind of statement xml.modules.module.(children().length() == 0); but if you then try a simple delete on that delete xml.modules.module.(children().length() == 0); you get: Delete

Re: [Flashcoders] XML find and delete nodes

2009-06-09 Thread Steven Sacks
Filter the XML using E4X and then make a new XML from that filtered result. var xml:XML = xml modules module title=apple/ module title=orange node/ /module module title=banana

Re: [Flashcoders] XML find and delete nodes

2009-06-09 Thread Steven Sacks
Actually, you don't need that newXML var. Sorry. I left that in during debugging. Just setChildren the original xml, as I did. If you want to make a copy without destroying the original, then setChildren() the newXML var instead. ___

Re: [Flashcoders] XML find and delete nodes

2009-06-09 Thread Rob Romanek
Since Jason wanted to get rid of all the nodes that were empty he would want to filter against !=0 and then use setChildren to refresh his original xml. Using setChildren is a nifty trick, much nicer than that delete loop I put out there. Rob On 9-Jun-09, at 12:24 PM, Steven Sacks wrote:

RE: [Flashcoders] XML find and delete nodes

2009-06-09 Thread Merrill, Jason
Thanks Steve - have it working. Yep, I love E4X too - still learning all the intricacies like this, so this is another notch in my belt. (however for anyone listening and for the archives, your code does the opposite of what I want. It removes all nodes WITH children. I want to remove any nodes

RE: [Flashcoders] XML find and delete nodes

2009-06-09 Thread Merrill, Jason
Rob, I came across the same problem when trying out various E4X approaches with delete. Steve's idea works (with the caveat his removes populated nodes instead of unpopulated ones, but I fixed that). Thanks! Jason Merrill Bank of America Global Learning Shared Services Solutions

Re: [Flashcoders] FLVPlaybacl Skin Question

2009-06-09 Thread Omar Fouad
Thanks Buddy just what I was looking for :) 2009/6/9 Sam Brown 4sambr...@gmail.com Hey Omar, Here's a couple of resources I found very useful: The first is a 2 part series and is very through. Expanding the Flash Actionscript 3.0 Videoplayer

Re: [Flashcoders] XML find and delete nodes

2009-06-09 Thread Steven Sacks
Once you really dig into E4X and realize the crazy stuff you can do, it's amazing. I do some pretty crazy E4X parsing, filtering and validation with Gaia. Here are some examples: // get all nodes named page or asset in the entire XML var nodes:XMLList = xml.descendants().(name() == page

Re: [Flashcoders] Projector Serial Number protection

2009-06-09 Thread Info
SWF Studio FTW! Seriously. At 06:14 PM 6/6/2009, you wrote: Northcode is a REALLY great guy.. very helpful..and will see you through 'til the end with help.. You can also post on the SWF Studio forum..or find him as a moderator at www.flashkit.com forums - Original Message -

[Flashcoders] LoadVars need to pass a var that is a keyword to a php script

2009-06-09 Thread TS
Hello, Ver: AS2 I have an authentication form that needs vars passed to it via a loadVars object POST. I'm building my object up as such: message.uid = jimbo; message.for = somesite.com; I have to use for as the var name to send to the auth.form script. However, the Compiler obviously has a

Re: [Flashcoders] LoadVars need to pass a var that is a keyword to a php script

2009-06-09 Thread Juan Pablo Califano
Hi, Try message[for] = blahblah; Cheers Juan Pablo Califano 2009/6/9 TS sunnrun...@gmail.com Hello, Ver: AS2 I have an authentication form that needs vars passed to it via a loadVars object POST. I'm building my object up as such: message.uid = jimbo; message.for = somesite.com; I

Re: [Flashcoders] LoadVars need to pass a var that is a keyword to a php script

2009-06-09 Thread Karl DeSaulniers
Try message.URL = somesite.com; Karl Sent from losPhone On Jun 9, 2009, at 9:02 PM, TS sunnrun...@gmail.com wrote: Hello, Ver: AS2 I have an authentication form that needs vars passed to it via a loadVars object POST. I'm building my object up as such: message.uid = jimbo; message.for

[Flashcoders] Flash CS4 very slow

2009-06-09 Thread Alan Neilsen
Does Flash CS4 run very slowly for everyone, or might there be something wrong with my installation? Just about anything I do takes ages to happen. For instance, if I open Properties to type in an Instance Name, when I click somewhere else after that it takes 4 or 5 seconds before I can do