Revmobile Internet Support
Mike Brown
mike at cyber-ny.com
Sun Mar 21 10:55:41 EDT 2010
Hi Colin,
Unfortunately the revBrowser external commands cannot be used for
rendering HTML in the Revmobile pre-alpha. The only for mat example
provided in the documentation is using the "put url" format as in this
example script: "put url (“http://www.google.com”) into tGooglePage"
but I can't find any info on what you do to display a web page using
the page source captured in the tGooglePage container.
- Mike
Mike Brown
Cyber-NY Interactive
212-475-2721 Ext. 306
www.cyber-ny.com
mike at cyber-ny.com
Follow Us On Twitter
http://www.twitter.com/cyberny
On Mar 21, 2010, at 10:39 AM, Colin Holgate wrote:
>
> On Mar 21, 2010, at 8:36 AM, Mike Brown wrote:
>
>> Does anyone know the method for displaying the web page retrieved
>> from the example "put url (“http://www.google.com”) into
>> tGooglePage"?
>
>
> I suppose you would say:
>
> revBrowserSet id, "htmltext",tGooglePage
>
> where id would be the id of the revBrowser instance. Still wouldn't
> work on a phone.
>
> Here's a script that would close all existing revBrowsers, get the
> Google page source, and then set it to a new instance:
>
> on mouseUp
> put revBrowserInstances() into tInstances
> repeat for each item tInstance in tInstances
> revBrowserClose tInstance
> end repeat
>
> put url ("http://www.google.com/") into tGooglePage
> put revBrowserOpen(the windowId of this stack, "") into tBrowserId
> revBrowserSet tBrowserId,"rect",the rect of button "placeholder"
> revBrowserSet tBrowserId,"htmltext",tGooglePage
> end mouseUp
>
>
> Usually I think you would open the initial page in the first
> revBrowserSet line. In the above example, button "placeholder" is
> set to have an outer glow, which means that the web page seems to
> have that outer glow too.
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list