Display an HTML file in an Air application

Hello

I made an HTML file that displays the last tweet of a given user and I was wondering, is it possible to make this HTML file appear and return inside the app

Thanks in advance

See if the following will do what you want:

http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/Flash/HTML/HTMLLoader.h tml

Tags: Adobe Animate

Similar Questions

  • Display the HTML file in the Page of the OFA

    Hi all
    I have a requirement in which I need to display the HTML files in different regions of a tableLayout.

    I created tableLayout region in my page, and in the region of tableLayout I created 2 rowLayouts

    Now, I want to display the first HTML file in rowLayout1 and the second HTML file in rowLayout2.

    So I created 2 iframes
    OAHTMLWebBean outRegion1 is createWebBean (OAHTMLWebBean) (pageContext, HTML_WEB_BEAN, null, "IFRAME");.

    OAHTMLWebBean outRegion2 is createWebBean (OAHTMLWebBean) (pageContext, HTML_WEB_BEAN, null, "IFRAME");.

    Then setting the src of HtmlWebBean property

    outRegion1.setHTMLAttributeValue ("src", filename1);
    outRegion2.setHTMLAttributeValue ("src", filename2);

    passing the full path regarding the file1 and file2 (e.g. c:\filename2.htm) respectively.

    When I try this approach by placing the files on my local system and cross the jDEV, I get the expected results.

    But when I try to put these files on the server and try to run applications they I didn't put out, I see just 2 images and its display "page is not found" in each frame.

    I'm sure that the files are present on the server and on the paths specified.

    Can you please help?

    Thank you

    Hello

    HTML files must be placed at the top of the OA_HTML (there will be some path on local machine that is going to be to replicate this, as D:\jdevhome\jdev\myhtml\OA_HTML) place your file here and in the sourcs don't provide only your full path file name, it will open.

    Let me know in case of any problem.

    Kind regards
    Out Sharma

  • Since yesterday (November 6) update, firefox fails to load all web sites (always displays PC html files). I tried restore, nothing helped.

    I installed the up-to-date recommendations yesterday (November 6) but is not a restart Firefox. Since the restart of the computer this morning, Firefox has failed to open a Web site from the web. The connection is ok, explore the sites of the loads normally, Firefox opens the tabs as usual, it's just that the content of the pages does not, and after a while, we get out messages like 'connection timed '. HTML files that I have stored on my own hard drive display normally in Firefox.
    I tried "restore Firefox", but it did not help.

    Hello, normally these problems are caused by a security/firewall software which does not recognize and therefore blocks the new versions of firefox: solve connection problems to websites after Firefox update

  • Display the HTML file by using content presenter

    Hello

    The default content presenter displays content from a single html file in a page as expected. But I tried to show all HTML files in a folder. He has not worked as planned.

    should what adf component I use to view the html file?

    For example, we use af:image in content presenter to display image from a folder files.

    I use jdev 11.1.7.0 with the last extension of webcenter.

    Thank you

    M Chambers

    Hello

    Try af:inlineFrame to display html content.

    Hope this works

  • How to display an HTML file

    Hello. Does it not appear what follows. HTM from a button on my form?

    /usr/IBM/WebSphere/AppServerCommunityEdition/repository/default/TTMSWeb/1222365662123/TTMSWeb-1222365662123.war/adds_reporters.htm

    Is there an integrated for this?

    Hello

    You already have a virtual mapping (as you already created in a Web server - Apache?) and be able to access the HTML using the URL. So, you just need to use the web.show_document integrated to call the html file.

    As,

    web.show_document('http://9.35.32.205:8080/TTMS/scanner_returns_report.htm');
    

    Arun-

  • Live View PHP error: Live View cannot display non html files

    I use DW CS5.5 on Windows 7 64 bit.

    I get this error when I try to view any PHP file:

    Live View mode cannot view the non-html, pdf, doc or ppt files. As you can see, I try to view a php file.

    The second error in the list relates have troubled Donostiarra dynamically related files. "an unknown error has occurred."

    I can't find anything on the internet on this subject. Help, please.

    2012-11-14_084516.jpg

    Here's an update:

    The problem was in the .htaccess file that I have uploaded to the server.

    I started above absolute zero. I have downloaded a new copy of Wordpress, supported my database online, active, work, reinstalled WAMP. Everything worked perfectly. Even got rid of the above errors that Dreamweaver gave me.

    When I placed the .htaccess file servers in the new copy of my local site folder, that's when things went haywire.

    Here is what says the .htaccess file:

    RewriteEngine on

    # Use unique default PHP5 php.ini

    AddHandler application/x-httpd-php5s .php

    # BEGIN WordPress

    RewriteEngine on

    RewriteBase /.

    RewriteRule ^ index\.php$-[L]

    RewriteCond %{REQUEST_FILENAME}! f

    RewriteCond %{REQUEST_FILENAME}! d

    RewriteRule. index.php [L]

    # END WordPress

    # BEGIN WordPress

    RewriteEngine on

    RewriteBase /.

    RewriteRule ^ index\.php$-[L]

    RewriteCond %{REQUEST_FILENAME}! f

    RewriteCond %{REQUEST_FILENAME}! d

    RewriteRule. index.php [L]

    # END WordPress

  • HTML player or any other way to read HTML files in the browser?

    On my old XP computer, I had a defect that could easily all HTML files to display as expected. On my laptop Windows 8.1 I do find no option for this. "Notepad" will allow me to display the html files? I saw online readers who are very well for text; But if images are included with the file of html file, it is very nice of them to appear on the page, which is linked to the images in the folder.

    I don't want to really go out and download the software for this purpose if Miss me something in my current system?

    Thank you

    Rosebud

    said jscher2000

    Are these some HTML files that you have saved on your computer?

    Firefox can display HTML files saved locally, but depending on how the pages were saved, some items may be missing. There are also some security restrictions that Firefox applies to files space in a different way than the pages on the web. Yet, it is worth a try.

    Normally, by double-clicking the file will launch it in your default browser. If there are problems with the display, could you describe it in more detail?

    The file is unzipped now... it's a folder art tutorial... and maybe I did the wrong thing by asking my Wordpad for opening the text file. Which is written in HTML. Whenever I click on it, all I get is the raw HTML on a wordpad document. Maybe I should try to download the tarball again? I have another one that is in PDF format, which is not a problem at all! It is with this text file not PDF that gives me headaches...

    [EDIT] Nevermind, I found it! Change of Wordpad is not bad. I right click on this file and of course it shows Firefox as the first option! I don't know how I missed it before. But when I chose that file opened fine in the browser.

    All is well now! Thank you! -rosebud

  • How to load the PDF (HTML Loader) with the reference of the file (dialog box) [AIR]?

    Hello.  I try to get my AIR application to load a PDF document from the dialog box using the file reference class.

    With the code that I have if I use an ordinary charger so I can get a PNG image to be loaded into a container and display on the screen.  But PDF requires HTML Loader that seems not to accept event.target.data because he expects a string.

    This is the error I got

    TypeError: Error #1034: Type coercion failed: cannot convert ["'FileReference object] in flash.net.URLRequest.

    at test_pdf_load_from_dialogfla_fla::MainTimeline/loadFile() [test_pdf_load_from_dialogfla_fl a.MainTimeline::frame1:61]

    Test_pdf_load_from_dialogfla.swf [UnloadSWF]

    Here is my code:

    import flash.net.URLRequest;

    import flash.display.MovieClip;

    import flash.html.HTMLLoader;

    import flash.net.FileReference;

    import flash.net.FileFilter;

    var file:FileReference=new FileReference();

    var container: MovieClip = new MovieClip();

    addChild (container);

    var i: Number = 1;

    the button is an object on the stage, will not be called via actionscript

    button.addEventListener (MouseEvent.CLICK, showDialog);

    var myFile:FileReference;

    var myFileLoader:HTMLLoader;

    function showDialog(e:MouseEvent):void {}

    myFile = new FileReference();

    var PDFFileType:FileFilter = new FileFilter ("PDF Documents (*.pdf) ',"*.pdf"");

    myFile.browse ([PDFFileType]);

    myFile.addEventListener (Event.SELECT, selectFile);

    }

    function selectFile(e:Event):void {}

    myFile.addEventListener (Event.COMPLETE, loadFile);

    myFile.load ();

    }

    myFileLoader = new HTMLLoader();

    function loadFile(e:Event):void {}

    myFileLoader.load ((e.target) m:System.NET.SocketAddress.ToString ());

    }

    (with the new selection of forum I also can't seem to put this topic in the location of the ActionScript of Flash Pro forum.)

    Success!

    I was thinking about this subject for several hours, when I thought that "maybe the statement in the function loadFile e.target may contain the"name"property.

    When I used a trace statement to test this, my thoughts have revealed that, to be precise.  The appeal of e.target.name fills indeed console output with the correct file name.

    To be sure that I did the following:

    myFileLoader.load (new URLRequest (String (e.target.name)));

    myFileLoader.width width = [[set to something other that the default value of 0 to show the PDF of the HTMLLoader content]]

    myFileLoader.height = [[ditto of the previous line, the default value is 0, which would make the invisible PDF content]].

    I'm so happy to have had this inspiration and also to the fact that the ActionScript documentation I found has good examples to follow.

  • I use firefox 13.0.1 I open a file, it displays the HTML instead of a web page

    I am writing the HTML in a text file and then saved as a html file. But when I open this file in firefox, it displays the HTML each time I try to open the file.i have tried internet Explorer also but I am facing the same problem. I use windows 7 64-bit OS. I can't find a solution to this?

    Yes, I can reproduce that. If you find and replace the < followed by one space with only < and then reload the page, Firefox he sees now in HTML format. Apparently, these spaces makes a huge difference.

  • Notepad cannot display html files

    whenever I try to open my html file it will display the code and not the real situation can anybdy help me

    The game, 13 May 2010 18:19:15 + 0100, wrote:
     
    > I have windows 7 and I can't find the tools you can direct me to it
     
    I guess you're talking about, that you do not find the Tools menu.
    Press and release the alt key - and the menu will be displayed and you can
    Select Tools.
     
    You can do if the menu is still displayed - in tools | Folder
    options... | Discovers the check him always show the menu option.
     
    --
    Using opera's revolutionary e-mail client: http://www.opera.com/mail/
     
  • deployment of static html files (for the documentation of the application)

    I'm developing with forms 11g for windows and linux deployment.

    I want to deploy my application help documentation, I've already migrated from hlp to html / css.

    Now, I would like to know where I can deploy only the html files to invoke with web.showdocument (for example).

    What relative path of the url in the web.showdocument is built in?

    I can the jar as I did with the icons?

    OK, thanks anyway,

    The problem is with my setup of weblogic, because it is a windows developer position.

    I will send instructions to the sysadmin and try to do it in linux deployment server.

    I also tried with WLExcludePathOrMimeType, as read in the manual of this

    Note:

    When including those defined by the user aliasMatch with the prefix /forms/ in forms.conf , add the directive WLExcludePathOrMimeType . For example, under Linux, when you set the aliasMatch to /forms/usericons in forms.conf , the directive WLExcludePathOrMimeType is defined as follows:

    AliasMatch /forms/usericons/(..*) "/home/userx/myicons/$1" WLExcludePathOrMimeType /forms/usericons/
     
    
  • With the help of the socket object to retrieve data from web application without the html files

    I tried to use the socket object to retrieve data from a web application (I just control script version vs version online). So all I want to do is access http://hyle.io/version that returns me the current version of the application (such as a simple string) in order to compare it in my script and then notifies the user accordingly. I have just a few problems using the socket object. I used this code from the Adobe Javascript Tools Guide:


    reply = "";
    conn = new Socket;
    // access Adobe’s home page
    if (conn.open ("www.adobe.com:80")) {
    // send a HTTP GET request
    conn.write ("GET /index.html HTTP/1.0\n\n");
    // and read the server’s reply
    reply = conn.read(999999);
    conn.close();
    }
    

    ... that I then adapted as:

    reply = "";
    conn = new Socket;
    if (conn.open ("hyle.io:80")) {
      conn.write ("GET /version HTTP/1.0\n\n");
      reply = conn.read(999999); 
      conn.close();
    }
    

    And here is what I get:

    HTTP/1.1 400 Bad Request
    Content-Length: 225
    Content-Type: text/html
    Server: Pagodabox-Routing-Mesh
    
    

    Bad Request

    Your browser sent a request that this server could not understand.

    Résultat : true

    I don't know a lot about HTTP requests, but I wondered if it was related to the fact that I am not pointing to a specific HTML file and the type of request was wrong or if I should rather check if there is something wrong with my host?

    The site/app is PHP and is hosted on PagodaBox if it helps.

    Thanks in advance!

    Hi Sebastien Lavoie,

    It should work

    var HTTPFile = function (url, port) {}

    If (arguments.length == 1) {}

    URL = arguments [0];

    port = 80;

    };

    This.url = url;

    This.port = port;

    this.httpPrefix = this.url.match(/http:\/\//);

    This.Domain = this.httpPrefix is nothing? This.URL.Split("/") [0] + ":" + this.port: this .url .split ("/") [2] +":" + this.port;

    This.Call = ' GET ' + (this.httpPrefix == null? ' "). " http://" (+ this.url: this.url) + "HTTP/1.0\r\nHost: ' + (this.httpPrefix is nothing? "This.URL.Split("/ ") [0]: this .url .split (" / ") [2]) +" \r\nConnection: close\r\n\r\n ";

    This.Reply = new String();

    This.Conn = new Socket();

    This.Conn.Encoding = "binary";

    HTTPFile.prototype.getFile = {function (f)}

    var typeMatch = this.url.match(/(\.) (\w{3,4}\b)/g);

    If (this.conn.open (this.domain, "binary")) {}

    This.Conn.Write (this.) Call);

    This.Reply = this.conn.read (9999999999);

    This.Conn.Close ();

    } else {}

    This.Reply = "";

    }

    (Return this.reply.substr(this.reply.indexOf("\r\n\r\n")+4);

    };

    }

    Hyle var = new HTTPFile ("http://hyle.io/version");

    Alert (hyle. GetFile());

    And by the way, I like the idea of 'http://hyle.io'. Can you give me your email address, I want to learn more about this Web site.

    Please send me an email to [email protected]

  • F4V file will not be displayed in the html file

    Hello world!

    I've never worked with before movie files and I have problems to read an f4v file from html file.

    Inside of flash, when I do a ctrl + enter, the video shows and plays very well.

    When you build the .html file to play everything, only my presentation and skin film will show up but the movie does not load.

    Even if I do a file > publish the video does not appear or play. Everything I have on the timeline works very well (and even once, even the videoskin does).

    Now, I have to change anything within the parameters of publication or should I try something different with the html?

    Thanks again for the help!

    PS: Here is the part inside the html code where to insert the swf file:

    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="740" height="500" id="main" align="middle">
         <param name="movie" value="main.swf" />
         <param name="quality" value="high" />
         <param name="bgcolor" value="#ffffff" />
         <param name="play" value="true" />
         <param name="loop" value="true" />
         <param name="wmode" value="transparent" />
         <param name="scale" value="showall" />
         <param name="menu" value="true" />
         <param name="devicefont" value="false" />
         <param name="salign" value="" />
         <param name="allowScriptAccess" value="sameDomain" />
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="src/main.swf" width="740" height="500">
         <param name="movie" value="main.swf" />
         <param name="quality" value="high" />
         <param name="bgcolor" value="#ffffff" />
         <param name="play" value="true" />
         <param name="loop" value="true" />
         <param name="wmode" value="transparent" />
         <param name="scale" value="showall" />
         <param name="menu" value="true" />
         <param name="devicefont" value="false" />
         <param name="salign" value="" />
         <param name="allowScriptAccess" value="sameDomain" />
    <!--<![endif]-->
         <a href="http://www.adobe.com/go/getflash">
              <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
         </a>
    <!--[if !IE]>-->
    </object>
    

    Well, since you don't have many options because of the team, stick with what you have. World will survive. Your RAM cannot :-)

    In the future, you should look into other video modes can be played in Flash.

  • Impossible to display the names of HTML files in the HTML Files (topics) folder in the project manager

    RH8, I want to see the names of the HTML files instead of topic titles in the project manager.  I chose the button toggle project manager and the name of the folder is passed to "HTML Files (topics)" of "Project Files".  However, the folder of files HTML (topics) lists topics with subject titles, rather than the names of HTM files.  I was expecting to see the topic list in the Manager component of project with HTM file names.

    What should I do to display topics by names of HTM files in project manager?  The rocker is not working properly, or I do not understand what the toggle button?

    This occurs for each project, we have - all of which have been improved from RoboHelp X 5 to RH8.

    Thanks for your help.

    Susan

    You switch between the new view and the classic view. Try the view menu.

    See www.grainge.org for creating tips and RoboHelp

  • The HTML files are not displayed IE icon...

    Please, I recently bought a new PC... DW on it, but none of my HTML files display correctly... they work... but they do not appear with the logo of typical IE... what to do?

    Thanks in advance...

    "Sw Martin" wrote in message
    News:el331c$CA1$1@forums. Macromedia.com...
    > the only:
    >
    > Open your Windows Explorer, and then go to any place in your drive hard and you
    > see the right lane? Well well... what they appear? they display their
    > name.
    > properties and also, they are very recognizable because of the logo...
    > or
    > icon they... for example, a PDF document has a white and red icon...
    > a
    > html contains an 'IE' blue icon... Well well... that's what I want to say that does not work
    > appear... Please help...
    >

    Method 1:
    Open IE, select the Tools menu and then Options Internet.
    Now select the tab programs.
    At the bottom of the tab programs, you will see a box labeled ' IE should
    check to see if it is the default browser "."
    Make sure the box is checked.
    You then have to restart IE to restore your PC's default browser.

    Method 2:
    You can also go to the control panel and open Folder Options.
    Select the tab "File Types".
    In the list of "registered file Types", you should find HTML and HTM
    types of files associated with IE.
    Otherwise (and you have already tried method 1) and select HTML in the list.
    then click the button change.
    In the next window that appears you should be able to find IE listed and
    Select, also check the box ' Alwyas use the selected program to open this
    file type '
    Repeat this process for the HTM files too if necessary.

    Martin.

Maybe you are looking for