Mark Smith wrote:

on mouseUp
    put the tempname into tFile
    create invisible stack "thenewstack"
    save stack "thenewstack" as tFile -- save to temp file
    delete stack "thenewstack" -- clear from memory
set the storedStack of this stack to url ("binfile:" & tFile) -- store in cp
    delete file tFile -- delete temp file
end mouseUp

Nicely done.

If you'd like to see this in the engine:
<http://quality.runrev.com/qacenter/show_bug.cgi?id=577>

The engine currently supports the opposite behavior (using a variable as a stack), so this would seem a good compliment.

--
 Richard Gaskin
 Fourth World
 Revolution training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: 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