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
Similar Messages
-
Error 3 when loading external data
Hi Gurus!!
I am trying to load data from a flat file into a Cube. The load is done by a process chain and have worked perfectly before. The file is located on the application server.
Now I get the following error:
Cannot Update Request REQU_DESUFKD2XA1LDREQ0KEJZ2TJC in Data Target
Error 3 when loading external data
The file looks ok when i compare it with the ones i received earlier.
Any ideas what this error 3 is all about?
Thanks in advance!
PontusHi
I Have had trouble raching the network for some time.
Problem solved. My misstake, It was the cube that were set to transactional.....
I will credit A.H.P.
Thanks everyone!
Regards
Pontus -
Error 1 when loading external data
Hi BW( Best and Wise) friends,
I am not able to load data into my infocube. My source system is a PC file.
Message <b>"Error 1 when loading external data is displayed."</b> when scheduled.
When I checked the error details using Monitor button,
During extraction, the data request was arranged(indicated by green mark),but there was error in <b>data request(red).</b>
During extraction,data request was received (green),but there was some error in <b>data selection(red).</b>
Anticipating good solution.HI all,
1.The flatfile matches with the transfer structure
2.The file is a .csv format file only.
3.The path is correct
I had chosen comma as my data separator.
I had declared fields in the following way in the XL csv file
Name of the candidate text
Name of the party- text
Age-number
Number of votes gained number
Calendar day text.
I had already tried the following.
When I clicked the preview in the external data tab of the infopackage, a window showing the preview parameters is opening. When I clicked the tickmark, message error 1 when loading data is displayed.
4. The details tab of the monitor showed the following:
Overall status : Errors occurred: or: Missing messages-red
4.1)Requests(messages):Errors occurred-red
Data request arranged-green
Error in datarequest-red
4.2)Extraction(messages):Errors occurred-red
Data request received-green
Error occurred in data selection-red
4.3)Transfer(IDocs and TRFC):Everything ok-green
Info IDoc 1: Application document posted-green
Info IDoc 2: Application document posted-green
4.4)Processing(data packet): No data-yellow
I had initiated the discussion in the forum with this information only.
Regards,
Balaji
Message was edited by: balaji vijayakumar -
Error 4 when loading external data
hi all,
I have unchecked uncheck currency conversion for external systems in my info package and then loaded the data from a flat file.
and then i am getting the below errors.
cost -> cannot be converted to currenecy (since cost contains currency item)
netval_inv -> cannot be converted to currenecy (since cost contains currency item)
/bic/zntwthpm -> cannot be converted to currenecy (since cost contains currency item).
if i check the option
currency conversion for external systems in my info package
then i am getting error 4 when loading external data.
Can anyone help me out!!!
thanxs
harithaHi haritha,
Please check whether your file whcih you are loading is open , when you are starting the Infopackage.
Also please check this SAP Note 600246 - RSAR 234: Error 4 when you load external data.
What is your BW System (Version/Patch)
Thanks.
CK -
Load external swf into a specific _level
Hi there,
I am loading an external swf into the mc 'image' using:
image.loadMovieNum("portfolio/100_design/1.swf", 1);
Every time a new image loads, I want it to load the level above, ie:
image.loadMovieNum("portfolio/100_design/1.swf", 2);
Is there a way this can be done dynamically. For example, "current level + 1"
Many thanksis the first frame of your loaded swf's empty? if yes, then no problem using _levels.
if not, do you mind a momentary flash when your next swf loads and before its _alpha is assigned 0 and then faded-in? if you don't mind, then no problem using _levels.
if you do mind that momentary flash, then using _levels will be more complex than using empty target movieclips. is there some good reason to use _levels instead of target movieclips? -
Loading external swf into Fla. not working
I have created a Flash page that loads an external swf into
it when you click a button. The swf loads but the actionscript
assigned to the swf which scrolls images across does not work. When
i open the swf in a browser window with the direct link to it the
scroll works but inside the fla file the swf loads but the scroll
buttons are not working at all. Would this be something in the
actionscripting in the swf or fla file. Any advice would be greatly
appreciated, thank you.var imageRequest:URLRequest = new URLRequest("my_gallery.swf");
var imageLoader:Loader = new Loader();
imageLoader.load(imageRequest);
addChild(imageLoader);
is as3 code. that won't work in your as2 project.
here's the equivalent in as2:
this.createEmptyMovieClip("targetMC",this.getNextHighestDepth());
targetMC.loadMovie("my_gallery.swf"); -
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. -
[ISSUE] Load external .swf into an AIR for iOS app
I want to load an external .swf which is included theme objects of the application. The loader class finishes loading but after this when I try to get objects in the swf I get this error.
Device is iPad v.2 iOS v5.1.
ReferenceError: Error #1065: Variable MenuHome is not defined.
at adaptive.controls.thememanager::ApplyTheme/applyStyle()[D:\ConsumerProductInterface\Consu merProductBusiness\src\adaptive\controls\thememanager\ApplyTheme.as:41]
at adaptive.controls.thememanager::ApplyTheme/apply()[D:\ConsumerProductInterface\ConsumerPr oductBusiness\src\adaptive\controls\thememanager\ApplyTheme.as:54]
at adaptive.controls.thememanager::ThemeManagerSystem/checkIfAllLoaded()[D:\ConsumerProductI nterface\ConsumerProductBusiness\src\adaptive\controls\thememanager\ThemeManagerSystem.as: 139]
at adaptive.controls.thememanager::ThemeManagerSystem/backgroundImageLoadHandler()[D:\Consum erProductInterface\ConsumerProductBusiness\src\adaptive\controls\thememanager\ThemeManager System.as:119]
at adaptive.controls.thememanager::ThemeManagerSystem/backgroundImageLoadHandler()
at flash.events::EventDispatcher/dispatchEvent()
at adaptive.controls.thememanager::ThemeManagerImageLoader/loadImageCompleteHandler()[D:\Con sumerProductInterface\ConsumerProductBusiness\src\adaptive\controls\thememanager\ThemeMana gerImageLoader.as:60]
at adaptive.controls.thememanager::ThemeManagerImageLoader/loadImageCompleteHandler()
at flash.events::EventDispatcher/dispatchEvent()
at adaptive.controls.imageloader::ImageLoader/imageCompleteHandler()[D:\ConsumerProductInter face\ConsumerProductControls\src\adaptive\controls\imageloader\ImageLoader.as:32]
at adaptive.controls.imageloader::ImageLoader/imageCompleteHandler()
Steps are:
1- Create a .fla file and one object in it (like below):
2- In Flash Builder 4.6
Load the external swf:
var swfLoader:Loader = new Loader();
var url:URLRequest = new URLRequest("themes/DefaultTheme/DefaultTheme.swf");
var loaderContext:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
swfLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
swfLoader.load(url, loaderContext);
private function completeHandler(event:Event):void
var evt:LoadThemeSWFEvent = new LoadThemeSWFEvent(LoadThemeSWFEvent.COMPLETE);
if (AdaptiveHelper.getInstance().platform == PlatformType.DESKTOP)
evt.swfLoader = SWFLoader(event.currentTarget);
else
evt.loader = Loader(event.currentTarget.loader)
dispatchEvent(evt);
// load is OK
private function ioErrorHandler(event:IOErrorEvent):void
After load is complete I tried to get the object from the swf file and use it as a skin class of a button.
cssSelector.setStyle(property, Class(content.loaderInfo.applicationDomain.getDefinition("MainMenu")));
I am stuck here. Any ideas what the problem is?
My Best,
SuatHi Suat,
Can you send me a sample application @[email protected] with which I can reproduce your problem and can look into the issue?
Thanks,
Nimisha -
Loading external Swf into a specific area in Fla file
I'm sure this question has been asked a trillion time. But truth be told there's no good tutorial for this out there!
I am trying to load an external swf slide show into my fla file. I want to be able to load into a specific place on the stage.
I have this code for preloader that loads in an external swf, but it covers the entire swf. Is there any way of changing this slightly to allow it to be loaded in one spot?
var l:Loader = new Loader();
l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop);
l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);
l.load(new URLRequest("Fuggles Brasserie Restaurant4.swf"));
function loop(e:ProgressEvent):void
var perc:Number = e.bytesLoaded / e.bytesTotal;
percent.text = Math.ceil(perc*100).toString() +"%";
function done(e:Event):void
removeChildAt(0);
percent = null;
addChild(l);
Cheers
tIf the loaded object fills the stage, then I have to wonder why you need to locate it anywhere specific. Or is it possible you are just unloading the rest of the visuals when you use that removeChildAt(0) command such that the loaded object is the only thing remaining. In any case, you can assign x and y properties to the Loader ( I do it in the done function, but locating the Loader can be done anytime after it is instantiated)...
function done(e:Event):void
removeChildAt(0);
percent = null;
l.x = someX;
l.y = someY;
addChild(l); -
Trouble loading external .SWF into my main page with preloaders
Dear All,
I am working on my first Flash project with AS3.
The structure of the flash site is pretty simple. I have a
stage 1165px wide x 710px height
Inside my Stage I have an horizontal bar with a menu followed
by a container right under.
**** My goal
is that whenever I click on one of the button on the menu, that the
related external .SWF loads into
the container with a preloading bar and %. *****
I already did all my .SWF files and it is pretty frustrating
at this point to be stuck at this point of development.
Please help.
-AlexVisit gotoandlearn.com. There is a video tutorial there
regarding preloading that should answer most, if not all, of your
wonderings. -
Load external swf into existing mc
I think this is very old question,
in as2 you can just add a external swf inside a mc. like this - loadMovie ("example.swf", "_root.mc"); and that's it.
how do i do that in as3? this following doesn't work..
var newLoader:Loader = new Loader();
function loadMc(evt:MouseEvent) {
var request:URLRequest = new URLRequest("example.swf");
newLoader.load(request);
addChild(mc.newLoader);
can I go remove mc first, and then add the swf as mc again?
removeChild(mc);
addChild(mc);Hi, moccamaximum,
thank you, going to test-fail-test for a while with this.
meanwhile Im gonna ask ahead another thing
Hi kglad, you gave me the source file for jpegTest yesterday, I tested it work like charm,
now you have these,
import JPEGEncoder;
var bmpd:BitmapData=new BitmapData(mc.width,mc.height);
bmpd.draw(mc);
var jpegEnc:JPEGEncoder = new JPEGEncoder(75);
var jpegDat:ByteArray = jpegEnc.encode(bmpd);
then in function localSave it send jpegDat to php for generating the jpeg.
I want to pack these into calling function, so after example.swf loaded into mc, can call the function so the jpegDat will have the data of example.swf and generate the jpeg from it?
jpgDatGenerate('mc');
function jpgDatGenerate (target) {
var bmpd:BitmapData=new BitmapData(target.width,target.height);
bmpd.draw(target);
var jpegEnc:JPEGEncoder = new JPEGEncoder(75);
var jpegDat:ByteArray = jpegEnc.encode(bmpd);
obviously something wrong, it gives me something about jpegDat not defined at localSave
what have I missed? -
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. -
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 -
Loading external swf into Air App
Hi All,
I'm building an Adobe Air App for desktop and am having problems loading an external swf. Every time i try to load i get:
SecurityError: Error #2070: Security sandbox violation........ cannot access Stage owned by app....blah blah
The file that is being loaded is in a local directory, but as i understand its in a different 'sandbox' which is a security risk.
Is there any way around this?!
Any help would be much appreciated
Many Thanks
Mattthat's why i added those comments about the swf's domain. for locally loaded swfs, use:
SFMltd wrote:
Hi Kglad, Thanks for the Example.
if i run my class with securityDomain = SecurityDomain.currentDomain; then it throws this error: SecurityError: Error #2142: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property.
The swf file im trying to load is stored locally so i guess this error makes sense. However if i comment out that line i get the same "cannot access Stage owned by app" error?
See below for class:
package {
import flash.display.MovieClip;
import flash.filesystem.File;
import flash.events.Event;
import flash.net.FileReference;
import flash.events.MouseEvent;
import flash.display.Loader;
import flash.net.URLRequest;
import flash.system.LoaderContext;
import flash.system.ApplicationDomain;
import flash.system.SecurityDomain;
public class assetPreview extends MovieClip {
private var loader:Loader;
private var mainSWF:MovieClip = new MovieClip();
public function assetPreview() {
addEventListener(Event.ADDED_TO_STAGE, initialise);
public function initialise(e:Event):void
removeEventListener(Event.ADDED_TO_STAGE, initialise);
var allowSWF:LoaderContext = new LoaderContext(false,ApplicationDomain.currentDomain);
// allowSWF.securityDomain = SecurityDomain.currentDomain;
loader = new Loader();
loader.load( new URLRequest(settingsXML.pathToSWF),allowSWF);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, viewPreview);
public function viewPreview(e:Event):void
addChild(mainSWF);
mainSWF.addChild(loader); -
Loading external SWFs into current ApplicationDomain
Hi everyone,
I've refactored a whole project, splitting the main FLA file into 1 main FLA file and 10+ asset FLA files.
Each asset FLA file main stage is empty and has no Document Class associated. Instead, each asset file's library contains a MovieClip linked to an .as class.
The loader is first added to the stage, then is told to start to downloading the 10 asset SWF files.
When the download is completed, my application starts instancing the class coming from the asset files.
Now, the problem is the following : when I try to access a stage instance from a downloaded clip (for example, a textfield that has been drag&dropped and named via the Flash IDE) , I encounter the #1009 error, saying the stage instance is null...
Anyone has a clue?
I can provide an simplified version of my problem inside a .zip/rar file if asked.
ThanksIt's now OK.
The problem is solved by calling addChild on each swf downloaded by the loader... It seems that calling removeChild afterwards doesn't corrupt any thing, so the solution, withouht being brillant, is pretty clean.
Maybe you are looking for
-
[SOLVED] GNOME 3 Multiple Crashes
I made a fresh install trying to make a cleaning to my system and now I'm having a lot of problems! Gnome 3 is giving me this problems (until now): 1) It crashes when I open xfce4-panel, or xfdesktop when using numix-icon-theme (?) I found more peopl
-
Hi From Paris, France. I need your help, i ceated my 4th book (on iphoto 5.0.4), it's a large one with the maximum pages (100) and around 280 pictures. When i saved it as a pdf file o have a look before ordering, i had the bad surprise to discover lo
-
Changes are not applying to the reports
hi all i have moved the RPD and catalog file to UAT there i got few changes i did the changes in DVE and again i moved the changed reports to UAT ,but the report changes are not applied in UAT so i again i copied same RPD and catalog to UAT now it is
-
Tired of having to type in all of the notes...
Before I got my Mac, I was on a Windows computer with the free version of FL Studio on it. When I made the switch, GarageBand was a sweet deal. The only complaint I have is that you have to type in every single note, and I was wondering if there
-
N95 Battery Indicator on 31.0.017
Hi, I got a new N95 and installed software 31.0.017 via NSU. I noticed that the battery indicator stays at 100% a long time and suddenly there are low battery warnings. I searched several forums and found out that this bug exists for a long time. Is