Flash Compiler Using Wrong AS Version

I've been using Flash CS3 at work for a while now. Yesterday
I stumbled into a very strange issue. I'm building a few components
(AS3) to use in a larger application. Everything has been smooth
sailing until yesterday when all my AS3 FLA files stopped
compiling. It appears that flash is trying to compile all my
actionscript as as2 instead of as3. I get a bunch of errors started
with "Syntax Error" for "package {" and turnning through all the
code, concluding with the eroror "ActionScript 2.0 class scripts
may only define class or interface constructs." The issue is that
i'm not using ActionScript 2.0, i'm using 3.0 The publish settings
are clearly set to 3.0 and the player version set to 9.
More puzzling is the error message only comes up when i drag
my component to the stage. it compiles without any errors, but just
spins on the avatar frame and the other included stuff frame back
and forth.
I am not sure where to include the fla and as files to see if
someone can duplicate the error, but this is extremely frustrating.
i don't understand why i'm getting actionscript 2.0 errors when i'm
set up to compile 3.0.
I will attach the class code just incase that helps, but you
would need the fla to duplicate what i'm seeing and to confirm that
i am set up correctly to use as3.

thanks for the quick reply. since i've started development at
work, i have not used any as2 files or any as2 actionscript. i
agree that usually when something fails compilation it spins, but
i'm getting no errors at compile time.
the errors i receive are when i drag to the component to the
stage, or when i try to define the class for the component.
it appears as though the wrong compiler is taking action on
my code, as i'm getting actionscript 2 errors from an as3
setup.

Similar Messages

  • Using wrong layout version

    I created a none-interactive PDF form sometimes ago.
    I had to modify it. That is what I did.
    Performing some tests on the development system, the modification worked perfectly.
    I then transported the print program, the pdf form and interface to the test system.
    all 3 were active.
    The print program is working fine but the PDF that is generated is the old layout version.
    I reactivate everything in the development system and created a new transport and reimported it.
    back to the test system, it still using the old design. If I am opening the form (SFP) in the test system I am seeing the new design and it is active.
    FROM tcode SFP, the PDF Preview shows the new design, but when using the test button, it shows the old design.
    One more thing, the first version of the design has been created with Adobe LiveCycle Designer 7. The latest version has been updated with Adobe Livecycle Designer ES 8.1
    Is anyone already encounter that problem?
    I even run the FP_GENERATE_FUNCTION_MODULE program to delete the function group and regenerate it.
    No change. The layout of the PDF is still the old one.
    Why and How the PDF form is still using the old designed? I can even not see it when using the Tcode SFP?
    Any suggestion will be highly appreciated.
    Edited by: Daniel St-Jacques on Feb 18, 2011 3:45 PM
    Edited by: Daniel St-Jacques on Feb 18, 2011 3:49 PM

    For the benefits of averybody.
    The problem was at the ADS configuration.
    The QA system has been replaced by the Production by a system copy.
    The Basis forgot to perform the ADS configuration correction. So the ADS of the QA system was pointing to the production system.
    So, be aware to verify the ADS configuration when a system copy is performed.

  • Incorrect ADT version when compiling using updated AIR SDK in Flash Builder

    I was wondering if anyone else has come across adt version issues when compiling with Flash Builder.
    I just downloaded Flash Builder 4.7 (I had 4.6 installed previously).  I upgraded due to AIR SDK issues when trying to send my app to iOS.  I downloaded AIR 3.7 SDK and done the whole "overlay" described here http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html but when trying to compile it Flash Builder, it states that version 3.7 is not only up to 3.1  I did a check of the adt that is being used (adt -version) and it returns back that it is version 3.1  This is the one contained within the sdks/4.6.0/lib folder.  If I copy the one from the AIRSDK folder and check the version on that 3.7 comes up correctly, but it needs files that are contained in the AIRSDK folder, so I'll need to copy more than just the adt.jar file.
    Really I'm just trying to see if anyone knows what I can change in Flash Builder to point to the AIRSDK folder instead of the sdks/4.6.0/lib folder so I'm not constantly updating my adt.jar file each time I install a new AIR SDK.

    OK, not the best solution (hopefully someone will be able to tell me where to update Flash Builder to point to the AIRSDK directory instead of {FB install dir}/sdks/4.6.0/lib, but until then, here's a work around.
    First make sure to backup your old aot and android directories in your {FB install dir}/sdks/4.6.0/lib and your original adt file (I just renamed them to fileOrDir_original)
    Then copy your adt.jar file, aot dir, android dir, and I copied legacy dir also to your {FB install dir}/sdks/4.6.0/lib
    You should now be able to compile using the 3.7 AIR SDK.  There's another fix for PIE in AIR 3.8, so I may be updating again soon to the labs build.  I'm hesitant to copy any more files over in case it stops my non-mobile AIR builds from working, but hopefully this will be good enough for mobile builds and for anyone else having this issue in Flash Builder.

  • Library Projects compiled using Flash Builder and ANT have different outputs

    Hi Guys.,
    I am really having hard time to get something work right with RSL projects in Flex 3.2 SDK. Here is my weird problem.
    I have a library projects which has the following settings in Flash Builder
    Link Type : External
    airglobal.swc
    framework.swc
    datavisualization.swc
    rpc.swc
    utilites.swc
    applicationupdater.swc
    applicationupdater_ui.swc
    Link Type: Merged into code
    airframework.swc
    servicemonitor.swc
    Compiler settings
    -directory=true -output=../../lib/core -debug=true -optimize=false -define+=CONFIG::bindingdebug,false -define+=CONFIG::frameworkdebug,false -define+=CONFIG::flexspy,true -define+=CONFIG::debug,true -define+=CONFIG::release,false -define+=CONFIG::logtoconsole,false -allow-source-path-overlap=true  -keep-as3-metadata+=Metadata,DefaultProperty,Required,Event,AssignableTo,Inject,InjectCon structor,Publish,Subscribe,PublishSubscribe,Factory,Init,Destroy,Observe,AsyncInit,Managed Events,MessageDispatcher,MessageHandler,MessageBinding,MessageInterceptor,MessageError,Com mand,CommandComplete,CommandResult,CommandError,CommandStatus,ResourceBinding,Selector,Tar get,Autoremove,Internal,ObjectDefinition,DynamicObject
    When I compile my library projects I get a MyLibraryproject.swc. The SWC has the following files in it
    mx/controls/HTML.png
    mx/core/Windows.png
    library.swf
    Note: airframework.swc and servicemonitor.swc has a many png files and properties files in it. But these properties and png files are not included when compiled in Flash builder.
    But when the same project is compiled using ANT compc task, i get all the png and properties files from airframework.swc and servicemonitor.swc files into my library project SWC file.
    Here is the ANT version which is used to compile the library project
    <compc output="${project.output.dir}/${project.name}.swc"
       include-classes="${as} ${mxml}"
       use-network="false"
       directory="false"
       allow-source-path-overlap="true"
       incremental="${build.incremental}"
       debug="${build.debug}"
       locale="${build.locale}"
       optimize="false"
       >
    <define name="CONFIG::bindingdebug" value="${build.bindingdebug}" />
    <define name="CONFIG::logtoconsole" value="${build.logtoconsole}" />
    <define name="CONFIG::frameworkdebug" value="${build.frameworkdebug}" />
    <define name="CONFIG::flexspy" value="${build.flexspy}" />
    <define name="CONFIG::debug" value="${build.debug}" />
    <define name="CONFIG::release" value="${build.release}" />
    <keep-as3-metadata name="Metadata" />
    <keep-as3-metadata name="DefaultProperty" />
    <keep-as3-metadata name="Required" />
    <keep-as3-metadata name="Event" />
    <keep-as3-metadata name="AssignableTo" />
    <keep-as3-metadata name="Inject" />
    <keep-as3-metadata name="InjectConstructor" />
    <keep-as3-metadata name="Publish" />
    <keep-as3-metadata name="Subscribe" />
    <keep-as3-metadata name="PublishSubscribe" />
    <keep-as3-metadata name="Factory" />
    <keep-as3-metadata name="Init" />
    <keep-as3-metadata name="Destroy" />
        <keep-as3-metadata name="Observe" />
        <keep-as3-metadata name="AsyncInit" />
        <keep-as3-metadata name="ManagedEvents" />
        <keep-as3-metadata name="MessageDispatcher" />
        <keep-as3-metadata name="MessageHandler" />
        <keep-as3-metadata name="MessageBinding" />
        <keep-as3-metadata name="MessageInterceptor" />
        <keep-as3-metadata name="MessageError" />
        <keep-as3-metadata name="Command" />
        <keep-as3-metadata name="CommandComplete" />
        <keep-as3-metadata name="CommandResult" />
        <keep-as3-metadata name="CommandError" />
        <keep-as3-metadata name="CommandStatus" />
        <keep-as3-metadata name="ResourceBinding" />
    <keep-as3-metadata name="Selector" />
    <keep-as3-metadata name="Target" />
    <keep-as3-metadata name="Autoremove" />
    <keep-as3-metadata name="Internal" />
    <keep-as3-metadata name="ObjectDefinition" />
    <keep-as3-metadata name="DynamicObject" />
    <load-config filename="${air.config}"/>
    <compiler.include-libraries dir="${flex.frameworks.dir}/libs/air" append="true">
         <include name="servicemonitor.swc" />
         <include name="airframework.swc" />
    </compiler.include-libraries>
    <external-library-path dir="${build.compc.dir}" append="true">
         <include name="TriGeoFlexFramework/TriGeoFlexFramework.swc" />
         <include name="TriGeoLibrary/TriGeoLibrary.swc" />
         <include name="TriGeoRPCFramework/TriGeoRPCFramework.swc" />
         <include name="Degrafa_Beta3.1_Flex3" />
         <include name="parsley-flex3-2.4.0.swc" />
         <include name="spicelib-flex-2.4.0.swc" />
    </external-library-path>
    <external-library-path dir="${flex.frameworks.dir}/libs" append="true">
         <include name="framework.swc" />
         <include name="datavisualization.swc" />
         <include name="utilities.swc" />
         <include name="rpc.swc" />
         <include name="air/airglobal.swc" />
         <include name="air/applicationupdater.swc" />
         <include name="air/applicationupdater_ui.swc" />
    </external-library-path>
    <source-path path-element="${basedir}/src" />
    </compc>
    </target>
    </project>
    Any insights is greatly appreciated.!

    #1, If it compiles then you have no issue. There's no reason at this point not to use 4.6. You should bundle a captive runtime to assure the users computer won't need to have AIR installed at all.
    #2, Papervision is old. Use the Stage3D and/or a wrapper framework. As far as the generic "If I download lots of data will it take the user more time to load it", well, of course. Just don't make the loading experience painful. Entertain them while they way or find ways of displaying data sooner than later. If it's desirable on the web has more to do with the context of the app and the device displaying it. In other words, a phone user would find it easy but obviously not a desktop user.
    #3, Definitely referring you to Google on that one.
    #4, Size always matters, it's common sense. The more you process the harder it is. While I haven't done AR I've used the Microsoft Kinect SDK and ANE and tracking was extremely fast but limited. From what I've seen and your basic built in location and direction hardware on any mobile device you shouldn't have much trouble. Depends on what you're doing.
    #5, This discussion would be way too large for a forum. You'd need to consult a firm experienced in AR development.
    #6, "Applications using the commercial license do not have to provide source code, but must pay a licensing fee. Contact ARToolworks at [email protected] for more information." They will base your price on your product, there is no single price.
    #7, The models could be huge and elaborate or tiny and simple which changes the answer. Consult the answer in #4. Ultimately most people are getting on fast networks with mobile and excessively fast on desktop/wifi. Size matters a lot less than 3 years ago.
    #8, Depends on what you're doing. You have to explain it.

  • I can no longer import pictures to my ibook (OSX version 10.6.8) using iphoto 09 version 8.1.2 and now get message that file is in an unrecognizable format.  What is wrong?  Same camera as before.

    I can no longer import pictures to my ibook (OSX version 10.6.8) using iphoto 09 version 8.1.2 and now get message that file is in an unrecognizable format.  What is wrong?  Same camera as before.

    Julesvernet
    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • When I try to watch any video clip I get this:   The version of "Adobe Flash Player" on your system does not include the latest security updates and has been blocked. To continue using "Adobe Flash Player", download an updated version from Adobe's we

    When I try to watch any video clip I get this:
    The version of “Adobe Flash Player” on your system does not include the latest security updates and has been blocked. To continue using “Adobe Flash Player”, download an updated version from Adobe’s website.
    I tried clicking on the Adobe Flash Player.  It said it accepted it but it did not make a difference.
    Can anyone help?
    Thank you!

    This did not work
    On Mon, Oct 27, 2014 at 8:59 PM, Apple Support Communities Updates <

  • The version of "Adobe Flash Player" on your system does not include the latest security updates and has been blocked. To continue using "Adobe Flash Player", download an updated version from Adobe's website.

    The version of “Adobe Flash Player” on your system does not include the latest security updates and has been blocked. To continue using “Adobe Flash Player”, download an updated version from Adobe’s website.

    You haven't actually asked a question, but as stated you should only download Flash Player directy from Adobe.
    Nor have you said what version of OS X and Safari you are running.
    You can check here:  http://www.adobe.com/products/flash/about/  to see which version you should install for your Mac and OS. Note that version 10,1,102,64 is the last version available to PPC Mac users*. The latest version,10.3 or later, is for Intel Macs only, as Adobe no longer support the PPC platform. Version 11.0.1.152 is for Lion.
    * Unhelpfully, if you want the last version for PPC Macs, you need to go here:  http://kb2.adobe.com/cps/142/tn_14266.html  and scroll down to 'Archived Versions/Older Archives'. Flash Player 10.1.102.64 is the one you download. More information here:  http://kb2.adobe.com/cps/838/cpsid_83808.html
    You should first uninstall any previous version of Flash Player, using the uninstaller from here (make sure you use the correct one!):
    http://kb2.adobe.com/cps/909/cpsid_90906.html
    and also that you follow the instructions closely, such as closing ALL applications first before installing. You must also carry out a permission repair after installing anything from Adobe.

  • Using JCO error Wrong repository version = 0 encountered.

    Hi Guru,
    We convert our existing Java Jco program to call RFC Sender adapter and XI should forward the request to RFC receiver adapter to our ECC.
    We found that when we create client connection using gwhost, gwserv and tpname which is config in RFC sender adapter.
    In our Java program throw error in the step of mRepository.getFunctionTemplate.
    The error is "Wrong repository version = 0 encountered.".
    It seems the program can not access function template from repository.
    Anyone have this experience before, please advise
    Thanks you.

    It's working now.
    For your knowledge, it seems it was something wrong inside the jrfc.jar.
    The problem is not exactly the same but the solution is to apply OSS note 816491.

  • Where and how can I know which version of http protocol that flash player used?

    If flash player uses web brower's http protocol?

    Is the EOB a PDF document?
    Firefox updates every 6 weeks and the current version is 31.0. Rolling back almost 6 months is not recommended for security reasons. If that's their best answer, I suggest we either figure out a workaround for getting the document, or you just use a different browser for their site.

  • Exception in FLASH.OCX using Windows 8.1, latest Flash Version

    I have many problems using the latest Flash Version 13.0.0.182. My applications use an embedded version of IExplorer 11 and use OSMF to display P2P Streams. If buffering starts, an exception is thrown and my app crashes with the message "Exception 000000 in FLASH.OCX". This only happens under Windows 8.1 (64 Bit) with latest Flash Version 13.0.0.182, embedded Version. If i call the URL directly into IE, it works.
    - Older Versions works fine
    - On other Windows (Windows 7...) is works fine

    Open entry in bugbase #3744747 (https://bugbase.adobe.com/index.cfm?event=bug&id=3744747)
    Start EXE (Src is included), navigate to http://www.osmf.org/dev/1.5gm/embed.html?favorFlashOverHtml5Video=false will crash the application
    Crash Dump is not available (because of my own EXE, not IE), no dump file in Dump-Folder.

  • What version of Flash is used for Kindle Fire?

    What version of Flash is used for Kindle Fire?

    The latest Kindle Fire HD is not officially supported by Flash  Player.  Please see this page for a list of all certified devices:
    Flash Player Certified Devices
    That said, some users have been able to get Flash Player working on the Kindle Fire by using Dolphin, a third party browser.
    How to install Adobe Flash on your Kindle Fire HD   
    Get Flash on Kindle Fire HD (video)

  • Should I download and install the latest version of Adobe Flash to use with Lion?  My need for Flash is very basic: Google Maps, YouTube, and content on certain websites.  Thanks for any help you are able to provide.

    Should I download and install the latest version of Adobe Flash to use with Lion?  My need for Flash is very basic: Google Maps, YouTube, and content on certain websites.  Thanks for any help you are able to provide.

    Thanks for the speedy reply.  I have read so many comments about Flash being incompatible with Lion I was wondering whether to download it or not.  So many sites on the Web still require flash, however, you almost don't have a choice but to download it even if it is incompatible.  I gather a better version of Flash will be available for Lion soon.  Again, thanks for the help.  I will download the latest version of Flash.

  • I have a pc and am using the trial version for now.  I have readabout and seen  on other computers, but no matter where i look or follow the dirrections i can not find the mini bridge what am i doing wrong.  thank yo

    i have a pc and am using the trial version for now.  I have readabout and seen  on other computers, but no matter where i look or follow the dirrections i can not find the mini bridge what am i doing wrong.  thank you

    CC and CC2014 are the current versions of Photoshop.  CC stands for Creative Cloud.
    That being cleared up, a respectful request:
    Topic or subject titles should be clear, pertinent and concise so that individual users can tell at a glance if they can help or not.
    That field is not for attempting to fit your entire question in there.
    Please keep this in mind next time you post.  Thank you.

  • Flash Player installs wrong version

    I'm running Windows 7, IE 9 on a 64 bit system. I have gone through all trouble shooting on Adobe web site. I have uninstalled and reinstalled, ver 11.3.300.271 and continues to flash and when searching for flash player using control panel, it reads 32bit version....

    You mean the Flash Player Settings Manager?  Yes, that is 32-bit only; Flash Player itself will install both 32-bit and 64-bit versions on x64 systems.
    I know that mention of '32-bit' for the Flash Player Settings Manager is confusing; please vote at https://bugbase.adobe.com/index.cfm?event=bug&id=3295974 to have it changed.

  • Could you please let me know if Flash Player will inform a user that his system requirements are insufficient when trying to use a given version of Flash Player?

    Hi,
    Could you please let me know if Flash Player will inform a user that his system requirements are insufficient when trying to use a given version of Flash Player?
    Regards

    It depends, but in general, no. 
    The guidance on minimum system requirements is mostly about what we will and won't fix bugs for.  Flash Player probably works on Windows Server 2000, and we're not going to intentionally break it or prevent you from installing it, but we're also not going to fix it if it breaks.  In instances where it's going to crash on launch or have some other horrendous out-of-box experience, like attempting to install on a PowerPC Mac, then we'll prevent the installation outright.

Maybe you are looking for

  • My kindle on the iPad has frozen - cant move from the current page.

    I turned two pages at once on my Kindle for Ipad2, and now am stuck on that page.  The HOME  button, and the line at the bottom of the page do not react.  I have shut down and when it comes back, it is still frozen.

  • Unable to install iphoto 6.0.1

    Hi, I am a new apple user. Just down loaded iphoto 6.0.1. But when I try choose the path to install it. It shows a red sign and will not allow me to continue install it. Can some one please help me? I bought the ibook for my camera. Really need to in

  • Unreported exception

    hi all, what is the problem to cause the error?? please teach me. thanks. C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\jsp\HMC\HTML\testDL3_jsp.java:76: unreported exception java.sql.SQLException; must be caught or decl

  • Skipping the search for linked images

    Hi all My indesign document have 250 images. While I have moved the indesign document to different server. All the images are missing links now. While I am opening the document indesign looking for image links, this process is cosuming more time to o

  • Photos grey out in i cloud

    I can't click on photo option in i cloud so that i can use photo streaming. I have tried all suggestions to date with no success.