class does not not with the document class

I created classes that is available to my level. So level 1 includes a table like:

  floor1[0] = [2,1,1,1,1,1,2];
  floor1
[1] = [1,1,1,1,1,1,1];
  floor1
[2] = [1,1,1,2,1,1,1];
  floor1
[3] = [1,1,1,1,1,1,1];
  floor1
[4] = [1,1,1,2,1,1,1];
  floor1
[5] = [1,1,1,1,1,1,1];
  floor1
[6] = [2,1,1,1,1,1,2];

And level 2 would contain a different as configuration:

Floor2 [0] = [1,1,1,3,1,1,1];
floor2[1] = [1,2,1,3,1,2,1];
floor2[2] = [1,1,1,3,1,1,1];
floor2[3] = [1,1,1,2,1,1,1];
floor2[4] = [1,1,1,3,1,1,1];
floor2[5] = [1,2,1,3,1,2,1];
floor2[6] = [1,1,1,3,1,1,1];

Here's my problem. These classes are not connect with my document class. My document has an empty array named createFloor which will equal level 1 first. Once this level is completed, it will be equal to floor2 and so on. The code is below:

for (var y = 0; Y < createFloor.length;. Y++)

{

for (var X:int = 0; X < createFloor [Y] .length; X++)

{

var cell: MovieClip = new Tile (X, Y);

cell.gotoAndStop(createFloor[Y][X]);

Cell.x = ((X-Y) * tileh) 365;

Cell.y = ((X+Y) * tileh/2) + 70;

addChild (cell);

cell.addEventListener (MouseEvent.CLICK, mouse click);

cell.addEventListener (Event.ENTER_FRAME, onGame);

}

}

I don't know how to get the document classes and level to talk with each other. I tried to do the level class to extend the hand, but I fugre that had nothing to do with it. All ideas

change your class Level1:

package {}

import flash.display.MovieClip;

SerializableAttribute public class extends MovieClip {} Level1

public var floor1:Array;

public void Level1() {}

Level 1 = new Array();

LEVEL 1 [0] = [2,1,1,1,1,1,2];

LEVEL 1 [1] = [1,1,1,1,1,1,1];

LEVEL 1 [2] = [1,1,1,2,1,1,1];

LEVEL 1 [3] = [1,1,1,1,1,1,1];

LEVEL 1 [4] = [1,1,1,2,1,1,1];

LEVEL 1 [5] = [1,1,1,1,1,1,1];

LEVEL 1 [6] = [2,1,1,1,1,1,2];

}

}

}

until level 1 is in the same directory as your document class, in your document class you can use:

private var level1:Level1 = new Level1();

trace (Level1.Floor1);

Tags: Adobe Animate

Similar Questions

  • the preview window does not show the document that I'm about to print in Sierra

    The preview window does not display the document that I'm about to print. This problem started as soon as I upgraded to Sierra. It occurs in many applications - including in Microsoft Excel 2011.

    Hello, David Bry1,.

    Thank you for using communities of Apple Support.

    I understand that when you try to print from a number of different applications, you do not see the preview of the document you are printing. I would like to assure you that I see the preview as well when I print. Let's see how we can get this resolved.

    I advise you to ensure that the printer software is up-to-date on your printer Brother DCP-7065DN. Please choose 'Available Software' brother printer and scanner software for macOS Sierra, El Capitan, Yosemite, and Mavericks

    If a software update is available, please install and then test and see if you get the same result.

    Have an amazing day!

  • HP printer does not print the document I try to print, it prints something else.

    Original title: problem in printing a doc.

    Whenever I print a document from my HP printer it does not print the data of the actual document but it prints the file information
    For example,.
    I have printed a document named as G-Life, I wrote a letter to the company in but print the following things in the doc
    File name: G-Life
    Directory: C:\Users\kartik\documents
    Model: C:\kartik\AppData\Roaming\Microsoft\Templates\Normal.dotm
    Title:
    Object:
    Author: kitenge
    Keywords:
    Comments:
    Creation date: 28/05/2013 12:53
    Change number: 3
    Last saved on: 28/05/2013-16:45
    Last saved by: kitenge
    Total editing time: 25Minutes
    from the last full print
    Number of Pages: 1
    Number of words: 65 (approx.)
    Number of characters: 373 (approx.)
    These got printed on my printer, while the actual document is something else.
    If anyone can help me to get rid of it, I'll be very grateful.
    Thank you

    You don't mention the Word version

    In Word 2010, for this doc, file > Options > display

    Highlight print options

    Uncheck "print doc properties.

    If it occurs for all documents, with Word closed, locate and remove the normal.dotm template, it will be re-created the next time that you start Word

  • PC Windows 7 does not return the document or the printed page

    I had a setting for this in XP control but can't find the page, that I got it.

    This occurs in AN application, or a browser.  I print from a workbook Excel specific, for example, when I have a number of them opens.  The system does not return the workbook that I printed.  It's maddening and causes all sorts of questions.  Searching the Web for this instant product nothing and I know I can't be the only person who saw this.

    It is a platform of Windows 7 in a commercial network environment.  I use the snap Menu Addintools classic because I can't stand the Ribbon and never loved.  In Windows 7, I run a couple of other supplements that restore the XP the taskbar properly use, so you can work efficiently.

    None of the supplements are causing this problem because I was running the same classic Menu Add-in in the XP box and he had the same problem until I found workaround that I don't remember now.

    Everyone knows about this problem?

    Jeff Lynch

    Hello Jeff,.

    Please contact the Microsoft community.

    As the Windows 7 computer is under the corporate network environment, the issue that you are facing is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public.

    Please post your question in the TechNet Forum.

    https://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w7itpro&filter=AllTypes&sort=lastpostdesc

    Hope the information above has been a useful answer, Mercia back to us if you respect them more.

  • SCA composite application does not receive the document of B2B.

    I created document type definition, business partners / agreements and to listen to the channel as a file and gave a directory.

    I created B2Bprocessing SCA and deployed to soa_server1


    When I add files in this directory, I see that b2b received the xml code in the B2B settings screen, but I don't see any instance in MS for my B2Bprocessing SCA process deployed in soa_server1.

    soa_server1.log: # # < 27 May 2010... > < Opinion > < Stdout > < myserver > < soa_server1 > < < > <>weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1d39524 > < < WLS Kernel > > <... > < BEA-000000 > < < may 27, 201. > < error > < oracle.soa.b2b.transport > < BEA-000000 > < [IPT_FileSendSendError] error in sending the application > > oracle.tip.b2b.transport.Endpoint @.

    established agreement between "Mycompany" and "otherCompany. Not sure why 'fromTP' is null and 'Agreement' is null. I use the file protocol.

    Shanthi's right. Problem is with the file naming convention. For inbound documents, file name should be ' "% FROM_PARTY % _.". for example - if remote TP name is Acme then incoming file name must be Acme_12345.dat or Acme_12345.xml

    For outbound documents, file name should be 'ToTPName_Doctype_DoctypeRevision_msgType_msgid. "

    for example - GlobalChips_Acknowledgement_1.0_3_12345.xml

    You can customize the format of file name and part of the configuration of the parameters of the Transport Protocol. Please see-

    http://download.Oracle.com/docs/CD/E14571_01/integration.1111/e10229/b2b_tps.htm#BABIGJJI (search for "Filename Format" on this page)

    Kind regards
    Anuj

  • Export to PDF does not know the document size settings?

    I have several documents InDesign CS4 and when I export them to PDF format changes in the size of the document.

    I put all the following options for A4 (210x297mm):

    In Indesign: File-> Document settings

    In Windows-> printers-> Adobe PDF settings-> paper size

    After export and open the document in Reader 9 size changed to 210 x 303.3 mm

    Then needs a tweak before the first draw.

    I should be able to export only to the production and they can print from the PDF file without checking the settings!

    What did I miss?

    You have lit page information. This will add to the size of the document in Acrobat.

    Bob

  • 1inc Strip everywhere at the tool bar does not with the mouse... all else ok.but cannot sign out of mail ' cos in this band

    1inc band less than search and bookmarks... nothing doesn't work with mouse inside so can not disconnect because déconnexion comes in this band... can not scroll top because arrow in this band.everything otherwise ok. Google and internet explore is ok... everything works fine for them only on mozilla firefox... which is what I use all the time

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Windows.Old does not list the "Documents and Settings".

    I installed Windows Vista Ultimate on my main hard drive of workstations.  I looked online and saw a lot of messages on many sites saying that all my old documents of the previous version of Windows (XP that wouldn't start) should be available in the Windows.old folder, in a subfolder called Documents and Settings.  The only folders that are weProgram Files and Windows.  I tried to take possession of the entire record and made sure that Windows displays the hidden files and folders.  My username has the administrator capabilities.  I'mREALLY hoping that the files are not entirely lost.  All that I'm missing?

    Hello

    Documents and settings folder must exist inside the windows.old. Check if the file is hidden and also check the Recycle Bin folder is deleted by mistake.
    Or you can also use windows search to search for any document in this folder to track the location of the folder.
     
    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • printer prints from the internet but does not print the document files

    My photosmart Hp 6510 series prints from the internet, but do not print documents saved in my Toshiba computer files. He did print before files. What should I do? This message has been incorrectly marked as the solution

    Are you connected via USB or you print wirelessly?

    I've included a few scareen shots below the best way to go about printing a word document. The icon of the file clicked at the top left, click on print and follow the screenshots below.

    Make sure the printer name is identical to the one that you want to print to. older printers may appear in the window also so do of course have chosen the right one.

  • When I try to download from a Web site, I am taken to the address but the page is white and does not download the document.

    Mac OS 10.6.8 Firefox 14.0.1

    Inspired by a person who had the same problem some time ago, I went to tools, click on Add-ons, has chosen plug-ins and disabled the plug-in to Adobe Acrobat NPAPI version 10.1.4.

    Now, the download works as before.

    Big Q: Why something - install the plug-in - Adobe that completely prevents the user to Adobe Reader for reading materials?

    Other questions: 1. why the Adobe Acrobat NPAPI plugin can't be removed? 2. Why doesn't he appear when you search for the hard drive?

  • If the action button does not have my document?

    I scanned a document private on my printer using the iPad Printercontrol app, I wanted to send the document to myself, so I went into the menu files, selected the scanned document and instead press the arrow icon (share), I pressed the button share instead. Now, I don't know where the document has been "shared" at. Where exactly is he? I don't see all the settings as to where a document would be shared, whether it's on social media networks, that I have accounts or a location in my network.

    Hey CommandereON,

    I see that you use the PrinterControl application and analysis.  I'm guessing that you pressed the ' share' button at the bottom left of the screen when you try to share your emails.  I just tested this option and this button does not send the document from anywhere.  He shares the file outside the control application printer at the Gallery of the camera itself.  You use the button at the top right to share in places such as social networks and e-mail.

    Hope this helps to clarify your question,

    Jason

  • Mozilla, your last update does not include the last cert of intermediaries of extended validation from Verisign, Symantec class 3 EV SSL CA - G2, please fix ASAP

    Your last update of firefox, Mozilla does not include the last cert of intermediaries of extended validation from Verisign, Symantec class 3 EV SSL CA - G2, please fix ASAP

    Firefox never includes the intermediate certificates.
    It is the responsibility of a server to include all the intermediate certificate required to make it possible to build a certificate chain that ends with a trusted root certificate embedded.

    Note that Firefox automatically records the intermediate certificates that servers send in certificates for future use Manager (they appear labelled as 'Software security device' in the References tab).
    If a server does not send a complete certificate chain then you get an untrusted error when Firefox has stored missing intermediate certificates to visit a server in the past that a send it, but you get an untrusted error if this intermediate certificate is not yet registered.

  • Watch does not recognize the weight class as exercise-how can you add the duration of activity manually because none of the presets eg elliptical etc. is appropriate. Also does not count calories for example 35 when the rest of the group is around 500

    Look does not recognize the weight class as exercise-how can you add the duration of activity manually because none of the presets etc for example elliptical is appropriate and therefore do not count toward the daily goal. Also does not count calories for example 35 when the average of the others in the group is around 500.

    Hello

    When you use the application of the training session, choose the type of activity that best fits your business. For anything else - like weight - select the other category.

    During the follow-up of one year to the next helps:

    • Activity app will credit the ring of progress of exercise with one minute for every minute of the workout.
    • Active calories will be based on the data recorded by the heart rate sensor or a brisk walk, whichever is greater.

    Note, however, that the heart rate sensor is likely to give better results for the workouts that involve rhythmic (for example running) rather than the irregular movements.

    More information:

    Use of the workout on your Apple Watch - Apple Support

  • kb2596615 causes ade to failure, error was 459: object or class does not support the set of events

    A couple of my users started getting our application error messages ade grown after you apply this update. Everything is well after its withdrawal. First mistake was 459: object or class does not support the set of events. Basically, no event has worked. Why is this update break my application? It should be removed from the queue of the update.

    Okay, I've worked on it with Microsoft, and the actual cause turns out to be:

    MS12-060 security update affects the functionality of Access database
    http://support.Microsoft.com/kb/2748410

    This article updated fingers MS12-060, specifically KB 2687441, as the culprit.

    It turned out that ActiveX controls on the form (specifically the Microsoft Common Controls 6.0 Toolbar), caused the failure.

    The solution was simple: on a patched machine, open each form with an ActiveX control in design mode, compile and save it. It worked for me. Ignore the details of the solution that I wrote in the previous post!

    You may need to resave MSCOMCTL. OCX, as suggested in the article, to get your databases to work.

    -Ken

  • &amp; quot; The class being compiled does not match the class that was imported &amp; quot;

    -Actions on the timeline in sixSpices/updateSite/updateSite.fla---

    com.sixspices.updater.view import. *;
    var calDrawer:CalendarView = new CalendarView(); Listener / view

    file---sixSpices/com/sixspices/Updater/view/CalendarView.as-

    Class CalendarView {}
    public void CalendarView() {}
    }
    public void onRecieveData(listOfEvents:Array) {}
    displayEvents (listOfEvents);
    }
    public void displayEvents(listOfEvents:Array):Void {}
    trace (listOfEvents);
    }
    }

    When I test the movie (updateSite.swf) in flash, it gives me the error:
    The class being compiled, 'CalendarView', does not match the class that was imported, "com.sixspices.updater.view.CalendarView."

    I thought about it (with a little help from more advanced google search). I had to import the package ' import com.sixspices.updater.view. *; ' in the CalendarView file. I thought it would be counterintuitive because it does not use himself - he himself - and the structure of the file should be denoted where it existed. However, once I did the import, it now works without error.

    Moral of the story:

    When using the classes in several files, they should import the package they are contained in, or have their name written as:

    Class com.sixspices.updater.view.CalendarView {}

    Other discussions here

Maybe you are looking for

  • Windows 7 drivers for dx6120 microtours

    Y at - it support dx6120 format microtour PC having Windows 7 operating system. A friend of mine has just installed Win 7 and needs drivers. What are the current opportunities, or more it wise for him to downgrade to XP?

  • DV7-6b57nr: upgrade processors A1T85UA

    I'll try to find a possible upgrade for my processor on my laptop I have currently a wih (AMD A6 - 3400 M APU with 1.40 GHz Radeon HD graphics card) one (4 MB L2 Cache) cache Micro processor, but I can't find anything or any forum with someone who ha

  • Content search

    Hello I use Windows 7 Professional. I want to search the symbol '=' all files in a folder. Is it possible to do? Thank you Mini

  • Touble prompts to update my applications

    I start getting problems when I tray to Win 8.1 free download all my apps stop working. I do a complete reset of my laptop which goes back to the default mode. Now open my apps, but most of them wonder for update but when I tray download stay there a

  • Access to the C drive after refresh error

    Yesterday when I booted up my pc, I got an error and it started auto repair. Repair auto falied. My C drive is almost full so I used cmd and free space then did an update of the system. The update went well, but after that whenever I try to access th