ActionScript 3.0 :: Loading SWF Into AIR Application Crashes AIR

May 26, 2010

I need to load an SWF into an AIR application, this is set up and working. But, my AIR application crashes directly when frame 2 is reached. I've set all my classes to export on Frame 2 and I'm not initializing anything at all until the entire swf is loaded. It appears as if one or more classes in the library, when read by the parent AIR app, is causing the app to crash.

The SWF runs fine on it's own, it runs fine if I load it into another SWF. It's something to do with the AIR wrapper when my library classes start to be read.

View 3 Replies


Similar Posts:


Actionscript 3 :: File Created When Flash Application Crashes In Browser

Feb 28, 2012

I'm trying to debug my flash application and when I build and run it in debug(in FlashDevelop), it crashes. Is there a dump file which can give me information about what caused the crash?

View 2 Replies

Media Server :: Application Is Not A Valid Signed Application Loading Access Denied

Oct 29, 2009

We have an application that works no problems on our server with FMS in test mode. As soon as we enter our FMS license key we get this error: "application is not a valid signed application loading access denied".We removed the license key and it works again, but with user limits obviously, so this is not an acceptable fix.

View 5 Replies

Xml - Flex Application Loading And Synchronicity?

Nov 11, 2009

I know there are a lot of questions that have been asked about synchronicity in Flex, but I'm not sure if any cover the same issue I'm having. The title only refers to one possible solution I've been going for with this, but essentially here's my situation:

Say I have a Flex application, and I have an XML file with configuration settings I want loaded into that application, preferably at run-time (Although I would've been fine with compile-time as well but can't find a way to do this as the "-define" command-line parameter will only instantiate strings, numbers, and Booleans and I have some more complex configuration structures - I also cannot merely create these as a bunch of constants in Flex because they are used in numerous other places).

However, some of these configuration settings are also used in the various children of the application when they load, so there's no way to perform and complete the load before these containers are loaded (Because of asynchronicity - these children are loaded while the configuration is still being loaded in and parsed using an event listener and handler; of course, before the handler completes, the children components are already loaded incorrectly).

Is there any way to get this configuration file to load before the application's children do? Or even before the application itself? This approach of synchronizing the application load is only one possible approach, but no other approaches seem to fare any better.

View 3 Replies

Flex :: Loading External SWF Into AIR Application?

Mar 16, 2011

I'm trying to load external SWF (JW Player) into my AIR Application using loadBytes. I'm using the following code:

import flash.display.Loader;
import flash.display.LoaderInfo;
import flash.display.Sprite;

[code].....

View 1 Replies

AS2 :: IDE : Loading SWF Files On Client HDD From Web Application?

Jul 14, 2009

Is there a possibility to read files from flash web application on client HDD form fix location (e.g. D:est) ?

View 1 Replies

Flex :: Loading SWC / SWZ's At Runtime Within A Air 2 Desktop Application?

Sep 23, 2010

Has anyone got any experience will loading SWC / SWZ's at runtime within a Flex 4 / Air 2 desktop application?The very rough idea would be to have a desktop Air app, which is able to "download" additional modules (eg, a SWZ/RSL representing a form) and load these at runtime?

Imagine the App is configured using an XML file obtained over the net. When this has instruction to get a new module (SWZ/RSL), the app will download the module to its App Storage folder, and instanciate it at runtime?The Flex Manual seems to indicate this is possible, but is talking web rather than desktop http:[url]....

View 2 Replies

Android :: Flex - Loading Module On An Air Application?

Dec 13, 2010

I'm building an Air for Android App and I'm having problems loading a flex module. Does anyone know if loading modules is possible???

I built a simple app with just a ModuleLoader in it, which loads a mx:module. The module has only a simple mx:Label with a "Hello World" text.I build a .air with this. Then I build a .apk with the followin adt command.

adt -package -target apk-emulator -storetype pkcs12 -keystore certificate.p12 hello.apk hello.air

The application works just fine when running it on the PC, but when I do it on the apk-emulator it just goes blank and throws error #2032.

View 1 Replies

Flex :: Loading Modules In A Mobile Application?

Jan 9, 2012

I am going to write a Flex mobile application which can benefit from loadable modules, but encountered "Modules are not supported for AIR mobile applications." statement here.

Is there any workaround to load swf modules (containing UI with some code) in the mobile application developed for iPhone/Android/BlackBerry?

View 1 Replies

Media Server :: Stop Application From Loading When Unloaded?

Apr 15, 2011

When I unload an application say live for example. And a user loads fmle and goes to load the liveapplication it starts it automatically. How can I prevent this. I want to be able to prevent it from loadingautomatically. When a user reaches their bandwidth limit I want to make sure they can't just use the

View 2 Replies

XML :: Loading File In Flex Before Application Start / Initializes

Jul 22, 2009

I've got a configuration xml file that I need to parse for values before a flex application loads. I've created a static class that allows for the values in the xml config file to be retrieved. I'm initializing this class when the application first loads but as the xml file is loaded with a Loader class that loads a synchronously the class is being asked for values before the xml file is actually loaded - so it is throwing a error. Is there a way to load this xml file synchronously. We cannot embed the file as a class variable as we need to be able to change the values remotely.

View 5 Replies

Flex :: Swfloader: Can Control The Volume Of The Application Loading

Dec 17, 2009

i have a flex application that loads flash files using SWFLoader. is there a way to control the audio volume in that swf from my flex application ?

View 1 Replies

Xml :: Loading A Configuration File BEFORE The Flex Application Loads?

Apr 19, 2010

We are using an XML file as an external configuration file for several parameters in our application (including default values for UI components and properties values of some service layer objects). The idea is to be able to load the XML configuration file before the flex application initializes any of its components. This is crucial because XML loading is processed a-synchronously in flex, which can potentially cause race-conditions in the application.

For example: the configuration file holds the endpoint URL of a web service used to obtain data from the server. The URL resides in the XML because we want to allow our users to alter the endpoint URL according to their environment. Now because the endpoint URL is retrieved only after the XML has been completely loaded, some of the application's components might be invoking operations on this web service before it is initialized with the correctendpoint.The trivial solution would have been to suspend the initialization of the application until the complete event is dispatched by the loader. But it appears that this solution is far from being trivial. I haven't found a single solution that allows me to load the XML before any other object in the application.

View 1 Replies

Flex :: Create Custom Loading Page In Web Application?

Jul 14, 2011

Possible Duplicate:Custom Preloader in Flex 4?I am working with a flex web application and i want to implement custom loading page on application startup like the above

View 2 Replies

Actionscript 3 :: Loading External .swf File In Air Application Causing Looping Constructor

Apr 19, 2011

I'm building an Air application (straight AS3 no flex) that embeds and displays a .swf file. [code]Not only does this not add the .swf file to the display list like I want it to but it seems to run over and over again. "hello" fills up the output window from the trace statement like it's running every frame.The code loads a .jpg just fine so it must be a problem specific to flash files. I would think I would get some kind of security error if there was a conflict not this strange looping constructor. Does anybody have any ideas what is causing this behavior?So I think what was happening is that because both flash files shared the same application domain and they both had "Main.as" as the main class file it was running the constructor over and over again.I've updated my code above to show my unsuccessful attempts to load the external .swf with a different application domain.

View 1 Replies

CS4 :: Crashes After Update On Win XP

Aug 5, 2009

I just updated CS4 with the latest patches and it started to crash when I try to publish one of my flashfiles.

The file uses actionscript 2 and worked just fine before the upgrade.

View 4 Replies

Flash CS5.5 Crashes When Testing?

Dec 29, 2011

Flash CS5.5 crashes when testing this movie using CTRL-ENTER a few times. Sometimes, a message warning that the Java Virtual Machine is running out of memory appears. I would like to know whether it is the FLA or my Flash installation that is corrupt.

see the following FLA file. [URL]

View 3 Replies

Flash :: Cs3 Crashes When I Try To Publish

Jan 21, 2009

My flash cs3 is crashing every time I try to publish a file, why? I run vista business 32 bit I didn't have problems until today,using flash cs3 for the[code]...

View 9 Replies

FLV Encoder Crashes On All WMV Files

Jun 18, 2009

When trying to view the settings or start que on any .wmv (windows Media Video) file I drag into the flash video encoder, the program immediately crashes. I've tried many different WMV files from different sources, all the same outcome.

View 1 Replies

Flash :: My Site Crashes IE

Jul 18, 2009

We created a flash site, which crashes on IE. It works fine on Firefox.The problem seems to happen when the swf tries to load some MP3 files, with 'Sound.loadSound' method.

View 7 Replies

Flash :: CS4 Crashes At Startup?

Jul 28, 2009

I have recently purchased CS4 Design Premium. The installation of all applications went fine (no error message) and all applications work perfect except Flash CS4. On startup I see shortly the stage screen and then the spinning beach ball. I tried uninstalling and reinstalling Flash only with no luck. I then uninstalled and reinstalled the complete Suite and still no luck. I work on a MacPro with 10.5.7. All other system requirements are fullfilled

View 3 Replies

Flash CS4 :: Crashes Every Time On A Mac?

Aug 4, 2009

I've been using Flash CS4 on my MAC running 10.5 for over 6 months with no issues.  But now when I open a fla file it opens but when I click anywhere it will crash within seconds.  I've restarted my computer and checked that my Flash App is up to date. 

View 1 Replies

Crashes When Create A New Document?

Sep 15, 2009

When I open the Flash CS4 application, it starts up fine. If I select create new flash file, the entire application crashes. That's as far as I can get. I've made all of the recent updates that I can - it's flash version 10.0.2 ... I'm running OSX v10.4.11
 
I've tried restarting, that doesn't do anything. I've also tried starting up Flash with nothing else open. Haven't re-installed the entire thing yet (probably what I'll do next).

View 1 Replies

IDE :: Flash Crashes When Opening Certain Fla's ?

May 1, 2009

just recently upgraded to Leopard. Flash now crashes when opening certain fla's (that worked fine before). The files sometimes open, but then crash the app when I select something on the stage. In these cases I can actually edit the actionscripts.I'm not sure if the crashes are related to Leopard; don't remember if I tried opening one of the problem files since upgrading.I'm on a MacBook Pro 17 2.33, 2gb ram.I repaired permissions (several times), ran various Onyx processes, zapped pram, removed all the prefs files I could find, and reinstalled the whole suite (CS3 Master suite). Bridge won't even open; it crashes on opening.

View 1 Replies

IDE :: CS3 SortOn On Arrays Crashes?

Jul 3, 2010

I'm trying to sort some arrays with the sortOn() function in Flash CS3.. but it always seems to crash itself upon exporting!Do you guys get this too? And is there a way to get around this?

Code:
var ms:Array = [];
ms[0] = [0,1];

[code].....

View 2 Replies

ActionScript 3.0 :: Flex - Loading Page As One State And The Main Application Design In Another State?

Apr 9, 2011

It's my understanding that view states can be useful when switching the layout of design elements. Such as, a loading page as one state and the main application design in another state. Is this the correct use of them? Additionally, I have a label in State1 and I cannot figure out how to access that label via actionscript. labelID.text = "New Text"; is not working.

View 2 Replies

.Fla File Won't Open, Crashes Flash

Jun 16, 2000

I've got a 9MB fla file that suddenly doesn't open any more. When I try to open it, it crashes Flash. When I try to open it as a library, it crashes Flash. Someone told me a library object might be corrupted - not good, irreparable. I'm on a Mac and when I try opening the fla file it gives me an "error type 2 occurred." I imported the swf file into a new Flash file, but now it's just a one-layer straight-streaming movie with every frame a completely new, redrawn keyframe. Is there any way to resurrect the original fla file? I've got a Sunday deadline?

View 1 Replies

ActionScript 3.0 :: Flash Crashes On Publish

Aug 1, 2007

I am having a problem with Flash at work. Any time I try and publish a file, whether its a .swf, .exe, or whatever, Flash crashes and closes. I am running Windows Vista x32, and Flash CS3. Any file, as long as it is saved and publishing a copy of the file with the same name, does this. The only way I can get around it is publishing from an Untitled document that hasn't been saved yet....even then all I get is a preview, not an actual published file.

The files I am working with publish fine on other machines. I have contacted Adobe and all I got was "reinstall," and "run a clean install." I reinstalled 3 times, and have run CS3clean twice along with more reinstalls (once each using each separate level of cleaning.) None of it worked; I still get the same issue. Also, I cannot open the ActionScript tab without flash crashing; the only workaround is to open an untitled document, open the AS tab THERE, and THEN open an already existing document. From there though I can't check my syntax or auto-format.

View 16 Replies

CS4 :: Open FLA File - FLASH Crashes

Jun 23, 2009

I am just starting to learn how to use flash. I have made four diffrent fla files, but one of them is not working. Flash crashes when i try to open it, it worked last night. Is there any way to repair it or find out what i have done wrong. Dont want it to hapen again. There is no problem to run the swf file. I have uppdated flash to the latest version 10.0.2.

View 1 Replies

Image Sequence Crashes Flash?

Jun 13, 2011

I am using:

Win7 32bit
2GB RAM, Intel Core 2 Duo 2Ghz

Flash CS5

and I have this problem: i am currently trying to create a 720p movie consisting of 738 single JPG pictures; 6 frames/second. Each picture has 204 KB, all the pictures together add up to 226 MB.Yet still, Flash is crashing (due to memory overload?) once I have loaded like 100 pictures of my sequence... I loaded 90 pictures and tried exporting it as a small AVI-movie, but even that made Flash crash. I checked the Windows task manager, and I saw that even with only 90 pictures loaded, Flash already takes up 1,6 GB of my RAM.Is there a way making Flash save those pictures not on the memory, but on the disk, in a temporary folder or something? I wouldn't care if it takes way longer.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved