Error 1120 and 1172

I am VERY new to flash and have recently downloaded a flash photo gallery. It was announced as CS3 and newer. I use CS4. It uses AS3. I just need to make some design changes, but I get errors when I publish the FLA.  All files and .as files appear to be in the right place and have proper names. The Gallery has received good reviews and people seem to like it, so I guess it's very good. Probably just something simple, I'm missing. Is anyone able to help me through this?

I get the following errors:

1172: definition caurina.transitions could not be found.

This seems to refer to the following code:

Caurina.transitions import. *;

Also, I get the following error:

1120: access of undefined property Tweener

This seems to refer to the following code:

function tn_over(e:MouseEvent):void

{

var mc:MovieClip = MovieClip (e.target);

var s_no:Number = parseInt (mc.name.slice (8.10));

Tweener.addTween (mc, {alpha: 0.5, time: tween_duration, transition: 'easeOut'});

}

Thank you!

I downloaded the file you provided, extracts, and tried to open the fla, but it "failed to open".

www.kglad.com/Files/forums/u.zip

Tags: Adobe Animate

Similar Questions

  • Error 1120 problem

    I get an Error 1120 on inclusion scipr called scrolling_image.as and I don't know why.  As you can see I'm trying to put all the pieces of this script in a function that will be called when a button is clicked it load the appropriate information in the file xmil and show the correct images in scrolling. Anyone have any ideas why I get the error?

    The main script is:

    import flash.events.MouseEvent;

    import flash.display.MovieClip;

    Caurina.transitions import. *;

    Initialize Variables

    var organName:String = "";

    var speed: Number;

    var padding: Number = 20;

    var thumbFadeOut:Number is. 2;

    var thumbFadeIn:Number = 1;

    var thumbSmall:Number = 1;

    var thumbLarge:Number = 1.1;

    Files included

    include "/ AS/buttonScripts.as.

    include "/ AS/scrolling_image.as.

    buttonScripts.as

    function LoadXML(e:Event):void

    {

    trace ("xml loading complete");

    //load xml

    var xmlLoader:URLLoader = new URLLoader();

    var xmlData:XML = new XML();

    var xmlPath:String = "XML/organtext.xml";

    xmlLoader.load (new URLRequest (xmlPath));

    trace ("loading xml from:" + xmlPath);

    xmlData = new XML (e.target.data);

    trace (xmlData.organ. ((@ name) == organName).visualAids.image);

    var scroller: MovieClip = new MovieClip();

    questions.addChild (scroller);

    = scroller.y scroller.x = padding;

    buildScroller (xmlData.organ. ((@ name) == organName).visualAids.image);

    textImport (xmlData.organ. ((@ name) == organName) .name);

    }

    XML text

    function textImport(imageList:XMLList):void

    {

    trace (xmlData.organ. ((@ name) == organName) .descriptions)

    questions.headers.text = xmlData.organ. (@name == organName) .name

    questions.topictext.text = xmlData.organ. (@name == organName) .descriptions

    }

    / * var speed: Number;

    var padding: Number = 20;

    var thumbFadeOut:Number is. 2;

    var thumbFadeIn:Number = 1;

    var thumbSmall:Number = 1;

    var thumbLarge:Number = 1.1; * /

    var scroller: MovieClip = new MovieClip();

    questions.addChild (scroller);

    scroller.x = scroller.y = padding;

    build the scrolling of a xml file

    function buildScroller(imageList:XMLList):void

    {

    trace ("' generation Scroller '");

    for (var point: uint = 0; point < imageList.length (); point ++)

    {

    var thisOne:MovieClip = new MovieClip();

    //outline

    var blackBox:Sprite = new Sprite();

    blackBox.graphics.beginFill (0xFFFFFF);

    blackBox.graphics.drawRect (-1, -1, 142, 107);

    blackBox.alpha = thumbFadeOut;

    thisOne.addChild (blackBox);

    thisOne.blackBox = blackBox;

    thisOne.y = thisOne.myy = (140 + padding) * point;

    thisOne.itemNum = item;

    thisOne.title = [item] imageList .attribute ("title");

    thisOne.link = [item] imageList .attribute ('url');

    thisOne.src = [item] imageList .attribute ("src");

    //image container

    var thisThumb:Sprite = new Sprite();

    //add image

    var ldr:Loader = new Loader();

    var urlReq:URLRequest = new URLRequest (thisOne.src);

    trace ("thumbnail loading" + item + "in Scroller:" + thisOne.src);

    ldr.load (urlReq);

    //assign for loader event listeners

    ldr.contentLoaderInfo.addEventListener (Event.COMPLETE, completeHandler);

    ldr.contentLoaderInfo.addEventListener (IOErrorEvent.IO_ERROR, errorHandler);

    thisThumb.addChild (ldr);

    thisOne.addChild (thisThumb);

    //create headphones for that inch.

    thisOne.buttonMode = true;

    thisOne.addEventListener (MouseEvent.MOUSE_OVER, overScrollerItem);

    thisOne.addEventListener (MouseEvent.MOUSE_OUT, outScrollerItem);

    thisOne.addEventListener (MouseEvent.CLICK, clickScrollerItem);

    //add point;

    scroller.addChild (thisOne);

    }

    scroller.addEventListener (Event.ENTER_FRAME, moveScrollerThumbs);

    trace ("termination of construction scroller");

    }

    function overScrollerItem(e:MouseEvent):void

    {

    //trace ("over" + e.currentTarget.name);

    Tweener.addTween (e.currentTarget, {scaleY: thumbLarge, scaleX:thumbLarge, y: e.currentTarget.myy - e.currentTarget.height * Math.abs(thumbSmall-thumbLarge)/2, x - e.currentTarget.height * Math.abs(thumbSmall-thumbLarge)/2, time: 1});

    Tweener.addTween (e.currentTarget.blackBox, {alpha: thumbFadeIn, time: 1});

    }

    function outScrollerItem(e:MouseEvent):void

    {

    //trace ("out" + e.currentTarget.name);

    Tweener.addTween (e.currentTarget, {scaleY: thumbSmall, scaleY: thumbSmall, y: e.currentTarget.myy, x: 0, time: 1});

    Tweener.addTween (e.currentTarget.blackBox, {alpha: thumbFadeOut, time: 1});

    }

    function clickScrollerItem(e:MouseEvent):void

    {

    //trace ("item clicked" + e.currentTarget.itemNum + "-visit url:" + e.currentTarget.link);

    var urlRequest:URLRequest = new URLRequest (e.currentTarget.link);

    try

    {

    navigateToURL (urlRequest);

    }

    catch (error)

    {

    / / handle the error here

    trace (e);

    }

    }

    function completeHandler(e:Event):void

    {

    //trace ("thumbnail full" + e.target.loader.parent.parent.name);

    //size image scroller

    resizeMe (e.target.loader.parent, 140, 105, true, true, false);

    Tweener.addTween (e.target.loader.parent.parent, {alpha: 1, time:.5});})

    }

    function errorHandler(e:IOErrorEvent):void

    {

    trace ("thumbnail error =" + e);

    }

    function resizeMe(mc:DisplayObject,_maxW:Number,_maxH:Number=0,_constrainProportions:Boolean=true,_centerHor:Boolean=true,_centerVert:Boolean=true):void

    {

    maxH = maxH == 0? maxW:maxH;

    mc.width = maxW;

    mc.height = maxH;

    if (constrainProportions)

    {

    mc.scaleX < mc.scaleY? mc.scaleY = mc.scaleX:mc.scaleX = mc.scaleY;

    }

    if (centerHor)

    {

    mc.x = (maxW - mc.width) / 2;

    }

    if (centerVert)

    {

    mc.y = (maxH - mc.height) / 2;

    }

    }

    function moveScrollerThumbs(e:Event):void

    {

    if (mouseX > scroller.x & & mouseX < scroller.x + scroller.width)

    {//vertically on scroller

    if (mouseY < stage.stageHeight/2 - padding * 2 & & mouseY > 0)

    {//left scene explicitly

    speed =-(mouseY-(stage.stageHeight/2-rembourrage * 2)) / 8;

    }

    ElseIf (mouseY > stage.stageHeight/2 + padding * 2 & & mouseY < stage.stageHeight)

    {//right scene explicitly

    speed =-(mouseY-(stage.stageHeight/2 + rembourrage * 2)) / 8;

    }

    else

    {

    speed = 0;

    }

    scroller.y += speed;

    //scroller limits

    if (scroller.y < - scroller.height + stage.stageHeight - padding)

    {//if scrolls too far to left

    scroller.y = - scroller.height + stage.stageHeight - material upholstery;

    }

    combination else if (scroller.y > padding)

    {//if scrolls to the right

    scroller.y = padding;

    }

    }

    }

    I can't say your code which is what line, but based on your definition of the inisde variable xmlData a function, if you try to access anywhere outside this function, it does not exist outside the function.  Try to declare the variable outside of any function to give it a more global scope.

  • Error 1120 - well-formed to nest under?

    I have a slide show (graphicsshow_mc) in a navigation menu (graphicsmenu_mc) - a nested within a movieclip movieclip.  There are buttons previous / next in the slide show that works properly.

    Example:

    prev_btn02.addEventListener (MouseEvent.CLICK, navBack02);
    function navBack02(event:MouseEvent):void {}
    gotoAndStop ("deinonychus")
    }

    The navigation menu is like the chapters of a DVD, and I want a button to go always in the beginning.  I've copied the code, but need it modified to reflect that it appears in the parent.

    dino_btn.addEventListener (MouseEvent.CLICK, slide show);
    function showStart(event:MouseEvent):void {}
    gotoAndStop (graphicsshow_mc.(") deinonychus"));
    }


    The problem is that I don't know the correct formatting.  All the tutorials and examples that I found are slightly Different to what I need.  I feel that I tried all kinds of variations with commas, between parentheses, quotes, periods and just can't make it work.  Everything is named correctly and spelling in the code has always been copy/paste to ensure continuity.

    I'm new with this, so if someone could hook me upward with the correct format, which would help reduce the headaches.

    * Error * symbol 'mc_dropdown', layer 'actions', frame 19, Line 3:1120: access of undefined property dino_btn.

    dino_btn.addEventListener (MouseEvent.CLICK, slide show);

    If the following line is in the timeline that contains graphicsshow_mc,

    gotoAndStop (graphicsshow_mc.(") deinonychus"));

    the goal is to have graphicsshow_mc Stop to the frame labeled deinonychus, then this line should be...

    graphicsshow_mc.gotoAndStop ("Deinonychus");

    Regarding the Error 1120, if after setting, there may be a problem of naming with the key.

  • Error 1120 in Flash CS3... Access of undefined property.

    Help, please!

    I am new to Flash, but get the hang of it pretty quickly.

    So far I have a nice animation of an intro's, which consists of 90 images.

    In the 90th, I set an action (stop)... test it and it stops as it is supposed to.

    I add another layer to the other actions, and almost verbatum following code from a website, I declare 3 buttons and give them functions.

    Code below:

    *****************************************************************************************
    arch_btn.addEventListener (MouseEvent.CLICK, archPageClick);
    studio_btn.addEventListener (MouseEvent.CLICK, studioPageClick);
    personal_btn.addEventListener (MouseEvent.CLICK, personalPageClick);


    function archPageClick(e:MouseEvent):void
    {
    gotoAndStop ("Architecture");
    }

    function studioPageClick(event:MouseEvent):void
    {
    gotoAndStop ("Studio");
    }

    function personalPageClick(event:MouseEvent):void
    {
    gotoAndStop ("Personal");
    }

    *****************************************************************************************

    I checked the other sites of the error (1120). What I get from them, is that my buttons are not named correctly or the names of instances is no correlation with buttons in stock... Well, this is not correct. I have double and triple checked the names of the instance and they are correct. They are exactly as shown previously. Here is a screenshot of my Architecture button...

    Picture 1.png

    As you can see the instance name of the button Architecture is "arch_btn". Even as in the code of the action. I don't understand why I get this error! I get it for all 3 buttons btw.

    ALSO... after I add this layer to actions for my buttons, action to stop on the other layer stops working. The movie now plays right through 90... After I deleted the layer with the button actions, the layer of action stop work again... Weird?

    If someone could help it would be greatly appreciated!

    Thank you.

    Post edited by: mmellonphotography

    When you have encoding problems, files usually won't play properly, so once solve you the problem of coding it must play well again.

    Make sure that you have assigned the button instance names in all keyframes, not just those frame of 90.  If you do name them in the frame of 75, that the absence of a name is inherited in the frame of 90.

  • Error "1120: access of undefined property mouseX.»

    Hello!

    I develop a class AS 3, and I get the following error: "1120: access of undefined property mouseX.»

    This is part of the class declaration:

    ------------------------------------------

    package
    {
    import flash.geom.Vector3D;
    import flash.display.MovieClip;

    public class Rotator
    {

    private var xMouseGlobal:Number;

    private var yMouseGlobal:Number;

    .....
    }

    }

    ----------------------------------------------------

    And here is where I get error (method inside the cap of class):

    rotation function
    {
    xMouseGlobal = mouseX;
    yMouseGlobal = mouseY;

    .........

    }

    -------------------

    Any ideas?

    Thank you!

    mouseX is a property of a DisplayObject, so you may have to precede the use of it with a reference to the object.  I don't know if 'this' would be an appropriate target, as in "this.mouseX.

  • Error 1120 in flex Builder access of undefined property

    Hello

    I'm trying to Crest a simple xml reader, but flex builder has detected an Error 1120: access of undefined property

    Can someone help me?

    This is the code

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="1024" minHeight="768">
         <mx:Script>
              <![CDATA[
                   import mx.collections.XMLListCollection;
                   import flash.xml.*;
                     import flash.net.*;
                     import flash.events.Event;
      
      
                   [Bindable]
                   private var company:XML;     
    
                   private var xmlString:URLRequest ;
                   private var xmlLoader:URLLoader ;
                   
              "err.1120"     xmlString = new URLRequest("data/data.xml");
              "err.1120"     xmlLoader= new URLLoader(xmlString);
                   
              "err.1120"     xmlLoader.addEventListener("complete", initXml);
              "err.1120 initXml"     
    
                   private function initXml(event:Event):void{     
                         company = XML(xmlLoader.data);
                   }
                   [Bindable]
                   private var companyData:XMLListCollection = new XMLListCollection(company.department);
                   
                   private function treeLabel(item:Object):String
                   {
                        
                        var node:XML = XML(item);
                        if( node.localName() == "department" )
                             
                             return node.@title;
                        else
                             return node.@name;
                   }
         
              ]]>
         </mx:Script>
         <mx:ApplicationControlBar x="0" y="0" width="1045">
         </mx:ApplicationControlBar>
         <mx:TabBar x="10" y="41" dataProvider="viewstack1">
         </mx:TabBar>
         <mx:ViewStack x="10" y="62" id="viewstack1" width="259" height="738">
              <mx:VBox label="Database" width="100%" height="100%">
              </mx:VBox>
              <mx:VBox label="Categoria" width="100%" height="100%">
                   <mx:Tree id="tree" width="256" height="570" 
                              dataProvider="{companyData}"
                              labelFunction="treeLabel"
                              
                              ></mx:Tree>
              </mx:VBox>
              <mx:HBox label="Search" width="100%" height="100%">
              </mx:HBox>
         </mx:ViewStack>
         <mx:DataGrid x="307" y="62" width="272.04547" height="569.3939">
              <mx:columns>
                   <mx:DataGridColumn resizable="false" sortable="false"/>
                   <mx:DataGridColumn headerText="Column 2" dataField="User"/>
              </mx:columns>
         </mx:DataGrid>
         
    </mx:Application>
    
    private var xmlString:URLRequest = new URLRequest("data/data.xml");                private var xmlLoader:URLLoader = new URLLoader(xmlString); 
             // this string you can write only in a function
              xmlLoader.addEventListener("complete", initXml);
    

    for example add creationComplete = "initApp ()" application "

    and to add

    private function initApp (): void

    {

    xmlLoader.addEventListener("complete", initXml);
    

    }

  • Hallo why? When I update ios. When the image has finished error itunes and usb

    Hallo why? When I update ios. When the image has finished error itunes and usb

    Connect the iPhone to the computer that you are synchronizing usually with

    and follow the prompts to iTunes on this computer. If you

    do not generally in sync with a computer, you should always use

    iTunes on a computer to complete the update.

  • photos has not been loaded for weeks (usually the browser chrome on PC windows at work).  I tried now on some other computers and get the same error message and I report every time.  can I do or just wait for someone to fix it

    photos has not been loaded for weeks (usually the browser chrome on PC windows at work).  I tried now on some other computers and get the same error message and I report every time.  is there anything I can do or just wait for someone to fix it?

    If you want any help here, you'll have to tell us what the error message.

    Which report you errors to?

  • Since the change of Tiscali to TalkTalk if I click on links in the emails read on webmail, I get the following error message and then I get disconnected from your

    Since the change of Tiscali to TalkTalk if I click on links in the emails read on webmail, I get the following error message and then I disconnected from TalkTalk webmail.

    HTTP status 404 - /cp/templates/applications/mail/html/null.jsp type status report

    message /cp/templates/applications/mail/html/null.jsp

    Description the requested resource (/ cp/templates/applications/mail/html/null.jsp) is not available. Apache Tomcat/5.5.27

    can you help
    

    Please contact the webmaster. The webmaster will then contact us if they need our help. Thank you!

  • website valid W3C, initially no error reported by the developer toolbar. But by right clicking (giving the menu validation), the toolbar reports two errors: width and height. Despite the fact that each page is posted! The forum for the toolbar, this i

    website valid W3C, initially no error reported by the developer toolbar. But by right clicking (giving the menu validation), the toolbar reports two errors: width and height. Despite the fact that each page is posted! The forum for the toolbar, it's supposed to be a browser error. So, how can it be fixed? I use FF 3.6.6

    This has happened

    Each time Firefox opened

    is after upgrade to 3.5?

    http://chrispederick.com/forums/viewtopic.php?PID=8239#p8239

    You create a new profile and install only the extension Web Developer, as recommended Chris?

  • Installation error 1603 and no solution :-(

    Hello dear Skype users. I really hope that I will find the right answer, because I searched all over the web to find the solution to my problem and unfortunately I can't find anything. OK lets start then :-)

    A few days ago when I tried to connect to Skype I receive msg new version is available, as I always did, click on the button to upgrade.then the installation was finished I tried to connect but not reply all in the program, so I tried to uninstall the program but the msg pops out that the program cannot be uninstalled cuz of error 1603 and I do not have permission of change this option C filesrogramData/Skype/Apps/login/languages/ca.js.

    I download a lot of different software completely clean registry and unistall sh... even from Skype and always safe mode cannot be completely removed and reinstall again. I don't want to reinstall the entire system again...

    Can you please try to find a solution for this BIG sh. !!

    See you soon

    I guess, you have two options left:

    1 restore your system to an earlier date or,

    2. the harsh: reimage your system.

    Next time, run with 'recommended' elevation, update your system with the .NET components, including Windows Installer (msiexec), off virus scan, etc.

    robertlipskii wrote:

    Yes, I tried as you said, but I can not uninstall this files in programdata. Say that I have no permission... WTF?

  • HP 15-f305ddx: I haveva hp 15-f305dx with an error code and the password of the bios 58495227

    I have a haveva hp 15-f305dx with an error code and the password of the bios 58495227

    Thank you so much, you're the best

  • Error 3914 and 17 alternating error, please help!

    So, I am trying to factory reset my iPhone and upgrade to the latest iOS. Then I plugged in, hit "restore" in itunes and said to restore the default settings and most recent iOS. The iPhone screen is transformed into a loading bar, then itunes appears 'Error 3914', and my phone is still stuck under a loading bar.

    So, I followed this guide (http://www.howtoisolve.com/how-to-fix-error-3194-in-itunes-step-by-step-solved/) how to fix error 3194 and done just add the single line in my host file, restarted my computer and tried again. Now, however, I am getting error 17, which is supposed to be caused by having additional lines in the host file.

    Without the extra line, I get error 3194, which seems to be only fixed by this extra line. However, this additional line gives me error 17, which can only be fixed by removing this line. See where this gets out of control? Here is what I tried:

    Googling errors for more than an hour trying to find patches

    Restart the computer

    Restart Itunes

    Host file with and without additional lines

    iPhone in recovery mode

    I have used all 3 USB ports with 3 different cables, so a total of 9 different configurations of port/cable.

    Uninstalled and reinstalled iTunes.

    Some info:

    It is in mode of recovery at this moment, with the symbol of a cable to charge towards the itunes symbol.

    This is an iPhone 5s

  • Impossible to download and install the latest versions to iCloud and iTunes. Whenever the download is finished, I get an error message and stops.

    Whenever I try to download and install the latest versions to iCloud and iTunes I get error messages.  Just like the download ends, I get an error message and the Apple installer stops the download. Then it shows that the new versions are available for download just aif I had never tried to do it in the first place.

    Try these direct links:

    • 12.3.2.35 iTunes for Windows (32 bit) (Windows 7 or later) - iTunesSetup.exe (2015-12-10)
    • 12.3.2.35 iTunes for Windows (64-bit) (Windows 7 or later) - iTunes6464Setup.exe (2015-12-10)
    • 12.3.2.35 iTunes for Windows (64-bit-for older video cards) (Windows 7 or later) - iTunes64Setup.exe (2015-12-10)
    • iCloud 5.1.0.34 for Windows (Windows 7 or later) - iCloudSetup.exe (2015-12-07)

    For more tips, see troubleshooting problems with iTunes for updates of Windows .

    TT2

  • Code error-70012 and MAX freezes

    Hello

    I'm relatively new to LabVIEW, and I met a rather frustrating problem...

    I have a VI that operates a stepper motor.  It was working fine until I rebooted.   When I tried to run the VI after reboot, I met me-70012 error code and the error message "motion: ID illegal Council.» You must use the ID assigned to your controller able and Automation Explorer Board."

    I thought it was rather strange, especially as it was working before reboot. When I tried to access a panel of testing to the PXI-7342 via NI MAX, MAX froze and gave me an unsepcified error message.

    In my VI, the ID of the map is specified as a strict type definition.

    My equipment:

    PXI-7342 (two axes not to not/Servo Controller)

    MID-7602 (2 axes integrated power supply)

    PXI-8119 (Controller)

    Also, I can't seem to get the driver output fault (red) and the pilot light goes out inhibit (yellow) on the MID-7602.  The lights are on for all axes, even if I only have a climber attached to axis 1.

    I tried to reinstall the hardware OR of the motion.

    The PXI-8119 is a machine not connected to the network, so I doubt if there are updates that originited Online has incorporated without my knowledge.

    Thanks for any help!  It will be much appreciated.

    I would also try to follow this KB: http://digital.ni.com/public.nsf/allkb/2C7480E856987FFF862573AE005AB0D9?OpenDocument

    It may there have corrupted the associations between the pilots and your PCI card.

Maybe you are looking for

  • Bike 360 to crash/restart

    Hello I recently bought a new bike 360. I really like the watch so far, but I had a lot of trouble with it lately. Connection once every two days, my 360 will plant, automatically restart and then get stuck on the startup screen (where the 4 orbs of

  • Please free Kitkat 4.4.2 for Lenovo A526.

    I bought Lenovo A526 in April 2014, but again this month of June without sound update. I want Kitkat 4.4.2 as soon as possible.

  • 3520e HP

    Cannot print wireless from ipad on hp 3520e

  • Overheated computer, laptop CQ61, now "the hard disk does not exist '.

    I have reset the BIOS, I held down the power for 30 seconds while the battery is out. I don't know how to put back the hard drive. Is this my only option left? If yes I can't find a video on how, just remove videos. Anyway, can I get the hard drive t

  • 16 disks table PS5000 Sata - Raid for better performance and more capacity

    Good afternoon all I studied the whims of the various raid options and I was wondering if anyone has any practical idea using tables PS5000 SATA?  Basically, the table will backup disks to virtual machines as well as Raid would be preferable for the