Load an external html page
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 Mangiante
Marco,
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
Similar Messages
-
How may load an external (html) file in swf? Anyone!!!!!
hi all,
How may load an external html file in swf? such as google.com in a movieclip.
anyone may help me.........????????With Flash, you can't do this.
Just with FlashBuilder and Air (something like HTMLLoader , not sure now)
I mean loading in a movieclip..
Of course you can open a page to display in a browser. -
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 ... -
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 -
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 -
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?
-
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 ... -
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 -
Loading Image from HTML page into Flash component
Ok, after doing much research on the internet, I am pretty
sure you have to be a Flash and Actionscripting Jedi in order to
solve this issue. Here we go:
I have created an HTML page using PHP and MySql that displays
image thumbnails. When a user chooses and clicks on one of the
thumbnails, I want the larger image to be loaded into my swf. It is
a jigsaw puzzle component I picked up here: www.crifano.com. Here
is the puzzle on my page with an image manually inserted using
Flash 8 (Note: This is only working in Internet Explorer right now,
for whatever reason):
http://premieretans.com/puzzle/jigsaw.php.
I want the image on this page to be chosen by the user from a
number of images that are populated on a regular PHP/HTML page from
a MySql database. What is the best way to go about this?
Thanks so much for the help on this matter. I know I am not
the only person who has run into this dilemma, so I hope your
knowledge will save others with a similar problem the hours I have
spent on this issue myself. Thank you!
Cheers-
CharlesHi,
There's no direct support for this. But you could implement
drag and drop the way you normally would in javascript. Except
here, on mouseUp over a div encapsulating the object or embed tag
(the flash object), you'll need to make a call into actionscript
from javascript indicating that a drag and drop happened.
For more info, see
how
to drag and drop using javascript and
actionscript
and javascript communication -
Flash buttons have to re-load on all html pages
Hi everyone, I have continued to find a resolution and have had no luck. My website has 5 flash buttons (tabs) to take you to a new html page. Each time you go to a page the button seems to have to re-load creating a "white blinking" inside the cell. The background of the fla file is black and I have the table cell background set to black hoping that would help but to no avail. I thought once a swf is loaded it won't have to re-load. The swf files are the same on all pages. Any help would be appreciated.
The website is
http://www.kineticcreativeco.com/if you embed the same swf in each of your html pages, the swf will load from the user's cache (if they have one). but you'll still see a momentary flash of white.
you can prevent that flash by using iframes and loading your swf into one of the frames and having the swf buttons direct changes to another iframe(s). -
Loading Application into HTML Page
I'm trying to load an application (JFrame) into a HTML page.
Is it possible to be done with JSP? ...or servlet?
Thank you for helping me : )
Yours Sincerely,
RainbowEnergiesNot really a application but you can include an applet at anytime.
Just do it like you do it with a normal HTML page there is no differents.
It is also possible to let the applet communicate with one of your servlets via HTTP.
Alex
Maybe you are looking for
-
How to get the Change node in Production Server!!!!!
Hi Guys, Kindly let me know how to get the Change node in Production Server for the Transaction Code Pe03 for generating the Acknowledgement No for the year 2008 . Plz provide me the steps how to get the Change Node for Acknowledgement No so tat i ca
-
Differences between adobe premiere elements 8 and adobe premiere pro cs4
I'm planning to download either adobe premiere elements 8 or adobe premiere pro cs4, but first would like to know their differences in regards to features that best suits me.
-
How to install a hp deskjet all-in-one j510 series printer
I am trying to install a new printer for my laptop. The CD that came with the printer only works with Windows. I need to know how I can install it.
-
I have pavilion dv6 sound not working hp provide new update idt stil not working
HI . i have pavilion dv6 sound not working hp provide new update idt stil not working
-
I need help with this error message.
The error message I can't figure out is: ORA-06550: line 1, column 127: PL/SQL: ORA-01741: illegal zero-length identifier ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored Error Unable to process row of table PROJ-MAN-TABLE-02. This happens