Page 1 of 1

revWeb Question

Posted: Sat Aug 08, 2009 5:08 am
by shadowslash
How do I make my revLet load a new web page?

Here's my scenario:
I made some fancy interface and compiled it as a revLet. My revLet is embedded into index.html. I added a button control and opened up the script editor for that new button control. I typed on mouseUp then I pressed the Return button. I stare blankly at space as I don't know what script I should use to navigate to another HTML web page in my server. I want that button control to navigate to done.html when clicked but I don't know what code to use for it.

Posted: Sat Aug 08, 2009 1:35 pm
by Klaus
Hi shadowslash,

a VERY good question, indeed :D

Did you try:
...
revgourl "http..."
...
?

Sounds logical to me but who knows...? ;)

Posted: Sun Aug 09, 2009 6:09 am
by shadowslash
Klaus wrote:Hi shadowslash,

a VERY good question, indeed :D

Did you try:
...
revgourl "http..."
...
?

Sounds logical to me but who knows...? ;)
As logical as it seems, it still won't do the job. Image How I hope that it's NOT an unimplemented feature to revWeb because that's gonna break my heart! Image

Posted: Sun Aug 09, 2009 8:11 am
by Janschenkel
AFAIK, there will be nodirect interaction between revlet and containing web page in the first iteration of the revWeb browser plug-in - but it's being looked at for a future release.

Jan Schenkel.

Posted: Mon Aug 10, 2009 11:56 am
by shadowslash
Janschenkel wrote:AFAIK, there will be nodirect interaction between revlet and containing web page in the first iteration of the revWeb browser plug-in - but it's being looked at for a future release.

Jan Schenkel.
Thank you for the information and awww that's too bad because I was thinking of remaking my website and instead of having flash, I'm gonna use revLets.

Posted: Tue Aug 11, 2009 10:03 am
by Klaus
AFAIK, there will be nodirect interaction between revlet and containing web page in the first iteration of the revWeb browser plug-in...
That would be ridiculous not to say absurd if this BASIC and essential feature will not go into the plugin!

Web content that cannot even change the page it is on?
C'mon Rev, tell us that's not true!

Posted: Tue Aug 11, 2009 1:26 pm
by Janschenkel
I wonder if this capability was present in Flash 1.0 or got added a few versions later? Let's be honest here, the revWeb browser plugin is in its first incarnation, and I'd rather see them solve the 'native windows' and 'modal dialog' limitations than embark on a mission to allow interaction with the containing page.
Give them some time, and I'm sure it will come to fruition.

Jan Schenkel.

Posted: Tue Aug 11, 2009 1:35 pm
by Klaus
I am giving Rev time since the year 2000, my dear Jan! ;)

But I think that at least navigating to another page (not more and not less!) should make it into version 1!

But what the egg is "FLUSH" or whatever you were talking about?
:D

Posted: Tue Aug 11, 2009 10:12 pm
by paul_gr
Keep in mind this is an alpha release and things will improve.
I'm sure that RunRev's main concern at the moment is getting the plugin stable enough for a beta release.
Then they can start adding more features that will make it more competitive with Flash and Shockwave.

Paul

revWeb Question

Posted: Wed Aug 12, 2009 2:20 am
by capellan
Klaus wrote: But I think that at least navigating to another page (not more and not less!) should make it into version 1!
Actually a similar topic was discussed a while ago in the
Runrev mail user list under the subject: Revlet goURL
posted by Jacqueline Landman Gay on Monday Aug 10

http://mail.runrev.com/pipermail/use-re ... 27034.html

Reading this post in the forum left me a strange sense of
Deja-vu. Where i have seen the answer to this question?
Of course... in the mail list.

This is the proof that someone in Runrev should think in a way
to unify the messages in forums and mail list. In this way,
everything that you post in the forum is published in the
mail list and viceversa. Actually, i would like to download
and read offline all post from these forums, but i do not see
this option anywhere.

The answers posted to this topic were:

This works fine for me in a revlet:
revgourl "http://www.apple.com"
though it does open in a different tab in Firefox. Tested on XP.
(Richard Miller)

The docs say revGoUrl is deprecated:
The revGoURL command is deprecated and should not be used
in new code.
To open a url from within a stack, use the launch url command instead.
(Phil Davis)

It does work, as long as you don't have the NoScript Firefox
extension installed. NoScript apparently thinks it's a
cross-scripting attempt and blocks it. When it isn't installed,
revGoURL works.
The down side is that both methods open in a new tab.
I'd rather it acted like a regular link.

Come to think of it, it's a browser preference that determines
how the browser will respond when getting a request from
another application.
The default headers that Rev sends identify it as an external app.

Is there a header I can use that will make the browser think
it's an internal link instead?
(Jacqueline Landman Gay)

I was going to mention browser preferences as well, but also there
is the HTML target attribute: _self, _blank, _parent, _top.
If you're using an anchor form of linking, then you might try
"_self" or "_top":
<a href="http//www.runrev.html" target="_self">RunRev</a>
(Scott Rossi)