Re: [Flashcoders] Text Stroke?
LOL - Original Message - From: Hans Wichman [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, November 21, 2008 9:40 AM Subject: Re: [Flashcoders] Text Stroke? I think that's only possible using mxml... just kidding, sorry could't resist :) On Fri, Nov 21, 2008 at 8:45 AM, Elia Morling [EMAIL PROTECTED] wrote: Has the ugly Glow-Filter trick been replaced with anything better in CS4? Thanks, Elia ___ 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] Flex vs. Flash
And who's fault is that? Anyone can write spaghetti code in any language whatever the markup. The language itself lends itself to spaghetti coding, because MXML can easily turn into nesting hell. , unless the coders know what they are doing. The benefits of Flex databinding and UI are bogus, if you are an OOP programmer reusability exists with any OOP language. In the end it's just a language, so choose what you want. Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flex vs. Flash
Have you tried the ASWing GUI Builder? If you use it, then the examples you provided below are not required at all. The code is generated for you. Elia - Original Message - From: Ian Thomas [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, November 20, 2008 9:53 AM Subject: Re: [Flashcoders] Flex vs. Flash On Thu, Nov 20, 2008 at 8:30 AM, Elia Morling [EMAIL PROTECTED] wrote: The language itself lends itself to spaghetti coding, because MXML can easily turn into nesting hell. , unless the coders know what they are doing. The benefits of Flex databinding and UI are bogus, if you are an OOP programmer reusability exists with any OOP language. Bogus? Not at all. The benefits are in speed of development and clarity. It is perfectly possible to replicate databinding in AS3 (after all, the underlying implementation _is_ AS3). But to do so will require considerably more code, and is harder to read. Similarly for the UI - yes, you can replicate everything in MXML's layout in AS3, but it also requires more code and is harder to read. Consider this simple layout example in MXML: mx:VBox width=100% horizontalAlign=center mx:Label text=Testing/ mx:Button label=Cancel click=dispatchEvent(new UserEvent(UserEvent.CANCEL,true))/ /mx:VBox And in AS3: var vbox:VBox=new VBox(); vbox.percentWidth=100; vbox.setStyle(horizontalAlign,center); var label:Label=new Label(); label.text=Testing; vbox.addChild(label); var button:Button=new Button(); button.label=Cancel; button.addEventListener(MouseEvent.CLICK,onCancelClicked,false,0,true); vbox.addChild(button); addChild(vbox); private function onCancelClicked(ev:MouseEvent):void { dispatchEvent(new UserEvent(UserEvent.CANCEL,true)); } In what way is the AS3 clearer? In what way is it easier to maintain? In what way is it easier to see how the objects are laid out on the screen just by looking at the code? In what way is it _faster to develop_? In what way is the MXML more spaghetti-like? I agree that - as with any layout language - you can get tangled up by burying the implementation inside the layout. That's the same sort of issue that exists in other languages - for example, PHP. But that's simply about learning how to use it correctly. I think it's foolish to entirely write off a useful syntax/language based on examples written by people who don't understand how to use it properly. But then, I find MXML a useful tool for layout. It's your loss if you don't use it. Ian ___ 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] Flex vs. Flash
Yes, I'm aware that Flex generates MXML. I respect everyone that uses Flex, and employ it myself occasionally. Everybody has their preferences. Coming from a Java background MXML does not appeal to me, but I understand that it may to some. ASWing does not support CSS that I know of. It uses a LAF (Look And Feel) class, and can also easily be skinned with vectors (FLA file) or bitmaps (Photoshop template). Elia - Original Message - From: Ian Thomas [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, November 20, 2008 10:20 AM Subject: Re: [Flashcoders] Flex vs. Flash On Thu, Nov 20, 2008 at 9:11 AM, Elia Morling [EMAIL PROTECTED] wrote: Have you tried the ASWing GUI Builder? If you use it, then the examples you provided below are not required at all. The code is generated for you. *ahem* Have you tried the Flex GUI Builder? If you use it, then the examples I provided are not required at all. The MXML is generated for you, and won't be spaghettified. :-D But on a more serious note - does ASWing support CSS skinning? Ian ___ 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] Text Stroke?
Has the ugly Glow-Filter trick been replaced with anything better in CS4? Thanks, Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flex vs. Flash
MXML is a piece of crap, mixture of XML and AS code. Very bad overview and readability. Better to roll with an AS3 project in Flex, or FDT plugin for Eclipse. In regards to flex being better for UI, then you have to take into account the open source ASwing UI library for AS projects. It also has a GUI builder for building swift GUIs. Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flex vs. Flash
MXML should be used for layout as described here: http://www.boostworthy.com/blog/?p=216 However, it's often used for spagetti coding. If you want to burst your solitude bubble you can go here, or use google. :) http://www.ultrashock.com/forums/flex/mxml-do-we-need-it-87269.html Elia - Original Message - From: Lukas Ruebbelke [EMAIL PROTECTED] To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Thursday, November 20, 2008 12:32 AM Subject: RE: [Flashcoders] Flex vs. Flash I doubt most would agree that being able to mark up the entire presentation layer of an application in an xml based language is 'crap'. MXML is succinct and convenient in separating presentation and control. You are welcome to your opinion but enjoy the solitude of your perspective. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Elia Morling Sent: Wednesday, November 19, 2008 2:26 PM To: Flash Coders List Subject: Re: [Flashcoders] Flex vs. Flash MXML is a piece of crap, mixture of XML and AS code. Very bad overview and readability. Better to roll with an AS3 project in Flex, or FDT plugin for Eclipse. In regards to flex being better for UI, then you have to take into account the open source ASwing UI library for AS projects. It also has a GUI builder for building swift GUIs. Elia ___ 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] Actionscripter 3.0 developers
Don't post job descriptions... bla bla bla bla Stop whining. Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flip BitmapData with Alpha
Woohoo! Thanks. :) - Original Message - From: Cedric Muller [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 15, 2008 11:56 AM Subject: Re: [Flashcoders] Flip BitmapData with Alpha I am wondering what does it change if you do: var bmd:BitmapData = new BitmapData(source.width, source.height, source.transparent, 0x); ? Cedric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flip BitmapData with Alpha
Any ideas? How to flip a bitmap and preserve alpha? Elia - Original Message - From: Elia Morling [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, October 14, 2008 12:08 PM Subject: [Flashcoders] Flip BitmapData with Alpha How do I preserve alpha when flipping a bitmapdata? This is what I use now. public static function flipHorizontal(source:BitmapData):BitmapData{ var m:Matrix = new Matrix(); m.a=-1; m.tx=source.width; var bmd:BitmapData = new BitmapData(source.width, source.height, source.transparent); bmd.draw(source, m); return bmd; } Thanks Elia ___ 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] Flip BitmapData with Alpha
How do I preserve alpha when flipping a bitmapdata? This is what I use now. public static function flipHorizontal(source:BitmapData):BitmapData{ var m:Matrix = new Matrix(); m.a=-1; m.tx=source.width; var bmd:BitmapData = new BitmapData(source.width, source.height, source.transparent); bmd.draw(source, m); return bmd; } Thanks Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Can URLLoader Open New Window Like LoadVars?
Any ideas? thanks - Original Message - From: Elia Morling [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, September 29, 2008 12:32 AM Subject: [Flashcoders] Can URLLoader Open New Window Like LoadVars? The LoadVars could specify a target to open a new window in AS2... Can we open a new window with URLLoader while making a POST operation? Thanks Elia ___ 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] Can URLLoader Open New Window Like LoadVars?
The LoadVars could specify a target to open a new window in AS2... Can we open a new window with URLLoader while making a POST operation? Thanks Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] FLA/SWF TO FLV
I have a flash animation that I need to convert to FLV. How should I proceed for best results? Should I convert SWF to FLV? I tried the MagicSwf2AVI, but the cropping was weird and the FLV quality was poor. Maybe because they are using poor encoder... Perhaps another approach... Should I export from Flash? Picture sequence? AVI with what codec? What should I use to import sequence or AVI to and export to FLV? Sorenson squeeze seemed to be a bad choice for working with picture sequences... Thanks, Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Open Source YouTube Player
Is there a stable open source FLV player? Or should I reinvent the wheel? Thanks, Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Gaia 2.2.0 now available
What is Gaia, and what makes it useful? Elia - Original Message - From: Steven Sacks [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com; [EMAIL PROTECTED] Sent: Tuesday, June 17, 2008 4:47 AM Subject: [Flashcoders] Gaia 2.2.0 now available I'd like to let everyone on the list know about the latest major release of my free, open-source, front-end Flash framework, Gaia. http://www.gaiaflashframework.com/forum/index.php/topic,542.0.html Gaia 2.2.0 is a major release and contains many awesome improvements and upgrades! First off, SWFObject 2 + SWFAddress 2.1 are now fully supported. Updating older Gaia projects will automatically convert all your html pages, including your SEO Scaffolding ones, all while keeping any custom params and FlashVars you have in the old syntax. One click and your project is up-to-date with the latest SWF embedding technology. It doesn't get much easier than that! Another cool new feature is queued on-demand asset loading. Gaia will now only open a maximum of two HTTP requests at a time, which means your Gaia site is more stable (developers have reported AS3 becomes unstable when you have too many pending HTTP requests) and more responsive. External pages now have a window attribute which enables you to target which window you want to open your link in right in the site.xml. The Gaia panel now has Site XML and Class Path validation so you don't accidentally scaffold invalid class folder names (no spaces, no number at the start, alphanumeric), or invalid page ids. Additionally, the panel tells you exactly which nodes are invalid so you don't have to waste time trying to determine which ones they are. Gaia now has AS3 Event Metadata for auto-completion when using Flex Builder 3. Separate page templates for Actionscript and Timeline are now available for easy customization (and to solve a nasty JSFL bug with removeFrames). Plus, some important bug fixes were made in both the framework and the panel. And to top it all off, the latest version of the TweenMax family (v 1.17) is also included. ___ 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] Inserting Smiley Images in Textarea
Yes, I need full 8-bit smilies. :( Elia - Original Message - From: Kerry Thompson [EMAIL PROTECTED] To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Friday, June 13, 2008 2:40 AM Subject: RE: [Flashcoders] Inserting Smiley Images in Textarea Keith Reinfeld wrote: I am guessing that Elia needs more than what Wingdings has to offer along these lines. J = smiling, K = embarrassed, L = frowning. Only Elia knows for sure ^_^ At any rate, there are always custom fonts. So anyway... supper's ready! You're making me hungry. I'm going upstairs to start the oven for tonight's jerk chicken ^_^ Cordially, Kerry Thompson ___ 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] Real Time Lip Sync
Hi, Are there any real time lip sync code examples or components for AS3? Thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Inserting Smiley Images in Textarea
Is there a component or source for making smiley images work in an editable text area? Thanks, Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Real Time Lip Sync
No info on real time lip sync? / Thanks - Original Message - From: Elia Morling [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, June 12, 2008 1:31 PM Subject: Re: [Flashcoders] Real Time Lip Sync Hi, Are there any real time lip sync code examples or components for AS3? Thanks ___ 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] Inserting Smiley Images in Textarea
Thanks, this is almost what I need, but... I need to be able to embed smilies in the entry box. In the same way you can add any image to a text editor while entering text. Elia - Original Message - From: Keith Reinfeld [EMAIL PROTECTED] To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Thursday, June 12, 2008 6:03 PM Subject: RE: [Flashcoders] Inserting Smiley Images in Textarea Yes. TUFaT SmileText Component http://www.tufat.com/script124.htm Has the features you mentioned, but it breaks when a user enters (certain) html tags. Regards, -Keith http://keithreinfeld.home.comcast.net ___ 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] Inserting Smiley Images in Textarea
I guess something like the FlashTexteditor would do it. I need to be able to insert images into an editable text area. See: http://www.flashloaded.com/flashcomponents/flashtexteditor/ If anyone knows of alternative Flash Rich Text Editors that can insert imagse let me know. Thanks - Original Message - From: Keith Reinfeld [EMAIL PROTECTED] To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Thursday, June 12, 2008 6:03 PM Subject: RE: [Flashcoders] Inserting Smiley Images in Textarea Yes. TUFaT SmileText Component http://www.tufat.com/script124.htm Has the features you mentioned, but it breaks when a user enters (certain) html tags. Regards, -Keith http://keithreinfeld.home.comcast.net ___ 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] Real Time Lip Sync
How real does it have to be? It has to be real, because we're using a text-to-speech converter. Text will be sent out of Flash to a server and receive an mp3 file in return. I was hoping that I could analyze the sound and display an appropriate mouth. The style is cartoonish, so it's not 3D or anything like that. Thanks. Elia - Original Message - From: Derek Nugent [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, June 12, 2008 10:11 PM Subject: Re: [Flashcoders] Real Time Lip Sync How real does it have to be? I have animation experience than Flash As an animation TD, to automate lip sync I move the jaw section of the character in accordance with the wave form then scale the width to create the approximate phoneme. For flash though I might try a library of movies that play when a specific event is triggered. It's detecting the events or conditions that might be tricky Best regards Derek Nugent email: [EMAIL PROTECTED] [EMAIL PROTECTED] web: http://www.dereknugent.com - Original Message From: Elia Morling [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, June 12, 2008 2:19:14 PM Subject: Re: [Flashcoders] Real Time Lip Sync No info on real time lip sync? / Thanks - Original Message - From: Elia Morling [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, June 12, 2008 1:31 PM Subject: Re: [Flashcoders] Real Time Lip Sync Hi, Are there any real time lip sync code examples or components for AS3? Thanks ___ 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 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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] Inserting Smiley Images in Textarea
Yes, I did some tests and the image placement seems goofy. How did they solve it in a component like this? http://www.flashloaded.com/flashcomponents/flashtexteditor/example2.html Elia - Original Message - From: Keith Reinfeld [EMAIL PROTECTED] To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Thursday, June 12, 2008 10:32 PM Subject: RE: [Flashcoders] Inserting Smiley Images in Textarea You can append htmlText with img src='' tags, like a regular html. So, you can have what you want in your textfield. Unfortunately the image tag's align attribute only supports 'left' (default) or 'right'. So if you need a graphical emoticon to appear in mid-text anywhere the img src='smiley' tag alone won't cut it. The image's placement will also wrap to the next line or not depending on where the tag is placed in the block of text (first, last, or inbetween.) There is a workaround but it is a very long way around. Regards, -Keith http://keithreinfeld.home.comcast.net ___ 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] Real Time Lip Sync
Okay thanks... I guess it's not possible then. :( Elia - Original Message - From: Kerry Thompson [EMAIL PROTECTED] To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Thursday, June 12, 2008 11:29 PM Subject: RE: [Flashcoders] Real Time Lip Sync Elia Morling wrote: No info on real time lip sync? The key is real time. I don't think such a thing exists. Think what it would have to do: analyze the wave form, probably with a reverse FFT; match it up to n mouth positions; somehow get that on the screen, with your character/s, in the right x/y location. Flash could handle lip sync--were it I, I'd just have a movie clip with the mouth positions, and go to the appropriate frame. But I don't think it's realistic, with today's technology, to do the analysis in real time, especially with a VM. If you're looking for something that doesn't have to operate in real time, Google is your friend: http://www.swftools.com/tools-category.php?cat=530 Cordially, Kerry Thompson ___ 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] Real Time Lip Sync
Okay, purely hypothetical. The sound file is approx 30-60 seconds long. How long would it take to pre-analyze that in Flash for a volumetric analysis? I guess Flash basically needs to play the sound to analyze it? Elia - Original Message - From: Kerry Thompson [EMAIL PROTECTED] To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Friday, June 13, 2008 1:41 AM Subject: RE: [Flashcoders] Real Time Lip Sync Elia Morling wrote: Okay thanks... I guess it's not possible then. :( Maybe it is possible--not easy, but possible. You can get close enough for cartoons by simple volumetric analysis. IOW, check the volume and base the mouth positions on that. We had a routine, written in C++, that did just that, and it was good enough for our Disney program. You only really need about 5 or 6 mouth positions for most cartoon animation. Generally, a long a is louder than a b. It won't be exact, but it will probably get you close enough. I don't know if AS3 is going to be fast enough for real-time analysis. You might need to write an ActiveX in C++ (if you're targeting IE on Windows), or a Firefox plugin. It can be done--it's not easy, and you might run into problems with customer acceptance of an ActiveX control, but it's still an option. Cordially, Kerry Thompson ___ 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] Inserting Smiley Images in Textarea
Is there a component for making smiley images work in an editable text area? I need to add the smileys with drag-n-drop, or simply choose a smiley from a palette. Thanks, Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Real Time Lip Sync
Hi, Are there any real time lip sync code examples or components for AS3? Thanks Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 FTP Client?
Thanks, it appears to be an apollo project. I don't know if it will run in a browser with a plain as3 project. Elia - Original Message - From: Cedric Muller [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, June 02, 2008 1:21 PM Subject: Re: [Flashcoders] AS3 FTP Client? did you look the project's home ? http://projects.maliboo.pl/FlexFTP/ Do you think I can use this in an AS3 project in Flex2? I went to the link but the SVN appears empty to me Elia - Original Message - From: Cedric Muller [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, June 02, 2008 12:56 PM Subject: Re: [Flashcoders] AS3 FTP Client? try this one http://maliboo.riaforge.org/ it is open source, and working (very early version, as written) hth, Cedric Are there any FTP clients that run in AS3 for sale? Elia ___ 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 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] AS3 FTP Client?
Are there any FTP clients that run in AS3 for sale? Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 FTP Client?
Do you think I can use this in an AS3 project in Flex2? I went to the link but the SVN appears empty to me Elia - Original Message - From: Cedric Muller [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, June 02, 2008 12:56 PM Subject: Re: [Flashcoders] AS3 FTP Client? try this one http://maliboo.riaforge.org/ it is open source, and working (very early version, as written) hth, Cedric Are there any FTP clients that run in AS3 for sale? Elia ___ 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] Double lines from PHP
I'm sending some form data from PHP to flash and all line feeds turn out to be double lines in flash. I'm using a textfield and htmlText. I tried to conver chr(13) and chr(10) to br but it doesn't work. I also tried turning chr(13) to chr(10) and vice versa without luck. Any ideas? Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Double lines from PHP
Thanks, but it didn't work. :( - Original Message - From: Muzak [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, April 18, 2008 5:37 PM Subject: Re: [Flashcoders] Double lines from PHP str.split(\n).join(); - Original Message - From: Elia Morling [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, April 18, 2008 3:55 PM Subject: [Flashcoders] Double lines from PHP I'm sending some form data from PHP to flash and all line feeds turn out to be double lines in flash. I'm using a textfield and htmlText. I tried to conver chr(13) and chr(10) to br but it doesn't work. I also tried turning chr(13) to chr(10) and vice versa without luck. Any ideas? Elia ___ 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] Double lines from PHP
Sorry, yes it did work! Thx! Elia - Original Message - From: Muzak [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, April 18, 2008 5:37 PM Subject: Re: [Flashcoders] Double lines from PHP str.split(\n).join(); - Original Message - From: Elia Morling [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, April 18, 2008 3:55 PM Subject: [Flashcoders] Double lines from PHP I'm sending some form data from PHP to flash and all line feeds turn out to be double lines in flash. I'm using a textfield and htmlText. I tried to conver chr(13) and chr(10) to br but it doesn't work. I also tried turning chr(13) to chr(10) and vice versa without luck. Any ideas? Elia ___ 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] Any Game with Motor2, WAS: Platform Game with Motor2?
Ok, no platform games... How about any games at all? Elia - Original Message - From: Elia Morling [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, April 11, 2008 10:58 AM Subject: [Flashcoders] Platform Game with Motor2? Does anyone have an example of a platform game made with motor2? The only thing I see on his page are demos, I would really like to see a real implementation. http://lab.polygonal.de/ Thanks, Elia ___ 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] Platform Game with Motor2?
Does anyone have an example of a platform game made with motor2? The only thing I see on his page are demos, I would really like to see a real implementation. http://lab.polygonal.de/ Thanks, Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Outsourcing (was: Tweening Engines for AS3)
Yes, there are caveats with outsourcing, but the problems are often on the buyer end. If you learn how to specifiy and run your outsourcing projects you can do it successfuly. Don't hire someone that doesn't speak english or has any experience with projects abroad. I am running multiple indie game projects, all funded out of my own pocket, and they involveĀ“more than 10 people in different countries. Their services range from 2D graphics, 3D modeling, programming and copywriting. In my opinion outsourcing is the future. I don't see a reason to hire anyone from Europe, unless they offer below-european-standard-rates of course. I do contract americans, because of the great USD. Regards Elia On 27 Mar 2008, at 16:45, Kerry Thompson wrote: Laurent wrote: sick. If you want to know for how little money projects are proposed and how fast programmer people on earth can work for go there: http://www.getacoder.com I found the same thing when I registered with guru.com. There are hundreds of jobs with a budget of $500 or less, and precious few worth bidding on. All my work comes from contacts--current and former clients, colleagues, and the like. There is a downside to outsourcing, though. I've worked on two major projects, one for Disney and one for Sesame Street, that were initially outsourced overseas. Both projects were eventually deemed substandard, and completely re-written in-house. I'm not saying the programmers overseas are substandard--I've worked with some fine Chinese and Indian programmers (even some good Europeans ;-) There are so many problems with time differences, cultural differences, expectations, and a host of other issues that it often costs more to send something overseas. Cordially, Kerry Thompson ___ 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] Lightweight Collision for Platform Game
What is the best collision system for a platform game? I've currently looked at box2D, but I think it runs amazingly slow on afew macs and other machines. Therefore I wonder if there is anything faster lightweight? I think I may need move towards a ray placed under the character instead of actually box-to-box collision. Any ideas? Thanks Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] bitMapData - function optimization
See this page and the comments below it. There is one about how to invert with the paletteMap function. http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1962.html Elia - Original Message - From: EECOLOR [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, February 28, 2008 3:47 PM Subject: Re: [Flashcoders] bitMapData - function optimization You could use the paletMap function or the threshold function of the bitmapData object. Check the documentation for details. Greetz Erik On 2/28/08, Karim Beyrouti [EMAIL PROTECTED] wrote: Hello Hello, Just wondering if anyone has any tips or ideas on optimizing this function, as its really slow.. Basically, it creates an inverted alpha mask from a bitmap by going through every pixel in the bit map. Here is the function: code private function createInvertedMask() { var w:Number = mask_bitmap.width; var h:Number = mask_bitmap.height; var r:Number = 0; var c:Number = 0; var v:Number; for ( r = 0 ; r w ; r++ ) { for ( c = 0 ; c h ; c++ ) { v = mask_bitmap.getPixel32( r, c ); if ( v == 0 ) { mask_bitmap.setPixel32( r, c , 0xFF00 ); } else { mask_bitmap.setPixel32( r, c , 0x ); } } } } /code ___ 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] Flex Disables Browser Scrollbars?
How do I make it so that the html that flex generates doesn't disable the browser scrollbards? I have located the lines of html code that does this, but it's tedious to manually change them. Thanks Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] BitmapData.paletteMap ()
As indicated in earlier post I need to swap the palettes of a bitmapdata. public function paletteMap(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, redArray:Array = null, greenArray:Array = null, blueArray:Array = null, alphaArray:Array = null):void Remaps the color channel values in an image that has up to four arrays of color palette data, one for each channel. That is excellent, but how do I extract the current color channel values as arrays so that I can maniuplate them? Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] BitmapData.paletteMap ()
Thanks Erik for looking into this. I don't understand how anyone can use the paletteMap method without knowing what order the colors in the palette are in? Are the colors always in the order as your loop? In photoshop a palette can be arranged in any way. Elia - Original Message - From: EECOLOR [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 27, 2008 10:47 PM Subject: Re: [Flashcoders] BitmapData.paletteMap () So if I understand you correctly, your question actually is: how do I find out which colors are used in my bitmap data?. I am sorry to disappoint you, but I do not have an answer for you. The only solution I could come up with is looping through the pixels (see the code at the end of the email). This loop however is too slow. On my fast machine it took about 2.4 seconds for an image of 2000 x 2000. If time is not an issue you could split the loop over multiple frames so you can show a progress bar. Maybe someone has a better idea for you... Greetz Erik var byteArray:ByteArray = bmd.getPixels(new Rectangle(0, 0, bmd.width, bmd.height)); var red:Array = new Array(); var green:Array = new Array(); var blue:Array = new Array(); var color:uint; var redColor:uint; var greenColor:uint; var blueColor:uint; byteArray.position = 0; while (byteArray.bytesAvailable) { color = byteArray.readUnsignedInt(); redColor = (color 16) 0xFF; greenColor = (color 8) 0xFF; blueColor = (color) 0xFF; if (!red[redColor]) { red[redColor] = redColor; }; if (!green[greenColor]) { green[greenColor] = greenColor; }; if (!blue[blueColor]) { blue[blueColor] = blueColor; }; }; On 2/27/08, Elia Morling [EMAIL PROTECTED] wrote: As indicated in earlier post I need to swap the palettes of a bitmapdata. public function paletteMap(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, redArray:Array = null, greenArray:Array = null, blueArray:Array = null, alphaArray:Array = null):void Remaps the color channel values in an image that has up to four arrays of color palette data, one for each channel. That is excellent, but how do I extract the current color channel values as arrays so that I can maniuplate them? Elia ___ 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] BitmapData.paletteMap ()
Thanks. I guess nobody is using the paletteMethod? It's strange that there exists such a function with no functions for retrieving the original palette for manipulation? I asked earlier on the list if BitmapData is converted to 16 bit. One guy thought I was an idiot and another said no. Seemed the concensus was no. I'm not so sure, because there is no depth property on the bitmapdata, and there are no limitations to operations that would otherwise be limited to 256 colors or less. Elia - Original Message - From: Juan Pablo Califano [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 27, 2008 11:34 PM Subject: Re: [Flashcoders] BitmapData.paletteMap () Perhaps you could read just the palette info from the image file instead of looping through the bitmapdata to gather that data. That could be more or less challenging depending on the file format of the image. Cheers Juan Pablo Califano 2008/2/27, EECOLOR [EMAIL PROTECTED]: So if I understand you correctly, your question actually is: how do I find out which colors are used in my bitmap data?. I am sorry to disappoint you, but I do not have an answer for you. The only solution I could come up with is looping through the pixels (see the code at the end of the email). This loop however is too slow. On my fast machine it took about 2.4 seconds for an image of 2000 x 2000. If time is not an issue you could split the loop over multiple frames so you can show a progress bar. Maybe someone has a better idea for you... Greetz Erik var byteArray:ByteArray = bmd.getPixels(new Rectangle(0, 0, bmd.width, bmd.height)); var red:Array = new Array(); var green:Array = new Array(); var blue:Array = new Array(); var color:uint; var redColor:uint; var greenColor:uint; var blueColor:uint; byteArray.position = 0; while (byteArray.bytesAvailable) { color = byteArray.readUnsignedInt(); redColor = (color 16) 0xFF; greenColor = (color 8) 0xFF; blueColor = (color) 0xFF; if (!red[redColor]) { red[redColor] = redColor; }; if (!green[greenColor]) { green[greenColor] = greenColor; }; if (!blue[blueColor]) { blue[blueColor] = blueColor; }; }; On 2/27/08, Elia Morling [EMAIL PROTECTED] wrote: As indicated in earlier post I need to swap the palettes of a bitmapdata. public function paletteMap(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, redArray:Array = null, greenArray:Array = null, blueArray:Array = null, alphaArray:Array = null):void Remaps the color channel values in an image that has up to four arrays of color palette data, one for each channel. That is excellent, but how do I extract the current color channel values as arrays so that I can maniuplate them? Elia ___ 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] Copypixels transparency with percentage
How do I make a copypixels function that will copy bitmapdata with transparency indicated by percentage? Like the opacity setting of a layer in photoshop. I have been trying different kind of angles with no success. Thanks Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Copypixels transparency with percentage
Hi, No I havent. Thanks Elia - Original Message - From: Hans Wichman [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, February 25, 2008 12:45 PM Subject: Re: [Flashcoders] Copypixels transparency with percentage Hi, have you tried public draw(source:Object, [matrix:Matrix], [colorTransform:ColorTransform], [blendMode:Object], [clipRect:Rectangle], [smooth:Boolean]) : Void using the colortransform? greetz JC On Mon, Feb 25, 2008 at 10:48 AM, Elia Morling [EMAIL PROTECTED] wrote: How do I make a copypixels function that will copy bitmapdata with transparency indicated by percentage? Like the opacity setting of a layer in photoshop. I have been trying different kind of angles with no success. Thanks Elia ___ 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] 8-Bit Grayscale Bitmap as AlphaBitMap
Hi! I have an 8 bit grayscale bitmap saved as 8-PNG. I want to use that bitmapdata as an alpha, but I have no success. What conversions do I need to do, cause obviously I cant use it in copypixels directly as the alphabitmapdata. Thanks Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Swap 8 bit palettes
Sweet, thanks! Elia - Original Message - From: Juan Pablo Califano [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Sunday, February 17, 2008 11:59 PM Subject: Re: [Flashcoders] Swap 8 bit palettes If I'm not getting this wrong, this simple function should do the work (assuming you have your palette defined as an array) I've tested in Flash 8 (that's why I'm using Number's instead of int's; for AS 3.0 I'd go with int's) function createPaletteData(palette:Array):Object { var len:Number = palette.length; var r:Array = []; var g:Array = []; var b:Array = []; var cur:Number; for(var i:Number = 0;ilen;i++) { cur = palette[i]; r[i] = cur 16; g[i] = (cur 0x00ff00) 8; b[i] = (cur 0xff); } return {r:r,g:g,b:b}; } var test_arr:Array = [0xff005c,0xfc1236,0x001200,0x180055]; var oArrays:Object = createPaletteData(test_arr); trace(oArrays.r); trace(oArrays.g); trace(oArrays.b); Cheers Juan Pablo Califano 2008/2/17, Elia Morling [EMAIL PROTECTED]: Has anyone by any chance made a function to dump an 8 bit palette to the arrays the paletteMap function is asking for? :) I guess the alternative is to create an image that holds the palette as pixels in rows, and then use getpixel to pull one rgb at a time to populate the arrays. Elia - Original Message - From: Elia Morling [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Sunday, February 17, 2008 10:41 PM Subject: Re: [Flashcoders] Swap 8 bit palettes Thanks I will check it out. The images we are talking of are not anti-alias. Elia - Original Message - From: Zeh Fernando [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Sunday, February 17, 2008 10:10 PM Subject: Re: [Flashcoders] Swap 8 bit palettes You can do a lot of color transformations with the color matrix. If you want to swap the PALLETE, oldschool-style, one color at a time, you just use the paletteMap method of the BitmapData class. It's only really useful if you don't have antialias on your image or else it becomes a monumental task to do anything. Zeh Elia Morling wrote: Ok m8. My artist has 8-bit tile graphics. We want to swap the colors in those tile graphics by changing the palette. It's a simple operation really, I just wonder if Flash supports it. Cheers Elia - Original Message - From: Juan Pablo Califano [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Sunday, February 17, 2008 7:31 PM Subject: Re: [Flashcoders] Swap 8 bit palettes Perhaps if you describe your problem / what you're trying to do with a little more detail... 2008/2/17, Elia Morling [EMAIL PROTECTED]: I guess not? Is it possible to swap 8 bit palettes directly in Flash? ___ 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 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 mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Swap 8 bit palettes
I guess not? Is it possible to swap 8 bit palettes directly in Flash? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Swap 8 bit palettes
Ok m8. My artist has 8-bit tile graphics. We want to swap the colors in those tile graphics by changing the palette. It's a simple operation really, I just wonder if Flash supports it. Cheers Elia - Original Message - From: Juan Pablo Califano [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Sunday, February 17, 2008 7:31 PM Subject: Re: [Flashcoders] Swap 8 bit palettes Perhaps if you describe your problem / what you're trying to do with a little more detail... 2008/2/17, Elia Morling [EMAIL PROTECTED]: I guess not? Is it possible to swap 8 bit palettes directly in Flash? ___ 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] Swap 8 bit palettes
Thanks I will check it out. The images we are talking of are not anti-alias. Elia - Original Message - From: Zeh Fernando [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Sunday, February 17, 2008 10:10 PM Subject: Re: [Flashcoders] Swap 8 bit palettes You can do a lot of color transformations with the color matrix. If you want to swap the PALLETE, oldschool-style, one color at a time, you just use the paletteMap method of the BitmapData class. It's only really useful if you don't have antialias on your image or else it becomes a monumental task to do anything. Zeh Elia Morling wrote: Ok m8. My artist has 8-bit tile graphics. We want to swap the colors in those tile graphics by changing the palette. It's a simple operation really, I just wonder if Flash supports it. Cheers Elia - Original Message - From: Juan Pablo Califano [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Sunday, February 17, 2008 7:31 PM Subject: Re: [Flashcoders] Swap 8 bit palettes Perhaps if you describe your problem / what you're trying to do with a little more detail... 2008/2/17, Elia Morling [EMAIL PROTECTED]: I guess not? Is it possible to swap 8 bit palettes directly in Flash? ___ 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 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] Swap 8 bit palettes
Has anyone by any chance made a function to dump an 8 bit palette to the arrays the paletteMap function is asking for? :) I guess the alternative is to create an image that holds the palette as pixels in rows, and then use getpixel to pull one rgb at a time to populate the arrays. Elia - Original Message - From: Elia Morling [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Sunday, February 17, 2008 10:41 PM Subject: Re: [Flashcoders] Swap 8 bit palettes Thanks I will check it out. The images we are talking of are not anti-alias. Elia - Original Message - From: Zeh Fernando [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Sunday, February 17, 2008 10:10 PM Subject: Re: [Flashcoders] Swap 8 bit palettes You can do a lot of color transformations with the color matrix. If you want to swap the PALLETE, oldschool-style, one color at a time, you just use the paletteMap method of the BitmapData class. It's only really useful if you don't have antialias on your image or else it becomes a monumental task to do anything. Zeh Elia Morling wrote: Ok m8. My artist has 8-bit tile graphics. We want to swap the colors in those tile graphics by changing the palette. It's a simple operation really, I just wonder if Flash supports it. Cheers Elia - Original Message - From: Juan Pablo Califano [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Sunday, February 17, 2008 7:31 PM Subject: Re: [Flashcoders] Swap 8 bit palettes Perhaps if you describe your problem / what you're trying to do with a little more detail... 2008/2/17, Elia Morling [EMAIL PROTECTED]: I guess not? Is it possible to swap 8 bit palettes directly in Flash? ___ 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 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] Swap 8 bit palettes
Hi, Is it possible to switch 8 bit palettes directly in Flash? Thanks Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Framerate performance
Does the bit-rate used in images affect flash frame rate? For examples are 8-bit images faster or will Flash auto-convert them to 16-bit when rendering to the screen. Thanks Elia Morling ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Framerate performance
Yes, they are faster or yes Flash auto-converts them to 16-bit? :) Elia - Original Message - From: Steven Sacks [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, February 14, 2008 9:52 PM Subject: Re: [Flashcoders] Framerate performance Yes. Elia Morling wrote: Does the bit-rate used in images affect flash frame rate? For examples are 8-bit images faster or will Flash auto-convert them to 16-bit when rendering to the screen. Thanks Elia Morling ___ 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] Framerate performance
Thankyou this was the reply I wanted. Elia - Original Message - From: Kerry Thompson [EMAIL PROTECTED] To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Friday, February 15, 2008 12:11 AM Subject: RE: [Flashcoders] Framerate performance Steven Sacks wrote: Common sense dictates that a 32 bit pixel takes more rendering computation than a 16 bit pixel or an 8 bit pixel. The 32-bit pixel includes an 8-bit alpha channel, and that in itself takes more rendering time. Your graphics card actually has more impact on rendering time than the color depth. All modern graphics cards do the rendering in hardware, of course, though that wasn't always the case. I did some benchmarking while I was working at Disney, and we found that 24-bit graphics actually rendered faster than 16-bit. The underlying reason is simple--with 24 bits, each byte represents a color (red, green, or blue), and it's easy for the firmware on the graphics card to work with a straightforward 3 bytes. 16-bit graphics are another story. You still have to represent red, green, and blue. Basic math tells you that each color gets 5 bits--but what do you do with the other bit? A 1-bit alpha channel? Ignore it? Do 6-5-5, or 5-6-5? Different manufacturers, and different systems, treat it differently. Down on the hardware level, the 16-bit graphic presents other challenges. You have to take the 16-bit word and peel off the relevant bits, and pop them into the byte-size registers. If you're familiar with Assembly language, you know that involves a lot of ROR, SHL, and the like. It happens in hardware (actually firmware), so it's pretty fast, but the 24-bit graphics are still easier to handle. As far as 8-bit graphics, they are really just 24-bit graphics with a limited range of colors (the palette). Instead of representing an actual color, each byte is an index into a palette, so there's an additional step there that must be performed during rendering. It's not so simple after all. Cordially, Kerry Thompson ___ 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] Minimize Tearing
Are there any tricks for minimizing tearing? Like always run at 60hz? Is there any way to control vsynch? Thanks, Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Minimize Tearing
Will keeping the number of displayobjects down and using a buffer image help any? Thanks Elia - Original Message - From: Jason Van Cleave [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, February 15, 2008 6:21 AM Subject: Re: [Flashcoders] Minimize Tearing _quality=BEST may help you at some costs http://livedocs.adobe.com/flash/8/main/2509.html On Thu, Feb 14, 2008 at 10:06 PM, Elia Morling [EMAIL PROTECTED] wrote: Are there any tricks for minimizing tearing? Like always run at 60hz? Is there any way to control vsynch? Thanks, Elia ___ 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] AS2 Encryption to ASP
Has anyone succeeded with this and can point in the right direction? Elia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders