Page 1 of 1

How to store a single button in a rev file

Posted: Tue Oct 06, 2009 4:05 pm
by ale870
Hello,

I'm creating a program which uses external plugins. These plugins are created as "rev" files.
Now I need to load those files at runtime and use them.
My problem is I need to store only Revolution code (events/functions/messages), or small items like a button, and I don't want to create a new stack. Is there any way to store a single button (or only code) in a rev file (I need to load it when the program is running)?

Thank you!

Posted: Tue Oct 06, 2009 4:31 pm
by Mark
Dear ale870,

It is not completely clear to me what you want, but you can copy a button from one stack to another:

copy btn 1 of stack x to stack y

Best,

Mark

Posted: Tue Oct 06, 2009 5:15 pm
by ale870
Thank you, that could be a good solution.

Thank you!

Posted: Wed Oct 07, 2009 3:45 pm
by Philhold
From what you have said I would search for "start using" in the dictionary. That lets you start using code and scripts from external library stacks in your main stack.

Of course I don't know how to do anything other than look in the dictionary.

Cheers

Phil