[Flashcoders] bitMapData - function optimization

2008-02-28 Thread Karim Beyrouti
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() {

[Flashcoders] Accessing SVN from JSFL

2008-02-28 Thread Jake Prime
Hi List I am hoping to create a custom Flash panel which can interface with Subversion. Is it possible to execute external apps, or command line access from JSFL? Thanks Jake ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Accessing SVN from JSFL

2008-02-28 Thread Dennis - I Sioux
@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 2908 (20080228) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list

[Flashcoders] descriptor file probs stops AIR publish

2008-02-28 Thread dave matthews
Trying to use AIR, Wasted six hours yesterday. Tried tutorials, samples form the web, reinstalling updated player, uninstalling AIR upgrades, reinstalling AIR upgrades... no luck finding - fixing - creating a 'descriptor file' for any sort of tutorial or tutorials from the web...

R: [Flashcoders] Accessing SVN from JSFL

2008-02-28 Thread Fabio Prada
Hi 1 define a external service (executor) listening socket (es. twisted python) 2 manage the external service from flash using XML Socket -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Jake Prime Inviato: giovedì 28 febbraio 2008 12.04 A: Flash

Re: [Flashcoders] bitMapData - function optimization

2008-02-28 Thread EECOLOR
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

Re: [Flashcoders] bitMapData - function optimization

2008-02-28 Thread Elia Morling
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:

[Flashcoders] External Interface + Google Analytics + IE7

2008-02-28 Thread Glen Pike
Hi, I have encountered a problem with an ExternalInterface.call causing IE7 to throw a JS error. I get an error message saying: Line: 1 Char 14: Error: Expected ';' Code: 0; URL: http://www.dijitl.co.uk/beta/ So, my guessing is that somewhere the ExternalInterface

[Flashcoders] getting SoundChannel out of a NetStream

2008-02-28 Thread Meinte van't Kruis
Hi Folks, At the moment we have a project which loads in Mp3 from 2 different sources; one is progressive - We use the Sound class to Load this one the other is streaming - We use the NetStream class to load this one We have a visual effect which listens to the volume and then reacts to it,

RE: [Flashcoders] bitMapData - function optimization

2008-02-28 Thread Karim Beyrouti
:-) thanks... however the problem with the invert function is that it does not preserve the transparency. Which is what I am trying to invert ( I should have been more specific ) . So I am trying to make all transparent pixels non-transparent. And vice-versa... will keep looking at

Re: [Flashcoders] bitMapData - function optimization

2008-02-28 Thread Steven Sacks
maybe... private function createInvertedMask() { var r:int = mask_bitmap.width; var c:int = mask_bitmap.height; var v:int; while (--r -(-1)) { while (--c -(-1)) { v = mask_bitmap.getPixel32(r, c); mask_bitmap.setPixel32(r, c, v ?

[Flashcoders] 3 questions

2008-02-28 Thread Stuart (FunkDaWeb)
1 - In AS3 is it possible to add a class to a dynamically loaded image? (like right clicking and viewing properties if it was in the library) If so can anyone point me to an example of how to go about it? 2 - Is there a simple way to convert text to a shape (break apart) using actionscript?

[Flashcoders] forceSmoothing in a MovieClipLoader

2008-02-28 Thread Matt S.
I'm finding that when I use forceSmoothing in a moviecliploader, it doesnt seem to work. It turns it OFF just fine, but never turns it back on afterwards. Just fyi, I already tried placing the forceSmoothing = true in the onLoadInit and onLoadComplete's, just to see if they'd work from there, but

[Flashcoders] Border color change of UILoader

2008-02-28 Thread anuj sharma
Hi Does anyone now how to change the border color of the UILoader component when user clicks on that. I have put UILoader in the sprite container and i need to implement that if user selects that UILoader its border color will be changed (to red may be). Please help me out . Here's the my dummy

Re: [Flashcoders] 3 questions

2008-02-28 Thread Jason Van Cleave
1. check out describetype http://livedocs.adobe.com/flex/201/langref/flash/utils/package.html#describeType() 3. check for a width and height property of the bitmapdata to be greater than 0 before using it Heres a function i use but i also check if its too big to display private function

Re: [Flashcoders] forceSmoothing in a MovieClipLoader

2008-02-28 Thread Jason Van Cleave
Did the forceSmoothing ever make it in? I remember hearing about it but never saw anything official This workaround works well for static content http://www.kaourantin.net/2005/12/dynamically-loading-bitmaps-with.html On Thu, Feb 28, 2008 at 4:41 PM, Matt S. [EMAIL PROTECTED] wrote: I'm

Re: [Flashcoders] 3 questions

2008-02-28 Thread Jason Van Cleave
doh - thats the function that I use before I try and draw an object - same point tho On Fri, Feb 29, 2008 at 1:05 AM, Jason Van Cleave [EMAIL PROTECTED] wrote: 1. check out describetype