Rollover hyperlink in external HTML page
Gentlefolk;
I have an HTML page that contains a list of URLs.
This page is imported into a dynamic text field in Flash.
This part works fine.
I would like to create a mouseOver (or other process) whereby
when the cursor is moved over the links, the link text changes in
some way - different color, bold, something to indicate to the user
that the link is active.
I have tried to place various font control tags within the
HTML document, and these work when viewed in the browser, but they
fail when viewed through the Flash player.
Is there a way I can get a link in an imported file housed in
a dyanamic text field to display links in a way that is similar to
a straight HTML link displayed in a browser?
Thank you!
Don
[email protected]
ping.
Just getting this back to the top of the queue.
Similar Messages
-
how to load external html page into flash? (AS3)
You cannot load an html page into Flash, though you can try to load the html code that it contains into a textfield. Flash supports only a very limited number of html tags, so it is highly likely you won't get what you are after if you are reading an html file that hasn't been edited for Flash specifically. Just look up the TextField.htmlText property in the AS3 help documents and it lists the html tags that are supported.
For AS3 you need to look into the URLLoader class as far as loadng an extrernal text file goes. -
How to go to anchor html link from external html page in JEditorPane
Hi people,
I've been trying to jump to an anchor link from an external html page in JEditorPane, and I cannot get it working, I'm sure it can be done somehow...
The HTML page has a link like:
Hello
and this is loaded into JEditorPane ok.
The HyperlinkListener implementation:
public void hyperlinkUpdate( HyperlinkEvent e )
try {
if ( e.getEventType() == HyperlinkEvent.EventType.ACTIVATED )
editorPane_.setPage( getClass().getResource(
MyDialog.this.getBaseURL().concat( e.getURL().getFile().substring(
e.getURL().getFile().lastIndexOf( "/" ) + 1 ) ) ) );
if ( e.getURL().getRef() != null )
editorPane_.scrollToReference( e.getURL().getRef() );
else return;
} catch ( IOException ioe ) { ioe.printStackTrace(); }
This code loads the new html file ok, but it does not scroll to the anchor. The MyDialog.this.getBaseURL() just returns something like com.name.package, I construct the URL by using this base url and the name of the html file to open.
ANy help, thankshe! I'm not alone in my desperation. Take a look at my problem:
I've got a JEditorPane (not editable) inside a JFrame. The JEditorPane is loaded with the HTML text and all the links to anchors are working properly when I click on them.
BUT
If I try to go to an anchor from outside this JFrame I can see how the JEditorPane scrolls to the right anchor and suddenly it scrolls back to the place where the caret was located!!!
The "funny thing" is that my code is working in jdk1.3.1 but this is happening in jdk1.4.2. Is it a bug?!?!?!
How could I figure out what position I have to set the caret to for every anchor in order to get the scroll working correctly???
My implementation of hyperlinkUpdate (working properly, here isn't the problem):
jEditorPane.addHyperlinkListener(new HyperlinkListener() {
public void hyperlinkUpdate(HyperlinkEvent e) {
if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
MiEditorPane src = (MiEditorPane)e.getSource();
src.goToAnchor(e.getDescription().substring(1));
});My object jEditorPane is an instance of this class:
class MiEditorPane extends JEditorPane {
MiEditorPane() {
super();
public void goToAnchor(String anchor) {
super.scrollToReference(anchor);
}And this is the method I call from outside the JFrame containing the JEditorPane:
public void goToAnchor(String anchor) {
jEditorPane.goToAnchor(anchor);
}Any help greatly appreciated ... -
Embed external HTML page in Flash
Does anybody know how to embed an external HTML page into Flash? I am envisioning something like an iFrame, but can't really figure how this would work. I've attempted using a scrollpane, but it didn't work at all.
Any suggestions?you can display it in a popup window or in the same window or in an iframe in the same html page that displays your swf.
When you say this, do you mean I can create an iFrame on the same html page that displays my swf, and have it be dynamically populated by what the user clicks on the swf?
yes, exactly.
use getULR() (as2) or navigateToURL() (as3) with the 1st parameter being the html page you want to display and the 2nd parameter being the iframe "name" property. -
Display external html page in (Collapsible Panel widget)
i everybody
is there a way to display external html page in (Collapsible Panel widget)
All the example a seen is with raw text in it
is the panel can display different object instead of simple text
At least a internal designed html page
ThanksThanks... surely a easy one for you
But its a great tool and its exatly what i want
even my js button works trough it
Thanks again -
Hello,
I tried to load an external html page inside the ide but not found the method. If I right click on my project name present in the Project Navigator I can choose the 'New' voice that leave me the possibilities to only load template pages. Is there a method to load an external page in the project? Say for example that I like the sun structure page and want to load it in the project so I can see the html and also the type of structure: what I can do to do this?
However, I play a little bit with the ide and I like it. I am no an expert programmer. I start to program with vb5 but after I stop this passion; now I see that sun created this ide and I can see that it remember me the vb5 mode to create an interfance, and it is simple also for a seminovice.
Regards,
Marco MangianteMarco,
Use File > Add Existing Item > Web Page (on the main menus) to add an existing web page to your project. It will allow you to specify either a local HTML file or a URL.
If for some reason you don't see this option, try downloading the latest version of the EA, posted on May 3.
-jeff -
Displaying an external html page.
Hello,
Does any know if its possible to display an external html page within a container or area inside a flash catalyst project ?
We have created a media gallery and would like to display it within an area of the finished Flash Catalyst project.
Thanks,
AntonioHi Laurence,
There are two ways to do this:
1. If you are developing an AIR application, you can use the HTML component to load a page inside AIR's HTML engine. Here's a post on how to do that: http://blog.everythingflex.com/2008/02/25/air-html-control/
2. If you are developing a browser application, you can overlay an HTML iframe on top of your Flash movie. You do this in HTML code. I've never actually done it, but here's a thread about it: http://codingforums.com/showthread.php?t=95109
-Adam -
DPS In-App Folio Browser, Close Using External HTML Page?
Is it possible to close the in-app Folio Web Browser from an external HTML page and return to the folio?
Or, does syntax exist for me to place a button in an HTML web page to close the browser, in addition to having the "Back" button at the top of the screen (which is the standard way of closing the browser)?
The javascript way of closing a window does not work with the Folio Browser:
<button type="button" onclick="window.open('', '_self', ''); window.close();">Discard</button>
-mattDoesn't look like there was a response to this question. Were you able to find a solution for this?
-
Close In-App Folio Browser From External HTML Page
Is it possible to close the in-app browser window/overlay from an external html page, accessed from the HTMLResources directory for example?
Doesn't look like there was a response to this question. Were you able to find a solution for this?
-
View external HTML page in a custom object container
Hi to All,
I have created a custom TAB in a standard transaction.
I want add a html page(external link) in custom container (like a browser).
On the forum I did't find anything, can you help me?
Best regards.
UmbertoResult:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fdf8ee2a-0301-0010-e598-9a1ad4189bdd -
Display external html page in a view
Hi,
following Problem,
I have a Viewcontainer with 2 columns ans one row. In the left cell I display a tree. OnSelect Event I'd like to display a html page in the right cell.
Example:
Searchengine
-> Google
-> Yahoo
-> ...
On Klick at google in the treeview I'd like to show http://www.google.de in tghe right cell - this means the tree should still display.
Is this possible - and has anyone an idea to do this?
thanks in advance
GregorHi
We strongly donot recommend usage of Iframe, because its support is depcrecated and will not be available for future versions.
For a short duration or for current version, use can Iframe only for static html links. Try using link to URl and display the htmls in external windows.
Check out this link
http://help.sap.com/saphelp_erp2005/helpdata/en/e9/7652a84fada444bd11ca73670ce7dc/frameset.htm
My advice is to change your functionality accordingly
If you have any specific requirements do let us know
Thanks
sathyanarayanan -
Hyperlink from an HTML page directly to an artikle in a pdf document ?
Hi,
we would like to set a direct link from a HTML page to a special article in a pdf document. For the moment we could open the pdf document only at its first page.
Thank you for your help :-)Hi,
it's me again.
Well, with the PDF open parameters I am now able to open a pdf document via HTML on a specific page number.
(http://example.org/doc.pdf#page=10)
However page numbers are changing so I want do define a special Article using the following command:
http://example.org/doc.pdf#nameddest=Article16
but the pdf opens always at the first page. Is there something to do in the pdf document with Article 16 first ?
Regards Krokah -
I have a button with the "save function". When I click it, I saves the data from the grid and goes to a self-made html page on the Hard drive. The problem that exist, he will not find the page. The url of the page example: "c:\test\test.html" works fine
Message was edited by:
user578440Hi,
I think someone that has access to a server needs to help out on this - I wouldn't be able to do that until next week.
On other http servers that I use, there's an htdocs folder where you can put files that the server can access. Otherwise, you could upload the file into your application and open it in a new window?
Andy -
How can i get external html page source code
Hello,
You can get the source code of a web page in a WDA application?
It would be a common web page yourself.
Does anyone know answer me?
Tks
WilleYou want to run an external web page within your Web Dynpro? If so the UI element iFrame is probably what you should use. Caution: The iFrame was deprecated in 7.0 and 7.01, although it will return to full support again in 7.02.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm -
HTML link from external html page to link to a frame in swf
Hi
I am trying to set up something to should be fairly basic to
do .. but I cannot get it to work.
Need a link from another website to link to a frame label or
number in my flash movie.
Something like this ..
<a href="mySwfPage.php?label=labelnamehere&">Click
here</a>
My guess it will not work because I have several stop
functions and a preloader in the 1st frame not allowing the href
link to jump to the frame name I want.
Here is the page I am trying to apply this to -
http://www.mloudesign.net/tampico/index.html
We need for an external link to link to the espanol label so
that would start first, otherwise the english version plays 1st.
In case this helps this is the preloader I am using in frame
#1 ..
onClipEvent (load) {
total = _root.getBytesTotal();
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int(loaded/total*100);
text = percent+"%";
gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndPlay(2);
Any help would be much appreciated.
Thanks!
~mlouhe! I'm not alone in my desperation. Take a look at my problem:
I've got a JEditorPane (not editable) inside a JFrame. The JEditorPane is loaded with the HTML text and all the links to anchors are working properly when I click on them.
BUT
If I try to go to an anchor from outside this JFrame I can see how the JEditorPane scrolls to the right anchor and suddenly it scrolls back to the place where the caret was located!!!
The "funny thing" is that my code is working in jdk1.3.1 but this is happening in jdk1.4.2. Is it a bug?!?!?!
How could I figure out what position I have to set the caret to for every anchor in order to get the scroll working correctly???
My implementation of hyperlinkUpdate (working properly, here isn't the problem):
jEditorPane.addHyperlinkListener(new HyperlinkListener() {
public void hyperlinkUpdate(HyperlinkEvent e) {
if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
MiEditorPane src = (MiEditorPane)e.getSource();
src.goToAnchor(e.getDescription().substring(1));
});My object jEditorPane is an instance of this class:
class MiEditorPane extends JEditorPane {
MiEditorPane() {
super();
public void goToAnchor(String anchor) {
super.scrollToReference(anchor);
}And this is the method I call from outside the JFrame containing the JEditorPane:
public void goToAnchor(String anchor) {
jEditorPane.goToAnchor(anchor);
}Any help greatly appreciated ...
Maybe you are looking for
-
adobe updater is crashing with adobe photoshop elements 6 and mac os version 10.9.4 (on a brand new install) . How to overcome this ?
-
Hello all, we're working with Oracle BPEL Process Manager 10.1.2 (JBoss 3.2.6) on Windows XP (jdk 1.4.2_03). I've successfully run many examples provided with this distribution (e.g LoanFlowPlus demo). However when we try to build a BPEL process with
-
Leopard 10.5.2 update
I did the 10.5.2 software update on my iBook G4 and when I restarted there just the 'blue screen of death'. Ran the Leopard install disk but first aid said there was nothing wrong. I reinstalled using the 'previous system' option and it was fine runn
-
While testing Firefox Aurora's new Camera API I found that I'm only receiving 320x240 png files. For our needs this would have to be a higher resolution image. Is this configurable? Or is this an issue with the device or something else? I'm using the
-
What Powerline adapters to buy ?
hi guys can i have some recommendations as to what powerline adapters to buy and use, as my ones that i have now from 3-4 years ago are restrictiong my download to 20meg and not the full 80meg, thanks for any information