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.

Similar Messages

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

  • Embed html page into flash

    Hi all,
    i want to load HTML pages into my flash movie when i press a button. is that possible?
    Thanks
    thilsen

    No.  Flash has limited support for html and is not capable of displaying html web pages as content.

  • HTML-page into flash slideshow?

    Hi,
    I'm am trying to load a HTML-page into a flash slideshow. The slideshow is going to run locally on the computer and the HTML-page (or RSS-feed if that is easier) is recieved from the company´s web-page. I'm totaly new to flash, and I would be very grateful if anyone knew any way to do this. Is there any simple string I can use, like URLloader?
    Thanks in advance!
    Franz

    You can do this only with AIR  :
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/html/HTMLLoader.h tml

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

    Hi,
    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

  • Insert one html page into another html page

    Hi there,
    I wonder if sombody can help. I am trying to insert one short
    html page into another page. I could not find any option or feature
    in Dreamweaver that allow me to insert the page at all. The page I
    want to insert has the links and it is a short page, just like a
    banner. When I update the links on that page it will update all
    other pages in the website. I do not have to open many pages to
    update. I have been using FrontPage and I am now converting to
    Dreamweaver. Some codes from FrontPage does not work in
    Dreamweaver. I would very much appreciate if somebody can help with
    the codes.
    This is my website so that you can understand what I mean. At
    the top of the screen there are many links that are from one page I
    inserted into index.html. I use FrontPage. But, Dearmweaver does
    not work that way.
    Thank you. Kevin

    Be aware that IFrames carry all the disadvantages that frames
    do, for both
    you and your client's visitors.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "polarl light" <[email protected]> wrote in message
    news:g06ad0$2rm$[email protected]..
    >
    >> I wonder if sombody can help. I am trying to insert
    one short html page
    >> into
    >> another page. I could not find any option or feature
    in Dreamweaver that
    >> allow
    >> me to insert the page at all. The page I want to
    insert has the links
    >> and it
    >> is a short page, just like a banner. When I update
    the links on that
    >> page it
    >> will update all other pages in the website. I do not
    have to open many
    >> pages
    >> to update. I have been using FrontPage and I am now
    converting to
    >> Dreamweaver.
    >> Some codes from FrontPage does not work in
    Dreamweaver. I would very
    >> much
    >> appreciate if somebody can help with the codes.
    >
    > Depending on what you want to do you can use SSIs or an
    Iframe. SSIs are
    > good for things such as headers, menus and nav bars that
    you want to stay
    > the same across a range of pages. Iframes let you load
    an external HTML
    > file into a predefined area of your page so you can
    display different
    > content while staying on the same page.
    >

  • Can I display html pages in flash player

    Hi all,
    Can I display html pages in flash player, i mean swf. Plz
    help me if it can be done. Can I call html pages in flash (i mean
    in flash player no new window)
    Thanks

    hi,
    Actullay i want the site to be opened with in the flash
    player, just like iframe in dreamweaver calling the external site
    in the mail html page. Plz Help me accessing external site page
    with in flash player
    Thanks

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

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

    Hi 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

  • 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

  • Question on saving html page into excel

    hi all,
    i have one problem. Is there any ways that i can save a html page into excel??? that is to save the data displayed on the html page into excel spreadsheet.
    thanks for your advice.

    Even if you need to click a button to parse the page to a parser, you still need to transmit the page back to the server to process, unless you want the client to do it, in which case he/she will have to need a program.
    Given by the views floating around in this forum, the idea is that doing a re-query is as costly if not less costly than re-submitting the html page. By relegating to the back-end processing of data using the database, you can ensure the data is up-to-date and you can control the programs executing. That is, you are not worried about user submitting garbage html page for you to process.
    If you data size is not large, there is always the session memory to use but it's not really wise as your server's memory is much costlier than network bandwidth. It's the whole server becomes slow versus your DB connection slow.
    If you really need to use the re-submitting of your html page back to the server to process, you can always use hidden form values in html to post your data back. However, I can't remember whether there's a limit to the amount of data you can post. Think it's 1024K or something.

  • 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

  • Load html page into a table area

    I have an html page that I would like to add to a table area
    on my main page. How do I do this? Can anyone help?

    Investigate "server-side includes". But beware - you CANNOT
    put a
    stand-alone HTML page INTO a stand-alone HTML page. You have
    to make the
    incoming HTML into a fragment so that the final assembled
    page still
    validates.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "uptoppapi" <[email protected]> wrote in
    message
    news:g6n0du$jnm$[email protected]..
    >I have an html page that I would like to add to a table
    area on my main
    >page. How do I do this? Can anyone help?

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

    Doesn'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?

Maybe you are looking for

  • Can I have two itunes accounts on one laptop

    Can I have both my husbands and my account (2 seperate ids) on one laptop

  • Wireless for small office/home office (SOHO) users

    can you pls give me a design implementation of a user with a aironet 350 card associating with an AP 1200 far away from ,that i am not able to connect from my home. pls give me solutions as to how a home user would connect by using a wireless adapter

  • Swf published from Flash Catalyst not playing in Flash Player

    Hi All, I have 2 issues which I'm not sure may be related or not. - I've created a project in FC but when I publish it to .swf it does not open in Flash Player. It plays in Chrome but Flash Player 10 gives a blank screen. - I have FC 5.5 and I want t

  • Iphone 5S unable to connect to Itunes

    Like many others I updated my Itunes a few weeks ago to the newest version; my Iphone was also already updated to the newest version, and before I updated my Itunes it was able to connect and sync without a problem. Afterwards however I haven't been

  • DNS configuration on new Addtional DC 2003

    Hi My PDC is on Windows Server 2003 Std SP2 with DNS Active-Directory-Integrated-Zone. Setup successfully an Additional DC 2003 STD SP2 but with no DNS. What's the implication having no DNS? If I install DNS on the second Additional DC, should I conf