Devin Asay wrote:
On Jan 17, 2008, at 12:37 PM, Randall Lee Reetz wrote:
Wow, i gave the supercard syntax, lots more verbose, (better question: how do you delete a line of script?).

How about (not tested):

get the script of btn "myBtn"
delete line 4 of it
set the script of btn "myBtn" to it

I think you might run up against the 10-line script limitation if you were doing this in a standalone app. Anybody know for sure?

Any script longer than 10 lines cannot be put into an object at runtime.

Randall, why do you need to edit the script at runtime? I'll bet there's a more efficient solution we may be able to come up with for you.

--
 Richard Gaskin
 Managing Editor, revJournal
 _______________________________________________________
 Rev tips, tutorials and more: http://www.revJournal.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to