I've tried...
create stack "new browser"
put revbrowseropen(the windowID of stack "new browser","http://www.runrev.com
") into theIdentifier
and
put the windowid of this stack into tWinID
put "http://www.runrev.com" into tAddress
put revBrowserOpen(tWinID,tAddress) into tBrowserID
and even Ken's script from 11/13/07
on preOpenCard
-- We pass the windowId of the stack to revBrowser
-- so that it can determine which window to place the
-- browser object into
put the windowid of this stack into tWinID
-- Open the browser, using the windowId and initial url
put revBrowserOpen (the windowid of this stack,"http://www.google.com
") into sBrowserId
set the uBrowserID of this stack to sBrowserID
-- Set some basic properties for the browser
--revBrowserSet sBrowserId,"rect",rect of img "browserimage"
revBrowserSet sBrowserId,"showborder","true"
put "" into fld "Location"
enable group "WebBar"
end preOpenCard
I ALWAYS get an Function Execution error on the "revBrowserOpen" line
(see below)
stack "Untitled 1": execution error at line 8 (Function: error in
function handler) near "revBrowserOpen", char 7
What am I doing wrong.
Thanks, Bill
Macbook Pro, Leopard
Can't get revBrowserOpen to work
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 2
- Joined: Sat Apr 07, 2007 3:17 pm
Can't get revBrowserOpen to work
Bill Ziegler
I am also having problems with using the 'browser". A very simple script I made some time ago to display a local pdf file does not work now. The Browser Sample in the tutorials is not working- it will not display data for me although it looks as though the data has downloaded. I downloaded a fresh copy of the tutorial and the problem persisted.
Any suggestions? Is something "broken" in rev 3.0 (Mac)?
Any suggestions? Is something "broken" in rev 3.0 (Mac)?
The revOpenBrowser function will work for me when I am in the development environment (Revolution Studio in my case) or when I save the stack as a standalone .exe. It will not work, however, if I try to launch the stack using the Revolution Player. I'm using Vista SP1, Rev Studio 3.0 and have the latest Rev Player. I've downloaded supposedly working examples from RevOnline (look for Browser Test.rev under user "Mark") and get the same result. I suspect this is a bug?
I also have problems with the browser - OS 10.4.11 PPC. It's unusable for me even in the IDE.
Please post your problems in the quality control center. And don't forget to vote for your bug.
I'll vote for it too.
http://quality.runrev.com
Please post your problems in the quality control center. And don't forget to vote for your bug.
I'll vote for it too.
http://quality.runrev.com