I need help my project is due Friday and im totally stuck

I need help im stuck I get this error message.

ArgumentError: Error #2025: the supplied DisplayObject must be a child of the caller.
at flash.display::DisplayObjectContainer/removeChild()
to MethodInfo-(150)

I will attach my swf and the bearings of the code and links work just roll on video clips won't go away, I would be very grateful to any idea that I might get thank you for your help.

my code
import caurina.transitions.Tweener;
import flash.display.MovieClip;
import flash.events.MouseEvent;

var contact2:MovieClip = new con1();
var contact2link:URLRequest = new URLRequest("http://www.diamondgorilla.com/contact.html");

var demo:MovieClip = new demoreel();
var demolink:URLRequest = new URLRequest("http://www.diamondgorilla.com/contact.html");

var bio1:MovieClip = new bio();
var bio1link:URLRequest = new URLRequest("http://www.diamondgorilla.com/contact.html");

var web:MovieClip = new webdesign();
var weblink:URLRequest = new URLRequest("http://www.diamondgorilla.com/contact.html");

var logo:MovieClip = new logowork();
var logolink:URLRequest = new URLRequest("http://www.diamondgorilla.com/contact.html");

var photo:MovieClip = new stuff();
var photolink:URLRequest = new URLRequest("http://www.diamondgorilla.com/contact.html");


this.b1.addEventListener ('mouseOut', function(logo_up) {
   Tweener.addTween(b1, {scaleX:1, scaleY:1, rotation:0, time:1});
    removeChild(contact2);
   });
this.b1.addEventListener ('mouseOver', function(logo_up) {
   Tweener.addTween(b1, {scaleX:1.2, scaleY:1.2, rotation:5, time:1});
   addChild(contact2);
   contact2.x=217.6;
   contact2.y=353.5;
   });

this.b1.addEventListener(MouseEvent.CLICK, onClick_b1); function onClick_b1(event:MouseEvent):void {
   navigateToURL(contactlink);
   }





this.b2.addEventListener ('mouseOver', function(logo_up) {
   Tweener.addTween(b2, {scaleX:1.2, scaleY:1.2, rotation:5, time:1});
    removeChild(Demo);
   });

this.b2.addEventListener ('mouseOut', function(logo_up) {
   Tweener.addTween(b2, {scaleX:1, scaleY:1, rotation:0, time:1});
    addChild(demo);
   demo.x=279;
   demo.y=354;
   });

this.b2.addEventListener(MouseEvent.CLICK, onClick_b2); function onClick_b2(event:MouseEvent):void {
   navigateToURL(demolink);
   }

  
  

this.b3.addEventListener ('mouseOver', function(logo_up) {
   Tweener.addTween(b3, {scaleX:1.2, scaleY:1.2, rotation:5, time:1});
    removeChild(bio1)
   });

this.b3.addEventListener ('mouseOut', function(logo_up) {
   Tweener.addTween(b3, {scaleX:1, scaleY:1, rotation:0, time:1});
    addChild(bio1);
   bio1.x=355;
   bio1.y=355;
   });

this.b3.addEventListener(MouseEvent.CLICK, onClick_b3); function onClick_b3(event:MouseEvent):void {
   navigateToURL(bio1link);
   }

  
  
  
this.b4.addEventListener ('mouseOver', function(logo_up) {
   Tweener.addTween(b4, {scaleX:1.2, scaleY:1.2, rotation:5, time:1});
   removeChild(web)
   });

this.b4.addEventListener ('mouseOut', function(logo_up) {
   Tweener.addTween(b4, {scaleX:1, scaleY:1, rotation:0, time:1});
    addChild(web);
   web.x=445;
   web.y=352;
   });

this.b4.addEventListener(MouseEvent.CLICK, onClick_b4); function onClick_b4(event:MouseEvent):void {
   navigateToURL(weblink);
   }

  
  
  
this.b5.addEventListener ('mouseOver', function(logo_up) {
   Tweener.addTween(b5, {scaleX:1.2, scaleY:1.2, rotation:5, time:1});
    removeChild(logo)
   });

this.b5.addEventListener ('mouseOut', function(logo_up) {
   Tweener.addTween(b5, {scaleX:1, scaleY:1, rotation:0, time:1});
     addChild(logo);
   logo.x=526;
   logo.y=352;
   });

this.b5.addEventListener(MouseEvent.CLICK, onClick_b5); function onClick_b5(event:MouseEvent):void {
   navigateToURL(logolink);
   }
  
  
  
  

this.b6.addEventListener ('mouseOver', function(logo_up) {
   Tweener.addTween(b6, {scaleX:1.2, scaleY:1.2, rotation:5, time:1});
    removeChild(photo)
   });

this.b6.addEventListener ('mouseOut', function(logo_up) {
   Tweener.addTween(b6, {scaleX:1, scaleY:1, rotation:0, time:1});
     addChild(photo);
   photo.x=577;
   photo.y=351;
   });


this.b6.addEventListener(MouseEvent.CLICK, onClick_b6); function onClick_b6(event:MouseEvent):void {
   navigateToURL(photolink);
   }

most of your mouse passage is remove a child, and most of the corresponding mouseout/mouseouthandler() is adding a child.  and that is probably the reverse of what you want and will cause an error, even if that's what you want.

Tags: Adobe Animate

Similar Questions

  • I need help, I forgot my security answers and Email not send to my Email of relief.

    I need help, I forgot my security answers and Email not send to my Email of relief.

    Unless it is in a spam filter, you have to ask Apple to reset your security questions. To do this, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.

    (137175)

  • Need help to install Photoshop Extended CS5 and Photoshop Lightroom 3 on my macbook. No hard drive! I have serial numbers. I paid $1200 for it

    Need help to install Photoshop Extended CS5 and Photoshop Lightroom 3 on my macbook. No hard drive! I have serial numbers. I paid $1200 for it

    Download the competent installers of Adobe

    Download Adobe Creative Suite 5 products

    Adobe - Lightroom: For Macintosh: Adobe Photoshop Lightroom 3.6

    Install, then enter your serial numbers.

  • Need help. My tool Panel disappeared and I need to get it back

    Need help. My tool Panel disappeared and I need it back.

    Window > tools

  • Impossible to update LR CC ~ my one day to change and nothing work updated my Mac and all LR will do is CRASH!  Need help.  Tried to stop CC and remove the 1.0 file already and who does not work for me.  What can I do?

    Impossible to update LR CC ~ my one day to change and nothing work updated my Mac and all LR will do is CRASH!  Need help.  Tried to stop CC and remove the 1.0 file already and who does not work for me.  What can I do?

    If lr crashes repeatedly, reset preferences.   http://www.lightroomforums.NET/showthread.php?14226-resetting-%28or-trashing-%29-the-light file-Preferences-room

  • I need help. I updated Adobe cc and now my photoshop does not work. Here is the error message:

    ' I need help. I updated Adobe cc and now my photoshop does not work. Here is the error message:


    Problem event name: APPCRASH

    Application name: Photoshop.exe

    Application version: 16.0.0.88

    Application timestamp: 55681d 39

    The default module name: StackHash_76b2

    The default module version: 0.0.0.0

    The default module timestamp: 00000000

    Exception code: c0000005

    Exception offset: 0000000000000006

    The system version: 6.1.7601.2.1.0.768.3

    Locale identifier: 3084

    Information extra No. 1: 76 b 2

    Information extra No. 2: 76b2e5a7b24373bbe6f47563f13e47b1

    Information extra No. 3: 51ff

    Information extra No. 4: 51ff68a42cf4d2164e10e22e1f794f34


    Hi Oscar,.

    Please see the thread below:

    Photoshop CC 2015 crashing?

    You can also check: 2015 release of Photoshop CC: FAQ

    Kind regards

    Sheena

  • Need help to check the switch VMNIC and VNIC DVS mapping...

    Need help to check the switch VMNIC and VNIC DVS mapping...

    I checked the command net-dvs, but it was not useful.

    Thank you

    Ravinder Singh...

    You do not have access on the interfaces between itself or this info is not visible in vCenter? Probably, you should talk to one who is in charge of your nexus dvSwitch.

    I don't know how it works on the nexus 1000v switch, but the output of the net-dvs provides information on balancing policy for all ports (note that he understands the uplink ports that may still occur as "port id of virtual source"):

    # net-dvs. "grep EI ' (Balancing | port)"

    port 320:

    source port = load balancing virtual id

    port 321:

    source port = load balancing virtual id

    port 177:

    source port = load balancing virtual id

    You should also be able to enter this info from esxcli, but I don't know if there is a hook to esxcli for the link. Perhaps, you can branch off with cisco of dvs esxcli vswitch network or something. On the dVS of vmware, you could do:

    # esxcli dvs lacp vmware vswitch network status

    LACP is disabled on DVSwitch.


    # esxcli dvs lacp get config vmware vswitch network

    DVS name LAG ID cards active network Mode

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

    Vmnic1 Some_DVSwitch 0, vmnic3 false

  • Need help with the classes of structure and folders!

    Hello all :)
    I've been programming some time in Actionscript 3 now. But most of the time I did not so much major projects. So I just had 1 folder with the Fla and class and other classes for different objects. But yesterday, I discovered that I need some more when structuring projects is growing. So what I would like is to have the main file with fla and a file in this folder with the classes or something. But I can't understand it. Searched around the web and Yes tried many things. So now, I have discovered that I need help to solve this problem :)!
    Hope someon can help me with this one, it should be pretty easy, but I understand it now.

    Thanks to !

    You have assigned the MainAs as the file MainFLA.fla document class?

    You have an object in the library that is linked to the class 'Classes.Animal '?

    I would like to declare the variable of animal1 where you have one, but I would not instantiate until, within the service of MainAs.

    SerializableAttribute public class extends MovieClip {} MainAs

    public var animal1:Animal;

    public void MainAs() {}

    the constructor code

    animal1 = new Animal();

    addChild (animal1);

    }

    Is the code that show you for the placement of the Animal object a typo or do you really have it assign the property x twice?

  • Need help with Sprite´s. (Rectangles and circle)

    Hello!

    I kinda need help with a project. I m supposed to do a script that responds to a click and moves the circle of one rectangle to another.

    (Here's a picture)

    howtosprite.JPG

    So, what I want is: when I click on the blue rectangle to the right, the circle must move instantly in the rectangle on the right. And same thing on the opposite path.

    Thanks in advance!

    -Best regards,.

    Aleksandar "Dyxir" B.

    import flash.events.MouseEvent;

    leftRec.addEventListener (MouseEvent.CLICK, fCircle);
    rightRec.addEventListener (MouseEvent.CLICK, fCircle);

    function fCircle(evt:MouseEvent)
    {
    Circle.x = evt.currentTarget.x;
    Circle.y = evt.currentTarget.y;
    }

    Note: Point for all alignment: Center

  • Hey, I need help☹️ my battery dies so fast and what suite 26% it's just farm off☹️

    Hey, I need help

    my battery dies so fast and when on 26% it's just... If turned off on me I need help

    Please read this article for suggestions, including turn off background App update.

    http://www.Apple.com/batteries/maximizing-performance/

    Also try to download the app battery life which is available for free on the App Store. Check the battery with it and if defective, schedule an appointment in an Apple Store for eventual replacement.

  • I need help reinstall Adobe Photoshop elements 12 and 12 Premium items. I have opaid to these programs, however my computer recently had to be reset through the recovery and they have been erased, any help? The link cat Adobe has me download some thing-bu

    Help. You need to reinstall Adobe Photoshop elements 12 and first 12 items. Both are pre paid programs I had on computer, however, the system had to be reset through recovery and these programs have been erased > given that I have already forked the money for these, I want to use them because I am an artist and need the programs. Please, any help? Ideas?

    You should try to keep the title short and sweet, and put the details in the message... it's a mystery what happened regarding the download link, so here's a few...

    PES 10, 11, 12 - http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-10-11-downloads.html

    PE 10, 11, 12 - http://helpx.adobe.com/premiere-elements/kb/premiere-elements-10-11-downloads.html

  • Need help with parallax effect - Adobe MUSE and Safari

    Hey there,

    I need help.

    I did a parallax effect on my www.bloxmix.depage.

    Firefox, Opera and Chrome are working very well.

    Safari works worst.

    Try and see.

    Can someone help to solve my problem?

    Thank you community

    Hi Karl,

    Given that the site works fine at my end, I guess the problem is with your local browser. Could you please try it on another computer and see if it works fine here or not?

    - Abhishek Maurya

  • Need help on query with decimal places and trailing 0

    Community of Oracle I need help in the following situations:

    I received the following query:
    SELECT (SUM ("VALUE1") COUNT ("VALUE2"))
    FROM sometable;

    This returns the following results:
    200
    222,5

    I want to display as 222.50 222,5 value so I tried ROUND(value,2) but then came to the conclusion that the tour will not show drags me 0.
    So now I tried to_char(value,'9999DD00') and of course he's back 200.00 both 222.50.

    Now how to make it conditional so when a number has no decimal place it shows the whole number and when it has a decimal, it shows it in the format to_char(value,'9999DD00')?

    I hope I have made my situation and question correctly and I hope a solution.

    P. S.
    I need to appear like that since it is an average of the prices of the products

    Published by: Jnijman on July 3, 2010 13:06

    You can use CASES and INSTR:

    SQL> with t as ( -- generating sample data:
      2  select 200 col from dual union
      3  select 222.5 from dual
      4  )
      5  --
      6  -- actual query:
      7  --
      8  select col
      9  ,      case
     10           when instr(col, ',') > 0
     11           then to_char(col, '999d00')
     12           else to_char(col, '999' )
     13         end formatted_col
     14  from   t;
    
           COL FORMATT
    ---------- -------
           200  200
         222,5  222,50
    
  • Need help with project

    I've been all over the web looking for help with an intervention in an e-card Bday I do and find tutorials that go above my head, or who are too simple for what I have in mind.

    I did the animations in flash before, but have no experience with interactive features (ie the buttons). I'm currently working on Flash CS4 and using Actionscropt 3.0. What I wanted to do seemed simple enough:

    Having a birthday cake with flames in movement on the candles, is reproduced at the top asking you to blow out them. You can click on these flames and when you do, they come out (with a small animation of smoke) and when the last candle you click turns off, it cuts to a page with a text saying happy birthday ect.

    I can't find any specific actionscript on the web to have these flames act as buttons that disappear when you click on, and then have the last button clicked (not necessarily always the same button) to activate the final scene.

    If someone can give an example of specific script, or direct me to a location (s) that would have the info I need, I would be very happy.

    It is unlikely that you will find a tutorial or lesson plan built around do you anticipate making... it is all pretty basic, so here are a few items to help you get started.  Beyond (or before), you should look for tutorials on basic actionscript, that whether your project or not.  You need to familiarize yourself with the use of code.

    You don't need to use the buttons, but you can.  MovieClip symbols will be probably more appropriate, so that you can have each led to being blown out when it is selected.  Assign instance names to them after place you all of them at the scene to do react to be clicked.  Assuming that you want to use the same animation for each, you could each add you assign a different name such as candle1, candle2 candle3, etc...  Instance names are assigned in the properties panel-> select the object on the stage and fill the field containing the "" in the properties panel.

    With instance names assigned, you must assign listeners events for each event handler functions and candle for each listener, although you might share the same function handler for different listeners.

    Let's say that the animation of your candle is a movieclip that is normally stopped at frame 1, using a stop() command, where an another movieclip within its Framework 1 ensures animation of the flame.  When you click on it, you want the animation of the candle to go to the frame 2 where the animation of blow.  Here's an event listener for one of the candles, and an event handler function that would work for all the candles...

    var blownOutCount:int = 0; keep track of how many get blown

    var totalCandles:int = 10;  you decide

    candle1.addEventListener (MouseEvent.CLICK, blowItOut); This is the event listener

    function blowItOut(evt:MouseEvent):void {/ / this is the handler function}

    Note: "evt.currentTarget' is the object that was clicked - the flame of the candle.

    evt.currentTarget.gotoAndStop (2);  animation of blow?

    evt.currentTarget.mouseEnabled = false; prevents all that is clicked again

    blownOutCount += 1; Add on to the County

    if(blownOutCount == totalCandles) {}

    GoTo which image has the end

    }

    }

    You are the best solution to get more help is to dig and start creating.  When you come across something, start a new assignment, and explain what you did and the code that doesn't work and that someone can probably help.

  • Need help finding project manager

    Hey,.

    Publishing has just completed a project and you want to send it to someone without all the excess. I understand that you go to the Project menu, and then select Project Manager. Only problem is that I do not have a menu. Help, please.

    Hi Mike,.

    Check the menu file. Does it work?

    Thank you
    Kevin

Maybe you are looking for

  • Drivers Compaq cq58 325sr for computer pc laptop for windows 7

    Hello Someone who can help me find drivers for my laptop Compaq cq58 325sr? There are drivers on the HP site, but they are for windows 8... I need for windows 7. Thank you!

  • Pictures folder mac viruses

    I got this message when I tried to open my library of photos with the terminal folder. I think that its been maybe somehow transformed into a folder of photos of virus, anyone know if this is a bug. I tried to open it a few times and it still gives m

  • Want to keep track of my laptop

    Dear Sir/Madam, 7 days before someone stole my cell phone during your trip. I lost and I want to recover my laptop HP, so I am writing this mail. I want to track my lost laptop HP location and return. Please suggest how to follow and get my laptop. b

  • Corrupted media library?

    Someone at - it never have to tell you that your music library is corrupted? Appreciate any help.  Thank you, sotiredofproblems

  • Can I run dual boot Vista 32 and Windows 7 64? Can I use a upgrade disk to install the full version?

    original title: I have a simple question... I have Vista 32 bit.  I have two hard drives.  Vista 32 is on disk 0.  (C) I want to upgrade to Windows 7 64 bit.  I want to change the installation path on Windows 7 64 bit edition updated the software on