Embedded SWF problems in IE

I have used DW 'Insert', 'Media', 'Flash' to put a SWF into
my page.
Works fine on most browsers but on one version of IE it has a
white box around it and the message "press SPACEBAR or ENTER to
activate and use this control" which is annoying.
Can anyone suggest a way to stop this happening?
Thanks in advance.

What version of DW do you have? The updated insertion should
have created a
link to a Scripts folder with a JS file in it .. did you
upload that folder
and file to your site?
Nancy
"bluesinlondon" <[email protected]> wrote in
message
news:g26gld$krb$[email protected]..
>I have used DW 'Insert', 'Media', 'Flash' to put a SWF
into my page.
>
> Works fine on most browsers but on one version of IE it
has a white box
> around
> it and the message "press SPACEBAR or ENTER to activate
and use this
> control"
> which is annoying.
>
> Can anyone suggest a way to stop this happening?
>
> Thanks in advance.
>

Similar Messages

  • Flex3/air calling functions in embedded swf problem

    i'm a newbie to flex so i'm hoping there is going to be a
    simple answer to this problem. it's caused a massive headache!
    i have been using a swfLoader to load a swf, then triggering
    function calls within the swf from flex by using the following in
    the script tag of my mxml
    var mc:MovieClip = MovieClip(myMP3player.content);
    mc.loadMP3Player("file:///"+path, artist, title);
    where loadMP3Player is the function in the linked swf and
    myMP3player is the id of the swfLoader.
    this works great, no problems... but when i change the code
    so that the swf is embedded, rather than loaded at runtime the code
    above gives a
    "ReferenceError:Error #1069 Property loadMP3Player not found"
    error
    when i try to trigger the function.
    i have tried many different ways of referencing and embedding
    the swf, all have the same result. i.e. swf loads fine and the flex
    project compiles without errors, but i am unable to call the
    function. see the code snippet for my details.
    any help will be really appreciated.
    btw: i need to embed the swf as i am distributing the
    finished article as an air app.
    -------------------------------------------------code
    excerpt--------------------------------------------------

    1. You must be using the Flex Component Kit for Flash
    2. Select the clip in the library that you want to turn into
    a component for Flex
    3. Use the command (command menu in Flash) to convert the
    clip to a Flex Component
    4. Publish -> your swc is ready
    If you don't have a document class, one is made automatically
    and it has the same name as the name of the clip in the library
    You can provide a document class. Look at the linkage
    identifier for the clip in the library. There you will see what the
    name of the class is. Create the class yourself and Publish. Now
    add the swc to your library path in Flex. Now you can use the
    component as any other component in Flex. So, put the clip on the
    stage using mxml or in ActionScript using var myplayer = new
    MyPlayer();

  • WAD: Problems when exporting to PDF with embedded .swf

    I'm using Web Application Designer (WAD) 7 and have created a template with an "Export to PDF" button and an embedded .swf flash file which is an Xcelsius dashboard.
    What i'm trying to do is show the information I want on my dashboard and then export that to a PDF to email out to multiple users who would be interested in the data each month.  If exporting to PDF isn't the best route to get a snapshot of this dashboard out to other users and there's an easier way please let me know, but here are the issues i'm having:
    1) When I have the dashboard showing the information I want and click the "Export to PDF" button, the dashboard reloads as the PDF settings window pops up and gets reset back to it's initial state.
    2)  If I ignore problem #1 and click on 'OK' in the Export dialog anyway after selecting PDF settings, my Adobe Reader pops up but then shows a message saying "The file cannot be opened because it has no pages".  Basically it doesn't see the .swf as being a component to take a snapshot of and print on a PDF. I did try adding a text component just so there was something on the template and I then get a PDF with that text component showing and no .swf snapshot.
    Has anyone come up with a workaround for this?  I've tried using the BEx Broadcaster with the 'Send' option but get the same results in regards to the blank page.
    Thanks as always for the help!

    Thanks for the reply.
    The dashboard is connected to a query in NetWeaver BI to get its data.  So the request of the user is to be able to adjust the dashboard to show the information they need (well say of a certain region) and then take a snapshot of that and email it out to co-workers in Group A.  Then the user will adjust the dashboard to show other data (for a different region we'll say) and take a snapshot to email out to co-workers in Group B. etc and etc.
    I have looked into installing a PDFCreator print driver but that wouldn't be feasible to get it on all machines in the business.  I've also looked into getting it as a .jpeg which would suffice, but am unsure if there is a way to do it with script and connect that to the dashboard when a button is pushed (will look into this).  This seems like a topic for over in the Xcelsius forum now.
    I used the following code within the <body></body> tags of the WAD's xhtml to embed the .swf:
    <object id="dashboard" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="600" width="800" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" >
    <param name="Movie" value="bwmimerep:///sap/bw/mime/Customer/JavaScript/dashboard.swf" />
    <embed src="bwmimerep:///sap/bw/mime/Customer/JavaScript/dashboard.swf" name="dashboard" type="application/x-shockwave-flash" />
    </object>

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

  • 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

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

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

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

  • The embeded swf doesn't play...

    Hi
    I'm trying to embed a swf that was created with a flash gallery making program into a pdf file but it just never works properly. I've also tried converting it into pdf but that doesn't work either. Once I convert it/embed it all I see is a white/black square. However if I embed other smaller swfs most of them just work fine. Could the problem be that the swf is too large? Can anybody please figure out the problem? I've been trying everything for the past 3 days and I'm awfully desperate Anyone's help would be greatly appreciated!

    Acrobat and OS make no difference, but the version of Flash Player that the gallery targets will make a difference - Acrobat and Adobe Reader currently won't play content designed for Flash Player 11.
    The other problem can arise when the gallery is using external assets (image files, XML configuration files, etc.) as these must be available after embedding. You should attach them using the Resources tab on the Rich Media Annotation dialog box (right-click your embedded SWF in Acrobat and choose Properties), but if the gallery is written to expect certain folder structures it may not like being sandboxed inside a PDF file.

  • How to make a Loadvars sendAndLoad request from embedded swf in flex

    I've developed a simple flex app with embedded swf. Basically swf use Loadvars to get data from particular database table. Ok, when I tested the flex app on localhost it is works fine and embedded swf make its sendAndLoad calls correctly.
    But! When it is located on the web server swf not work correctly. I meant there is not returned values by sendAndLoad method.
    Well, to make some points: questionContentLoadVars.img1 holds(return) the string from php call. This "img1" is an empty returned string only in Flex app placed in the web server otherwise it returns correct value from php call?
    When gameplay22.swf is standallone works!
    When gameplay22.swf is in HTML page works!
    When gameplay22.swf is embedded in FLex and executed in LOCALHOST works!
    But in the web server this embedded gameplay22.swf doesn`t works!
    What is the problem with it?
    //* here is flash(swf) part of gameplay22.swf file which is embedded in the Flex by SWFLOader(gameplay22.swf)
        questionContentLoadVars = new LoadVars();
        questionContentLoadVars.onLoad = function(success){
        if (success){
        slidingSvityk_mc.descripTA_mc.description_ta.text = questionContentLoadVars.theContent;
        else 
        slidingSvityk_mc.description_ta.text = "err!";
        function loadQuestionData(sectionID){
        var tablename ='questionsgeo';  // database tablename
        //sending variables to the PHP script
        questionContentLoadVars.row = sectionID;
        questionContentLoadVars.tablename = tablename;
        questionContentLoadVars.id_ = "";
        questionContentLoadVars.img1 = "";
        questionContentLoadVars.sendAndLoad("getQuestionRec.php",questionContentLoadVars,"_POST") ;
        function showLoadedGalleryImages():Void{
        infphp.text = questionContentLoadVars.img1;
        var img1Bulk:MovieClip = new MovieClip();
        img1Bulk = imgGalleryContainer_mc.img1Bulck_mc.createEmptyMovieClip(img1Bulk, _root.getNextHighestDepth());
        img1Bulk._x = 0;
        img1Bulk._y = 0;
        image_mcl.loadClip(questionContentLoadVars.img1, img1Bulk);
        //* And here is Flex part of embedded SWFLOader(gameplay22.swf) component
        <s:SWFLoader includeIn="user" width="1024" height="768" horizontalCenter="0" source="gameplay22.swf" verticalCenter="0"/>

    Thanks kglag, for trying to help,
    As i posted in another forum the problem was in the free flex example which i used to add another state and by using SWFLoader to  embed my swf file.
    Now i was created my own flex app and add SWFLoader to embed my swf and voila - it works!
    There is no cross-domain loads  the loaded content is in the same domain.
    So, again thanks!

  • Embedded SWF very slow to load in browser

    I have placed a swf slide show in Flash catalyst about 500k the problem is when I playback in the browser the embedded swf file displays long after the rest of the website has loaded and built. It works fine after I refresh and the file is loaded in the Cache.. but makes for a poor user experience when viewing for the first time, First impressions count.
    If I place the 500k swf in Dreamweaver it loads almost instantly from the remote server.
    For some reason Flash catalyst has a difficult time decoding and playing.
    The flash file was built in CS5 default settings.
    Any help on having the swf load first or process faster would be great.
    I know that file size is a issue but 500k is not that much.
    Heres the url.
    http://www.moonlightdigital.me/Test/home/home.html
    Thanks Curtis

    Hi Tanya,
    http://forums.adobe.com/message/2816273#2816273 like in this thread i used "On application start interaction" and i slected my swf files to load in application start.But i think nothing has changed.this the web site which i upload after that changes...http://www.fndim.com/altis2/main.html
    I think the problem is, in the preloader my embedded swf files doesnt installing to the browser...i want that everything is intalling with the preloader in the begining.If you want i can send you my fxg file..but i dont know how can i send it to you ?

  • Embedded .swf's calling javascript from air container

    1) I have an html/ajax air app version 1.5.1
    2) This air app embeds .swf files from an external source / web server & plays the embdded .swf inside air.
    3) The embedded .swf file has a button with an onClick event
    function onClick(event:MouseEvent):void {
    ExternalInterface.call("someJavascriptMethod()" );
    4) The javascript method to be called is already parsed inside the containing Air app and is waiting to be triggered.
    5) When the onClick is triggered, the following error is thrown.
    Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX,
    Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime.
    at Error$/throwError()
    at flash.external::ExternalInterface$/call()
    at stress_fla::MainTimeline/onClick()
    6) On investigation I found on your livedoc's website that Air does not support the ExternalInterface.call method.
    http://livedocs.adobe.com/labs/air/1/aslr/flash/external/ExternalInterface.html
    Look for Note: Adobe AIR currently does not support the ExternalInterface class.
    7) Does anyone here know how I can get an embbeded .swf file to call javascript methods in the containing air application? I have had a look at the getUrl method but this is now longer supported & even the FS command but still to no avail. I may have a work around by inserting a DOM element over the top of the embedded .swf but this is not an elegant solution & want the .swf to talk directly to the air app container.
    All help & comments welcome
    Thanks
    Kyle
    Additionally I have found
    http://help.adobe.com/en_US/AIR/1.5/devappsflash/WS5b3ccc516d4fbf351e63e3d118666ade46-7ed4 .html
    Using the Html Loader so that Actionscript can call/manipulate the dom objects. At first I was whopee but then I tried the examples listed in the help. The HTMLLoader class is only available in Air. When trying to use import flash.html.HTMLLoader; Flash C4 complains that the Definition cannot be found on compile time & therefore does not export my movie correctly. Has anyone else had this problem or have a solution??
    More additions:
    The reason the htmlLoader class was not compiling was due to the source action script provided being ActionScript 2.0 - the htmlLoader class is a 3.0 library.
    However, after more investigation I have found the current structure.
    The air app has an html base/root doc. On periodic javascript events - .swf files are downloaded via
    videos = new air.Loader();
    netStream     = new air.URLRequest(path + file);
    videos.load(netStream);
    So now I have a html container in my air app that creates a new air.Loader which downloads the external .swf file in which I want an onClick event in the action Script of the downloaded .swf file to call a Javascript method of the parent air container. Simple yea?
    Or am I making life to hard for myself? Have been looking at the security snadboxes but I don't see how I can get the .swf file to talk nicely with the outer air container. Please help if able.
    Thanks
    Kyle

    Hi Kenneth,
    Your explanation makes sense.
    I have a big JavaScript file full of special mathematical functions written by a mathematician who only knows how to program in Javascript.
    I need to call the Javascript functions from within an ActionScript library, which obviously has no UI, and thus HTML and/or HTMLLoader are not an option.
    Any ideas?
    TIA,
    mlavie

  • Crash to desktop when loading embedded swf

    I have a swf that loads two other embedded swfs. The need for an air native extension came up so I've wrapped this swf inside of an AIR app. I install my app as a native installer. (on Windows 7)
    My app has a main menu screen and two buttons that will load two separate swfs to do their own menus and actions.
    Everything has worked great, until I tried to install the AIR app on a computer without internet. I ran the air redistributable, then installed my app. The main menu runs fine, and the main swf can load one of the embedded swfs, but when it tries to load the second embedded swf it crashes to desktop. No warnings, no errors, I just see desktop after clicking a button.
    Here is how I'm loading the offending swf:
    Inside MM_DocumentClass.as
    [Embed(source="../../ContentViewer/bin/ContentViewer.swf")]
            public var CViewSwfClass:Class;
            public var CViewMC:MovieClip;
    Inside MMState_MainMenu.as
         //Load the CView.swf, and add the listener for when it's done loading.
            public function CView_BtnClick(e:Event)
                Globals.stage.removeEventListener(KeyboardEvent.KEY_DOWN, Globals.keyPressHandler);
                menuMC.removeEventListener("Animation_Complete", CView_BtnClick);
                trace(this + "******************************************************");
                trace(this + "Loading ContentView.swf");
                mStateManager.Container.CViewMC = new mStateManager.Container.CViewSwfClass();
                mStateManager.Container.CViewMC.addEventListener(Event.COMPLETE, onCviewLoad);
                mStateManager.ChangeState(new MMState_Empty());
            //Called when CView.swf is done loading
            private function onCviewLoad(e:Event)
                trace(this + "Cview Loaded");
                mStateManager.Container.addChild(mStateManager.Container.CViewMC);
    I load the other swf in the exact same way.
    This problem can be fixed by connecting the computer to internet and trying to run the same actions. The program will pause for a second, during this time I see a visible loading icon in the middle of the screen, then it successfully loads the swf and everything works fine.
    My problem is that I can't guarantee our clients will have internet at all, so I need a solution to install AIR without internet and include whatever it is that my app needs to run.
    Any ideas? 'Cause this one's had me stumped for quite awhile.

    Does this happen whith every subVI or just on particular one? Also, what version of LV and OS?
    Lynn

  • Why are my embedded SWFs so ugly?

    Hello people,
    When I embed my swf file into my website (running on Wordpress), it looks ugly, Round picture elements (which come from PSDs, incidentally) show up jagged and ugly on my webpage, even though I use the best quality settings.
    I've tried two different flash embedding plugins, but there's no difference. I find the embedded swf unacceptable looking.
    How can I get it to look the way it does in the .FLA?
    Thanks,
    Ehrenfest

    Hey k,
    I never allow my swf to be resized - original size, only. I don't know how to enable smoothing - have looked in the Publish options, but can't find anything that looks like it.
    However - in the past I didn;'t have these problems. The only thing I;m doing differently right now is that I have imported PSDs into my .fla. For one reason or another, though they were perfect in Photoshop, they're butt ugly (sorry) in Flash.

Maybe you are looking for