Definition mx.core:ApplicationGlobals could not be found.

Hi,
I am using "mx.core:ApplicationGlobals" in one of the flex application in flash builder 4 with flex sdk 4.
but not able to compile the code.
Having error message " Definition mx.core:ApplicationGlobals could not be found."
Can anyone please help me in this asap?
Thanks in advance
smonika

Hi Michael,
I am a java developer and in our project there is a need to develope a flex
chart.
I have already a code with me to generate the cross hair cursor which i
downloaded from net but not able to compile this however now I replaced
ApplicationGlobals with FlexGlobals.
Now it is throwing error "addChildToSandboxRoot" in "CursorManagerImpl.as"
code is available at "
http://articles.sitepoint.com/article/trick-1-cross-hair-cursor".
Is there any method to use this code as a lib in my application?
Could you please help me in this?
Thanks an dRegards
Monika

Similar Messages

  • Error: Definition mx.core:RSLData could not be found.

    When i try to run this command :
    "mxmlc -static-link-runtime-shared-libraries=true -debug=true -load-config=C:\TestFlex4\flex-config1.xml -output=C:\TestFlex4\web\test1.swf c:\TestFlex4\web\test1.mxml"
    The follwing error stach trace shown:
    C:\TestFlex4\web>mxmlc -static-link-runtime-shared-libraries=true -debug=true -load-config=C:\TestFlex4\flex-config1.xml -output=C:\TestFlex4\web\test1.swf c:\infoTrakFlex4\web\test1.mxml
    Loading configuration file C:\TestFlex4\flex-config1.xml
    _test1_mx_managers_SystemManager.as(135): c
    ol: 35 Error: Access of possibly undefined property RSL_ADD_PRELOADED through a
    reference with static type Class.
            addEventListener(RSLEvent.RSL_ADD_PRELOADED, addPreloadedRSLHandler, fal
    se, 50);
                                      ^
    _test1_mx_managers_SystemManager.as(159): c
    ol: 35 Error: Access of possibly undefined property RSL_ADD_PRELOADED through a
    reference with static type Class.
            addEventListener(RSLEvent.RSL_ADD_PRELOADED, addPreloadedRSLHandler, fal
    se, 50);
                                      ^
    _test1_mx_managers_SystemManager.as(171): c
    ol: 13 Error: Access of undefined property allowDomainsInNewRSLs.
            if (allowDomainsInNewRSLs && _allowDomainParameters)
                ^
    _test1_mx_managers_SystemManager.as(180): c
    ol: 13 Error: Access of undefined property allowInsecureDomainsInNewRSLs.
            if (allowInsecureDomainsInNewRSLs && _allowInsecureDomainParameters)
                ^
    _test1_mx_managers_SystemManager.as(16): co
    l: 15 Error: Definition mx.core:RSLData could not be found.
    import mx.core.RSLData;
                  ^
    i have an existing code, whch i  want to try to run, but this error fail my compilation. i am new in flex, please tell me some solution.

    I resolve my error, there is conflict between flex 4.6 and 4.0. the code is based on 4.0, but i try to run this code on 4.6. so when i compile the code fron 4.0 the code compile successfully.

  • I'm trying to use import com.adobe.crypto.* on Windows version of my App but get error 1172:Definition com.adobe.crypto could not be found

    The Mac version of my Air app works fine, so does the iPad version, but the PC version has been a bit of a nightmare.
    I keep getting the error "1172:Definition com.adobe.crypto could not be found", when I publish it.
    Basically the 'com' folder is in the same directory as the app I am publishing and within that is 'adobe' and within that is 'crypto' within that is a series of .as files.
    I've added C:\Users\Gary\Documents\My_Applications\My_App_folder\com\adobe\crypto to source path list (I have no idea if that's right).
    But that just gives me a different error 5001: The name of package com.adobe.crypto does not reflect the location of this file. Please change the package definitions name inside the file.......
    I didn't have to include this source in the Mac version... but someone seemed to suggest it on a forum.
    I'm basically stabbing in the dark at the mount, something I seem to be doing a lot of these days. :-(
    Any help would be greatly appreciated.
    Many Thanks
    Gary

    I've figured it out
    Turns out I needed to add a source path (in the Actionscript 3 settings click on the Source File Tab) that exactly matches the directory the app and com folder is inside of. I wrongly assumed that Adobe Air could figure out where it was for itself, but no.... it needs to be told where to look for the com folder even though it's staring it right in its face. (Don't set the path to the 'com' folder itself, but to the enclosing folder that the .fla and the com is in).
    The Mac version doesn't seem to need that, it just finds the com folder if it's inside the same folder.
    Now I've got another massive error:-
    When I test the app, it works fine sending to Air for Desktop, however when I publish with embedded runtime for Windows.... It comes up with this error.
    Any ideas ?

  • Definition flash.media:StageWebView could not be found ?(help)

    how to fix Definition flash.media:StageWebView could not be found.using adobe flash cs5 v11

    Target one of those in the screenshot:

  • "Definition de.alex_uhlmann.animationpackage could not be found" and other debug errors

    Hi, I have a Flash file someone else created that I need to debug and repair.
    I get the following errors, when running debug:
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 1, Column 40
    1172: Definition de.alex_uhlmann.animationpackage could not be found.
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 2, Column 50
    1172: Definition de.alex_uhlmann.animationpackage.animation could not be found.
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 3, Column 48
    1172: Definition de.alex_uhlmann.animationpackage.drawing could not be found.
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 4, Column 48
    1172: Definition de.alex_uhlmann.animationpackage.utility could not be found.
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 5, Column 31
    1172: Definition com.robertpenner.easing could not be found.
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 1, Column 40
    1172: Definition de.alex_uhlmann.animationpackage could not be found.
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 2, Column 50
    1172: Definition de.alex_uhlmann.animationpackage.animation could not be found.
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 3, Column 48
    1172: Definition de.alex_uhlmann.animationpackage.drawing could not be found.
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 4, Column 48
    1172: Definition de.alex_uhlmann.animationpackage.utility could not be found.
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 5, Column 31
    1172: Definition com.robertpenner.easing could not be found.
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 7, Column 1
    1120: Access of undefined property APCore.
    That symbol is in my library.
    When I go to the code, it shows:
    import de.alex_uhlmann.animationpackage.*;
    import de.alex_uhlmann.animationpackage.animation.*;
    import de.alex_uhlmann.animationpackage.drawing.*;
    import de.alex_uhlmann.animationpackage.utility.*;
    import com.robertpenner.easing.*;
    APCore.initialize();
    nextBtn._alpha = 0;
    I downloaded what I believe to be the correct animation package from here, versions 2.0 and 3.0, for Flash Pro CC2014, Flash Player 13:
    AnimationPackage
    I have no idea how I am supposed to import this package into my library, since none of the files are available to import, or what procedure I'm supposed to follow to correct this error. I emailed the programmer, but I have no idea if he is even still around. Does anyone have an answer on how to resolve this? Email me at [email protected] if you want the FLA file, since I can't attach it here. Thanks for the help!

    you need the classes mentioned after 'Definition" in the lines below and they should be place in de/alex_uhlmann/animationpackage subdirectory of your default directory.
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 2, Column 50
    1172: Definition de.alex_uhlmann.animationpackage.animation could not be found.
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 3, Column 48
    1172: Definition de.alex_uhlmann.animationpackage.drawing could not be found.
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 4, Column 48
    1172: Definition de.alex_uhlmann.animationpackage.utility could not be found.
    you also need penner's easing class in com/robertpanner

  • Why this error "Definition fl.video:VideoPlayer could not be found"

    I have this in a .as file
    package {
        import fl.video.VideoPlayer;
        import flash.display.Sprite;
        public class VideoPlayerExample extends Sprite   {
            public function VideoPlayerExample() {
    When I create and save .fla file with a document class VideoPlayerExample, and test the movie I got this error:
    1172: Definition fl.video:VideoPlayer could not be found.
    Any idea how to make flash find where the definition is. My copy of Flash was installed with the default installation settings.

    Thank you Kglad,
    I apologize for my ignorance but unfortunately I don't know what "flvplayback component" is and how to have one in my library.
    Any ideas how to make one?
    I searched the online help for a definition but it doesn't seem to have one. The closest that I found was this section that says what it does once you have it but no mentioning how to make it.
    http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WS0ED77F00-2006-49aa-8399-92B6D5D8CE00.h tml#WS62A31643-EF23-45ec-80D0-04DB8CE1AB1F

  • 1172: Definition caurina.transitions:Tweener could not be found

    Hi All
    kindly help me for this issue.
    I have a flash file transferred to another device, but it does not work now, I find this error .
    Scene 1, Layer 'global functions', Frame 2, Line 1 1172: Definition caurina.transitions:Tweener could not be found.

    i can send source if you want .
    thank a lot for help me .
    This error, which got it :-
    Scene 1, Layer 'global functions', Frame 2, Line 1 1172: Definition caurina.transitions:Tweener could not be found.
    Scene 1, Layer 'global functions', Frame 2, Line 76 1120: Access of undefined property Tweener.

  • 1172: Definition flash.filesystem:File could not be found.

    I get the error 1172: Definition flash.filesystem:File could not be found. when i attempt to import File class or any other class from the package flash.filesystem. I already installed Adobe AIR but it still doesn't work.

    you're welcome.
    (been there and done that, too.)

  • Definition fl.video.FLVPlayback could not be found

    I'm stumped. I have to flash files I'm authoring.
    File A has a MovieClip on stage that has a linkage to a class in which I import fl.video.FLVPlayback
    File B also attempts to import fl.video.FLVPlayback.
    File B throws a COMPILE TIME error that it cannot locate the definition for fl.video.FLVPlayback. I'm noticing that my FlashDevelop also offers no syntax highlighting for that line.
    Both are exporting for the same version of FlashPlayer (10). Both are being authored on the same platform, the same software (CS4).I have not messed with any Publish settings, other than that File B is associated with a Document Class.
    Of interest may be that File A will eventually be loaded into File B, into the context of File B.
    What is up? I have no idea where to even start looking.
    Thanks in advance.

    Hi Ned. Yes, I think you read it correctly. I added import fl.video.FLVPlayback originally to file B in the hopes that that would give it a reference to the class.
    The solution I'm describing is actually exactly what you've just described: file B has a reference to file A's document class and calls some ClassA.play() method. So technically file B doesn't need to know anything about FLVPlayback. That's why I'm so confused. It still throws the error even if i DON'T try to do ClassA.play() (just by importing ClassA inside file B's package).
    By the way, I should point out that yes, including the component in file B solves the issue. But not the confusion.
    1. Why does file B need to know anything at all about the FLVPlayback component?
    2. By loading file A into file B's ApplicationDomain, file B _ought_ to have access to any Library items defined in file A. That should include the component no?

  • 1172: definition flash.display.GraphicsPathCommand could not be found

    What do I need to do to make the following statement recognized?
    import flash.display.GraphicsPathCommand;
    I imported an example drawing project AS3Effects from Gilbert Mizrahi based on the works from Todd Yard.
    In that project the actionscript code and  mxml code recognize the import above.  But any of my other projects, applications, or actionscript classes I get the error above.
    What am I missing?

    I figured it out.  Under the properties for the Project you define the version of Player to require.  Player 9 does not inclued GraphicsPathCommand.
    I changed the version to 10.0.0 and I now see the Player 10 supported classes in the auto-complete or whatever it is called.
    I'm glad the forum is here for the tough questions.

  • Scene 1, Layer 'Layer 1', Frame 1, Line 1     1172: Definition fl.data:DataProvider could not be found.

    How do I correct this error - is it because I by accident has deleted the default library path and how do I put it back to the default value?

    How are you trying to implement it in your code?  Do you import the DataProvider class?

  • Definition flash.utils:Trace could not be found

    Hi,
    I've just tried creating a simple test actionscript 3
    project, but it doesn't seem to recognise the path to trace;
    package {
    import flash.utils.trace;
    import flash.display.MovieClip;
    public class Test extends MovieClip
    public function Test()
    trace("hello");
    Any ideas?

    In Beta3 "the trace method to the unnamed package so no
    import is required"
    see
    What's
    changed in Beta3?

  • Definition flash.event could not be found

    import flash.utils.Timer;
    import flash.event.TimerEvent;
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    mc1.alpha = 0;
    mc2.alpha = 0;
    mc3.alpha = 0;
    var timer:Timer=new Timer(500,27);
    timer.addEventListener(TimerEvent.TIMER,timerListener);
    timer.start();
    function timerListener(event:TimerEvent):void
      if(timer.currentCount == 1)
      if(count==1)
      var tween6:Tween = new Tween(mc3,"alpha",Strong.easeOut,1,0,1,true);
      var tween1:Tween = new Tween(mc1,"alpha",Strong.easeOut,0,1,2,true);
    if(timer.currentCount == 10)
      var tween2:Tween = new Tween(mc1,"alpha",Strong.easeOut,1,0,1,true);
      var tween3:Tween = new Tween(mc2,"alpha",Strong.easeOut,0,1,2,true);
    if(timer.currentCount == 19)
      var tween4:Tween =new Tween(mc2,"alpha",Strong.easeOut,1,0,1,true);
      var tween5:Tween =new Tween(mc3,"alpha",Strong.easeOut,0,1,2,true);
    if(timer.currentCount == 27)
      timer.reset();
      timer.start();
      var count = 1;
    this is what i get ....
    Scene 1, Layer 'Action Script', Frame 1, Line 2
    1172: Definition flash.event:TimerEvent could not be found.

    i understand that!
    some things are just hard to see and the longer you look, the less you see.

  • Compile AIR application with Ant (WindowedApplication could not be found)

    I'm trying to compile my AIR application with Ant, using the mxmlc Ant Task. It seems to compile fine, and I get a .swf, but when I try to run it with ADL, I get the message "Class mx.core::WindowedApplication could not be found." It looks like the AIR libraries aren't being included properly.
    Here's my mxmlc task:
    Class mx.core::WindowedApplication could not be found.
    <mxmlc
         file="${MAIN_MXML}"
         output="${DEPLOY_DIR}/MyApp.swf"
         compatibility-version="3"
         locale="en_US"
         static-rsls="true"
         debug="${DEBUG_FLAG}"
         optimize="true"
         link-report="${DEPLOY_DIR}/report.xml"
         configname="air">
         <load-config filename="${FLEX_HOME}/frameworks/air-config.xml" />
         <library-path dir="${FLEX_HOME}/frameworks/libs" append="true">
              <include name="*.swc" />
         </library-path>
         <library-path dir="${FLEX_HOME}/frameworks/libs/air" append="true">
              <include name="*.swc" />
         </library-path>
         <library-path dir="${FLEX_HOME}/frameworks/locale" append="true">
              <include name="{locale}" />
         </library-path>
         <source-path path-element="${SRC_DIR}" />
    </mxmlc>
    Any idea why this is happening? I've tried not including the load-config section and not including the library paths, but it's always the same result - it can't find WindowedApplication.
    Thanks!

    Hi, Guys!
    I ran into the same problem when i tried to write an ant-script to compile the asDocs for my project.
    After reading shades post i added the air-config (This resolved the WindowApplication couldn't be found error, because it adds all the air libs i guess)
    but lead to the problem that the flex vector-class wasn't found. As Vector is flashplayer 10.0.0 i also
    used the target-player parameter (This fixed that nicely).
    But now i got the problem that i get lots of this error msgs: DepartmentItemRendererClass.as(11):
    Error: The private attribute may be used only on class property definitions.
    I guess the problem now is that ant doesn't understand that the AS-Classes producing that errors are not used as
    standalone-classes. To divide my mxml and AS-Code i import external AS-Classes to my MXML
    like that <mx:Script source="ascodeClass.as" />
    Is there a solution allowing me to use this pattern and still compile my asDoc with ant?
    It confuses me a little, because Ant-Scripts worked to compile the project.
    Thanks in advance!
    Florian
    My Ant-Script producing that error:
    <project name="Red bull BPT 2.0: Generate ASDoc" basedir=".">
        <description>
           Creates the ASDoc for Red Bull BPT 2.0
        </description>
        <property file="FlexbuilderASDocAntTask.properties" />
        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" />
        <target name="cleanAndCreateASDoc"
                depends="cleanASDoc, compileASDoc"
                description="Cleans and creates Actionscript-Documentation"
                />
            <!-- Delete the existing output folder and files and then regenerate the output folder -->
                <target name="cleanASDoc">
                    <echo>Deleting ASDoc Directory...</echo>
                        <!--Delete the folder specified for the Asdoc.dir variable-->
                        <delete dir="${Asdoc.dir}" failOnError="false" includeEmptyDirs="true" />
                        <echo>Deleted ASDoc Directory</echo>
                        <echo>Creating ASDoc Directory...</echo>
                        <!--Creates the folder specified for the Asdoc.dir variable-->
                        <mkdir dir="${Asdoc.dir}" />
                    <echo>Created ASDoc Directory</echo>
                </target>
            <!-- Run the ASDoc executable and generate the ASDocs to the new output folder -->
                <target name="compileASDoc">
                    <echo>ASDoc Compiling...</echo>
                        <exec executable="${AsDocs.executable}" failonerror="true">
                        <!--THIS SEEMS TO SOLVE THE WINDOWEDAPPLICATION AND FOLLOWING VECTOR ERROR -->   
                            <arg line="-load-config ${FLEX_HOME}/frameworks/air-config.xml" />
                            <arg line="-target-player 10.0.0" />
                        <!--THIS SEEMS TO SOLVE THE WINDOWEDAPPLICATION AND FOLLOWING VECTOR ERROR -->
                        <!--Main title for the top of all ASDoc pages-->
                            <arg line="-main-title '${Main.title}'" />
                        <!--Prefix Title of the window-->
                            <arg line="-window-title '${Window.title}'" />
                        <!--Defines the output directory for the ASDoc-Files-->
                            <arg line="-output '${Asdoc.dir}'" />
                        <!--Footer added to each ASDoc page-->
                            <arg line="-footer '${Footer.text}'" />
                        <!--Adding the source folders the ASDoc should be created from (Start)-->
                            <arg line="-doc-sources '${ModuleBaseDir}/source'" />
                        <!--Adding the source folders the ASDoc should be created from (End)-->
                        <!--Adding the folders for external Libraries needed to compile the application(Start)-->
                            <arg line="-external-library-path '${ModuleBaseDir}/libs'" />
                        <!--Adding the folders for external Libraries needed to compile the application(End)-->
                        </exec>
                    <echo>ASDoc Compile Complete!</echo>
        </target>
    </project>

  • Compiling with Flex 4.0 gives flash.desktop.NativeProcess could not be found

    Hello!
    I have an ActionScript only Flex project that was written by someone else.
    I know it was compiled successfully for Air 2.0
    I can compile this project using Flex Hero and with <application xmlns="http://ns.adobe.com/air/application/2.6"> - however, my air file will install only on windows (on mac i get a weird 'installation file is corrupt, contact the author' error message).
    So now I want to compile it for Air 2.0 as it was originally written for. So i change the used Flex SDK from Hero to 4.0 and change the target air version to <application xmlns="http://ns.adobe.com/air/application/2.0"> - but then i get three compilation errors:
    Description Resource Path Location Type
    1061: Call to a possibly undefined method openWithDefaultApplication through a reference with static type flash.filesystem:File.
    Description Resource Path Location Type
    1172: Definition flash.desktop:NativeProcess could not be found.
    Description Resource Path Location Type
    1172: Definition flash.desktop:NativeProcessStartupInfo could not be found.
    but I read that these features were introduced with AIR 2.0 - so how can't I compile if I change the SDK from Flex Hero to Flex 4.0?

    Figured it out... Make sure your descriptor file has the following namespace definition!!
    "http://ns.adobe.com/air/application/2.0beta"

Maybe you are looking for

  • Open Order value for Customer in Credit Master

    Hi All, For ABC customer, if I check for Credit master(F.35), credit management(FD33) & Sales Summary, the Open order value(sales Value) is 10, 30,000.00 EUR. If I calculate adding Back orders - 83681.98 Open orders - 196763.43 Open Contract - 9,669.

  • Regd. Web Service Scenario

    Hi All, I have a scenario where Source is a web service and Target is a proxy. I will get 4 different messages from web service,which  I need to send it to proxy. Instead of creating 4 different URLs, we thought of using 1 URL by providing * in sende

  • Name goes wrong of sent file in Skype version 7.0....

    Hi, After updating my skype version I am having problem during sending file.  My current skype version is 7.0.0.1102 ans when I send a file to some one in my conttac they get file with whole path of where the file is save on my desktop rather then on

  • High availability xMII server configuration copy

    We are setting up two xMII servers in a Hight Availability configuration. What files/directories do I need to ensure are copied between the main and backup servers so that the configuration is completely duplicated between them? I know I can copy the

  • Can not open and install iphoto! What`s the problem?

    Can not open and install iphoto! What`s the problem?