Why the movieclip method could not be hereditary?

Dear all:

I want to create a rectangle and let there event button with next class extends MovieClip, but the onRelease method could not being hereditary, who can tell me why and how to? I'll appreciate any response.

CreateRec.as:

class CreateRec extends MovieClip {}
private var _x1:Number;
private var _x2:Number;
private var _y1:Number;
private var _y2:Number;
private var _mcname;
public void CreateRec (x 1, y1, x 2, y2) {}
This ._x1 = x 1;
This ._x2 = x 2;
This ._y1 = y1;
This ._y2 = y2;
Draw();
onRelease = onRelease;
}
private void draw() {}
_root. MoveTo (this ._x1, this ._y1);
_root. LineStyle (2, 0xff0000, 100);
_root.beginFill (0xff0000, 50);
_root. LineTo (this ._x2, this ._y1);
_root. LineTo (this ._x2, this ._y2);
_root. LineTo (this ._x1, this ._y2);
_root. LineTo (this ._x1, this ._y1);
}
private void onRelease() {}
trace ("test");
}
}

-----------------------------------------------------------------------------
BestRegards
Jacky.Lu

How to use it
Paste after the code on frame1 in your Florida
Import CreateRec;
this.createEmptyMovieClip ("box_mc", this.getNextHighestDepth ())
CreateRec.DrawRectangle (box_mc, 10, 10, 200, 100)

Class

Tags: Adobe Animate

Similar Questions

  • Why can I not select a different valid payment method when family shares the payment method is not valid?

    I am part of a family sharing account as my wife configuration. She chose the payment method is not valid, but I have another method of payment which is valid, but when I try to make a purchase, I thought that the paymemt on the part of the family is not valid. With my account, I should be able to choose an another valid payment method which is gone on the record and associated. And the organiser of the method of payment for the account on the part of the family should be notified so that they can solve the problem. Please Apple, improve the customer experience, so I can choose the valid payment option and make my purchase (a free app in this case).

    FYI, you talk about other users on these forums, not support nor Apple iTunes.

    With the family sharing only the map of the organizer can be used for purchases, or if you have a balance on your account that will be used - you can not use a card on your account for purchases: purchase family and payments - Apple Support

    If you want to leave a comment for Apple: http://www.apple.com/feedback/

  • Why do I get an error message saying "the specific module could not be found" when opening an image?

    original title: RunDLL

    I get the window followed whenever I click on an image or a file:

    There was a problem starting c:\Users\Jim\AppData\Local\Temp\seitybu\sxxqrbw\wow.dll that the specific module could not be found

    Can anyone advise on how to fix?

    Hi Jim,.

    I suggest you to navigate to the location of the file in the error message and check if it doesn't matter what suspicious file is present. There could be opportunities that your antivirus software would have deleted a few infected file, but would have left a few remnants, which is the origin of the problem.

    I suggest you use Microsoft safety scanner and look for viruses in your computer.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software. Here is the link to launch the Microsoft safety scanner.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Warning: the data files that are infected must be cleaned only by removing the file completely, which means there is a risk of data loss.

    Note: the Microsoft Safety Scanner expires 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Let us know the State of the question, so that we can help you.

  • We will search for answerswhen I download a mp4 file of say 10 MB, the download folder is no indication that say 6 Mo sometimes, why the full wire is not registered?

    When I download an of say 10 MB mp4 file, download file watch only say 6 Mo sometimes, why the full file is not registered?
    This problem occurs only in a few cases 5 percent if I d/l new and get the complete file

    Hi, Zjpz,

    What version of Internet Explorer you are using-

    Change in size/content of the file during the transfer is the typical result of the use of text transfer mode. With mode, the sequence of characters to delimit lines in the text file is changed. Under Windows, the sequence has two bytes, then to a single byte on Unix. Where the change in file size.

    http://WinSCP.NET/Eng/docs/faq_transfer_size_change

    Why changes in the size of file after the download of video/Audio

    I would like to develop the explanation using a type of FLV video file for example. For the above example image, the size of the original file was 9,88 MB and the video format is FLV - which is a Flash video. This type of video is super compressed to save bandwidth and streams of the fastest video on a computer. During the process of re-encoding, it is off compression first before it is re-encoded. Output size is dependent on the type of media file that you download, you will notice little change downloading format that uses less compression method.

    http://support.kajabi.com/entries/414037-why-does-the-file-size-changes-after-uploading-video-audio

  • I have W XP, SP3. Suddenly, Adobe reader showed the error: Acrobat could not load the DLL base.

    I have W XP, SP3. Suddenly, Adobe reader showed the error: Acrobat could not load the DLL base. Have Adobe reader X (10.0.1) who refuses to be carried away. Other than a drive X (10.1.0) has been reinstalled. Also have Acrobat reader 5.0 is installed from a CD of the Canon scanner slide. The error remains. If anyone can help. Leif Stg

    Hi Leif,

    Where do you get this error message?

    I suggest you to follow the steps and check if it helps.

    Method 1: Uninstall all the instance of Adobe reader and Acrobat reader and install the latest version of one of the drive and check if it helps.

    http://get.Adobe.com/reader/?promoid=DINRS

    Method 2: If the problem persists, perform a system restore and check if that helps.

    How to restore Windows XP to a previous state

  • Impossible to uninstall Adobe Reader 10.1.3. Error - the patch package could not be opened.

    Original title: Add or remove programs, what is meant by a hotfix package?

    I am trying to remove the program Adobe Reader 10.1.3 & when I try to remove it, I get an error message that reads: the patch package could not be opened.  Verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid windows setup hotfix package.

    Hello

    A Windows Installer patch (.msp file) is a file used to provide updates for Windows Installer applications. The fix is a stand-alone package that contains all the information needed to update the application.

    A hotfix package contains updates the actual application and describes which versions of the application can receive the fix.

    Method 1:

    See the article and try to run the Troubleshooter:

    Solve problems with programs that cannot be installed or uninstalled

    http://support.Microsoft.com/mats/Program_Install_and_Uninstall

    Method 2:

    See the article and check if that helps:

    Update, patch | Acrobat, Reader 10.x | Windows, Mac OS

    http://helpx.Adobe.com/Acrobat/KB/update-patch-Acrobat-Reader-10.html

  • Receive automatic updates for Windows XP "error 127: the specified procedure could not be found." Also "error 0 x 80240036: could not start the service automatic updates on local computer»

    Update CPU which proved later to be bad.  Replaced by original CPU.  Re-installed Windows XP Home using a slipstreamed CD that I burned the original non - OEM drive that has Service Pack 2.  Integrated Service Pack 3 which I got from the MS. site  Everything works well except for Windows Update.  The setting seem to be correct in Administrative Tools/Services.  The status of the Service is "stopped".  When I try to start the automatic updates from Administrative Tools/Services I receive "error 127: the specified procedure could not be found."  Also "error 0 x 80240036: could not start the service automatic updates on local computer»  Used the range of anti-virus and malware and found nothing.  Currently using Avast 7.0.1426.  I also used various tools of Fix - It MS nothing helps.  Any help would be greatly appreciated.  Thank you.

    Hello

    1. what application or antivirus security suite is installed and your current subscription?

    2 Norton (another) or a McAfee application ever installed on this machine?

    3. What are the fix applications that you used so far to try to fix this problem?

    Try the next method and check if that helps you with the question of the 127 error you receive.

    Method 1: Rdding the DLL file by doing the following:

    1. Click Start and click Run, in the search box type CMD and press to enter.
    2. right click on CMD in the list and click "Run as Administrator".
    3. type the following command and press ENTER. Regsvr32 msvcp71.dll
    4. close the command prompt window.

    Method 2: run the file system (CFS) Checker:

    (Note: you need an XP installation disk to start the System File Checker search.)

    The SFC command is used to detect and resolve problems with the files on Windows XP and Windows Vista computers. This command allows you to launch the Windows File Protection Service and allows you to analyze all integrity-protected Windows files and replace all problematic files identified.

    1. click on start, and in the box to start, search type CMD
    2. right click on CMD in the list and click "Run as Administrator"
    3. type the following command and press ENTER. Sfc/scannow
    4. close the command prompt window.

    For more information on scan SFC (System File Checker), please look in the link mentioned below.

    http://support.Microsoft.com/kb/310747

    I hope this helps.

  • Unable to repair the connection of local error: Windows could not finish repairing the problem because the following action could not be completed

    Original title: Repair the connection to the local network.

    When I try to repair the connection to the local network I get the following message: "Windows could not finish repairing the problem because the following action could not be completed: clear the cache DNS."  For assistance, contact the person who manages your network. "How can I solve this problem?

    Hello

    1. what exactly is the problem you are experiencing when connecting with Internet?

    2. what type of Internet connection you have (wired or wireless) sound?

    3. don't you make changes to the computer until the problem occurred?

    Method 1: To resolve this issue, follow these steps:

    (a) click Start, click run, type services.msc, and then click OK.

    (b) in the list of services, click DNS Client.

    (c) ensure that the status column displays started and that the Startup Type Automaticcolumn.

    (d) if the service is not set to started or if the startup type for the DNS Client service is not set to Automatic, follow these steps:

    a. right click on Client DNS and then click Properties.

    b. in the Properties of the Client DNS dialog box, click the general tab and then click Automatic in the list Startup type .

    c. click Start, click applyand then click OK.

    Method 2: Wi - Fi and in Windows network connection issues.

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows?T1=Tab03

    Hope this information is useful.

  • the itunes library could not be saved you have enough greenest access for this operation

    I get the following message when I upload music when I am in itunes. the itunes library could not be saved. You have enough greenest access for this operation

    Hi WesleyJefferson,

    ·         Did you do changes on the computer before the show?

    Follow the suggestions below for a possible solution:

    Method 1: These messages occur if the permissions are incorrect on your designated music folder or a folder in your designated music folder. The permissions are settings that determine who can read, write, or execute a file or a folder on your computer. Each file and folder on your hard drive has an associated permission set.

    Example: If the permissions are correct on your music folder, but incorrect on the U2 folder inside your music folder, you would be able to add other music to your iTunes library, but not this new U2 album.

    To apply permissions to a file or folder, see the article mentioned below:

    How to set, view, change, or remove special permissions for files and folders in Windows XP

    http://support.Microsoft.com/kb/308419

    Method 2: You can also read the article and check.

     

    Difficulties to add music to iTunes or audio CD import library

    http://support.Apple.com/kb/TS1387

     

    Method 3: Try to uninstall iTunes and other apple system applications and reinstall iTunes again. See the apple Web site to download iTunes. Click on the link below.

    http://www.Apple.com/

    Let us know if this information will help.

  • An error keeps coming back that there is a problem starting werconcpl.dll - the specified module could not be found. What should I do?

    An error keeps coming back that there is a problem starting werconcpl.dll - the specified module could not be found.  What should I do?

    Hello

    ·         Since when are you facing this problem?

    ·         Were there recent changes made on the computer before the show?

    Follow these methods and check if that helps:

    Method 1:

    This file is a Microsoft Windows System. If you receive the warning on the file, I suggest you to run the latest Microsoft security on your computer Scanner and check if that helps:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: the data files that are infected must be cleaned only by removing the file completely, which means there is a risk of data loss.

    Method 2: Run scan files (SFC) system auditor

    It will scan your computer to check the integrity of files on your system.

    The System File Checker (SFC) utility allows administrators to perform an analysis of all protected resources to make sure they are the correct version. Whether SFC should find all incorrect versions in one of these protected resources, SFC will be replaced by the correct versions.

    SFC follow the steps in the article to run a scan:

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

    http://support.Microsoft.com/kb/310747

  • I can't play mp3. He said: the specified module could not be found

    Windows media player 9. cannot play mp3. He said: the specified module could not be found

    Hello

    · Do you remember any recent changes on the computer before the computer?

    Try the methods below:

    Method 1:

    Run the DirectX Diagnostic tool on the computer and check to see if it helps: DirectX: Description of the DirectX Diagnostic tool: http://support.microsoft.com/kb/190900

    Method 2:

    Run the checker system files on the computer. Link, we can see: Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe): http://support.microsoft.com/kb/310747

    Note that: if he asks you the service pack CD, follow these steps from the link: you are prompted to insert a Windows XP SP2 CD when you try to run the tool on a Windows XP SP2 computer system File Checker: http://support.microsoft.com/kb/900910 (valid for Service pack 3)

    Reference: http://www.microsoft.com/windows/windowsmedia/player/webhelp/default.aspx?mpver=11.0.5721.5230&id=C00D0FEA&contextid=90&originalid=8007007E

  • When you try to schedule a task in XP, make a mistake "the new task could not be created the specific error is 0x80070005: access is denied."

    My

    System Type X 86-based PC
    Processor x 86 Family 6 Model 23 Stepping 10 GenuineIntel ~ 3324 Mhz
    A05 BIOS Version/Date Dell Inc., 07-31-2009
    SMBIOS 2.5 version

    I'm trying to schedule a new task I get this error

    The new task could not be created specific error is 0x80070005: access is denied

    I am an administrator for this computer and I am connected to the office network.

    I downloaded a patch KB904423, but it tells me that the installer has detected that the SP of the system version is newer the updte I am applying, I did not need to install this update

    Is there any fix for this?

    Thank you

    Hi dgxp64,

    ·         The computer is on a domain network?

    Method 1: Temporarily disable the antivirus on the computer program and check if it helps. If it works, you may need to check the settings of the program.

    Note: Check that you activate your anti-virus protection on the computer back after you complete these steps. It is not recommended to disable these settings on the computer. It's just to solve the problem.

    Method 2: Check to see if this article helps you.

    How to solve the scheduled tasks in Windows XP and Windows Server 2003

    Method 3: We will grant permission for the C:\Users folder and check if it helps.

    How to set, view, change, or remove special permissions for files and folders in Windows XP

    If the computer is on a domain network you can post your query on the TechNet Forums.

    Windows XP IT Pro category

  • network location detection. Failed with error 0x8007007E: the specified module could not be found

    Using the internet connection at home:

    Identification of network adapter

    Error failed with error 0x8007007E: the specified module could not be found

    Hi JimQv,

    Check to see if the following is useful.

    Method 1: Run that this automated convenience store and look for the question.

    Improve performance and security in Internet Explorer

    Method 2: You can try to optimize Internet Explorer and see if it makes a difference. Follow steps 2, 3 and 4 of this article.

    Internet Explorer is slow? 5 things to try

  • RUNDLL error: error loading kbdsnb.dll the specified module could not be found when the system starts

    Original title: Missing Dll message

    I get the following message is displayed after the start of my laptop... "... error rundll error loading kbdsnb.dll... the specified module could not be found.

    It does not appear when I search this file on the net? What is this error and how to fix it?

    Thank you

    Hi heshie75v,

    1. does the computer boot to the desktop?
    2. don't you make changes before the show?

    We assume that the computer starts on the desktop after ignoring this error message. We recommend that you check if a non-Microsoft program is defective. To do this, try the following steps:
    a. open the article: http://support.microsoft.com/kb/310353
    b. method 2, follow steps 1 and 2, and then restart the computer to see if the problem persists.
    c. If the problem does not persist in the boot, then follow step 3 and step 4 to find out which is the origin of the problem, and once you have found the culprit, uninstall the program and check the result.

    Note: Don't forget to follow the steps in the steps to configure Windows to use a Normal startup state"" section.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • RUNDLL error C:\WINDOWS\dfgwovap.dll the specific module could not be found.

    Original title: RUNDLL error

    has anyone seen a RUNDLL error

    C:\WINDOWS\dfgwovap.dll

    the specific module could not be found.

    Since this jumped on my computer, I can run is more my outlook program.  I opened for 1 second and then closes.  I reinstalled a couple of times and the same thing happens.

    all thoughts

    Thank you

    Jon

    Hi Jon,

    1. don't you make changes before the show?

    Try these steps and check the result.
    Step 1: Check if a non-Microsoft program is causing this issue
    see How to configure Windows XP to start in a "clean boot" State .
    b. If the issue is not persistent, then from the article, follow the method 1 and method 2 to find out if any program is causing the problem.
    c. Once you have found the culprit which is the program that is causing the problem, then uninstall it or reinstall once more to solve the problem.

    Note: Article, remember to follow 'steps to configure Windows to use a Normal startup state. "

    Step 2: If the problem continues, check if a system file is missing or damaged
    a. Click Start, click Run, type cmd and click ok.
    b. at the command prompt, type sfc/scannow and press ENTER.

    Note: You will be asked to insert the Windows XP disk, if a file is missing.

    For more information, see Description of Windows XP System File Checker (Sfc.exe)

    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for

  • HP OfficePro 8600 - EPrint proxy problems

    I got my job OfficePro 8600 using ePrint and amailing a scan to my own email address, but I changed my router and the pronter fails to connect. I've linked to the wifi in the router, but I can't connect through ePrint, with an error saying "the print

  • NO SOUND FROM AUDIO DEVICE

    NO SOUND FROM AUDIO DEVICE. I have Logitec PID:A836 Audio Device with no sound. It worked very well in the past. I tried to update the drivers, but the computer says that there are no drivers for the device? When I check my control panel under sounds

  • Publication of video problem on Windows Live Movie Maker

    I'm trying to publish my first video on Windows Live Movie Maker, and whenever I try to post it on YouTube or whatever, I get a pop up window that says, "the system cannot find the path specified." Is someone can you please tell me how I can help the

  • How to make it work? -Setting focus to a particular element

    Hi all I saw a menu drop-down horizontal at the top of the application. Below that I have the ListField, so after a navigation list when I come back to my menu, I'm not able to focus directly on the selected menu item. Element is either to the right

  • Issue of booking TMS

    When we booking the meeting via the TMS, How can we get the E.164 Alias of conference? (Except we see that conference mcu status.) Sometimes need to provide some temporary participants. Thank you!