Re: [Flashcoders] Re: Runtime Align Panel package AS3
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 wrote: Did anyone check it out at all? Any bit of feedback would be good, even if you don't think you personally would ever use it. Capabilities SWF http://www.cataclysmicrewind.com/vizalign/examples/capabilities.html Method Descriptions http://www.cataclysmicrewind.com/vizalign/examples/MethodDescriptions.html Documentation http://www.cataclysmicrewind.com/vizalign/docs/ On Thu, Jun 4, 2009 at 5:01 PM, Ktu ktu_fl...@cataclysmicrewind.com wrote: Hey List, I have created a fairly robust alignment tool I have dubbed VizAlign. This package duplicates the align panel and more! License: I was thinking of releasing under GPL. Compiled code size - 5.8kb... for now Features: Straight Forward Human-like API Ignores Nesting Treat Multiple Objects As Groups Works In Full Screen Mode Use As Many Targets As You Need Use As Many Alignment Methods You Need In One Method Call 25 Different Alignment Methods Easily Add New Alignment Methods TruePixel Option For Even Pixel Results Choose To Apply Results Immediately Or Just Get Return Values For Animating 70% Documented Using ASDoc This is an example of the kind of stuff you can do with the VizAlign class. Capabilities.html cannot handle grouping options. http://www.cataclysmicrewind.com/viz...abilities.html http://www.cataclysmicrewind.com/vizalign/examples/capabilities.html http://www.cataclysmicrewind.com/viz...les/groups.swf http://www.cataclysmicrewind.com/vizalign/examples/groups.swf Method Descriptions: http://www.cataclysmicrewind.com/vizalign/examples/MethodDescriptions.html View current documentation here: http://www.cataclysmicrewind.com/vizalign/docs Question: I have ideas for more functionality but am not sure if they are worth it. Are you interested in this type of tool being released and maintained? I see much potential for this package. Do you? If enough people are interested then I will consider adding functionality and reducing file size. Ktu ___ 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: Fast color-transformation over MovieClip with cacheAsBitmap
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 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] does anyone use MonsterDebugger
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Fast color-transformation over MovieClip with cacheAsBitmap
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 nice and fast workaround. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] XML find and delete nodes
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 look like: xml modules module title=apple/ module title=orange node/ module module title=banana node/ module module title=plum/ module title=pear/ module title=pineapple node/ module /modules /xml then with that structure, I would want my code to remove the module nodes that have the title attribute values of apple, plum, and pear since those have no child nodes. I know I could figure it out through enough trial and error, but I've spent enough time on it already. Thought someone here could give a quick answer. Thanks! Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] XML find and delete nodes
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 operator is not supported with operand of type XMLList. I'm not sure right now why that wouldn't work. But you could simply loop through the XMLList generated and do a delete on each node var emptyModule:XMLList = xml.modules.module.(children().length() == 0); var index:int = emptyModule.length() - 1; for(var i = index; i - 1; i--){ delete emptyModule[i]; } trace(xml); hth, Rob PS so as far as the delete operator I'm not sure why delete(xml.modules.module) works while something like delete(xm.modules.module.(@title == apple)) gives an error like above. I would think that both those querries result in an XMLList, in the first case the delete occurs but not in the second... maybe some lunch will help my brain work better. On 9-Jun-09, at 11:02 AM, Merrill, Jason wrote: 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 look like: xml modules module title=apple/ module title=orange node/ module module title=banana node/ module module title=plum/ module title=pear/ module title=pineapple node/ module /modules /xml then with that structure, I would want my code to remove the module nodes that have the title attribute values of apple, plum, and pear since those have no child nodes. I know I could figure it out through enough trial and error, but I've spent enough time on it already. Thought someone here could give a quick answer. Thanks! Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community ___ 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] XML find and delete nodes
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 node/ /module module title=plum/ module title=pear/ module title=pineapple node/ /module /modules /xml; // var list:XMLList = xml..module.(children().length() == 0); var newXML:XML = xml/; xml.setChildren(list); trace(xml); ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] XML find and delete nodes
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. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] XML find and delete nodes
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: 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 node/ /module module title=plum/ module title=pear/ module title=pineapple node/ /module /modules /xml; // var list:XMLList = xml..module.(children().length() == 0); var newXML:XML = xml/; xml.setChildren(list); trace(xml); ___ 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] XML find and delete nodes
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 that DON'T have children. Changing that one line to look for children length greater than 0 does the trick: var list:XMLList = xml..module.(children().length() 0); ) Thanks for your help, Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Steven Sacks Sent: Tuesday, June 09, 2009 12:25 PM To: Flash Coders List Subject: Re: [Flashcoders] XML find and delete nodes 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 node/ /module module title=plum/ module title=pear/ module title=pineapple node/ /module /modules /xml; // var list:XMLList = xml..module.(children().length() == 0); var newXML:XML = xml/; xml.setChildren(list); trace(xml); ___ 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] XML find and delete nodes
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 Development Monthly meetings on the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Rob Romanek Sent: Tuesday, June 09, 2009 12:20 PM To: Flash Coders List Subject: Re: [Flashcoders] XML find and delete nodes 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 operator is not supported with operand of type XMLList. I'm not sure right now why that wouldn't work. But you could simply loop through the XMLList generated and do a delete on each node var emptyModule:XMLList = xml.modules.module.(children().length() == 0); var index:int = emptyModule.length() - 1; for(var i = index; i - 1; i--){ delete emptyModule[i]; } trace(xml); hth, Rob PS so as far as the delete operator I'm not sure why delete(xml.modules.module) works while something like delete(xm.modules.module.(@title == apple)) gives an error like above. I would think that both those querries result in an XMLList, in the first case the delete occurs but not in the second... maybe some lunch will help my brain work better. On 9-Jun-09, at 11:02 AM, Merrill, Jason wrote: 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 look like: xml modules module title=apple/ module title=orange node/ module module title=banana node/ module module title=plum/ module title=pear/ module title=pineapple node/ module /modules /xml then with that structure, I would want my code to remove the module nodes that have the title attribute values of apple, plum, and pear since those have no child nodes. I know I could figure it out through enough trial and error, but I've spent enough time on it already. Thought someone here could give a quick answer. Thanks! Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community ___ 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 mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FLVPlaybacl Skin Question
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 http://www.thetechlabs.com/tutorials/xml/expanding-the-as3-videoplayer/ The second is great for a very quick build. Uses a 3rd party component that handales all the logic for the player, all you have to do is build the UI and give them keyword instance names. Create an Attractive Flash Video Player http://flash.tutsplus.com/tutorials/screencasts/create-an-attractive-flash-video-player/ Hope that helps. Sam @explrCre8 http://twitter.com/explrCre8 On Mon, Jun 8, 2009 at 3:00 PM, Omar Fouad omarfouad@gmail.com wrote: Hello everybody, I skinned the FLVPlayback skin, it works and all but I need to change it's show/hide transition. I've seen video controls that slides from the bottom like youtube etc.. The default for the skin is fade in and fade out even in FullScreen Mode. i don't know if skinning the controls is the best way to create custom controls to a video player in a web site, especially when I do it using pure ActionScript (embedding symbols from the Flash IDE Library) but this is what I could figure out till now. Any Ideas? Cordially -- Omar M. Fouad - Adobe Flash™ Platform Developer www.omar-fouad.net Cellular: (+20) 1011.88.534 Mail: m...@omar-fouad.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ 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 -- Omar M. Fouad - Adobe Flash™ Platform Developer www.omar-fouad.net Cellular: (+20) 1011.88.534 Mail: m...@omar-fouad.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] XML find and delete nodes
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 || name() == asset); // from those nodes, find any that don't have both id and src attributes var invalidNodes:XMLList = nodes.(!attribute(id).length() || ! attribute(src).length()); // get all nodes where id is not alphanumeric or begins with a number invalidNodes = nodes.(!(/^[a-z_][a-z0-9_]*$/i.test(@id))); // this one is complex but basically it isolates nodes that do not have a valid // class package path in a package attribute var packageNodes:XMLList = xml.descendants(). (attribute(package).length() 0); invalidNodes = packageNodes.(!(/^[a-z][\w\.]*\w+$/ i.test(attribute(package; As you can see, combining E4X and RegEx you can do some CRAZY stuff. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Projector Serial Number protection
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 - From: [Amer] To: Flash Coders List Sent: Saturday, June 06, 2009 5:37 PM Subject: Re: [Flashcoders] Projector Serial Number protection if you are looking for robust and stable , really stable solution , forget about Zinc , use Northcode SWF Studio and you will thank me later for this advice . I am a user of Flash Projectors for more than six years , I've tried the most known : ScreenWeaver (now dead) , ScreenTime mProjector , Zinc, and SWFStudio . believe me you will never find a tool like Northcode one , and the support is outstanding too. I'm a registered user since 2005 (after leaving Zinc) and I'm very happy till now . they are amazing and very helpfull . just spend an hour reading the forums and you will see how the folks are happy there. regards. On Sun, Jun 7, 2009 at 1:10 AM, Ian Thomas i...@eirias.net wrote: You could try Northcode's SWFStudio. http://www.northcode.com/ Ian On Sat, Jun 6, 2009 at 6:07 PM, Ktuktu_fl...@cataclysmicrewind.com wrote: I think the only other options are AIR, and Titanium http://titaniumapp.com/ On Sat, Jun 6, 2009 at 7:00 AM, Kevin Bath ke...@flowdigital.co.uk wrote: Shame - it has some great functionality. Is there a more stable alternative 'wrapper' that anyone can recommend? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Amer ___ 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 mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] LoadVars need to pass a var that is a keyword to a php script
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 problem with this. Does anyone know a workaround for this? At least this is an attempt to solve the problem of authenticating the swf inside the members area. Every time the swf file tries to call up a file within the members area, it sends back the login page. Thanks ahead, T ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] LoadVars need to pass a var that is a keyword to a php script
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 have to use for as the var name to send to the auth.form script. However, the Compiler obviously has a problem with this. Does anyone know a workaround for this? At least this is an attempt to solve the problem of authenticating the swf inside the members area. Every time the swf file tries to call up a file within the members area, it sends back the login page. Thanks ahead, T ___ 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] LoadVars need to pass a var that is a keyword to a php script
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 = somesite.com; I have to use for as the var name to send to the auth.form script. However, the Compiler obviously has a problem with this. Does anyone know a workaround for this? At least this is an attempt to solve the problem of authenticating the swf inside the members area. Every time the swf file tries to call up a file within the members area, it sends back the login page. Thanks ahead, T ___ 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] Flash CS4 very slow
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 anything - it just locks up for those seconds. 4 or 5 seconds does not sound much, but when it happens again and again and again day after day it really slows my work down. Alan Neilsen This message is for the named persons use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or; lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. # This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal # ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders