flash 1093 syntax error - actionscript-3

I am a complete noob when it comes to flash. I subscribe to adobe to I installed adobe animate.
I inherited a project that contained a flash swf file. I got the source too thank God. The problem when I open it it says there are many errors after upgrading to actionscript 3.0. I've screenshoted the errors.
I don't know what this is wanting me to change. I changed some of the errors that were coding problems but these I can't find anything on.
syntax error
syntax error

Related

asSQL API - 1046: Type was not found or was not a compile-time constant: [mx.rpc]::IResponder

I'm trying to use an external swc that someone made off the net. It's a mysql driver for actionscript 3. https://code.google.com/p/assql/
Problem is, even after linking the swc in Adobe Flash CC under Actionscript 3 > Properties > Library path, I get an error saying it can't find [mx.rpc]::IResponder.
Does anyone have any experience with this lib or know what could be the problem? Is this due to me not using adobe flex? I found Missing [mx.rpc]::IResponder but that's saying I need a library from Adobe Flash Builder 4. Kind of rusty on compiler errors. [And the internet at my place has been limited as far as downstream goes, so it's about a 3 hour download to get it.]
Resolved by getting the Flex SDK and adding [pathtosdk]/framework/libs/ to the library path in Adobe Flash CC.

Any method to use dotConnect without compiling the licence?

Im trying to use this http://www.devart.com/dotconnect/mysql/ with Indusoft Web Studio to connect from Windows CE to a MySQL database as its the only solution Ive found. The connection works (from what I see in the logs) but then a error message saying "License not found" pops up. Besides having terrible support, Devart for some odd reason does not understand Im using another IDE besides Visual Studio to compile this project. They keep telling me I need to add the resource to the project when IWS has nothing like this.
I tried to decompile the DLL but I cannot find a method to jump pass the "License not found" message.
Has anyone got this to work with a already complied program and just put the DLL in the same folder as their exe?
Ive tried their .NET Compact Framework complier as well but it did not work either. Their support is like I mentioned terrible. One of (if not the) the worst Ive had to deal with in YEARS.

Is there a simplified explanation of how to setup an actionscript IDE?

I've recently purchased some beginner books on basic ActionScript animation and also downloaded the flashDevelop IDE. I've taken a couple Java classes and have a VERY basic understanding of coding and at that, computers in general. I'm having a difficult time figuring out this IDE (eclipse was setup for me). I've downloaded the file and installed the IDE. I made a file and wrote some code but when trying to compile I get some sort of pathway error and also an SDK error. I'm completely lost on how to fix these issues as the results I've found through Google and stackoverflow are not simplified enough. I'm also confused about how this ActionScript code will be turned into, say, a ball jumping around the screen. Could I please get a VERY simple, borderline special needs explanation of how to setup this IDE and also any info on additional programs needed to actually turn the code into an animation? Forgive me for my ignorance, but I'm starting from the ground up and any help will be much appreciated. Thank you
You may try Flash Builder, and you could change different version of sdk in flash builder. http://www.adobe.com/cn/products/flash-builder.html

AIR - Supress Error messages in debug app?

In a packaged AIR app, I need to add a file called debug to C:\Program Files (x86)\The App\META-INF\AIR\debug 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?
Not sure I fully understand your problem. If what you need is some specific behavior only happening when you run the app in debug mode, then take a look to conditional compilation for example here.
But again, unsure I fully understand your problem!

AS3 Embedding assets - "Warning: Failed to parse corrupt data"

I've got an AS3 project where I'm trying to compile in several images, a soundtrack, and a video via [Embed] metadata. It's a product requirement that these be embedded, so network transfer is not an option.
I'm getting some really strange behavior - a sort of intermittent corruption of the compiled-in data. Sometimes after the project compiles, I run the swf and it closes immediately and writes "Warning: Failed to parse corrupt data" to the flash log. If I delete the binary and clean the project, sometimes it'll run fine after building it again. Sometimes it doesn't.
This is probably the strangest part about this problem, but sometimes when I see that error, I can physically move the video [Embed] lines to the end of the file, then clean the project, and it will build and run no problem. Sometimes I move them back to the beginning of the file and it builds and runs fine.
It kinda seems like it might be a bug in the compiler. Has anyone else experienced something similar? I'm targeting Flash 10.1 and using sprout (http://projectsprouts.org) to build my project. This is the mxmlc line that's being used to compile (mxmlc Version 4.1.0 build 16076):
mxmlc -as3 -static-link-runtime-shared-libraries=true -debug -default-background-color=#ffffff -default-size 712 400 -output=bin/ProjectName.swf -source-path+=.preprocessed/src -source-path+=.preprocessed/assets .preprocessed/src/ProjectName.as
I've tried both removing the -debug compiler option and adding the -optimize option, but no luck.
Everything is being ran through the GNU C preprocessor for some other tasks, so maybe I'll try removing the preprocessor stuff and hardcoding those variables...I'll try that and post the results tomorrow.
Any insight at all would be much appreciated. Thanks!
EDIT:
This project is going to be compiled dynamically with different assets being embedded into the same codebase, so switching to something like Flash Builder for compilation really isn't an option...it must be done via command-line mxmlc.
UPDATE:
Turns out the corrupted data message was due to images created with Photoshop's "Save for web" feature. If I save them outright as PNG images I don't get the message. However, the intermittent nature of the movie compiling properly still seems to be an issue. Now sometimes when the project is compiled it won't throw any compiler errors, but I get a blank flash player window. Right clicking in flash player shows a context menu with a message that says "Movie not loaded..." This doesn't appear to have anything to do with things being ran through CPP first.
[Screenshot]
This is apparently a bug in mxmlc under Mac OS X. After posting this, I observed some other really strange behavior, so I switched the whole codebase to Windows 7. Everything works as expected there (still using Project Sprouts as a build tool).
Flash builder is fine with it.
Can you separate your issue for video or music only, or issue is true for both includes?