playing the player (was Re: Rev player)
Wouter
wouter.abraham at pi.be
Tue Jul 27 12:48:22 EDT 2004
For those who like to toy.
And want to test the versatility of the player and admire its
secureMode.
The recipe:
In RR produce a stack with 1 field and 1 button
Set the script of the button to:
on mouseUp
get fld 1
if it is not "" then do it
end mouseUp
Set the stack's name to anything but "test" and save it.
Put the player on its own in a separate folder/directory outside the RR
folder/directory together with the newly created stack.
Start the stack with the player and enter/paste the following complete
block of text in the field:
create invisible stack "test"
set the defaultstack to "test"
create button "save"
show stack "test"
put "on mouseup" & cr & "ask file" && quote& "where" & quote&& "with"
&& quote & "test.rev"& quote&cr&"if it is not empty then save this
stack as it" & cr& "end mouseup" into tText
set the script of control 1 of cd 1 of stack "test" to tText
Watch the mail text wrap
Push the button and have a look in the directory it saved.
This is only tested on Mac OS X.
And I like it the way it is :-)
Greetings,
WA
More information about the use-livecode
mailing list