-
1. Re: How to create a non-accessible script?
bmohnsen Oct 17, 2014 3:31 PM (in response to Shylock74)Global variables have to be defined as such - otherwise they will be local variables.
-
2. Re: How to create a non-accessible script?
SeanWilson Oct 17, 2014 7:44 PM (in response to Shylock74)Why are you trying to "hide" a script or its variables?
-
3. Re: How to create a non-accessible script?
Shylock74 Oct 18, 2014 2:36 AM (in response to SeanWilson)OK, let me get this straight.
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.
So I have to mask the code and it will be useful to mask internal variables too.
-
4. Re: How to create a non-accessible script?
Milky_au Oct 18, 2014 7:41 AM (in response to Shylock74)hi shylock - I hope all is well in your part of the world.
I’m not fully following this discussion , but thought this might be of some help
I don’t know of any way to hide just part of a dir file / script - (without hiding it all)
but…
Over the years I’ve bought a few dcr games from other developers who didn’t want to sell me their source code. (cheeper cost to buy them - but impossible to upgrade without paying for their help)
With a bit of effort I was able to embedded their dcr programs right inside my own program.
The idea would be to make a program that contains just the functions you wish to achieve
You’ll have to write it in such a way, that you’re able to pass it the variables it requires to execute the function / procedures that you have made.
Also when it’s finished doing what ever you want it to do, that it’s able to return to the other developer what ever variables you want to give them back.
You save this program as a .drc
Next you have the other developer import this drc file into their own director program.
You’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.
Is this the sort of thing you a talking about? - or did I just miss the mark again
regards
milky
-
5. Re: How to create a non-accessible script?
Shylock74 Oct 18, 2014 10:16 AM (in response to Milky_au)Milky_au, as always, you're more than precious, you're indispensable!
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).
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 ...
Thanks for the tip, I do experiments and update you!
Thanks !!!
Alex.


