<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - How to create a non-accessible script?</title>
    <link>https://forums.adobe.com/community/director?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Sat, 18 Oct 2014 17:16:55 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-10-18T17:16:55Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: How to create a non-accessible script?</title>
      <link>https://forums.adobe.com/message/6843114?tstart=0#6843114</link>
      <description>&lt;!-- [DocumentBodyStart:6f939b73-6028-4650-abcd-012c1eee185f] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Milky_au, as always, you're more than precious, you're indispensable!&lt;/p&gt;&lt;p&gt;I confess, I'm not even sure if I want to distribute these frameworks, or make them pay and how much (the order of magnitude is a few dollars, not more).&lt;/p&gt;&lt;p&gt;I have developed what I think is be a pair of beautiful software objects, partly based on Director code, and in part http server side, and I was wondering if it was the case of share them, although I do not know how ...&lt;/p&gt;&lt;p&gt;Thanks for the tip, I do experiments and update you!&lt;/p&gt;&lt;p&gt;Thanks !!!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Alex.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:6f939b73-6028-4650-abcd-012c1eee185f] --&gt;&lt;img src='/beacon?t=1415930729951' /&gt;</description>
      <pubDate>Sat, 18 Oct 2014 17:16:55 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6843114?tstart=0#6843114</guid>
      <dc:date>2014-10-18T17:16:55Z</dc:date>
      <clearspace:dateToText>3 weeks 5 days ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: How to create a non-accessible script?</title>
      <link>https://forums.adobe.com/message/6842769?tstart=0#6842769</link>
      <description>&lt;!-- [DocumentBodyStart:521b6c96-6627-4d88-82f5-7c142ca11641] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;hi shylock - I hope all is well in your part of the world.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;I&amp;#8217;m not fully following this discussion &lt;span aria-label="Confused" class="emoticon-inline emoticon_confused" style="height:16px;width:16px;"&gt;&lt;/span&gt; , but thought this might be of some help&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;&lt;em&gt;I don&amp;#8217;t know of any way to hide just part of a dir file / script - (without hiding it all)&lt;/em&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;but&amp;hellip;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 12px; font-family: Helvetica;"&gt;Over the years I&amp;#8217;ve bought a few dcr games from other developers who didn&amp;#8217;t want to sell me their source code.&amp;nbsp; (&lt;/span&gt;&lt;em style=": ; font-size: 12px; font-family: Helvetica;"&gt;cheeper cost to buy them - but impossible to upgrade without paying for their help)&lt;/em&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;With a bit of effort I was able to embedded their dcr programs right inside my own program.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;The idea would be to make a program that contains just the functions you wish to achieve &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;You&amp;#8217;ll have to write it in such a way, that you&amp;#8217;re able to pass it the variables it requires to execute the function / procedures that you have made.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;Also when it&amp;#8217;s finished doing what ever you want it to do, that it&amp;#8217;s able to return to the other developer what ever variables you want to give them back.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;You save this program as a .drc&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;Next you have the other developer import this drc file into their own director program.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;You&amp;#8217;ll need to give them all the instructions on what special variables they will need to feed your dcr program, and tell them what they are going to be given back.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;Is this the sort of thing you a talking about? - or did I just miss the mark again &lt;span aria-label="Sad" class="emoticon-inline emoticon_sad" style="height:16px;width:16px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;regards&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;milky&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:521b6c96-6627-4d88-82f5-7c142ca11641] --&gt;</description>
      <pubDate>Sat, 18 Oct 2014 14:41:08 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6842769?tstart=0#6842769</guid>
      <dc:date>2014-10-18T14:41:08Z</dc:date>
      <clearspace:dateToText>3 weeks 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: How to create a non-accessible script?</title>
      <link>https://forums.adobe.com/message/6842409?tstart=0#6842409</link>
      <description>&lt;!-- [DocumentBodyStart:0587ce50-cab8-4a21-b86f-77950cb38352] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;OK, let me get this straight.&lt;/p&gt;&lt;p&gt;I developed an application with Director and, doing it, I created two very powerful frameworks and I decided to sell them so otterrai developers can build their apps to without re-invent the wheel.&lt;/p&gt;&lt;p&gt;So I have to mask the code and it will be useful to mask internal variables too.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:0587ce50-cab8-4a21-b86f-77950cb38352] --&gt;</description>
      <pubDate>Sat, 18 Oct 2014 09:36:24 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6842409?tstart=0#6842409</guid>
      <dc:date>2014-10-18T09:36:24Z</dc:date>
      <clearspace:dateToText>3 weeks 6 days ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: How to create a non-accessible script?</title>
      <link>https://forums.adobe.com/message/6842097?tstart=0#6842097</link>
      <description>&lt;!-- [DocumentBodyStart:eee99f7e-d2ab-45d6-b777-7ba6df67c902] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Why are you trying to "hide" a script or its variables?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:eee99f7e-d2ab-45d6-b777-7ba6df67c902] --&gt;</description>
      <pubDate>Sat, 18 Oct 2014 02:44:08 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6842097?tstart=0#6842097</guid>
      <dc:date>2014-10-18T02:44:08Z</dc:date>
      <clearspace:dateToText>3 weeks 6 days ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: How to create a non-accessible script?</title>
      <link>https://forums.adobe.com/message/6841528?tstart=0#6841528</link>
      <description>&lt;!-- [DocumentBodyStart:6b8da3e4-5b68-493d-9e08-a4eb44fd7da5] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Global variables have to be defined as such - otherwise they will be local variables.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:6b8da3e4-5b68-493d-9e08-a4eb44fd7da5] --&gt;</description>
      <pubDate>Fri, 17 Oct 2014 22:31:19 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6841528?tstart=0#6841528</guid>
      <dc:date>2014-10-17T22:31:19Z</dc:date>
      <clearspace:dateToText>3 weeks 6 days ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>How to create a non-accessible script?</title>
      <link>https://forums.adobe.com/message/6840442?tstart=0#6840442</link>
      <description>&lt;!-- [DocumentBodyStart:180865aa-d218-44d0-b3d5-d5ea20fd149c] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have to develop a script member that contains some procedures and functions.&lt;/p&gt;&lt;p&gt;Is there a way to produce some "hidden" script?&lt;/p&gt;&lt;p&gt;I think the first solution is to put this script in an external cast and protect it (AKA make it CXT).&lt;/p&gt;&lt;p&gt;But...&lt;/p&gt;&lt;p&gt;Is there a way to hide all variables so they cannot be seen as globals?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:180865aa-d218-44d0-b3d5-d5ea20fd149c] --&gt;</description>
      <pubDate>Fri, 17 Oct 2014 16:44:08 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6840442?tstart=0#6840442</guid>
      <dc:date>2014-10-17T16:44:08Z</dc:date>
      <clearspace:dateToText>3 weeks 6 days ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

