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

Similar Messages

  • Help for PowerPoint 2007 crash when running embedded SWF file with latest Flash Player?

    I have developed in Xcelsius 2008 SP4 a dashboard with only Excel as the source. I output to PowerPoint and then save it as a PowerPoint 2003 PPS file. On more than a few machines that have PowerPoint 2007, PowerPoint crashes when I attempt to run the presentation. This happens only with later versions of Flash Player. I have tried uninstalling/reinstalling the latest Flash Player but it still crashes. However, when I revert back to Flash Player 10.1.159..., in PP 2007 the presentation runs perfectly.
    With regard to the error I receive in PowerPoint 2007, it is as follows:
    Error Signature:
    AppName: powerpnt.exe AppVer: 12.0.6500.5000 AppStamp:49a68f9d
    ModName: flash10u.ocx ModVer: 10.3.181.34 ModStamp:4e011a1d
    fDebug: 0 Offset: 003a893c
    Of note is that this behavior does not happen in PowerPoint 2003 nor does it happen when the file is saved as a SWF and launched directly in the browser on the problem machines.
    I have to assume that this has happened to others so any help you could provide would be VERY appreciated.
    Thank you

    Hello,
    on the first glance I see these: data="file:///Macintosh HD/Users/user/Documents/Website/Working.swf", what means the path to your swf file is pointing to your local hard drive which nobody can see except you. Please replace all thes pathes with the correct ones and load up your file(s) again.
    If the problem remains, please send a link to your website in question, no matter how it looks like..
    Hans-Günter

  • Strange LayoutManager error when loading external swf

    The swf loads and I get no popup errors in the browser.  But in debug mode my FlexBuilder console reads:
    [SWF] C:\~projects\source\flexbuilder\tests\dyvetntive_moderator_test\bin-debug\assets\swf\pres entation.swf - 1,592,516 bytes after decompression
    undefined
        at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:668]
        at Function/http://adobe.com/AS3/2006/builtin::apply()
        at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
        at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]
    Loading other swf's produces the same result.
    What is that?

    Turns out it's probably a bug:
    http://bugs.adobe.com/jira/browse/FB-24339
    Third party vendor wrote:
    We have researched this issue. It's not an issue of ours. The crash happens when the loaded AS2 Movie uses _quality property of the MovieClip object.
    Step 1 to reproduce the issue.
    Create a simples AS2 file with Adobe Flash Studio which has the only line:
    this._quality = "BEST"
    and publish this Flash file into "QualityBug.swf" file.
    Compile the following application with Flex. As you can see there is no code of ours at all:
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="onInit()">
       <mx:Script>
          <![CDATA[
             import mx.core.UIComponent;
             import flash.display.Loader;
             import flash.net.URLRequest;
             private function onInit():void
                var loader:Loader = new Loader;
                var container:UIComponent = new UIComponent();
                container.addChild(loader);
                this.addChild(container);
                var request:URLRequest = new URLRequest("QualityBug.swf");
                loader.load(request);
          ]]>
       </mx:Script>
    </mx:Application>
    Launch this application in debug mode. The same crash. This means that issue is related to Adobe product family.
    We will try to report to Adobe about this issue.
    Since the issue happens only when debugging on IE we may recommend using other web browser for these purposes, for example Firefox until Adobe fix the problem with their product.

  • Problem when load more swf files work with xml files into my movie

    hi ;
    I have one flash file & more of swf files which work with xml files .
    when I load one swf file into my flash file  and remove it and load anther one on the same movieclip in my flash file it load the old swf file.
    when i load one on movieclip and remove it and load anther swf  on anther movieclip the file doesn`t work  and stoped.
    when test my flash file to load and remove swf files without xml file it work fine but when repleaced the swf files with other work with xml files the problem hapend.
    thanks;

    YOu should trace the names of the files that are being targeted for loading to see if they agree with what you expect.  If you want help with the coding you will need to show the code that is relevant to your problem (not all of it)

  • Preserve frame rate when loading one swf into another

    Is there a way to preserve the frame rate of a swf when
    loading it into another swf that plays at a higher frame rate. I'm
    loading some flash ads that mostly run at around 12-15 frames a
    second into a portfolio site that runs at around 40 frames per
    second. All my ads play too fast. The link is:
    www.dg8tal.com/portfolioidea.html
    Thanks!

    As far as I understand it, there is no option to override the
    frame rate designated by the main movie you are loading into. The
    SWF file you are loading always inherits the framerate of the SWF
    you are loading it into. Here are some suggested work-arounds that
    might help:
    1) Lower the frame rate of the main movie on the website that
    you are loading into.
    2) Expand the timelines of the advertisements just for use in
    your portfolio
    3) Put your menu and thumbnails in one HTML frame that can
    then load each item in another HTML frame above it. Since each SWF
    would load on its own, the framerate of your main swf would not
    matter. You would lose your nice resizing effect though unless you
    did some more complicated integration with javascript I imagine.
    I would recommend going with option 2, since that will take
    the smallest amount of work while preserving your overall design.
    However, with the faster framerate, your advertisements would have
    difference performance characteristics that you'll need to assess.
    I'm trying to think of more options, but these seem to be the
    first things that come to mind.

  • Error 2044 when loading external swf into my site

    Ok what i have is a site made from 1 flash file where i am loading external swf files for my picture galleries. now what is happening is in Flash, dreamweaver and when i test the site, everything is working perfectly, the problem is coming when i go into internet explorer go to the site and click on the flash button to go to the picture gallery, that is when it is giving me a Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.
    does anyone know why this is happening and a possible way to fix it? thanks

    See if the following link helps at all...
    http://www.gotoandlearnforum.com/viewtopic.php?f=29&t=20453

  • ITunes 11 crashes to desktop when accessing Books/pdf section

    Recently, I had to restore my iTunes directory after an unsuccesful move to a NAS. I completely restored my iTunes folder to the one that was there two weeks before. Everything works well, except for one (big) error: when I select "Books" and then look at the PDF page, iTunes crashes back to the desktop. After this, iTunes crashes even after pointing at "Books". Same story when I touch the iTunes/Books tab on my iPod 5th gen of iPad2 when they are connected. Synchronization is not an issue.
    I restored the whole folder again, and found that Books was working with all subtabs except for PDF. Touching this tab made the folder build up previews until about 80% of the way, then crashes to desktop. Going back to this page after a restart cause an immediate CTD.
    I strongly suspect one of the PDF files to cause this issue, but have not way of finding out which one is the culprit.
    What can I do to fix this problem?
    iTunes 11, iMac with OS X Mountain Lion, iPad + iPod Touch, both OS6

    I browsed around in this forum a lot, and solved this problem on my own.
    First, I deleted Flip4Mac, which did not help. Then I looked at all PDF's which started with an "A", as this happened to appear on my screen where the crash happened. I then check my iTunes/Books folder and noticed that some files had duplicates (i.e. had a '1' behind their file name). I deleted these double ones and restarted iTunes.
    This did the trick!!

  • AllowDomain error (#3207) when loading local swf

    I am trying to load a swf that is on my local file system using an AIR application. The swf I am loading has the code Security.allowDomain("*") in it's constructor. I am getting the following runtime error when I load it.
    SecurityError: Error #3207: Application-sandbox content cannot access this feature.
        at flash.system::Security$/allowDomain()
        at ball_fla::MainTimeline/frame1()
    Is there anyway to load this file without recompiling it?

    As you can see Security.allowDomain() is not permitted in the AIR application sandbox. This is because we want to prevent non-application content (possibly from unsafe sources) to access AIR APIs (such as filesystem reading). However, you can cross-script to content from other domains using the sandbox bridge. This lets non-application content access specific methods and properties in your application (and vice versa). For more information, see the following:
    Scripting between content in different domains

  • Scrollpane stopps working when loaded in swf

    Hi,
    Hoping someone can help with this issue. I have a nice
    scrollpane with easing that works fine when on its own, but when
    loaded into another swf the scroll action stops working.
    I have tried the _lockroot action on the swf to be loaded but
    that seems to stop it working also.
    This is the code:
    txt.setMask(mask);
    scrollbar.onMouseDown = function() {
    if (this.hitTest(_root._xmouse, _root._ymouse) &&
    txt._height>mask._height) {
    this.startDrag(false, scrollbarBG._x, scrollbarBG._y,
    scrollbarBG._x, scrollbarBG._height-this._height)
    txt.onEnterFrame = scrollThumbs;
    dragging = true
    scrollbar.onMouseUp = function() {
    stopDrag()
    dragging = false
    delete this.onEnterFrame;
    function scrollThumbs() {
    var funkyVar =
    -this._parent.scrollbar._y*(((this._height-this._parent.scrollbar._height)/(this._parent. scrollbarBG._height-this._parent.scrollbar._height))-1)
    this.Y = (funkyVar-this._y)*.2;
    this._y += this.Y;
    if(Math.abs(funkyVar-this._y)<1 && !dragging){
    delete this.onEnterFrame
    Help is appreciated, this is driving me mad!!
    Cheers,
    Pat

    You should not nest named functions... a source of problems waiting to happen.  You should go into your Publish settings and select the Permit Debugging option in the Flash section.  That could provide more specific information regarding the source of the error, such as a line number.  I haven't read thru your code beyond a glance, but where you are using e.target in mouse event handler functions, you should try using e.currentTarget instead.

  • IE crashes to desktop when attempting to display forms on OAS

    This is on a server running Windows 2003 server SP2:
    - Install OAS 10g R2 (Infrastructure + Forms/Reports)
    - From the OAS server, start IE and enter the URL to call the formservlet to display the test.fmx form
    - IE crashes to desktop
    - Attempting to access the Jinitiator console via Control panel --> Jinitiator does not work
    - Attempting to uninstall Jinitiator via Control panel --> Add/Remove programs does not work
    - Only affects IE on the OAS server. From other machines, using IE to access the formservlet to display the test.fmx form works perfectly
    We have come across this problem once before on another server, which we solved by adding the Jinitator x.x.x\bin folder to the PATH environment variable. However, this time, this solution does not work.
    Any clues?
    Thanks
    Edited by: user577087 on Nov 4, 2008 2:02 AM

    Thanks for the advice BGrant, we appreciate the replies.
    We managed to get Jinitiator working thanks to an email from Rolf Weilenmann and thought we would share it.
    Apparently Windows 2003 server SP2 Data Execution Prevention (DEP) thinks java is a dangerous piece of code and blocks execution which is why:
    - IE closes immediately upon trying to run the Jinitiator plug in (with no error message and nothing in the server logs either)
    - Jinitiator console cannot be started
    - Jinitiator cannot be uninstalled using Add/Remove programs
    The solution sent by Rolf which we used and found working was to exclude java.exe from the Data Execution Prevention:
    1. Go into Control Panel --> System --> Advanced --> Performance --> Settings --> Data Execution Prevention.
    2. Select "Turn on DEP for all programs and services except those I select".
    3. Browse to \program files\oracle\jinitiator 1.3.1.28\bin (or whichever version of Jinitiator is installed) and add java.exe to the list.
    If more than 1 version of Jinitiator is installed, pick the one that is used by the Forms server (Check <oraclehome>forms\server\formsweb.cfg for parameters prefixed by jinit*)

  • Browsers crash when loading the swf!

    Hi all
    using Mac OSX. Safari, FireFox and Opera sometimes crash when
    opening this page:
    http://annetteberrydesign.com/index_content_new.php
    sometimes they don't crash... It seems random, but they often
    crash.
    There is something wrong with the swf for sure:
    the grey frame (grey lines) that draw at the beginning are
    not displaying properly, although they
    are displayed properly in authoring mode. (in authoring mode,
    two additional lines are drawn, but
    they are invisible in the published swf).
    The browsers started crashing when I changed the publish
    settings to flash version 8 (was previously
    flash version 6).
    I can't figure out why these lines are invisible in the
    published file, and why my browsers randomly
    crash when I open this page.
    Has anyone experienced this before?...
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    An Ingenious WebSite Builder:
    http://sitelander.com

    the most common problems when going from 6 to 8, are:
    1. and undefined variable (that's incremented or decremented)
    2. a misspelling - myMC was the same as mymc in flash 6, but
    not in 8.
    with a problem causing a browser crash look for an
    out-of-control loop (like a for-loop or while-loop) that may be
    creating objects.

  • Color Crashing on Open when loading media

    This is my first Color experience and I must say it has been painful. I tried to do the send to color function and crashed. I did however do the XML export and it worked yesterday. Then I started Grading . Things were kind of a pain but workable. at the end of the day I saved and left the system running because I am worried that the system would crash. I told my Assist not to touch the system at night because I am supposed to wrap today. I can In this morning and the system is down and had crashed. I re booted and went to start the project. the system loaded the project and then crashed to the Desktop. I restarted again and the same thing???? What the @#$% I am not sure what to do???? is there any trouble shooting that can be done. Trow away some file or something. There is not even a message. Go figure????? Please help I am doing this project pro bono.

    Without an explicit SAVE, COLOR won't remember the rendered material, so those clips won't have any status, even when you get the project running again. However, they may come back if you can get an export XML to work from the COLOR project, without doing a re-render... hey it worked for me last week.
    What else is running in the background? If its still resident, Final Cut will sometimes crash the program if it is set to autorender its active timeline after a certain period. ScreenSavers can interrupt.... what else?
    You've restarted the system, I would bet. But do a full shut down, rather than a warm reboot. That would certainly be the case with SHAKE after it has consumed all remaining resources with a couple of Flipbooks and slowed the system to a standstill. Hard boot, or the problem won't go away.
    Then try reopening the project a variety of ways. From COLOR, from the exported XML if you can find it, and you may have a fresh project with that option... in that case, maybe an Import COLOR CORRECTIONS will give you your grades back.
    There may be other ways of trying to recover portions of the project by explicitly opening the saved colorproj with a Right-click "Show Package Contents"... then you can start trying to transplant parts of the project to stitch together a new prometheus (the original Mary Shelley title of a short novel she wrote about the creations of a certain Dr. Victor Frankenstein -- that's FRONK... en..shteen....)
    jPo

  • HP MediaSmart crashing to desktop when attempting Bluray playback

    Hello all,
    I've been trying to get the movie Coraline to play in an HP Envy 17 1181nr to no luck. MediaSmart DVD reads the menu, then the FBI warnings, then the Universal intro in all Universal movies - and then crashes to the desktop.
    By the way, it's the only bluray movie I've tried on a brand new system (the computer is days old), and it's the only one I have handy at the moment.
    The error I get in MediaSmart says:
    HP DVD Smart Main has stopped working. A problem caused this program to stop working. Windows is checking for a solution... etc. (close program dialog box).
    I tried installing PowerDVD 10, and had the exact same error: a crash to the desktop, this time, with no error message.
    Any ideas as to what might be causing this?
    Thanks for the help and the time dedicated to these issues.
    Cheers.
    Also: just an observation, but I read somewhere on this board that some movies just don't play (like Spiderman 3). Is that true, and if it is, why? Shouldn't a player simply play?
    EDIT: I read here: http://h30434.www3.hp.com/t5/Notebook-TV-Tuners-and-Media/HP-Mediasmart-DVD-failure/td-p/307260/page... about a possible issue with Windows 7 update KB234886 and MediaSmart DVD failure. I checked for installed updates and I have it on my system. Should I uninstall it?
    From what I read, this is a security update for the Server service. Also, I do not have Comodo firewall installed.
    EDIT2: Doing more research, I find it's definately some incompatibility or problem with Cyberlink's software, as I can open the .m2t files in VLC player just fine.

    Hi again,
    Thanks for the links.  It does seem that Cyberlinks Blu ray software is very sensitive to other software and drivers that may be on the PC and the list of things that break its functionality is ever-growing.  Why this should be, when other companies such as ArcSoft seem to be able to produce Blu ray software that just works would seem to indicate that the Cyberlink software is just not very well written.
    Regarding your issue with MediaSmart DVD, the next thing that may be worth trying is uninstalling and then reinstalling the graphics driver for you PC, which is on the link below.
    ftp://ftp.hp.com/pub/softpaq/sp50501-51000/sp50569.exe
    Save this file to your Desktop and run the installer by right clicking it and selecting 'Run as Administrator'.
    Look forward to hearing from you.
    Best wishes,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Adobe crashes to desktop when I try to create a PDF from a Word document.

    The PDF does end up getting created, but not before crashing my Adobe to my desktop, or even crashing it to the background so I have to kill Adobe in the task manager in order to get it to start again.  The progress bar used to fill up faster when it was working correctly, but now, the progress bar just slowly fills up under "Reading PDF Document" and then freezes.
    I'm running Windows 7 Pro x64 on a Thinkpad T620.
    Please help!

    It's 9.4.
    We are having multiple issues crop up on this system.  Its MS Office and antivirus are both unstable, and a SQL server update has failed, so I am beginning to suspect that this issue may be a symptom of a bigger problem.

  • PS CS4 crashes to desktop when "save as.." selected

    HI,
    I am running Win XP with SP3 and latest updates. Sony Vaio laptop with 2 gig ram, 320 gig hard drive, more than 200gig available. Photoshop CS4 with all the latest updates as of 6/2009. If I start up Photoshop and open a file and edit it, all works fine. If I then click on "Save as" from the file menu, it dumps me straight to the desktop, all is lost, no error message, no hesitation, nothing. Once I got it give an error on the "ole32.dll" and the applicaiton wanted to close. If I start it up and edit a new file, click on "Save" rather than "Save as" it works fine, and from then on I can use "Save as" with no problems. If I bring up a file using Lightroom and then edit in Photoshop it works fine. Only when Photoshop is brought up by itself and only if I hit "Save as" before doing a "Save" and it crashes all the time. If I save a dummy file, it works fine. I have reinstalled Photoshop twice, same result. I have no issues with any other programs, just Photoshop.
    Any suggestions?
    Thanks.
    Alan
    Message was edited by: Alan Smallbone
    corrected typo on header

    Sounds more like a generic MRU (most recently used) list issue. Seems to me, the Save as... is trying to access a location that is no longer there, hidden, or blocked. Those are all stored in your Registry, so choose Run from the start menu, type in regedit and search the MRU keys. Also try CCleaner, it also offers to clean out MRUs, it just doesn't always catch all.
    Mylenium

Maybe you are looking for

  • Unable to slipstream update 10.1.1/.2/.3 in Acrobat Std 10.1.0

    Hi everybody. I'm struggling with slipstreaming updates into Acrobat X Standard v10.1.0. I used the v10.0.0 and made an administrative installation in a new folder with msiexec /a AcroStan.msi After that I integrated successfully the 10.1.0 with msie

  • Interface without a source datastore

    I have to transform Data from a DBView into an XML (based on an XML schema). On reverse-engineering the XML schema, it generated 4 data stores. For successful generation of an XML file based on this schema, these data stores should be populated. Of t

  • Another preview question

    I'm not quite sure what happened but I've lost the ability to preview in another browser.  When I first set up Dreamweaver CS3 (ages ago), I could preview in IE, Mozilla and Safari.  Now I'm down to just Safari -- and that's not going to cut it.  Wha

  • Error 1051429. Analytical services Product Existent check Fails

    Hi, We want to externalize users from native to shared services. Note: The Enviornment is UNIX. Following activities were carried out from our end. 1. Configured database. (Oracle) 2. Registered with shared services. 3. Deployed to Application server

  • How to copy brush masks from one adjustment to another

    Thought the readers of this forum might like to read my recent blog post on the aforementioned subject, with complete step-by-step instructions.  I've been successfully using the technique outlined in the post for quite some time and finally got arou