Load External URL in Container

I want to have a page with my menu that pulls external urls
and places it within some type of container on the same page. Is
this possible? Every tut or example on the web that I seem to find
can load urls either in a _blank or _top using the navigatetourl. I
want to keep everything on one page.

Flex doesn't load HTML pages. To do that, you'd have to use
something like the HTMLComponent at
http://drumbeatinsight.com/htmlcomponent

Similar Messages

  • "3+40 - 146: failed to load external url adobe.form.embed.min.js"

    I am trying to embed the form into a google website: sites.google.com/site/pjdsptostern, on The PTO Dues tab.It is giving me the error message: 3+40 - 146: failed to load external url adobe.form.embed.min.js. Please help

    For background, start by taking a look at http://forums.adobe.com/docs/DOC-1991.
    It looks to me like google sites has encoded the form embedding inline script.  But I don't see a script include of adobe.form.embed.min.js.  I suspect that tool that you used in google sites does not allow including an external script.
    Also, did you type the script in yourself or did you use the 'Embed' button on the 'Distribute' tab to copy / paste the embed script?  The 'formId' property in your web page is incorrect.  It should be 'mNonzBdS0Ua7ymHHAyBuKw' but appears as 'fmNonzBdS0Ua7ymHHAyBuKw' in your web page -- note the initial 'f' is incorrect.
    The embed script for your form should look like this:
    <script type="text/javascript" src="http://formscentral.acrobat.com/Clients/Current/FormsCentral/htmlClient/scripts/adobe.form .embed.min.js"></script>
    <script type="text/javascript">
    var fmNonzBdS0Ua7ymHHAyBuKw = new ADOBEFORMS.EmbedForm({formId:"mNonzBdS0Ua7ymHHAyBuKw", width:700, transparent:true});
    fmNonzBdS0Ua7ymHHAyBuKw.display();
    </script>
    This script is designed to work from a web page that supports both external and inline script.  Some web page frameworks do not support external script because the external script can violate the design principles of a particular framework.
    -DevRandy

  • Problem loading external urls [please..]

    hello guys,
    i am usin this code to run some file and make queries:
    ActionScript Code:
    var req:URLRequest = new URLRequest("http://site.com/z.php?id=" + user_id + "&mana=" + (Round - 1));
    var loader:URLLoader = new URLLoader();
    loader.load(req);
    when i am running the swf file fas ctrl + enter in the flash cs5  it works great!
    but, when i uploading this to my server its not working, or even when i run it from desktop still not working
    (not loading the url so my DB not updating)
    i dont understand why,
    please waiting for your help.

    round is just simple number,
    i am noobie at AS so id did simple game,
    when the user looses his score sends to my server,
    in flash when i am testing it usin ctrl + enter it works great,
    but if i run the swf file from the desktop or web so the game works but its not sending the score..
    here is the full code (little mess):
    stage.addEventListener(KeyboardEvent.KEY_DOWN, boatMove);
    stage.addEventListener(KeyboardEvent.KEY_DOWN, boatMove); 
    playAgain.addEventListener(MouseEvent.CLICK, playmeAgain); 
    var theScore:int = 0; 
    var Round:uint = 1; 
    score_txt.text = String(Round - 1); 
    loseScreen.visible = false; 
    theFinalScore.visible = false; 
    playAgain.visible = false; 
    copyrights.visible = false; 
    var user_id:uint = 0; 
    function loaderComplete(myEvent:Event)
        this.myParams=this.loaderInfo.parameters;
        this.myParamsLoaded=true;
        this.useParams();
    function useParams()
        userid_txt.text=String(this.myParams.userid);
        user_id = Number(this.myParams.userid);
    var myLoaderInfo=new Object();
    myLoaderInfo.myParamsLoaded=false;
    myLoaderInfo.loaderComplete=loaderComplete;
    myLoaderInfo.useParams=useParams; 
    this.loaderInfo.addEventListener(Event.COMPLETE, myLoaderInfo.loaderComplete);
    function playmeAgain(event:MouseEvent):void
    loseScreen.visible = false;
    theFinalScore.visible = false;
    playAgain.visible = false;
    copyrights.visible = false;
    Round = 1;
    theScore = 0;
    addEventListener(Event.ENTER_FRAME, trowEnemy);
            enemy.x = rand(0,stage.stageWidth - enemy.width);
            enemy.y = 0;
    function boatMove(event:KeyboardEvent):void
        if(event.keyCode == Keyboard.RIGHT){
                        boat.x += 10;
                        if(boat.x > stage.stageWidth - boat.width)
                            boat.x = stage.stageWidth - boat.width;
        if(event.keyCode == Keyboard.LEFT){
                        boat.x -= 10;
                        if(boat.x < 0)
                            boat.x = 0;
    addEventListener(Event.ENTER_FRAME, trowEnemy); 
    function trowEnemy(event:Event):void
    enemy.y += Round + 10;; 
        if(boat.hitTestObject(enemy)){
        // IF THE GAME ENDED
        loseScreen.visible = true;
        theFinalScore.text = String(Round - 1);
        theFinalScore.visible = true;
        playAgain.visible = true;
        copyrights.visible = true;
        removeEventListener(Event.ENTER_FRAME, trowEnemy);
        user_id = 71811;
    var req:URLRequest = new URLRequest("z.php?id=" + user_id + "&mana=" + (Round - 1));
    //var req:URLRequest = new URLRequest("http://izra.co.il/z.php");
    var loader:URLLoader = new URLLoader();
    loader.load(req);
        else
            if(enemy.y > stage.stageHeight){
            theScore += 1;
            enemy.x = rand(0,stage.stageWidth - enemy.width);
            enemy.y = 0;
            Round++;
    score_txt.text = String(Round - 1);
    theFinalScore.text = String(Round - 1);
    // RANDOM NUMBERS 
    function rand(min:uint, max:uint):uint
        var randomNumber:uint = Math.round(Math.random() * (max - min) + min);
        return randomNumber;

  • Loading external swf (no code)

    Hello
    i have a strange issue since update of my app for ios 8: my app is loading external swf (doesnt containing code, its just pdf converted to swf using swftools)
    while its working ok when debugging on device, these external swf don't show up since the app have been accepted on itunes. And i dont have any error message
    what i don't understand is why it's working good with the debug version and not the production version. they are supposed to be exactly the same, and i don't see why it would be a crossdomain or applicationdomain issue. Did somebody experienced the same problem ?
    the thing is its a bit hard to debug, as the prod version isnt firing any message, and the debug version is just fine...:/
    thanks !

    hello
    here is the command generated by flash builder 4.7 (flex 4.13, air 15.0.0.302)
    java.exe -jar D:\SDK\Flex4.13_air15beta\lib\adt.jar -package -target ipa-app-store -provisioning-profile C:\Users\Gabriel\Adobe Flash Builder 4.7\WeesooMobile\libs\certificates\IOS\09102014\iConfDistri_09102014.mobileprovision -storetype pkcs12 -keystore C:\Users\Gabriel\Adobe Flash Builder 4.7\WeesooMobile\libs\certificates\IOS\09102014\CertificatsProd_0910214.p12 -storepass <Value cannot be displayed> WeesooMobile3.ipa WeesooMobile3-app.xml assets [email protected] [email protected] Default-Landscape.png [email protected] [email protected] [email protected] Default-Portrait.png [email protected] Default.png [email protected] WeesooMobile3.swf
    i missed the "proloader" part...is it now mandatory to user proloader if loading external swf assets ? is it a normal behavior that the swf can be loaded with the debug version, and not the shop version ?
    thanks for your help. by the way, i'm making a small video to show you the problem,as i'm not 100% sure you understand it in my case

  • Flash cs4 mac - Error opening URL '/:Users:someting.swf' - Not a "loading external content" problem

    Hello.
    I am having a weird problem when trying to test a movie or publish preview -> flash on mac with Leopard os.
    The result is a blank movie with the usuall "movie not loaded" if u right click on it and the output returns the "Error opening URL 'the path of the swf here'.
    This has nothing to do with loading external files or something like that. It happens even in blank movies and it gives the same error if I try to open a swf from flash ide.
    I can publish the project or export the movie with no problem at all.
    I can preview the movie in html. I can run all the swf files in my hard disk, network, usb stick, dvd etc., but when I try to open any of these files from flash ide I got that stupid error.
    Its not something that stops me from working in flash ide but its slow to export movie any time I want to test it.
    Things that I've tried so far but nothing worked:
    Update the flash cs4 to the latest version
    Update the flash players
    Restored the release flash player as default player (I am using as default the debug player)
    Cleared the preferences
    Move the flash cs4 folder to another location in hd
    Saved the fla document first before testing the movie (in different places with or without spaces in document name or folder)
    Give read & write permissions for everyone for flash.app, players and for fla files when saved first before test movie
    Unistall and install the application 3-4 times.
    Test every as version just in case.
    Also I've checked the folders when testing movie and I can see that it creates an swf file, which I can run it outside flash ide (the one that the flash ide player cannot load) with no problem.
    The mac os has the default set up as it came. Nothing chnaged in permissions or security settings.
    Thanx in advance.

    In this particular example I am using this code to start the
    xml file load:
    // now load the XML file that contains the content strings
    var sXMLFile:String = "xml/home.xml";
    var xmlContent:XML = new XML();
    xmlContent.ignoreWhite = true;
    xmlContent.onLoad = onXMLLoadComplete;
    xmlContent.load( sXMLFile );
    But I don’t think the code is the problem here . This
    happens on every file I load when I am using a relative path to the
    content, regardless of how I load the content (XML object,
    loadMovie, MovieClipLoader, etc…) and the same code executes
    perfectly on every other machine in the office(Mac and PC).
    I’m more concerned with the semi-colons and .swf filename
    that Flash is putting into my relative path on the error message.
    Is that normal?

  • BPEL End Point URL using External Load Balancer URL

    Hi All,
    We have Oracle SOA Suite installed in a clustered environment as per the Enterprise Deployment Guide 10g Release 310.1.3.3.0 E10294-02.
    I have deployed a BPEL process to the clustered environment and the end point refers to the internal url of the load balancer e.g. http://internallink:8001/orabpel/default/testService/1.0
    When we just paste this end point in a browser, enter the parameters and click on invoke, the BPEL Process gets invoked.
    However, if we try to use the external url(which is on https) of the load balancer as the enpoint url eg https://externallink/orabpel/default/testService/1.0 to invoke the same BPEL process, the page which is used to accept the parameters and the used to invoke the BPEL process is successfully displayed. However, when we try to invoke the service, the connection times out.
    Please note that internallink and externallink are the internal and external VIPs, respectively.
    Does someone have an idea of what may be wrong or what needs to be corrected to be able to invoke the BPEL process using the external VIP, please?
    Thanks in advance.

    Check if the port of ESB in your server is open.
    I think that the port is: 7777
    try from ESB server:
    wget WSDLURI
    if you got the file then the port is closed.

  • I'm a new MAC user and I'm trying to transfer my iTunes music files to my Mac, however when I attach the external drive that contains the music files, they aren't visible on the MAC (but they are visible on my old PC).  How do I get my music loaded?

    I'm a new MAC user and I'm trying to transfer my iTunes music files to my Mac, however when I attach the external drive that contains the music files, the music files aren't visible on the MAC (but they are visible on my old PC).  How do I get my music transferred?  I have already exported the purchased music from the iTunes library, but I have thousands of songs from my private CD collection that I had previously loaded through iTunes.

    Paragon Software has the most reliable NTFS driver for Mac
    tips on importing and organizing, transferring from Windows etc
    http://www.apple.com/support/itunes
    http://www.ilounge.com

  • Link Webi Report to External URL using URL contained in Dim Object

    I am trying to create a link in my WebI report to an external URL which is stored in a Dimension object.
    The object is simply a string format which contains a link to a Lotus Notes database
    Example:
    Notes:///CA2573920000079B/0B4D8972EDD5DE7CCA257109000682B7/32250ACFEAF2B80FCA2573AB00831255
    When I put the link into Internet Explorer I get the appropriate Lotus Notes databse, however, when trying the same in WebI using the following formula:
    ="<a href=[Notes url1] target='_blank'>Test</a>"
    I get the following URL when clicking the link from InfoView
    http://auyhoz04.an.orica.net:8080/businessobjects/enterprise115/desktoplaunch/viewers/cdz_adv/[Notes%20url1]
    If I hardcode the URL into WebI
    ="<a href='Notes:///CA2573920000079B/0B4D8972EDD5DE7CCA257109000682B7/32250ACFEAF2B80FCA2573AB00831255' target='_blank'>Test</a>"
    It works without a problem.
    I'm sure I'm missing something simple...is anyone able to help?

    Nathan,
    When you build a URL on the fly it requires a certain way to encapsulate everything.  Here is another way for you to try it:
    ="<a href="+Char(34)+[Notes url1]+" target='_blank'>Test"+Char(34)+"</a>"
    Plz note the use of Char(34) which generates a double-quote.  This method should help you with getting a dynamic product delivered to your audience.
    Thanks,
    John

  • Will app store approve an app to load external swf containing actionscript code in it?

    Will app store approve an app to load external swf containing actionscript code in it?

    Hi...It is not in the application bundle...it will be hosted on a server and from there it will be loaded in the application. I had created one sample application where it is loading a swf which is hosted on different server. This swf contained some actionscript code on its timeline. This app was working on ipad. I just wanted to know whether App Store will approve this.

  • FireFox images not loading in local folders (firebug error-Failed to load given URL)

    I am having difficulty when developing websites in local folders (Windows7 computer). The webpages I make are showing images in IE9 & Chrome but not FireFox (nor Safari nor Opera).
    In FireFox I get Firebug "Failed to load given URL" prompt.
    I am using html5 & external linked css stylesheet & the html/html5 & css code validates.
    I have tried using rel path ie images/image.gif & absolute path references ie C:/RPD_Programming/RPD WEB/amwcsnew/index.html
    and have tried using % to eliminate whitespace in references but I cannot get FireFox to display images!!
    This has been a problem for me for around 2 weeks now & is very frustrating. Some website code/templates I have downloaded from the internet display the websites properly (ie load images fine) when I open them locally in FireFox. Why does my code not allow the images to load in FireFox (paths/permissions/other issue??). How can I fix this?
    Here is example css & html5 not displaying images from local directory in FireFox (fine in IE9 & Chrome):
    style.css
    /* CSS Document */
    /*Basic Reset*/
    margin:0;
    padding:0;
    html{
    /* HTML5 display-role reset for older browsers */
    article, aside, details, figcaption, figure,
    footer, header, hgroup, menu, nav, section {
    display: block;
    body{
    width:1200px;
    margin:0 auto;
    header{
    height:450px;
    background:url("C:/RPD_Programming/RPD WEB/amwcsnew/images/header.gif");
    background-repeat:no-repeat;
    #mid{height:750px;
    background:url('C:/RPD_Programming/RPD_WEB/amwcsnew/images/mid.gif')no-repeat;
    footer{height:286px;
    background:url('C:/RPD_Programming/RPD WEB/amwcsnew/images/footer.gif')no-repeat;
    index.html
    <!doctype html><!-- simplified doctype works for all previous versions of HTML as well -->
    <!--html5 template from www.impressivewebs.com_modified by RPD-->
    <!-- Paul Irish's technique for targeting IE, modified to only target IE6, applied to the html element instead of body -->
    <!--[if lt IE 7 ]><html lang="en" class="no-js ie6"><![endif]-->
    <!--[if (gt IE 6)|!(IE)]><!--><html lang="en" class="no-js"><!--<![endif]-->
    <head>
    <!-- simplified character encoding -->
    <meta charset="utf-8">
    <title>amwcs-new</title>
    <meta name="description" content="amwcs">
    <meta name="author" content="rpd">
    <!-- Delete these two icon references once you've placed them in the root directory with these file names -->
    <!-- favicon 16x16 -->
    <link rel="shortcut icon" href="/favicon.ico">
    <!-- apple touch icon 57x57 -->
    <link rel="apple-touch-icon" href="/apple-touch-icon.png">
    <!-- Main style sheet. Change version number in query string to force styles refresh -->
    <!-- Link element no longer needs type attribute -->
    <!-- <link rel="stylesheet" type="text/css" media="all" href="css/style.css" />-->
    <link rel="stylesheet" href="css/style.css?v=2">
    <!-- Modernizr for feature detection of CSS3 and HTML5; must be placed in the "head" -->
    <!-- Script tag no longer needs type attribute -->
    <script src="js/modernizr-1.6.min.js"></script>
    <!-- Remove the script reference below if you're using Modernizr -->
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    </head>
    <!-- If possible, use the body as the container -->
    <!-- The "home" class is an example of a dynamic class created on the server for page-specific targeting
    <body class="home">-->
    <body>
    <!-- ******************************************************************** -->
    <!-- The content below is for demonstration of some common HTML5 elements -->
    <!-- More than likely you'll rip out everything except header/section/footer and start fresh -->
    <!-- First header has an ID so you can give it individual styles, and target stuff inside it
    <header id="hd1"> No way Hosay-not by default! Default is <header> tag (RPD edit) -->
    <header>
    <!-- "hgroup" is used to make two headings into one, to prevent a new document node from forming -->
    <hgroup>
    <h1>amwcs</h1>
    <h2>tagline</h2>
    </hgroup>
    <!-- Main nav, styled by targeting "#hd1 nav"; you can have more than one nav element per page -->
    <nav>
    <ul>
    <li><a href="#">Home</a></li>
    <li><a href="#">About</a></li>
    <li><a href="#">Services</a></li>
    <li><a href="#">Contact</a></li>
    </ul>
    </nav>
    </header><!--End header & or #hd1 header div id if used-->
    <!-- This is the main "div" that wraps the content generically; don't use "section" for this -->
    <div id="mid">
    <!-- The first of two "section" elements for demo purposes; optional class added for styling (hs1 = "home section 1") -->
    <section class="hs1">
    <!-- Each section should begin with a new h1 (not h2), and optionally a header -->
    <!-- You can have more than one header/footer pair on a page
    <header>
    <h1>This is a Page Sub Title</h1>
    </header> -->
    <p>Some content...</p>
    <!-- The h2 below is a sub heading relative to the h1 in this section, not for the whole document -->
    <h2>Demonstrating EM and STRONG</h2>
    <!-- "strong" is used for SEO and contextual hierarchy -->
    <p><strong>This text will have more importance (SEO-wise and contextually)</strong></p>
    <!-- "b" is used for stylistic offset of text that's NOT important contextually -->
    <p><b>This text has visual importance but has no contextual or SEO importance</b></p>
    <!-- "em" is used for colloquial-style emphasis -->
    <p>This is a <em>very</em> colloquial expression.</p>
    <!-- There can be multiple footers on each page -->
    <!-- Secondary headers and footers don't necesarily need ids; they can be targeted via context (i.e. ".hs1 footer")
    <footer>
    <!-- incite a riot: http://24ways.org/2009/incite-a-riot
    <p>Author: <cite>Louis Lazaris</cite></p>
    </footer> -->
    </section><!-- .hs1 -->
    <!-- This is another section; doesn't have header/footer because it's not required -->
    <section class="hs2">
    <h1>This is another section</h1>
    <p>This is some dummy content</p>
    </section><!-- .hs2 -->
    </div><!-- #mid -->
    <!-- The "aside" element could be a sidebar (outside an article or section) -->
    <!-- Or it could reference other tangentially-related content within an article or section
    <aside id="sidebar">
    <p>Sidebar content</p>
    </aside>-->
    <!-- The main footer has an ID for targeting, similar to the main header -->
    <footer >
    <p>copyright &copy; year</p>
    </footer>
    <!-- Remote jQuery with local fallback; taken from HTML5 Boilerplate http://html5boilerplate.com -->
    <!-- jQuery version might not be the latest; check jquery.com -->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
    <script>!window.jQuery && document.write(unescape('%3Cscript src="js/jquery-1.4.4.min.js"%3E%3C/script%3E'))</script>
    <!-- Below is your script file, which has a basic JavaScript design pattern that you can optionally use -->
    <!-- Keep this and plugin scripts at the bottom for faster page load; combining and minifying scripts is recommended -->
    <script src="js/general.js"></script>
    <!-- asynchronous analytics code by Mathias Bynens; change UA-XXXXX-X to your own code; http://mathiasbynens.be/notes/async-analytics-snippet -->
    <!-- this can also be placed in the <head> if you want page views to be tracked quicker -->
    <script>
    var _gaq = [['_setAccount', 'UA-XXXXX-X'], ['_trackPageview']];
    (function(d, t) {
    var g = d.createElement(t),
    s = d.getElementsByTagName(t)[0];
    g.async = true;
    g.src = ('https:' == location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    s.parentNode.insertBefore(g, s);
    })(document, 'script');
    </script>
    </body>
    </html>
    I am most grateful for help & look forward to replies & fixing this-thanks
    NB
    Is there a FireFox guide/manual in pdf format available anywhere? I have not found one yet & a FireFox reference might be useful!

    You need to use file:// as the protocol instead of C:/. The latter may never work (C:\ might).
    Where is the main HTML located ?
    Easiest if to store the images in a sub folder of the location because you can't go back via ../ beyond that root location for security reasons.
    See:
    *http://kb.mozillazine.org/Links_to_local_pages_do_not_work

  • Why can't I load external .swf CheckBoxes?

    Hello, world...
    I'm trying to load an external .swf that contains some checkboxes. The extenal .swf has a server-side script in applications folder on FMS3.
    When I load the external .swf in local, it works fine.
    If I load the external .swf in remote using an Apache Web Server, the external .swf is loaded but the checkboxes don't appear...
    Why?
    Please, help me...
    Emiliano.

    Hi, JayCharles...
    My main .swf is located in:
    \\MYSERVER\Apache2.2\htdocs\fms3\Logopedia\Lato Dottore\VideoComm.swf
    instead, the external .swf is located in:
    \\MYSERVER\Apache2.2\htdocs\fms3\Logopedia\AnalisiVisiva.swf
    From server-side script I pass this URL:
    var mySWF_URL3 = "http://192.168.1.67/fms3/Logopedia/AnalisiVisiva.swf";
    I have another external .swf that contains TextInputs instead of CheckBoxes and it works fine...
    Why does TextInput work and doesn't CheckBox work?
    Perhaps the CheckBoxes do not be loaded?
    Please, help me...
    Emiliano

  • Unable to load external swf which has runtime sharing with another swf.

    Hi,
    I am getting issues on loading external swf say "importer.swf" file into another swf file say "loader.swf" for second time like
    ReferenceError: Error #1065: Variable testSymbol is not defined. VerifyError: Error #1014: Class testClass could not be found.
    at global$init()
    In the external swf "importer.swf", i am trying to import the symbol "testSymbol" from another swf file say "exporter.swf", which exports through runtime sharing option for the symbols.
    I am having some buttons in loader.swf file and on each button click i am loading different swf files into the loader.swf after unloading the previous one.
    I am able to load and unload different swf files but unable to load the importer.swf file which is sharing symbols from external swf and that too for the second time i.e., when i click the button twice.
    When trying to debug with flash debugger, all the other swf files are being unloaded before loading of another swf but the swf which is sharing symbols/classes with another swf is not getting unloaded.
    Output when i am trying to load two files example and importer files into loader.swf file on two different button clicks. On first button click example.swf is loaded. On second button click , example.swf is unloaded and importer.swf is loaded which is successful. On first button click again importer.swf is unloaded and example.swf is loaded. On second button click again, example.swf is unloaded and importer.swf is loaded, here i am getting issues shown above.
    Attemping to launch and connect to Player using URL D:\runtime issue\loader.swf
    [SWF] D:\runtime issue\ loader.swf - 8181 bytes after decompression
    [SWF] D:\runtime issue\example.swf - 441708 bytes after decompression
    [UnloadSWF] D:\runtime issue\example.swf
    [SWF] D:\runtime issue\importer.swf - 1920 bytes after decompression
    [SWF] D:\runtime issue\importer.swf - 441708 bytes after decompression
    [SWF] D:\runtime issue\ example.swf - 441708 bytes after decompression
    [UnloadSWF] D:\runtime issue\ example.swf
    [SWF] D:\runtime issue\importer.swf - 1920 bytes after decompression
    ReferenceError: Error #1065: Variable xxxxxx is not defined.
    Debug session terminated.
    Code i am using
    b1.addEventListener(MouseEvent.CLICK, b1Clicked);
    b2.addEventListener(MouseEvent.CLICK, b2Clicked);
    var ldr:Loader;
    function b2Clicked(e:MouseEvent)
        if(ldr != null)
            ldr.unloadAndStop(true);
        ldr = new Loader();
        ldr.load(new URLRequest("importer.swf"));
        addChild(ldr);
    function b1Clicked(e:MouseEvent)
        if(ldr != null)
            ldr.unloadAndStop(true);
        ldr = new Loader();
        ldr.load(new URLRequest("example.swf"));
        addChild(ldr);
    If i try to open the swf using IE, i am not getting any issues at all. But i need to open this loader.swf in a air application. Also when i use loaderContext for the loader instance i am able to get rid of this issue but i cant use it in my application.
    So, please help me in resolving this issue.
    Thanks

    I got my answer. I had to append the photo url to the 'movie' value of the javascript embed method. Like this:
    <script language="JavaScript" type="text/javascript">
       AC_FL_RunContent(
          'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
          'width', '550',
          'height', '400',
          'src', 'lesson2',
          'quality', 'high',
          'pluginspage', 'http://www.adobe.com/go/getflashplayer',
          'align', 'middle',
          'play', 'true',
          'loop', 'true',
          'scale', 'showall',
          'wmode', 'window',
          'devicefont', 'false',
          'id', 'lesson2',
          'bgcolor', '#ffffff',
          'name', 'lesson2',
          'menu', 'true',
          'allowFullScreen', 'false',
          'allowScriptAccess','always',
          'movie', 'lesson2?photo=http://www.flash-mx.com/images/image1.jpg',
          'salign', ''
          ); //end AC code
    </script>
    Thanks,
    srb.

  • Could not load file/URL (file not found) error for JNLP file

    I am completely baffled in trying to figure out why I am getting the following error for some JNLP files but not others:
    Error: could not load file/URL specified: C:\Users\tom\AppData\Local\Temp\javaws2
    java.io.FileNotFoundException: C:\Users\tom\AppData\Local\Temp\javaws2 (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)I have Googled around this forum and elsewhere, and have seen reports that this error is IE-specific, and seems to have something to do with no-cache headers being sent, or with the client browser's cache being full or turned off (which is not my case). I saw the information in the JavaWS FAQ, which recommended turning off security constraints for the JNLP's URI. I tried that, and it didn't help. One of the very baffling things is that I have created several variations of the JNLP file, with varying combinations of jars and property resources, and some combinations always work while other combinations never work. Here's an example:
    <jnlp spec="1.0+" codebase="$$codebase">
       <information>
          <title>demo app</title>
          <description>illustrates weird bug</description>
       </information>
       <resources>
          <j2se version="1.5+"/>
          <jar href="randomFile.jar"/>
          <property name="xxx" value="xxxx"/>
          <property name="swing.metalTheme" value="steel"/>
       </resources>
    </jnlp>The above file always fails with the error shown at the top of this message. However, if I remove either of the two properties, it works fine. And I have created other variations with lots of properties, some of which work. All of these variations are in the same directory in the war file, served by the exact same servlet (a slightly modified version of the jnlp.sample.servlet.JnlpDownloadServlet provided with JDK 1.6.0_3). Assuming that a no-cache header is the problem, what on earth could be causing some JNLP files to always be served with a no-cache header, while others are never served with a no-cache header?
    On a related note, any recommended debugging techniques for seeing what headers are being transmitted? I tried adding a simple check for a "debug=true" parameter in the servlet that causes it to set the content type to "text/plain" instead of JNLP, and that allows me to see (rather than execute) the JNLP XML that's being returned, but it doesn't show me the HTTP headers that are being sent back. If any caching headers are being set, I think it must be being set by the servlet container itself, as it's nothing being set in the servlet code that I can see. So I don't see any way on the server side Java code to output or log the actual HTTP response (or is there?). Any tips in that regard much appreciated.
    Edited by: TomC125468 on Aug 19, 2009 1:35 PM

    Hi Luca-Sanna,
    Thanks for the response. Re browsers, yes, it fails in IE but it succeeds in Firefox. The info on the JavaWS FAQ and other places all seem to indicate that it's an IE issue concerning handling of the cache-control headers.
    I should check in my webserver forum (Sun WebServer 7) to see about logging options. Sniffing on the client side is not possible, as my app is required to use HTTPS exclusively, and unfortunately that also precludes a telnet GET request.

  • FAQ: SWF's and loading external files in Flash Catalyst

    How do I make the images in my Flash Catalyst project external to the published SWF?
    You can choose whether images are embedded in your Flash Catalyst SWF, or loaded dynamically; this can help to keep your SWF's small. Simply right-click an image and chose "Externalize Image".
    Answered by: Adam Cath.
    See entire discussion.
    How do I make the SWF I imported to Flash Catalyst load external files?
    When importing a SWF, Flash Catalyst only pulls the SWF asset into your project. Many SWF's, such as slideshows and media players, rely on external data files, such as configuration files or media assets. If you would like to use such a SWF in Catalyst, then you will have to place these external resources into your Catalyst project as well as importing the SWF.
    Let's assume you have a SWF source folder that contains your SWF file and all of the external files it needs. You can open the SWF file from this folder and it works fine. But, if you import the SWF into Catalyst, the Catalyst project doesn't display it correctly because it can't load the external files. Here's what you do:
    1. Open your swf source folder, and copy all of the files/folders there except the SWF you imported.
    2. In Catalyst, Run/Preview your project (Ctl/Cmd-Enter)
    2. Note the file path to Main.html in your browser
    3. In your OS, open the folder that contains /bin-debug/Main.html from above
    4. Open the "src" folder
    5. Paste all of the files from step 1 into the src folder.
    6. Catalyst won't pick up that your project changed, so tweak it a bit (add a Rectangle), and save it.
    7. Run your project. If it doesn't work, try closing and reopening your project and running again.
    For an example, check out: Using an XML-driven SWF in Catalyst to create a slideshow.
    See entire discussion.
    Answered by: Bear Travis

    You can make you swf a custom component with 2 states.
    The first state will be empty and rename it "OFF" the second state will have your swf file and name it ON.
    Then go back to your artboard/project, add your 2 buttons ON & OFF.
    For the ON button add interaction "play transition to custom component ON"
    For the OFF button add interaction "play transition to custom component OFF"
    Here is an example swf_control

  • External URL Mapping and Full-Text Search Generation

    I have a dilemma,
    I can map external URL all fine e.g.
    <map version="1.0">
    <mapID target="Welcome" url="http://docweb.net/help/test.html"/>
    </map>
    but the html files are not contained in the local directory, and thus the jhindexer is unable to (as far as i know anyway) generate full-text search using the externally linked html files
    also from using a decompiler I have found that you can "force" it to generate the help for external urls (as the indexer prefixes all urls with the "file:" protocol, but I can only get this to work under debug mode, else it gives a heapSpace exception, so I wish to avoid having to do anymore unneccesary digging/decompiling.
    Also just as a gripe, why is most of the java help source code unavailable, and the Indexer seems to be very inflexible (ontop of not having any documentation)

    That's the way it worked in X4 and later versions up but not including RH8. RH8 includes phrase searching in webhelp.
    See www.grainge.org for RoboHelp and Authoring tips

Maybe you are looking for