ActionScript 3.0 :: Debugging Error When Swf Is Loaded In A Swf?
Oct 10, 2010
I have a swf file that I am trying to load into another swf file. I use the "Loader()" to load the 2nd swf into the 1st.My 2nd swf files runs fine on it's own but when I load it into the 1st swf file I get an error that is very vague.TypeError: Error #1009: Cannot access a property or method of a null object reference.at swf2_fla::MainTimeline/frame1()Cannot display source code at this location.Is there anyway I can debug this error so that I get more info on where it is than just frame 1 why this would happen? My 2nd swf is huge so it's a challenge, I am assuming it's got to do with something being referenced at the root. I do use MovieClip(root)
View 3 Replies
Similar Posts:
Nov 26, 2010
I'm using Flash CS4 with Win7 and if I create a movieclip symbol in an FLA file such class name such as GreenBox. When I put the following line into my actionscipt 3.0 code, I get the error: "You cannot debug this swf because it does not contain actionscript.The line of code is:vargreenBox:Green Box = new GreenBox();Any ideas what's going on. Never had these problems with CS3 and Win XP.I did double check to see if I had the debugger version on Flash Player.
View 10 Replies
Jun 17, 2009
You can only code in the "Main Timeline" or root. But how does that work with loaded SWFs? Like Is there a Stage for each SWF, or only one for everything? Also, how does _lockroot come into play to affect debugging?
View 0 Replies
Mar 14, 2011
I am trying to use a browser to debug my flash app as it needs External Interface. But whenever I try to attach the Flex Debugger to the browser running Flash app, it shows
SecurityError: Error #2000: No active security context.
I already checked the other question with same title as my error but changing code is not the solution here as it is an existing code and I don't get this error while using a debug version or when I am not running connected to a debugger.
View 2 Replies
Jul 26, 2011
I get this error every time:
Error occurred while installing the application:
864 KB/s (33668 bytes in 0.038s)
pkg: /data/local/tmp/Main.apk
Failure [INSTALL_FAILED_MEDIA_UNAVAILABLE]
I have a very simple "HelloWorld" action script mobile app which simply adds a text field to the display list. Running the app on the desktop using the HTC Desire simulator works just fine, however testing on the device is throwing that error.
On the phone I have installed the Adobe Air available on the Market, the device is connected and the version of android running is 2.3.3.
I can't seem to get away from this error. I've tried creating flex mobile projects and imported one of iBrent's tutorial projects [URL].. to see if they work but alas I get the equivalent fail error.
View 1 Replies
Jan 31, 2011
I am trying to debug a Flash Web Application using Flash Builder 4. However, I keep getting this error:Unable to connect to the application to fetch profile data. try profiling the application again.I am using Internet Explorer 8 (the same problem also occurs with Internet Explorer 7) with Adobe Flash Player 10.1.102.64 (the Debug Player). In other words, I installed the latest of everything.For my launch configuration, I have used the path to an HTML file. This works fine for debugging but does not seem to work for profiling.
View 2 Replies
Nov 23, 2009
i am making flash web site with flah cs3 as3. everythig was perfect but nnow codes are getting crazy. there is a photo gallery that has little picture thumbnails on right and when one of them is clicked , that photo is loaded from out of swf and appear in big size on left. today as i was fixing last little things codes gave me errors..Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type.
i changed fle types i saved pics in jpg, jpeg, bmp, png. but nothing works.
View 5 Replies
Jul 12, 2009
in Flex I'm able to load a Image into an Image component (mx:Image) via a URL and it will display it, however in Flash if I try to load the same image via URL I get an unknown file type error. If I browse to the URL in a broswer, I can view the image.
Code: Select allFlash Error;
Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type..
image url trying to load in flash;
[URL]
View 3 Replies
May 9, 2011
I've tried to load my xml but to no avail.Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type keeps appearing. I have a lot of loader in that flash. could it be the problem?
Below is my code and xml info for your reference.
[Code]...
View 1 Replies
Nov 17, 2009
I have a swf loaded into another swf , is there a way to monitor the errors that accur in the loaded swf and trace them outside ?
View 1 Replies
Aug 8, 2011
I'm using QueueLoader to load my main SWF into my preloader SWF. The problem is, that the preloader gets to 100% and then nothing happens. No errors, no nothing. When I test it locally from flash it works fine, when I test it locally on WAMP server it breaks, and when I test it remotely it breaks as well. I use ExternalInterface to log to the console, but none of these get trigger in my main SWF because it is like nothing is loading at all. I even have a console.log trace on the very first line of my root as file so it should DEFINITELY execute.
One of the strangest parts of this "unreported error" is that it just showed up today. I've been working on this project for prob 4 weeks with nothing like this happening at all, and one day I just stop getting any error for why my project won't show. I've removed (as far as a I know) all the TLF text fields from my FLA. I've even saved as CS4 doc, then saved back to CS5 to make sure they were removed. Embedding fonts, however, is another animal altogether. I've switched RLS to "merge with code" and embedded the _sans font I'm using on all my text fields.
View 3 Replies
Nov 9, 2008
I'm just moving up from AS2 to AS3, using CS3. I'm finding out most of the stuff I need to debug with, but I can't seem to see the variables in the variable window.
I've looked through the documentation, and tried touching all the buttons they say to touch and setting the publish settings to allow debugging. Nothing seems to be working.
And, unlike AS2, the program seems to start all by itself, it doesn't wait till I click on the arrow to begin, and I can't get the step into and step through buttons to not be greyed out.
View 3 Replies
Feb 5, 2010
the document class of my .fla file has a lot of references to elements on the stage, I use fdt for the .as, but everytime I need to debug I have to switch back to Flash IDE, I read this tutorial So, How could I debug my project with fdt and keep working with the Flash IDE just for the graphic part?
View 3 Replies
Oct 1, 2010
I have a very long vertical line of small jpegs, but I can't get to the end of it to add more or take away some!
View 1 Replies
Nov 25, 2011
I know virtually nothing about Flash so I'm kind of casting about in the dark.
I have the misfortune of being a BT customer, and whilst I have reasonable bandwidth (can view streaming high res video fine) I always have problems listening to radio programmes from the BBC. I think it could be buffering due to traffic shaping, or it could be the Flash applet used to play the content, or something else.
Is it possible to bring up some kind of debugging console, or view some kind of error log to see if there is some diagnostic information that could be useful in finding the problem?
View 1 Replies
Jun 7, 2009
I've recently bough Flex Builder 3 and I am completely dissatisfied with its reluctance to debug. It manages to debug a few times, but after that, it just doesn't want to "connect to the debugger".
View 5 Replies
Oct 21, 2010
I'm using FileReference to download an image directly from Flash. Works fine in my standalone SWF, but it throws the following error when it is loaded into another SWF:
ReferenceError: Error #1069: Property save not found on flash.net.FileReference and there is no default value.
Here's the code I'm using:
public function downloadImage():void {
var imageData:BitmapData = new BitmapData(photoFrame.width, photoFrame.height);
imageData.draw(stage, new Matrix(1, 0, 0, 1, -photoFrame.x, -photoFrame.y));
var jpgEncoder:JPGEncoder = new JPGEncoder(85);
var saveFile:FileReference = new FileReference();
saveFile.save(jpgEncoder.encode(imageData), "myImage.jpg");
}
View 2 Replies
Oct 14, 2009
i created swf file on flash 7 and when i loaded it on my webpage it does not work, all i get is "movie not loaded".
View 4 Replies
Mar 9, 2010
I'm loading an swf say "test.swf" which gets loaded in imageLoader , so I can get its content by :
imageLoader.content
So if I wanted one of the movieClips inside it I would do this :
imageLoader.content.testMovie.transform.colorTransform = someTransformation;
But when I do this, since the movie is not loaded the file is not compiled and gives me an error your referring to something that is not there. How else am I supposed to reference a content that will be loaded later?
View 2 Replies
Jun 4, 2010
here happened an error
error:
interface 'Sprite' could not be loaded.
var symb1:Sprite = new Sprite();
View 1 Replies
Oct 11, 2010
I am getting the following error when I importmy swf onto my main stage: TypeError: Error #1009: Cannot access a property or method of a null object reference.
at FtScrollBar/set useMouseWheel()
at ButtonsMenu_fla::buttonsScrollingMenu_1/ButtonsMenu_fla::__setProp_sb1_buttonsScrollingMen u_ScrollBarComponent_1()
at ButtonsMenu_fla::buttonsScrollingMenu_1$iinit()[code].....
On it's own the carousel works fine, it's only when I import it that it throws an error, all of the components within the carousel work fine (the images are highlighted on mouse over, the onclick code for the thumbs runs the right functions) it's just the scrolling that doesn't work.I've tried removing the references to stage from the loaded swf but I still get the same errors.I'm fairly new to flash but I'm finding the error messages to be fairly unhelpful at the best of times, I've attached the swf I'm trying to load in in a zip
View 1 Replies
Aug 3, 2011
I'm getting this error:
TypeError: Error #2007: Parameter child must be non-null.
at flash.display::DisplayObjectContainer/addChildAt()
at fl.controls::BaseButton/drawBackground()
[code]....
View 1 Replies
May 8, 2010
I found what I am looking for when I list all variables. I want to cut out the rest of the menus that create a fan of pages.I removed the SWF's from showing up. But I am still having issues with changing the nMenus = "14" which is the number of menus to show. I want to change the "14" to "9" so there are no spacing in between my 3D Pages.
View 1 Replies
Apr 1, 2011
I can't understand why the "WORKERS" tab isn't operating the same as all the others. Is it a bug, or just me?
View 1 Replies
Nov 12, 2008
I have a project where I communicate net.socket class.Everything works fine but when I try to start the debugger I only get someerror message:
Versuch, zu starten und Verbindung zu Player mit URL
c:flash_testSocket.swf herzustellen
[SWF] c:flash_testSocket.swf - 6006 Byte nach
[code].....
View 1 Replies
Nov 12, 2009
I am using LoaderInfo params in my Flash movie. Is it possible to specify sample flashvars in Flash CS4 during design time for debugging???
View 1 Replies
Mar 3, 2011
We're the developers of the open source FlashFirebug FireFox extension and would like to gauge opinions, critique and suggestions on improving the extension for future development. We thought there's no better place to do that than here. This is the extension's homepage:
http:[url]....
View 6 Replies
Apr 24, 2011
I have a working website online with mysql database.My flash app starts there so I can't debug games locally.What debugging tool can I use - monster 3 - just seen it - is that a good option?Also it looks like you can use monster locally - what's wrong with the flash debugging tools?
View 5 Replies
Jun 4, 2010
I am running on Windows XP and recently updated Flash Player from v9 to v10.1. And Now, in the Debug Console under Flex Builder, I am getting a lot of debug statements(I think that is assembly). Below is an example, of what I get:
[Code]...
View 2 Replies
Feb 3, 2011
I tried SwfObject for loading swf on a website. It is all good with webkit and mozila based browsers but not with IE.[URL].. In IE 8 the footer not loading, it like crashes after the swf loads. In IE 7 the player not working, so the footer loads.
How can I debug it? I have a Mac, Linux, Win7 with IE 8 64 bit. On IE 64-bit it gives a message to update the flash player but there is no update for this player from Adobe.
View 1 Replies