Help with revBrowser issue
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Tue Jul 22 16:41:02 EDT 2008
What about http://www.google.com/search?q=Spiderman%22
Note the '%22' t the end.
Le 22 juil. 08 à 22:32, Thomas McGrath III a écrit :
> Dear listers,
>
> I have a simple revBrowser window that does not load under the
> following situation:
>
> This part works fine:
> put the windowid of this stack into tWinID
>
> local sBrowserId
> put revBrowserOpen(tWinID, "http://www.google.com")
> into sBrowserId
>
> revBrowserSet sBrowserId, "showborder","true"
> revBrowserSet sBrowserId, "rect",rect of img
> "BrowserOne" of grp "WebBrowser"
> put sBrowserId into gBrowserId
>
> Here is where I am having the problem:
>
> if gtheGroup is "Play" then
> put gMovieToPlay into tSearch
> put "http://www.google.com/search?q=" into tGoogle
> put tGoogle & tSearch into theAddressLookup
> revBrowserNavigate gBrowserId, theAddressLookup
> else
> revBrowserNavigate gBrowserId, theWebsiteAddress
> end if
>
> When I put "http://www.google.com/search?q=" & "Spiderman" into
> theAddressLookup I get "http://www.google.com/search?q=Spiderman"
> and it should launch in the browser. If I put -
> revBrowserNavigate gBrowserId, "http://www.google.com/search?
> q=Spiderman" - into the message box it works but if I build it on
> the fly using variables it will not launch.
>
> Any ideas on using variables to build an address to then Navigate?????
>
>
> Thanks for the help.
>
> Tom McGrath
Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------
More information about the use-livecode
mailing list