I'm still a complete newbie with livecode. Well, I want to create a card with a button that makes the revBrowser load a web page into a rectangle. Then I'd like to make a second button to close the revBrowser again und delete the cache.
I got the first button to work:
Code: Select all
on mouseUp
put "http:/..." into myUrl
put the windowID of this stack into myID
put revBrowserOpen(myID,"") into gBrowserID
revBrowserSet gBrowserId, "rect", rect of graphic "browser"
revBrowserSet gBrowserID,"url",myUrl
revBrowserSet gBrowserID,"visible",true
end mouseUp
Thanks,
Patrick