Embedded swfs

I want to open an html file into the same browser window from an already embedded swf file in an html file.  I have tried
navigateToURL(new URLRequest("myhtml.html"),"_parent");
navigateToURL(new URLRequest("myhtml.html"),"_root");
navigateToURL(new URLRequest("myhtml.html"));
I still get the html file loaded into a blank window and so I have umpteen windows open after a short amount of time.

use:
navigateToURL(new URLRequest("myhtml.html"),"_self");

Similar Messages

  • Firefox doesn't play embedded swf

    I've looked on many forums, including Firefox, with no real answer. Running Firefox 4. It just doesn't play embedded SWF. My Adobe Flashplayer is up to date, so is the plugin. The page displays properly. But the area that should be displaying a movie is just represented by a tiny square. No error message appears. The same page doesn't show the movie in IE9 either.
    Now from looking at the page information, it just requires Flashplayer 6 and above for the SWF area. I do have Flashplayer 10. The plugin says Shockwave Flash player 10 is up to date. Many other pages with different types of embedded movies play properly.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Also check that you aren't blocking cookies.
    *https://support.mozilla.org/kb/Cookies
    *http://kb.mozillazine.org/Cookies
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Note that a reset imports cookies, so isn't really suited if cookie issues are a possible cause, unless you clear the cookies.

  • Video playback in embedded swf

    Hi,
    I'm building a website in flash catalyst that uses an embedded swf also created in catalyst.  The site is for a musician, and one of the pages (states) loads a swf file that contains a list of videos the user can select and play.  That swf was also made in catalyst.  This works. 
    When I navigate away from the video page to the Bio page (for instance), the video stops playing, which is good.  The problem though, is when I return to the video page, the video resumes right where it was when I left the page.  This is a bit jarring... I'd really like the video to stop playing for real when the user navigates away, so that when he/she returns to the page, its in the default state... With nothing playing.
    Can anyone help?  I'm stuck here.
    Thanks!
    Craig

    you need to make your own controls and you need to learn some
    basic actionscript: controlling playhead movement along a timeline
    is about as basic as it gets. check the movieclip gotoAndPlay(),
    gotoAndStop() methods.

  • Embedding .swf in PDF files

    Hello there,
    has anyone experience embedding swf files in a PDF document?
    I managed to create a document from a HTML file wich has a  swf movie inside, but i get only a  green square poligon.
    I'm using Adobe Reader 9.2.0 under windows xp
    thanks for your attention
    MS.

    Adobe Reader can't create pdf files. What do you use?

  • Embedding swf files in AIR app for ios

    Hi,
    After going through a lot of articles already available, I found answers with varying views on the following questions:-
    1) Can we embed swf files using the embed tag in air app for ios, with symbols exported ?
    Something like [Embed(source="someSWF",symbol="exportedSymbol")]
    and also something like [Embed(source="someSWF")].
    From what I understand, one can't embed swf's with actionscript byte code in them. So exporting symbols actually creates class linkages which leads to creation of abc. But I'm unsure on this because some sources say otherwise.
    2) Can we embed swf files using embed tag in air app for ios, without symbols exported ?
    Something like [Embed(source="someSWF")]
    and also something like [Embed(source="someSWF" mimeType = "application/octet-stream")]
    I read somewhere else, that you can actually embed symbols separately by providing symbol tag in embed tag but not entire swf (which leads to uncompiled actionscript error) but not sure about this as this is contradictory to finding #1.
    3) If #2 is possible, then do embedding two different swfs with same symbol names would cause a conflict and result in #3747 error ?
    Please note I am not asking about the Loader class here but using the Embed keyword for embedding swfs.
    Also do the results differ with AIRSDK 3.8 and 3.9 and using different swf-version in compiler flags ?
    In our application we started getting error #3747 in class creation of one of the embedded swfs (like new EmbeddedClass()) when we changed from swf-version 17 to 21 using AIRSDK 3.8. So was this error not there earlier or it was there but swf-version was suppressing it ?
    Any help is much appreciated.
    Thanks!

    I am fairly sure that the answer to your questions is: “no”.
    For embed to work the AIR app would have to be working in interpreter mode, and that can work for local testing, but can’t work for submitting apps. An easy change for you to do would be to use SWCs instead of Embed. Other than that you’re looking at Loader, but also a tricky command line build of the app.

  • CR report with embedded SWF: Export to PDF displays nothing

    I'm creating CR 2008 reports with embedded SWFs as described in the whitepaper [EMBEDDING XCELSIUS 2008 VISUALIZATIONS IN CRYSTAL REPORTS 2008|http://www.businessobjects.com/pdf/product/catalog/crystalreports/cr_xc_integration.pdf].
    From CR, I can export the report to html and view the report fine. But when I export to pdf, ppt, etc. The SWFs are not viewable. Is this a bug or by design?
    This section of the white paper seems to imply that maybe you cannot export to pdf:
    >TECHNICAL DETAILS
    >
    >Viewing Flash objects embedded in a Crystal Report is supported in the:
    >
    >Crystal Reports 2008 Preview tab
    >Crystal Reports 2008 .NET Webform viewer
    >Crystal Reports 2008 Java DHTML viewer (used in BusinessObjects Enterprise XI 3.0 and other products)
    >
    >Exporting and printing of Flash objects with connections to Crystal Reports data is not supported.
    >
    >Embedded Flash objects that do not have connections to Crystal Reports data can be exported to PDF only.
    I'm using the latest version of Adobe products:
    - Adobe Flash Player ActiveX, Version 9.0.124.0
    - Adobe Flash Player Plugin, Version 9.0.115.0
    - Adobe Reader 9, Version 9.0.0
    Also, I downloaded [CR Viewer 2008|http://www.businessobjects.com/product/catalog/crystalreports_viewer/] and can see the CR reports I've created with embedded Xcelsius swfs.
    Any information is appreciated. Thanks.
    Tim

    > ... it states in your first post, the export is not supported,
    True. It says:
    > Exporting and printing of Flash objects with connections to Crystal Reports data is not supported.
    But I can export such reports to html and view and print the flash objects.
    It seems inconsistent to me. I can export static flash charts to pdf, yet I cannot export dynamic flash charts to pdf, which is from Adobe, as is Flash?
    I'm hoping this is a temporary bug either in Crystal or pdf reader and is to be fixed in a patch release. Or an explanation of why the limitations exist.
    Thanks for the response.
    Tim

  • Need help with embedded SWF Playing

    I have an embedded SWF file (A 4 photo slide show) created in Flash Professional CS5, Action script 3, flash player 10 selected.
    I have placed this into the flash catalyst CS5 file. The file previews in the browser perfectly.
    The problem is when published it will not start the slideshow until you refresh the browser (Safari and FireFox) the local version runs fine
    the published version does not even when uploaded to the web server. www.ngambaisland.com
    This site was woking properly before I made some changes to the slide show and rebuilt the file to optimize it for loading performance.
    Please help if you can,
    Many Thanks,
    Curtis

    Thanks for looking but I have tested the website on 5 different computers an the slide show only activates after you hit the screen refresh button.
    I am afraid I am a bit limited in flash. You mentioned to check access settings. I used the default action script 3 settings in the publish settings.
    Could you please be more descriptive as what to look for or what settings I would need to change?
    Thanks for your help.
    Curtis

  • Embedding Swf into to forum signature

    Hi, i have been trying to find this everywhere but no good.
    How can i embed swf into forum Posts and signatures ? Its my site s
    o i change settings etc.....is there some mod that should be
    installed on the forum ? Any help at all would be really
    appreciated =)
    J

    No. I mean that the Flex framework makes certain assumptions about the environment it is running in -- like having a stage to work with. The Alert function, for example, works by creating a sprite and adding it to the Flash display list. Since your embedded SWF is not on a stage, there's no way for it to work.
    You can can possibly use certain non-visual parts of the framework, such as the rpc package, but I can't guarantee it.

  • Embedding swf into HTML+JS AIR app

    Hi
    I'm trying to embed swf into HTML+JS AIR app with no luck.
    First, I created flash library with this class in default package.
    package
         import mx.controls.Alert;
         public class Utilities
              public function Utilities()
                             //asdfasdf              
                   Alert.show("asdasd","");
    Then I compiled the project with Flash Builder and got library.swc as result. Then I extracted swf file.
    After this is added required code into my html:
    <html>
    <head>
        <script type="text/javascript" src="AIRAliases.js"></script>
        <script type="text/javascript" src="AIRIntrospector.js"></script>
        <script type="text/javascript" src="jquery-1.6.2.js"></script>
        <script src="library.swf" type="application/x-shockwave-flash"></script>
        <script type="text/javascript">
            $(document).ready(function () {
                alert('loaded');
                air.Introspector.logError("aaa");
                var v = new runtime.Utilities();
        </script>
    </head>
    <body>
    </body>
    </html>
    Then after I run application, I get error that result of expression is not constructor, function etc.
    Could you help me please?  Thanks in advance.
    Here is sample code:
    http://depositfiles.com/files/jztpnlb3a

    No. I mean that the Flex framework makes certain assumptions about the environment it is running in -- like having a stage to work with. The Alert function, for example, works by creating a sprite and adding it to the Flash display list. Since your embedded SWF is not on a stage, there's no way for it to work.
    You can can possibly use certain non-visual parts of the framework, such as the rpc package, but I can't guarantee it.

  • Need help with embedded SWF in PDF as navigation

    Hi,
    I was wondering is there a way to have an embedded swf navigate to different pages of a pdf?
    Example:
    My swf is on page one. There are mulitple buttons in the swf, when clicked it will take you to page 3, or 5, or 7, etc.
    Currently, when I click on a button, it DOES take me to say page 4, but the content on page is the SWF file from page 1, and not the content that is suppose to be on page 4. Has anyone else experienced this problem?
    This is what I have in the flash action:
    btn_1994_1.addEventListener( MouseEvent.CLICK, p1994 );
    function p1994(e:MouseEvent):void{
         //addChild(pop_1994);
         doExternalInterfaceCall("gotoTarget", "pink");
    function doExternalInterfaceCall(myfncall, parm)
        flash.external.ExternalInterface.call(myfncall,parm);
    And this is what I have in the javascript of the pdf:
    function gotoTarget(name)
         this.gotoNamedDest(name);
    Please help me fix this problem.
    Thanks in advanced!
    ps. I am using Acrobat 9 Pro

    can anyone help?

  • Why does embeded .swf file goes crazy in IE but not in other browsers?

    hi everyone
    I'm building a SharePoint page with an embedded .swf file that is capable of detecting the current URL to activate and show content. Everything goes smoothly in all the browsers I've tested it except IE. When I open the SharePoint page in IE the .swf just reproduces the frames non stop, It completely ignores my scripts and I cant find anything that could be responsible of this. besides the url detection script, i just have simple button configuration for the timeline and general stops.
    any idea?.....anyone?

    Normally when swf's play differently for different browsers it is due to the embedding code used in the html page.

  • White box of death! Trouble embedding swf into Dreamweaver!

    So close to being finished! I notice this question on alot of other forums but its never resolved!
    here is the site now:
    http://http://www.andrewweeksphotogr...m/index_8.html
    you will notice a slight flash of a white box before the preloader starts, i'm trying everything to make it go away! this box seems to be the same size as my embedded swf. the site and preloader are all in one swf. all i need to do is make that white box the same color as the background so it is unnoticeable.
    here is the code from dreamweaver (you'll notice im sticking in color values wherever i can!)
    help a gal out! many thanks!
    -nicole

    oops! code / site link here!
    http://www.andrewweeksphotography.com/index_8.html
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body {
        background-color: #FBFCEB;
    -->
    </style>
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    </head>
    <body>
    <table width="1150" border="0" align="center" cellpadding="10" cellspacing="0" bordercolor="#FBFCEB" bgcolor="#FBFCEB">
      <tr>
        <td bordercolor="#FBFCEB" bgcolor="#FBFCEB"><script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','1150','height','768','src','Andrew Weeks Photography','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','Andrew Weeks Photography' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="1150" height="768">
          <param name="movie" value="Andrew Weeks Photography.swf" />
          <param name="quality" value="high" />
          <param name="bgcolor" value="#FBFCEB" />
          <embed src="Andrew Weeks Photography.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="1150" height="768" bgcolor="#FBFCEB"></embed>
        </object></noscript></td>
      </tr>
    </table>
    </body>
    </html>

  • Embedded swf not playing in Captivate 4

    Hi - I have embedded a flash authored swf into CP4, it is published from flash as a ver 9 swf.  I am using Flash Player 10 on the PC. It's a single frame swf and contains AS3 code to make a simple rollover image popup (further development is planned but just testing for now).  It works when viewed standalone in a browser or with the flash player
    In CP4 when played by either previewing it or by publishing and viewing in a browser, the screen with that swf on it is a 'white screen of death'.  I have tried the following:
    1. clicking and unclicking synchronise with project
    2. click and unclick externalize animations check box in prefs - the swf file was also manually copied over to the publish directory
    3. set display for "duration of animation"..also tried 'rest of slide' and 'specific time'
    4. click and unclick - 'synchronise with project'
    5. Set Actionscript Version in prefs to "AS3"
    6. I placed another different swf (flash ver9) onto the following slide in CP4 - this one with no Actionscript content at all - just a simple timeline based motion tween.  It works!
    Does anyone know if CP4 cannot accept embedded swf's with Actionscript 3 code in them?

    Hi there
    Oftentimes the warning about referencing Root is simply a nuisance and may be totally ignored.
    I find that the animation works here on my own PC if I click Edit > Preferences... > Project node > Publish Settings node and configure for AS3.
    Perhaps try that?
    Cheers... Rick
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Spark Image can't scale embedded SWF symbols?

    Can anyone help me make sense of this?
    Using Flex 4.5.1 (Spark only compile) I've found that the new Spark Image control works inconsistently when loading SWF at runtime and embedding SWF symbols. See these two situations:
    1) OK - Spark image loads a whole SWF in runtime. Swf loads OK and scales up to desired size with perfect smooth anti-aliased edges
    2) Not OK - Spark Image loads an embedded swf symbol as follows:
    <s:Image source="@Embed(source='embedded/GeneralSymbols.swf' , symbol = 'komodoDragon')"  x="250" y="35" height="200" />
    ( or using a bindable class )
    And the image is pixelated and totally unusable.
    It seems unfortunately that when embedding Swf Symbols ( which is a big element of the Adobe Flex - Flash - Illustrator workflow ) the "vector" images are reduced to bitmaps at their original size and don't scale.
    I know spark swfLoader is a possible option - but surely it's too heavy for loading many images?

    Hi Ged_mc.
    Did you find the answer to this?
    I'm using Flex 4.6 SDK and having the same problem. It's kind of dumb, isn't it?
    Especially since I'm migrating an application from Flex 3 to 4.6 and it worked perfectly in the previous version.
    Thanks!

  • Cannot see embedded swf's in html

    When creating my flash file, i load swf files into loaders on my stage. When testing it, it works fine, but when publishing it to the web, it dosn't show the embedded swf's?

    I'm assuming you intend that the embedded swf is the one that loads the other swfs... the one that is coded into the html page, not the ones that are loaded into loaders.  Did you upload the AC_RunActiveContent.js file that Flash creates?

  • Embedding SWF in a text field

    Hi, New user to Flash here with a problem embedding .SWF
    files. I have already existing SWF files that I have called
    historically from HTML using <object> to embed the object and
    <param name= value=> also to pass it information. The SWF
    movie I need to embed basically builds a graph and takes its data
    from the location you supply it in <param name= value=>
    field. This code is not mine and I can't alter it.
    What I want to do is construct a flash version of my site and
    embed these graphs within a flash textfield. I have been able to
    successfully embed a test SWF file using <img> tags on a text
    field ---> but here is my question. How do I support the
    <param name= value=> functionality I got when I called these
    graphs from HTML using <object>?
    I hope that's clear? Any help at all is greatly appreciated.
    Tom

    Tom,
    > What I want to do is construct a flash version of my
    site
    > and embed these graphs within a flash textfield.
    That's a really interesting approach. At first, I didn't
    understand
    what you were aiming for, but it sounds to me like you're
    tying to use HTML
    inside a Flash text field -- which is doable, to some extent
    -- and embed an
    external SWF in that HTML ... all within Flash.
    > I have been able to successfully embed a test SWF file
    > using <img> tags on a text field --->
    That does work, but it's about the closest you'll get, I'm
    afraid. It's
    only happenstance that Flash's very narrow (and somewhat
    unique) version of
    HTML accepts SWFs in an <img> tag.
    > but here is my question. How do I support the <param
    name=
    > value=> functionality I got when I called these
    graphs from
    > HTML using <object>?
    Flash only supports a very limited subset of the HTML
    language. You can
    see the full list of supported tags by searching the phrase
    "supported tags"
    in the documentation (specifically, the Learning ActionScript
    2.0 in Flash
    book). For better or worse, <object>, <param>,
    and <embed> are simply not
    in that list.
    > Any help at all is greatly appreciated.
    Your only choice is to use one of the more traditional
    methods of
    loading external SWFs, such as loadMovie(),
    MovieClip.loadMovie(), or the
    MovieClipLoader class. Once your external SWF is loaded, you
    may "feed" it
    variables that should be detectable by the ActionScript
    inside the loaded
    SWF.
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

Maybe you are looking for

  • Album artwork does not download, album artwork does not download

    i have windows 7 album artwork does not download even new stuff what could be happening?

  • My calendar disappeared on all devices

    I have multiple calendars that our family shares, today I went to add an appointment to my daughters calendar and it was gone.  I know it was there the other day, but it is missing from all of our devices and it's not on the icloud.  Can anyone tell

  • 2.0.2 Maps Malfunction?

    I enter a location in the search area, it pinpoints it perfectly. I add it as a bookmark. I go to the 'Directions' area and choose the book mark, tell it to Give me a route from my current location, it says 'End location not found'. If I use the 'Dir

  • How to resolve older IE rendering issues?

    My site is www.4keys.ca   I checked it out at http://ipinfo.info/netrenderer/index.php Everything on my site works fine in all browsers except for older IE.  Can someone please explain to me how exactly I get this issue resolved, what exact code I ha

  • Attempt to access invalid address

    i have photoshop elements 5.0 i've upgraded to windows 7 64 bit. when i try to edit, i get "attempt to access invalid address". when i click ok, i get "unable to connect to editor application". can anyone help?