ActionScript 3.0 :: Error: "You Cannot Debug This SWF Because It Does Not Contain ActionScript"
Oct 22, 2009
I'm getting a wierd error while attempting to debug my project: "You cannot debug this SWF because it does not contain ActionScript" When trying to run a project where one of the as3 files contain a huge amount of data. Huge amounts = 1200 charactors a line and about 3000 lines of it. I suspect that the error is related to the amount of data on that single actionscript file since after deleting most of the data, the project works. I really don't know what to do... Does as3 files have a limited amount of chars??
View 1 Replies
Similar Posts:
Aug 19, 2009
Flash is ignoring my actionscript Even when debugging it gives me the error "You cannot debug this SWG because it does not contain ActionScript." There's very few commands in the script and shouldn't be overloaded. Here's the link for the fla. [URL]..
View 4 Replies
Oct 26, 2011
In a packaged AIR app, I need to add a file called debug to C:Program Files (x86)The AppMETA-INFAIRdebug for the software to function 'correctly' - I think it is a database error but I can not find anyway to solve it at the moment.Is it possible to add this debug flag, but to suppress/hide any modal error boxes that may appear from another possible yet unknown bug?
View 1 Replies
Jan 7, 2012
I have some ActionScript3 code that for some reason only crashes in a stack overflow when compiled for 'Release' mode. The method it crashes in doesn't call any other function and does therefore not recurse in any way.The weird thing is that when compiled in 'Debug' mode it works perfectly.The 'Release' mode also starts working if I enable 'Verbose stack traces' in the compiler options.
Edit: Here is the stack trace:
Stacktrace: VerifyError: Error #1023: Stack overflow occurred.
at Extensions::CRunObjectSelection/filterNonQualifierObjects()
at Extensions::CRunObjectSelection/filterObjects()[code].....
View 2 Replies
Jun 7, 2011
I'm really struggling to resolve a stack underflow that I'm getting. The traceback I get at runtime is:
VerifyError: Error #1024: Stack underflow occurred.
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
This is particularly difficult to debug because when I run in debug mode it does not happen at all. It only happens when compiled as a release.
[Code]...
applicationComplete seems to be an even better event than creationComplete to put application initialization code. See this blog entry for some explanation, and and this video (around 4:25) by an Adobe Tech Evangelist for an example of simple "start of application" data initialization.
View 4 Replies
Jul 6, 2011
I've installed the latest debug version of Flash player plugin for Mac OS X. Diagnostic page [URL] confirms that the version of Flash plugin detected is debugger one. I'am also able to debug applications using Flash-builder debugging tools. But no runtime error pop-ups are shown during browsing. Does anyone have the same problem? Does anyone know how to fix this strange behavior?
I've tried to uninstall the player using this application [URL] and reinstall Flash player again, but no luck.
UPD1: I've created additional user account and found out that error pop-ups are displayed successfully when switched to that account. So it's likely user-profile configuration issue.
View 1 Replies
Apr 29, 2011
In CS5 I get the above message. I need to debug so it's very important. Anything I need to do?
View 2 Replies
Feb 26, 2012
I have two Flash files: pre-loader and application.
Pre-loader: (D:ProjectsFlashAppsddedd.fla) is doing basically this:
var mRequest:URLRequest = new URLRequest("http://localhost/flash/dd.swf");
mLoader.load(mRequest);
}
Application file: (D:ProjectsFlashAppsdddd.fla) is the real application and among other things is doing this:
_loader.load(_request); //where _request = "assets/html/style.css".
When debugging the pre-loader, at this point I am getting an error which says:
SecurityError: Error #2148 File SWF http://localhost/flash/dd.swf cannot access local resource file:///D|/Projects/FlashApps/dd/assets/html/style.css.
The application must be loaded by the pre-loader, it won't start when called directly. But apparently, the security settings are preventing such duo from being possible to debug. Normally when it is on a remote server, it is working ok.
What I have done so far to resolve it:
Added crossdomain.xml to my local i:xampphtdocs folder:
> <?xml version="1.0"?>
> <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
[Code]....
Set File > Publish Settings -> Local Playback Security -> "Use local files only" in both files. It didn't work, so I set it to "Use network only" Also didn't work.
What else can be done to be able to debug these Flash files locally?
View 1 Replies
May 6, 2010
I'm receiving the following error when trying to access a property of my array. TypeError: Error #1009: Cannot access a property or method of a null object reference.The value I'm accessing works completely fine but the error above pops up when using the flash debug player only. My Firefox uses the flash debug player, Player Version: WIN 10,0,45,2 Debug Player: Yes. My IE which doesn't receive the error uses Player Version: WIN 10,0,45,2 Debug Player: No. The Player version info received by vising the flash version test page.
I'm using a custom event that gets dispatched from a class that makes a web service call.The web service call returns JSON data which I convert to an Object using JSON.decode from adobe corelib. After I have the Object, I use the below code to create an array from the Object.
Code:
//casts the right property to an array which has no problems
var resultArray:Array = e.object.data as Array;
//Accessing the value causes the debug player error
output_txt.text = (resultArray.length.toString());
View 4 Replies
Oct 27, 2011
I've installed the latest debug version of Flash player plugin for Mac OS X. Diagnostic page [URL]that the version of Flash plugin detected is debugger one. I'am also able to debug applications using Flash-builder debugging tools. But no runtime error pop-ups are shown during browsing.I've tried to uninstall the player using this application [URL] and reinstall Flash player again, but no luck.
UPD1: I've created additional user account and found out that error pop-ups are displayed successfully when switched to that account. So it's likely user-profile configuration issue.
View 5 Replies
Dec 21, 2009
When I first downloaded Flash CS3 Professional, I was able to enter an exceedingly useful debug mode by compiling using ctrl+shift+enter instead of ctrl+enter. I could toggle break points, step in, step over and view values stored in variables at a whim.
I must have accidentally toggled some option somewhere, because this interface no longer shows up. Instead, the only extra interface I get is the output menu with the following text "Attemping to launch and connect to Player using URL <file path> [SWF] <file path> - 71984 bytes after decompression" and while the swf does halt if the as3 code reaches a break point, it doesn't tell me which break point nor give me any options to progress the flow (not even through the pull down menu I have to utilize in order to end the so called debug session).
View 2 Replies
Jun 28, 2011
I'm currently trying to implement an automated bug reporter for a Flex application, and would like to return error messages to a server along with the function/line number that caused the error. Essentially, I'm trying to get the getStackTrace() information without going into debug mode, because most users of the app aren't likely to have the debug version of flash player.My current method is using the UncaughtErrorEvent handler to catch errors that occur within the app, but the error message only returns the type of error that has occurred, and not the location (which means it's useless). I have tried implementing getStackTrace() myself using a function name-grabber such as [code]
but that will only work because of arguments.callee, and so won't go through multiple levels of function calls (it would never get above my error event listener).Anyone have any ideas on how to get informative error messages through the global error event handler? There seems to be some misunderstanding. I'm explicitly avoiding getStackTrace() because it returns 'null' when not in debug mode.
View 2 Replies
Apr 4, 2009
I have a swf that I need to attach the flex builder debugger to. I have full access to the source code, and can make a debug build of this swf.
However, this swf is being loaded by a non-debug build of another swf which I don't have source code to, and can't make a debug build with.
I've tried mocking this up with two very simple swfs, and while it works fine when both are debug builds, when the outer swf is a non-debug build, while I can get the debugger to connect, I don't get trace messages, breakpoints don't work, and it seems to lock up the flash app.
View 2 Replies
Jan 3, 2012
I have flash installed on my mac 10.6.7 and it's version is 11.1.102.55 (Non-debug).How do i convert it into debug.
View 1 Replies
May 15, 2010
I am trying to start making an admin client side application to monitor our service, including its properties that simply cannot be done through Administration Console, like blocking IP addresses of offending users.My problem is that even before I start using the Administration API (on which I will comment further down), I tried to f.e. inspect theshared objects and streams of the application through the Admin. Console, but I get a popup "Failed to make debug connection, please check that the application is in debug mode." Configuration files are unaltered from install, which means xPendingDebugConnections is set to 50, AllowDebugDefault is set to false, BUT in the serve side main.asc file I have "application.allowDebug = true;"Also, on a related note.
I can see that the Administration API lists the API itself, but there is vague to no mention at all where to connect first? I recall spotting somewhere suffixing the RTMP URL with something like "_fcs_debug" or something, but you can see how this frustrates me - I really don't like to google stuff that is supposed to be in the documentation The application instance usually accepts connections from regular non-admin clients, with proper parameters, which are irrelevant for admins unless these are users too (double membership, you can say)
View 11 Replies
Apr 26, 2009
I have developed an site in flash doesnt throw any error in Flash IDE debug mode, But when I launch this in web browser it throws error.
Disadvantage of showing error in browser window is that it wont show the line number of the error. Is there any otherway to get the line number of error, when running in the browser.
View 2 Replies
Sep 27, 2011
Im trying to debug an app, not server related yet, with the new version of the FB, the one that comes with Zend in it. Thing is, everytime I try to debug, the message error is the same: "Unrecognized Windows Sockets error: 0: JVM_Bind"
View 2 Replies
Dec 27, 2011
I've migrated to FDT from flashdevelop and kind of have a hard time getting things to work the way I'm used to. In Flashdevelop, you could easily choose if the compiled swf was a release or debug version. In FDT however, it seems like there is no way to compile a version that has debugging information without it automatically opening up the debug perspective with a ton of debug windows, a profiler and actually entering debug mode.
As an extra plus, I keep getting a message saying "This feature is only available in FDT Max", although from what I know the debugger is included in the free version. Is there a way to do what I'm trying to do or should I just get used to this new way of working?
View 2 Replies
Jul 14, 2009
I identify my current installed debug version? Basically, I am using Flex 3, for past 2-3 days whenever I launch any Project or debug it, I get the message box saying "Flex Builder requires a more recent version of Flash Player." It says my curent FP as 9.0.115.0 and debug version as 9.0.45.0. However, my actual FP version if FP 10.0.22.87. I don't understand why this confussion! I don't know how can I know my actual version of Debug player.
View 2 Replies
Oct 7, 2010
hey im trying to make a mp3 player and when u click on a play btn it plays that song. but i keep getting this output error "Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.
at slide_fla::MainTimeline/frame1()"
this is my code
ActionScript Code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
var slidebind:Rectangle = new Rectangle(3, 3, 159, 0);
var loadsnd:URLRequest = new URLRequest ("s1.mp3");
var thissnd:Sound = new Sound();
[Code]...
View 1 Replies
Jul 21, 2011
Is there any way to debug fullscreen mode? I Ctrl+enter and I see the swf but the fullscreen button never works, like when I forgot the allowFullScreen param in my HTML code.Do I have to add some parameter to the CS5 properties?
View 1 Replies
Dec 22, 2010
When I start debugging a Flex project, I have a error because some xml aren't find, so i copy manualy all the files from the project (/src) to (/bin-debug).This happen to some xml files no every single file.
View 1 Replies
Nov 25, 2010
I'm using Win7 with Flash CS4. When I try and create a symbol in the fla and then use it in AS code, I get the error "You cannot debug this swf because it does not contain ActionScript."I will get this error if I select export into first frame on the properties box in the fla.[code]in my AS3.0 code. GreenBox being the class for my symbol I created.This seems to be some issue with Win7, as I don't get this error when I run the same files on win XP.
View 0 Replies
May 15, 2009
I have a flash app that calls a web page vai a URLRequest object.It runs fine in normal mode but I need to do some debugging.When I try to debug I get the security warning that it's trying to access the internet.I opened the adobe.com flash security app and added both my flash file and the web site to confirmed locations but when I then try to debug it I again get the same warning.How do I get these settings to take effect inside of flash?
View 1 Replies
Jul 1, 2009
This has never happened before. One of my .fla's suddenly won't trace at all. Anywhere I put a trace statement, it does not work. On the main timeline, in an MC, in a function... nothing!
Is there an option that I could have accidentally turned off or on?
In the meantime I'm debugging with dynamic text.
View 2 Replies
Jul 15, 2010
which everything seems fine, but when i implement a slider on a page inside a folder in the root (i.e. aboutus/index.aspx) i get that error when the slider is trying to call the images.I have similar slider animations in pages located in the root folder and in those i get no problem at all, seems it only happens when the page is located inside a folder.The website is done using main.master on asp, maybe the cache or rendering of the website is missing something, hope someone has had something similar or know how to get around this.
View 2 Replies
Aug 3, 2009
May I ask how to add breakpoint and debug AS3 in Flash CS3?
View 3 Replies
May 3, 2006
I installed the update to Flash 8 that allows for remotedebugging, and I had it all set up and working over the past weekor two. But, all of a sudden it's not working for me anymore.I wasable to access it by right clicking my movie from within thebrowser and selecting "Debugger", but for some reason the optionisn't available anymore. I've rechecked my settings according tothe livedocs, and ensured the swd file is in the same dir as theswf, but no dice.
View 2 Replies
Mar 14, 2009
I am using CS4 and adding scipt to the Actions Frame for a 3rd party component using AS3.The swf is being used by an ASP.NET page.I'm trying to get Remote Debugging running - I had it running yesterday, but something changed and I don't know what. So, now none of the breakpoints are being recognized.
-I create the swf file with debugging enabled.
-I start the CS4 Remote Debugging.
-I start my ASP.NET app in Debug Mode from VS2008.
-I get the Adobe dialog allowing me to connect to the debugger. (Before the problems occurred, CS4 debug recognized the flash player automatically.)
-The CS4 debugger recognizes that the player is running since the output frame updates with "[SWF] /Flashloaded/Flashloaded.swf -56913 bytes after decompression"
- But, NONE OF THE BREAKPOINTS ARE BEING RECOGNIZE!!! And no Variables show up in the Variables Frame.
- YES - I am using a debug version of the flash player. I have tried both version 9 & 10.
- Nothing is being entered in my flashlog.txt file.
View 2 Replies
Oct 1, 2008
I have my flash project working without problems, I reach a point that i must add a document class, but when i do that i got the following error:
"You cannot debug this SWF because it does not contain ActionScript"
The document class is in the same folder where the .fla file is located. Code compile without any error.If I remove the document class my project work likes before.For testing pourpouses the document class just do a trace(....)
View 2 Replies