PDA

View Full Version : Hiding AS3 code in SWF



srajakaruna
June 26th, 2009, 03:15 AM
I created set of classes which generates a 3D Graph. its in as files and I have to had it ofer to someone else.

How can i include all the classes and compile it with the swf, so no one can see the source code.

please help ..

JonnyR
June 26th, 2009, 05:05 AM
What you are looking for is a SWC Library. Here's a link on how to create one using the mxmlc compiler which is part of the Flex Framework: http://www.adobe.com/devnet/flex/quickstart/deploying_components/

Jonny.

srajakaruna
June 26th, 2009, 06:12 AM
What you are looking for is a SWC Library. Here's a link on how to create one using the mxmlc compiler which is part of the Flex Framework: http://www.adobe.com/devnet/flex/quickstart/deploying_components/

Jonny.

Thanks a lot .. I want to use the graph as a component in flex.

Same time I want the stand alone swf file, which I can communicate with using Javascript. For the moment I want the stand alone file.

Please help ...