Loaded SWF not displaying

I've created a 'plugin' SWF file in CS3 using actionscript 3.
The purpose of this file is to be included as a postroll in the
open source flash media player JW FLV/Media Player (
http://www.jeroenwijering.com/?item=JW_Media_Player).
I have heavily customized the media player libraries to do
various new things/alter how things worked, and now want to be able
to include the SWF file within this into a child sprite/movie clip.
HOWEVER, the problem lies in that the media player is written
completely in AS2, and therefore I have to use the MovieClipLoader
class to load in the SWF. Updating the source to AS3 isn't an
option unfortunatly, and downgrading the AS3 SWF to AS2 isn't an
option either, mainly due to the fact I've learnt AS3, not AS2, and
find it frustrating trying to find the AS2 equivalent to the AS3
methods I know.
The problem though lies in that MovieClipLoader does not like
my SWF at all. Initially I was presented with a load of sandbox
errors from when it was loaded in, which I then resolved so that no
security errors are produced. However, whenever I load in the clip,
the target sprite/clip is empty. I have gone through checking that
no errors occur on load, and it reports that the loaded SWF has
been initialized, yet I see nothing. Also, the code loading the SWF
is not at fault as it loads any other SWF (even another AS3 SWF
which just creates a rectangle) no problem.
Oddly enough, using the MovieClip.loadMovie method works in
one situation - when you load it into the root of the AS2 file.
When loading it into an empty movie clip, the same problem of a
blank clip occurs. The problem is not specific to the media player
either, as it happened in any AS2 file where I was testing how to
load in the AS3 SWF.
If it is of any use, the sandbox errors produced by the AS3
file when loaded into AS2 swf I had to resolve where to do with
stage access for getting the stage height and width, and a
Loader.content error when pulling out the BitmapData. These were
resolved via setting the allowed domains policy and eliminating any
reference to stage.stageHeight/With.
Does anyone have any ideas on how to solve this? The only
possible solution I've been able to think of so far since the AS3
swf won't display is to play with the LocalConnection class as
tests showed I can communicate between the AS2 and AS3 files, but
this would have to be a last resort, and is less than ideal when
there can be multiple instances of the player running (I would need
to use unique connection names for each instance so as to prevent
player A interacting with player B, and also as only one of the
players can listen on the connection at once).

I have the component in the top level also,
I get this error:
TypeError: Error #2007: Parameter child must be non-null.
          at flash.display::DisplayObjectContainer/addChildAt()
          at fl.controls::BaseButton/drawBackground()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\BaseButton.as:615]
          at fl.controls::LabelButton/draw()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\LabelButton.as:724]
          at fl.core::UIComponent/drawNow()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\core\UIComponent.as:1343]
          at fl.controls::List/drawList()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\List.as:594]
          at fl.controls::List/draw()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\List.as:474]
          at .tree::TreeList/draw()
          at fl.core::UIComponent/callLaterDispatcher()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\core\UIComponent.as:1532]
I've checked the definitions for the tree component,
The LabelButton and List I don't have much control over.
I'm not sure how to fix this.  The xml is correct and loads easily if it's in the root document.
The list component doesn't load the labels, It stops on the first one.
  What do I do next?

Similar Messages

  • SWF not displaying on iOS

    I'm currently developing a game using AIR. I'm using Flash Builder 4.5.
    I tried loading swf and static images using the Loader class but when exported and put on an iPod none of these images showed. I changed it to something like this:
    Code:
    [Embed(source="images/bomb.swf")]
              private var bombClass:Class;
              private var bomb:Sprite=new bombClass;
    which works for static images (.jpg or .png) but the .swf still do not show.
    Also it should be noted that these all show in the emulator and on Android. It is only on the iPod that they don't show up.
    Any ideas?

    I tried to check users forum and can see that multiple users have complained about this issue , have you tried to contact them ? If not then I would suggest you to contact them directly.
    Thanks,
    Sanjit

  • SWF not displaying properly in FireFox and IE 7 & 8

    I am working on a site that is staging right now.  I have a gallery page that displays a Flash .swf file. It loads properly in all browsers, except only about 1/3 of the viewer shows up on the page in FireFox and IE 7 & 8. It displays perfect in Safari and older versions of IE.  Is anyone familar with this issue? Can someone offer any suggestions?  Thanks in advace.

    What version of Flash? What does the html page that holds the .swf look like? Can you share a URL where this file sits?

  • Swfs not displaying in IE, using SWFObject2

    Hi,
    I have a site I did a couple years ago, and have had to open it up, and now none of the SWFs display in IE. In my template I deleted my old Flash nav and reinserted it (insert/media/swf) and then I got a white box where the navigation should be.
    I've tried going to the Google site and got sample code for SWFObject2, I uploaded the swfobject.js and expressinstall.swf to the site's root directory, but I still get a white box in IE. It works fine in Firefox and Chrome.
    What am I doing wrong?
    I really appreciate your help.
    Take a look at this page: http://stagerightorg.com/resources/articles2.aspx
    I'm using DW CS4 on a PC.
    I've bolded changed code:
    <%@LANGUAGE="VBSCRIPT"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html><!-- InstanceBegin template="/Templates/asppage.dwt.asp" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Stage Right!</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    <link href="/main.css" rel="stylesheet" type="text/css">
    <link rel="shortcut icon" href="favicon.ico">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript">
    swfobject.registerObject("myId", "7.0.0", "expressInstall.swf");
    </script>
    <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    </head>
    <body>
    <table width="749" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#004159">
      <tr>
        <td>
    <!-- InstanceBeginEditable name="main" -->
          <table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#009530">
            <tr>
              <td>
              <table width="749" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td colspan="2"><img src="/flash/top.jpg" width="749" height="141"></td>
                  </tr>
                  <tr>
                    <td width="156" align="left" valign="top" background="/images/bpondlownav.jpg">
    <object id="myId" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="156" height="358">
    <param name="movie" value="/flash/nav.swf" />
            <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="/flash/nav.swf" width="156" height="358">
    <!--<![endif]-->
    <div>
    <h1>You will have a richer experience on this site if you download Flash</h1>
    <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
    </div>
    <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
    </object>
                </td>
    and it goes on...

    1) you are posting to the wrong forum. This forum is for application development.
    2) you did not provide a url or any code making it very difficult to guess what the problem could be.

  • Loader component not displaying content

    I had this issue on a few different projects and have not
    been able to find a solution:
    When loading an image with the loader component, the image
    only displays about half the time even though the complete event is
    received. I sometimes see a quick flicker of the image.
    I have tried both calling invalidate() and resizing after
    loading has completed, but does not help.

    i had a similar issue with that, what i did was create a
    class.
    this class was linked to a movie clip, and whenever i'd need
    an image loaded, i'd simply attach this movie.
    as for resizing and positioning of the image, i also did a
    code in my enterframe that always made the image centered with a
    max size and height of 100, that way it was always proportionate
    and i could simply control the size by controlling the xscale and
    yscale of the image movie clip.
    hope this helps
    class image extends MovieClip {
    function image() {}
    function loadImage(sPath){
    this.createEmptyMovieClip("mContent", 0);
    // you can also attach a loader there
    this["mContent"].loadMovie(sPath);
    this.onEnterFrame = function () {
    if(this["mContent"].getBytesLoaded() ==
    this["mContent"].getBytesTotal()) {
    //remove the loader
    this["mContent"]._visible = true;
    } else {
    // update the loader
    this["mContent"]._visible = false;
    }

  • When I load firefox it does not load my default page, and any page I try to load does not display, only showing (untitled).

    My firefox (ver. 3.6.13) shows an untitled page when I load the program, rather than my start page. Any page I try to load only displays (Untitled) and does not load. My Internet Explorer displays web pages normally.

    Does the issue still occur if you start Firefox in Safe Mode? http://support.mozilla.com/en-US/kb/Safe+Mode
    How about with a new, empty profile? http://support.mozilla.com/en-US/kb/Basic%20Troubleshooting#w_8-make-a-new-profile

  • Interactive PDF (with embedded SWF) not displaying consistently

    Hi folks,
    We are seeing varying behaviour when we try to open a PDF document which we have created as part of publishing to PDF in Captivate 6. The original project is a recorded PPT file which we publish to HTML5, SWF, ZIP and PDF. In some instances the interactive PDF opens fine, but in some instances we get something like this:
    We have always made sure we have the latest version of reader up to date etc, but can't work out why some machines are giving the above and others done. Any help would be greatly appreciated

    Hey JT,
    Came across this: http://helpx.adobe.com/acrobat/kb/known-issues-acrobat-xi-reader.html
    I know you said you have reader 10, but I had 11, so I went and removed it and and installed a version of 10 again, and wht do you know, they work ok. However, this is not a workable solution for us as many students will automatically update to the latest PDF reader, which is currently 11. Adobe changing the rules around this has stuffed us up, and we have no option but to take offline all our interactive PDF versions produced with Captivate 6. Very disappointing, but will save our helpdesk a lifetime of support calls :-(
    Grant

  • SWF not displayed in Firefox

    Using RoboHelp to publish on FrameMaker book with embedded
    SWF Captivate content. All works fine in IE, but the SWF files do
    not play in Firefox. The output does of course contain an object
    tag for the movie, but Firefox desn't like it. You can edit the
    object tag manually (change the codebase attribute to a
    type="application/x-shockwave-flash" attribute) so that it works,
    but that's hardly a solution. Any way of getting the output to work
    in both Firefox and IE out of the box?
    This behaviour is the same when generating HTML or Flash
    help.

    The issue can be fixed by running the attached RoboHelp Script.
    Inorder to run the script, perform the following steps
    Download the attached zip file and unzip FixObjectTagForSWF.jsx to disk.
    Open the RoboHelp Project
    Click Menu item View->Pods->Script Explorer to open the Scripts Pod
    Click "Import Script" button from the Scripts Pod tool bar.
    Select the downloaded file from the disk to import the script.
    Select the script file that appears in the pod and click "Run Script" button.
    This shall fix the issue and the SWF should work in both Firefox and IE.
    [NOTE: The script will make permanent changes to the topics of the project. Please test the script on a sample project to see if it fixes your issue before running it on the final project]
    Mayank
    RoboHelp Team.

  • SWF not displaying correctly in IE

    Alright, here it goes. I have a swf that is embedded into an
    HTML file. This swf plays an FLV. It uses a series of masks to form
    the FLV to a circle and leave the background transparent. There are
    circular frames around the FLV. There is also a circle mask right
    on top of the FLV itself. All layers below the mask, except for one
    that is a bitmap, fail to show in IE. It all works perfectly in
    Firefox.Is it the fault of the mask? Is there something else I
    missed?
    Thanks

    There is a limit of 12 layers of (non-opaque) transparency
    (when you use
    high quality setting) .. not sure if that applies to masks.
    There are also
    problems with text being masked. But none of these should
    make a difference
    with IE vs Firefox. Do you have the same version of the
    player for Firefox
    as for IE? Are you using wmode=transparent .. that can cause
    al SORT of
    problems.
    Jeckyl

  • SWF not displaying correctly on Firefox

    hi, I have an SWF file that i use in my facebook application. The problem is that when the swf is loaded i can only see half of it on firefox.
    But it works just fine on IE and google chrome.
    Any one knows why please?
    Thanks.

    Hi everybody,
    I believe that Satyajit has got it right. The problem has nothing to do with the swf. If you post a link to your page or send the files, someone could immediately figure out the problem. So be our guest...
    Yannis

  • Embedded swf not displaying in full size

    So i have a swf file. When i open it with any browser or with the standalone flash player it shows up fine. But when i embed it in an HTML file with the following code :-
    <html>
    <head>
    </head>
    <body>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/
    cabs/flash/swflash.cab#version=6,0,40,0"
    width="800" height="600" id="mymoviename">
    <param name="movie" value="Example.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#ffffff" />
    <embed src="Example.swf" quality="high" bgcolor="#ffffff width="800" height="600" name="mymoviename" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>
    </body>
    </html>
    and open it in Firefox or Chrome, it all scales down to a very small size like 100x80. This does not happen in IE though and it plays at original size. The stage dimensions in the .fla file are like 550x400. Any help.

    Check out this thread:
    http://discussions.apple.com/click.jspa?searchID=4541194&messageID=5729015

  • SWF not displaying inside SGD

    I am trying to integrate the Flex 3 dashboard with SGD. I load my release onto the server then link to the html file as a document. When I load the document from SGD, a blank page appears in the frame. Right clicking on the frame reveals that it is in fact a flash app, but nothing appears onscreen. Any ideas?

    The method of inserting SWF files has changed completely in Dreamweaver CS4. You cannot simply swap the source file.
    Delete the original SWF file from the page, and remove all related code. Then insert the new SWF. You also need to upload expressInstall.swf and swfobject_modified.js from the Scripts folder that Dreamweaver creates in your site root.

  • SWF not displaying after changing from Studio 8 to CS4 [was: same not transferred...]

    Hello all,
    I recently upgraded from Studio 8 to CS4 and on one of my pages I have a .swf as a dependent file with an .htm page, I tried to change that .swf to another the put the .htm page onto the webserver, but its still showing the original .swf and within the details when putting its saying for that .swf(same not transferred)...any ideas would be greatly apprecitated as Im stumpted
    thanks,
    and yest the swf which Im changing it to has already been uploaded(do I need to reupload this file being that it was originally created with flash 8)?
    thanks again
    [Subject line edited by moderator for greater clarity]

    The method of inserting SWF files has changed completely in Dreamweaver CS4. You cannot simply swap the source file.
    Delete the original SWF file from the page, and remove all related code. Then insert the new SWF. You also need to upload expressInstall.swf and swfobject_modified.js from the Scripts folder that Dreamweaver creates in your site root.

  • Sound objects in loaded swfs not playing

    I'm working in ActionScript 2.  I have a series of swfs with Sound objects.  Works just fine when I play the swf.  However, when I load them into a loader, no sound.  HELP!!!

    when you instantiate your sound, instead of using something like:
    var s:Sound=new Sound()
    use
    var s:Sound=new Sount(this);

  • Why will only one site load but not display, yet links are available on the site?  OS10.8.5, Safari 6.1.4

    I am running OS 10.8.5 and Safari 6.1.4,  When I go to sierratradingpost.com, the page appears to load, but the page is blank.  When I pass the cursor over the page, it will change to the pointing finger indicating active links.  Yet, when I click on the link the new page loads, but is also blank.  This only happens on my Mac Air, it does not happen on my iTouch or iPad.  I have looked through all my settings when the page is loaded but can find nothing.  I have WOT, Ghostery and Ad bloc active.  Even when I turn all those off I still have the same problem. Everything was fine yesterday morning, but when I went to the site in the afternoon, the problem arose.  Any ideas? 

    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.

Maybe you are looking for

  • Mavericks and App Store

    Help Please. Since upgrading to mavericks I have two issues. 1. When I click on Apps store nothing happens. 2. When I open mail it crashes and I get the following: Process:         Mail [2446] Path:            /Applications/Mail.app/Contents/MacOS/Ma

  • How to populate GR Based IV flag for Po.

    Hi,     We are using Extended Classic scenario.When the Po is getting replicated to Backend R/3.G.R based Invoice flag in Invoice Tab in Me23n is blank.One solution we think of is flagging the G.R IV flag at vendor master level in xk03 (Purchasing da

  • Getting an error when booting SATA on K7N2 Delta2

    I just finished the Windows XP installation and everything is running great.  I have 2 issues: 1. The processor is an Athlon XP 1700+ (1.4 Ghz), but the BIOS & Windows are seeing it as a 1.1 Ghz. 2. I have to leave the CD-ROM as my first boot device

  • I would like make my iphone 4S simfree in order to use it with my current service provider. I don`t know where to ask it; and need help. Thank you.

    Hello everyone. I`m a apple user from Turkey. Lately I have bought an iphone 4S in U.S.A and brought it back to my country. My problem is I can`t use it with my local service provider; because I can`t activate my iphone 4S with the sim kart which I h

  • Asset purchase through purchase order?

    Hi, I am purchasing Asset with purchase order, I want to know what is standard procedure to puchase asset through (whether we make good receipt of same or not) if yes then what will be the configuration? because I am getting an error while doing GR o