I forgot to mention that when I pressed the debug button, a dialogue box showed with a "This file is not inside a project, many Flex builder features will be disabled" message.
Thank you. --- In [email protected], "ahmad_eldardiry" <[EMAIL PROTECTED]> wrote: > > I'm a flex beginner, and I'm making a flex component (.swc) and I want > to sell it. While I was testing it within an AIR application on Flex > Builder 3, an error ocurred, so I thought I can use the debugger (It > works well on Flex compiler). > > When I did try to debug the application, the debugger actualy > decompressed the output swf and opened one of the classes contained > inside my .swc to point to the line having the error!!! > > So, now I can see my source code (not to mention the variables and > objects listing inside the variables tab) inside the so thought > 'protected' .swc, without any external decompiler, but within the Flex > builder 3 itself! > > When I googled about it, I found only this similar note: > > http://clintm.esria.com/2007/05/11/linking-source-code-to-a-swc-in-flexbuilder/ > > If I was to sell this .swc, anybody can see my source code that way, > so is there any solution for this issue? Has anybody faced something > similar? Or is it even a known fact? > > How can someone protect his flex components from flex builder debugger? > > Thank you. >

