External HTML in SWF

Hi All,
I know it is possible to create a box in Flex Builder / Flash builder in which you can run an external website.
I used several tools, but all of them make use of the html file which is generated by Flash Builder.
However I need to have an SWF in which an external website (preferably using an iFrame) is loaded.
So I am looking for a way to place external html content (including javascript tags) into an SWF file.
Can anyone help me with a tool or a way to create an SWF file with external HTML / Java running IN it
Best

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.

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.

  • 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.

  • Load external html into a Layer?

    I've created a framework of a kids' site using CSS layers to
    overlap a Skyline image overtop of another 2 layers, one showing a
    BG image of the sky, the other showing the scrolling content.
    For another section of the site, I would like to load an
    external HTML into the layer behind the skyline. Specifically, I
    would like a Blog to load and scroll behind the skyline. Anyone
    know if it is possible to load an external html page into a layer,
    and if so, how does one go about it?
    The (unfinished) page in question can be seen here:
    http://www.marcsobservatory.com/mo_mainpage6.html
    The stylesheet can be found here:
    http://www.marcsobservatory.com/mo_styles2.css
    Thanks!

    is the first frame of your loaded swf's empty?  if yes, then no problem using _levels.
    if not, do you mind a momentary flash when your next swf loads and before its _alpha is assigned 0 and then faded-in?  if you don't mind, then no problem using _levels.
    if you do mind that momentary flash, then using _levels will be more complex than using empty target movieclips.  is there some good reason to use _levels instead of target movieclips?

  • Opening External Files using SWF

    Hi all,
    Is there a way to open external files using swf? I have gone
    through a number of forums and all seem to tell me to open with a
    window projector. my problem is, I need to embed the swf into a
    html to be viewed online... So I need to do it in swf format.
    Any ideas?

    When you say 'external files' I presume you mean local files
    on the users hard drive.
    If that's true:
    When you say 'open' what do you mean? It could mean to open
    and load a text file/xml file or another swf in flash or it could
    mean to launch a document in its native application e.g. .doc
    launches word etc. Flash projectors can do the first thing, but not
    the second thing. And you need to know the path of the file because
    I don't believe you can retreive it from the filereference browsing
    support. 3rd party tools are necessary to really add a lot of file
    system support to projector applications, and then you can do both
    things mentioned here, without the limitations of flash player
    security which is only slightly reduced with regular projector
    files.
    The filereference class in flash is primarily for
    upload/download support. You can't 'open' local files with it.
    There is, to my current knowledge, no way you can do that with
    flash in a html page directly.
    The only way I can think that it might be possible (untested)
    would be to have a separate local MS Office (or any other host for
    a flash activex that gives filesystem access) with some embedded
    flash in a document that (perhaps) could talk via local connection
    with your html page content and which would in turn talk to its VBA
    host to request local file system activity. I don't know if this
    would work because I've not used localconnection, but perhaps it
    might.

  • Load External HTML/Website in Flash (urgent)

    Hi all,
    I've found the codes to load the external html and text in
    flash at run time, but I when I tested most of the html sites
    cannot show very well at all such as videos and swf advanced tag in
    html.So is there any way to load external website into flash at
    runtime?
    Thanks

    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.

  • Problems in Frame 1 with External HTML files

    I am having an issue with loading two external html files within
    my website.
    I have a case study page with a
    dynamic textbox and a scrollbar attached to it.
    I have another page "news" that
    contains another dynamic textbox with a scrollbar attached to
    it.
    I created two .txt files with my
    information for both pages.
    Working in Flash CS3 with
    Actionscript 2.0 at 30fps.
    My problem is this:
    I can go to my news page and the .txt file will be visible,
    but once I go to the other case study page and reveal that .txt
    file, I go back to the news page and the .txt file is no longer
    visible. Only a nonworking scrollbar is displayed with no text and
    nothing else.
    I believe I need to do something different in Frame 1's
    Actioncode. I just don't know how to get the other .txt file to
    work along with the other. I will be adding more .txt files in
    dynamic textboxes later and I really need to resolve this issue so
    I am able to add them with no problems. Appreciate anyone's help
    immediately if you can.
    Here is the temporary website link so you can test and see my
    problem. Don't forget to go the the news button first in the
    navbar. Then go to the case studies link and find the MAX Cat
    Packaging and view that .txt file, then go back and you will see my
    problem.
    Click Here to
    Visit Site

    well I made a separate layer and placed the symbol with the
    text box and scrollbar attached. That was the only thing on the
    layer as you mentioned to separate it. I don't see how I could
    separate the scrollbar from it as it is needed. So I made some
    keframes, selected the textbox inside the symbol and added the code
    you told me to add:
    caseStudyMC._visible=false; In the other frames where I
    needed it visible I added the code:
    caseStudyMC._visible=true;
    When I tested the movie. I didn't see the text but I saw the
    scroll bar still and the text still failled to appear after viewing
    the MC Case study text.
    Is the code supposed to go in Frame1? What do I do with the
    scroll bar image? I tried to Make it all disappear using the alpha
    at 0, but it still didn't work.
    thanks for all your help. hope you understand what I
    wrote.

  • In Flash CS4 a generated html with swf file won't play swf

    Using Flash CS4 and having the Flash plug-in ver 10 on my PC, the generated html file will not play the swf in the browser.
    I noticed that the active-x javascript is now included in the header as well as the javascript portion in the body tag.
    But it won't play.  I get the typical blank window in IE with the "X" in the upper left corner.
    I don't have this problem with Flash CS3.
    Any ideas what may be going on?
    Thank you.

    I am having similar difficulty; mostly I am confused.
    I want to open a flash video file in a frame within a webpage.
    I have generated a Flash CS4 html and swf file. When loaded they play, but they play on a separate, full size web page, not in the frame where I want it.
    I then generated FLV and F4V files but that doesn't work.
    It appears that I need to insert the object and embed tags "for Flash Movies" in the html file.
    Once I do that, do I go back to only putting in the html and swf files and create a link to the html file to bring up the video in the target frame?
    What are the FLV files for?

  • Controlling External Captivate 5 swf using flash AS3

    Hi,
    I have created a basic Flash AS3 interface in which I am trying to control the navigation (next slide / previous slide) of an external captivate 5 swf which I have added using a loader, but i cant work out the solution.
    My code is currently as follows:
    import flash.net.URLRequest;
    var Xpos: Number = 96
    var Ypos: Number = 94
    var my_loader:Loader = new Loader();
    my_loader.load(new URLRequest("content.swf"));
    my_loader.x = Xpos;
    my_loader.y = Ypos;
    addChild(my_loader);
    stop();
    nextBut.addEventListener(MouseEvent.MOUSE_UP,gotonextframe);
    function gotonextframe(event:MouseEvent){
    MovieClip(my_loader.content).rdcmndNextSlide();
    Any help would be much appreciated,
    thanks
    Dez

    Thats perfect, thanks for the reply, much appreciated!
    I guess you have tried:
    rdcmndRewindAndStop
    Set to 1 to rewind and stop the project.

  • External html page into flash

    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.

  • External HTML files

    Can anyone help me with a problem I'm having?
    I am currently trying to automate generation of the locale specific public API document for the product we make.
    Part of this documentation requires that some of the generic classes we use are also shown in the this document. Obviously im using javadoc and ant to automate this.
    The problem I am having is that I am required to include the pregenerated javadoc pages for the generic classes (4 packages) and bind this together with the javadoc files I am generating for the locale specific parts of the product (1 package).
    Is this something that javadoc can handle, or does all output have to be generated rather than simply included? If javadoc can handle this, what part of the documentation have I missed?
    Thanks in advance, any help appreciated. Jason.

    It depends on how well integrated you want those four packages.
    Probably what will suffice is to use the -link (or -linkoffline) option
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html#link
    If your package depends on the other four packages, this option will
    add links in your package pointing to those packages, but that's
    all it will do. The Javadoc tool won't add the four package names
    to the upper left pane, or add their class names to the "All Classes"
    list in the lower left pane, or add the program element names to
    the alphabetic index, or inherit doc comments from them.
    (There's no option that will do all these things from external HTML
    class pages)
    You could fairly easily manually add the package and class names
    to the left panes.
    If your package doesn't depend on the other packages, then there's
    no point in using -link.

  • External HTML editor for RH

    Hi all,
    I would be interested in hearing of any external HTML editors
    that RH users like using with RH instead of its internal editor.
    Somebody please suggest a free (or almost free) HTML editor
    that features lots of features, eg, hiliting, split Design/HTML
    windows, clean XHTML code and checker.
    Wasn't there once some browser called Mozila? Or was it
    called Netscape?
    Tia
    - avi

    >> RH MVPS? Adobe Community Expert is the term. There's
    no such term as RH MVPS.
    Right, now they are called Adobe Community Experts.
    >> As soon as you open the topic in RH's editor it is
    going to rewrite the code.
    You know what, I don't care if RH rewrites the code, just as
    long as RH leaves the result appearance looking nice, i.e., it
    doesn't smash up the appearance .
    >> Go back to your original post here. What is it that
    is missing in the RH editor? It will not be the cleaner code. RH7
    cleaned up a lot and I expect more from RH8. But until then RH will
    rewrite the code so I cannot see the benefit.
    It's been a while now before I gave up in disgust, and went
    to writing in Word. But I had expected to be able to work in WSYWYG
    like in MEW or Word, with powerful style management. I expected
    there to be an easy access Styles side pane. There is not. The
    numbered lists were not reliable; they restarted when they were not
    supposed to. Both numbered and bulleted lists get confused about
    their indentation. It's lucky that I once taught myself MEW with
    HTML/CSS , so after a short refresher I could go into the HTML view
    and clean up all the code and make the lists the way they are
    supposed to be. But since I am at a new client and only working
    there at 100 hr/month, I had to show some real content output, and
    fast, and so I had no more time for RH trial and error. So I went
    back to Word (-- 2007, which I also did not know, but since I am
    (supposed to be) a Word 2003 guru I knew what I was looking for and
    that all the features are supposed to exist -- ) and wrote my first
    drafts with that.
    Actually, I am so shocked at RH's bad WSYWGY editor, if I had
    any choice I would recommend to my client to look for something
    better (if such a thing exists -- dare I mention Flare...), but
    since RH is an important TW skill, I want to add it to my skills
    list. So if my client has recommended using RH, this is a good
    opportunity to learn RH on their account.
    I have a feeling that I am eventually going to make a full
    circle, i.e., either I won't find cheap/free HTML editor taht does
    want I want, or even if I do, I will eventually run into the
    problems you mention, and I will end up writing in raw HTML, just
    as you say.
    Actually, on 2nd thoughts, I also have to be honest with my
    client, and I don't think they would be happy to hear that a guy
    who takes over from me at some point, or is hired in addition to
    me, would have to write HTML/CSS. They would want to hear that
    there is some type of WSYWYG solution for RH, either internal or
    external.
    Tnx,
    - avi

  • Include external html trough code in a custom tag

    Hi,
    I have a custom tag. The component class (say MyComponentUI) for my custom component extends UIComponentBase.
    I want to include an external html page, which url is formed using the content of an attribute of my tag (for example, the "value" attribute), through the MyComponentUI code.
    Can anyone give me some help ?
    Pietro

    That's actually the same result as you get with a normal include - The method I suggested is a dynamic include similar to the <jsp:include> tag, not the <%@ include %> tag.
    When you use a dynamic include, the included page is compiled and 'invoked' as serarately, and the result is what gets included, not the actual source. To get the behaviour you want would require an include directive (the <%@ include %> tag) which I don't think has an equivalence you can use inside a custom tag.
    What you can do is pass attributes from the tag class like this:
    pageContext.setAttribute(<name>, <object>, pageContext.REQUEST_SCOPE);
    and then remove them after the include using pageContext.removeAttribute.
    I'm not certain, but this implies that if you declare your variables with a <jsp:usebean> tag with request scope, instead of normal Java variable declarations, you should be able to use them in the page included by the custom tag.
    *** in the jsp ***
    <jsp:useBean id="myVar" scope="request" class="java.lang.String" />
    <% myVar = "Something"; %>
    // Now call the tag which uses the pageContext.include() mehtod.
    *** end ***
    *** in the include ***
    <jsp:useBean id="myVar" scope="request" class="java.lang.String" />
    <%= myVar + " something else" %>
    *** end ***
    Let me know if it works.

  • 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, thanks

    he! 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 ...

  • 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
    Thanks

    Thanks... 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

Maybe you are looking for