problem of permutation of coordinates of PNG stored in table 2D

Hello

I use the class interactive png found here

I am loading in the delivery date for an XML that is structured as follows

<? XML version = "1.0"? >
< theData >
< _title_ > photos! < / _title_ >
< __url__ > images / < / __url__ >
< slides >
< sub image = "images.png" region = "Region1" info = _url 'region 1 info - links to bbc' =' " http://www.bbc.co.uk ' xLoc = position"0"= image2 ="images2.png"/"0">"
< / slides >
< / name >

the images are loaded into a loader and stored as interactivePNG. I give them an x, coord y but on working capital I need them to exchange contact information. I put the interactivePNG in available space in the regionArray that is stored in the mapArray.

So I need to swap the png interactive currentTargets x and coordinate with the png interactive x and coordinate that is in the same regionArray but a position later. That is, if the first is mapArray [0] [8] I need to swap x and y with mapArray [0] [8]

How can I get them to swap, I can't do... If tried to use indexOf the currentTarget in the mapArray, but it returns-1.

Please help, thanks in advance

Greg

Try to create an empty class that extends from InteractivePNG and declare this class as dynamic:

Dynamics/public class MyInteractivePNG extends InteractivePNG

Then instantiate this new class and you will be able to add dynamic properties.

TS

Tags: Adobe Animate

Similar Questions

  • problem with the storage of the data in the table

    Hello

    I'm having the problem on the storage of data in the table. My problem is that whenever he makes a loop, the table just keep replacing them rather save to the next index. At 0, the value is 123, and 1 is 234. But I saw that all the data capture all crush to 0 until the last data see the 0. How can I fix this problem?


  • Problem in configuring the type of columns in a table

    I have a problem with Labwindows 2009
    I want to put a table with two columns, each with a different type.
    I need a numeric column and a string column.
    The problem is that I can't configure each of the types in the Edit menu of the table.
    If I set the type of the first column in the Numeric form, this becomes automatically equal.
    Can someone help me?

    Support persons OR confirmed to me that I want to do in version 2009 cannot be done.
    The way to do it would be to create a column and set it with the desired type. Then delete and re-create and so on for each column that you need.

  • problem with the READING of the PNG FILE

    I read a file png - one photo with transperent back polished - READ the PNG file and display them in my program using a function to draw the flattened Pixmap.

    I get a very dark black background color - in the image created.

    How can I solve this problem?

    Please give your suggestions

    Thanks in advance

    RENN

    RENN,

    Probably you monitor is too dark, and you should just increase the brightness a bit?

    Seriously, when you post this question - its always goot to include an example. In this case: picture a) and b) source code snippet - how do you use it?

    Look here--I don't have a big problems:

    The only small problem semitransparent is not taken in charge. You must set the threshold (which amounts to default 127).

    See attached example.

    Kind regards

    Andrey.

  • Solving the problems of files should be deleted (too stored)

    When I run maintenance on Microsoft Fix - it, I get a message back that my troubleshooting files must be deleted (too stored).  How can I access troubleshooting files in Vista Home Premium?

    OT: files troubleshooting

    Hi Joyce,

    Method 1
    I suggest to delete Temp files and see if that helps.

    a. Click Start.
    (b) in the search bar type % temp %, and then open the temp folder.
    c. delete all files in the temp folder.

    Method 2
    I suggest you to scan SFC. Scan SFC will be scans all protected system files and replaces incorrect versions with appropriate Microsoft versions.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833


    Hope this information is helpful and let us know if you need more assistance. We will be happy to help.

  • Problem of permutation of SSD in new Alienware 13

    I just got my new AW13 this week and I really like the system, but I wanted to swap out the HARD drive with a 500GB 1 TB SSD.

    I got a Crucial MX100 and used Acronis to copy all partitions on the original drive to the new.  I had the SSD drive in a box external usb and the system had no problem see the drive at all.  Everything seemed fine until I moved the SSD in the laptop of the outer envelope.  The laptop does not recognize that a disk is connected when I have the SSD connected directly to the port on the MB SATA.

    Here's what I've tried so far...  I checked to make sure I had a clean connection between the sata cable and the SSD and it seemed fine.  I check the connection of the cable SATA at the Mo and which was very good (unplugged and put back in place).  I put the old HDD in the system and he shot straight up.  I put the SSD drive in the USB box and it has been recognized and accessible.  I checked in the bios for all the parameters that would focus on the HARD drive and can't really see anything working to play with.  There is no raid option, so UHCI is the only option.  I called Crucial and asked them, but the laptop is so new, they don't have much info on what it is still of great help.  With the drive works when connected to USB, it concluded that maybe it was something specific to the cable that was not standard or maybe something in the bios.  I posted on the notebookreview forums and someone else had the same experience with another disc crucial, but try a samsung drive, and it worked fine on their AW13.

    I wanted to check here before I give the floor in support to see if anyone has had similar experiences and solved the problem.

    After that 2 hours with tech support, I was informed that the alienware system does not support the brand crucial ssd. They suggested that I buy a Samsung drive.

  • Problem with the Entity Framework by using stored procedures

    I am developing a project with Oracle DB and Entity Framework.
    Due to performance issues, for some querys I uses procedures stored instead of LINQ queryies,
    When I try to add my model EF procedure, the procedure is added but the Model Designer
    It does not acknowledge the columns returned by the procedure.
    so I can't create something complex to the user the results of the procedure
    in a domain service

    Here's the relevant readme which has some tips: http://www.oracle.com/technetwork/topics/dotnet/tech-info/default-338300.html#mozTocId610465

    If you do a forum search there is further discussion of the issues, and the readme file provided with version beta has also some information.

    But I agree with the general theme: using stored procedures in the EF is a PITA. :( I really hope they do something to make it easier in the future because this is probably the single most important weakness in the implementation of Oracle EF and establishment of a complex type is your time and picky it's ridiculous. (I found it less problematic if your procedure returns a complete picture that your model has already an entity for, because you can get away with only add the entry to one of the configurations for the cursor rather than one for each column.)

    Even an external tool where direct you to the procedure and it creates the configuration entries to be able to copy and paste would be a huge improvement.

  • Several problems with a simple replacement of the subset of table

    I'm new to LabVIEW and I try to teach me how to use it.  As you can imagine, I'm running into a few barriers.  The code that I'm including embodies many of my problems.  If someone can explain to me how to improve this code, I would be grateful.

    Copy the following code is a simplified version of a more complex code, that I'm writing.  In the simplified code, I have a control ('VALUE') that I would like to register at different locations in my table of 5 x 3.  To do this, I tried to make a 5 x 3 constant I could replace it with the value of the control.  The code does not work as expected and this is my specific problems:

    1. I can't initialize the array constant (the one I intend to crush).  I can only initialize the first row.  Based on the help files, I thought I should be able to initialize it by clicking on the boxes in the chart on the block diagram and entering values.  But it doesn't seem to let me do this.  Don't know if there is a special way to open when more than 1 dimension is involved?

    2. my slider controls are intended to establish where in the table to place the element.  But is not no longer works.

    3. I can't understand how properly to a code which has a while loop integrated in a while loop.  Someone recommended using a structure of the event, but as a beginner, I will have trouble to know how I would enact who.  I tried to play with the settings of locking/switching the button stop, but that did not work, either. The problem seems to be that, if I am inside the while loop, the program does not see my stop command.  Is there a way to connect as the stop button works, regardless if I'm inside the another while loop?  If not, is there a way to accomplish what I want in the smallest loop without using a while loop?  If I used a structure of the event, how would I created an 'event' to tell the program to store a new data point in the array?

    Thank you.

    Jessica

    Jessica,

    Also note that in LabVIEW array indices are zero-based.  If the values of the row index can be 0, 1, or 2.  If you want your users to see 1, 2, and 3, then put a function decrement between the terminals of the cursor and the function replace table subset.

    Lynn

  • Install HRCS 9.0 R5 with problem of Linux: HRCS90 of the database has no table PSSTATUS

    People,


    Hello. I was installing HCM and Campus Solution 9.0 with PeopleTools8.53. Server machine is Oracle Linux 5.10 and Windows XP-based client computer.  The architecture of my internet is WebLogic11g/Tuxedo11g/OracleDatabase 11 GR 1 material. PeopleTools 8,53 works correctly in the browser.


    In the database server Oracle Linux 5.10 machine, I run scripts 'createdb10.sql, utlspace.sql, hrcddl.sql, dbowner.sql, psroles.sql, psadmin.sql and connect.sql' one by one. Can I use Data Mover to load Windows XP data into the Oracle Linux 5.10 DB HRCS90 instance. The Data Mover script hrcs90ora.dms is done correctly in Windows XP. Configuration Manager is configured correctly.  But when I login in the application designer, I can't connect and get the message as below:


    «Security Table Manager (Get): the database is release 8.52.»  The PeopleTools running require databases at 8.53 release. »


    I followed the http://docs.oracle.com/cd/E37306_02/psft/acrobat/PeopleTools-8.53-Upgrade_02-2013.pdf document to upgrade HCM and HR 9.0 revision 5 Database Instance HRCS90 in Oracle Database Server with Linux. I did in chapters 4 and 5. But the connection to the application designer and start the Tuxedo application server can always put the same error message: "the database is release 8.52. The PeopleTools performed require a database at 8.53 release. »


    I ran 4-3-2 of the task script ptddlupg.sql and PSIMAGE2 tablespace is created successfully.

    When I run rel853n.sql script Task 4-3-5, I see the first line table PSSTATUS does not exist.

    The big problem is that there are no PSSTATUS table in my database HRCS90. I activated Windows XP Data Mover C:\PT8.53\log\hcengs.log as below:

    ... ...

    The remaining records: 7687

    Import PSSTATUS

    Creating Table PSSTATUS

    Import PSSTATUS

    Indices of real estate required for PSSTATUS

    Update statistics for PSSTATUS

    The remaining records: 7686

    ... ...


    As we see above, the hrcs90ora.dms script load PSSTATUS table in the instance database HRCS90. But the PSSTATUS table is not in HRCS90.



    My questions are:

    First of all, why is there no PSSTATUS table in my HRCS90 database? What stage is the problem?  How to fix?

    Second, does run the hrcs90ora.dms script in Windows XP Data Mover to load data in HRCS90 under Linux, yet due to no PSSTATUS table?


    Thank you.

    PSSTATUS is the property of the accessid, means that the user Oracle appearing in PSDBOWNER.

    You are not connected with this user but you can ask PSDBOWNER because there's a public synonym, which is not the case for PSSTATUS.

    But I think you missed the point that upgrade scripts must be run with this accessid (again, it is the owner of the Peoplesoft tables).

    In front of your whole posts on this same forum, I am always surprised you make this mistake, if I remember correctly, this point has been said several times for you.

    Nicolas.

    PS:

    > Moreover, can't copy and paste the contents of my computer on the Forum. My browser there problem or the Forum have problem?

    It is a known bug in the forum in a configuration of your browser/operating system...

  • Problems when using two search bars for filter 1 table

    Hello

    I can't see why this code does not work. It seems that the variables are broken or something but not too sure.

    I had initially 1 single search bar on the page of the inventory where the results would appear and everything worked fine, but when I added a search bar 'master' on the home page, which redirects to the inventory list carrying the variable (which was sought), he comes into conflict with the search code original. Both work independently one another and fine when only the codes research is on work page, but once I combine the two search bars, it will not show the results.

    the Variables are reported (from the home page) without any problems, I did echo out on the inventory page.

    I decided to combine the variables to see if research can run on a single article of the code, instead of duplicates (I thought it can interfere) but no luck. (The code below is that with combined variables)

    Any help would be much appreciated!

    $search = ($_POST ['txt_search']) OR (_GET ['searchprops']) $;

    If (isset ($search))

    {//Only show what is sought

    $searchword = $search;

    $query_propsinv = "SELECT * FROM accessories WHERE name LIKE ' %". "." $searchword. "%' OR description AS '% '. $searchword. ' %' Color GOLD AS '% '. $searchword. "%' OR like ' %". " $searchword. "%' OR size AS '% '. $searchword. "%' OR weight AS '% '. $searchword. "%' OR LIKE ' %". " $searchword. "%' OR as '% '. $searchword. "%' OR location AS '% '. $searchword. "%' OR secondary AS '% '. $searchword. "%' OR the amount AS '% '. $searchword. "%' OR id LIKE '% '. $searchword. "%' OR BC AS '% '. $searchword. » %'";

    }

    {if (! isset ($Search))}

    $query_propsinv = "SELECT * FROM props."

    }

    $query_limit_propsinv = sprintf ("%s LIMIT %d, %d", $query_propsinv, $startRow_propsinv, $maxRows_propsinv);

    $propsinv = mysql_query ($query_limit_propsinv, $drama_database) or die (mysql_error ());

    $row_propsinv = mysql_fetch_assoc ($propsinv);

    This combination will never work:

    $search = ($_POST ['txt_search']) OR (_GET ['searchprops']) $;

    Try this combination:

    {if($_POST['txt_search'])}

    $search = $_POST ['txt_search'];

    }

    {ElseIf($_GET['searchprops'])}

    $search = $_GET ['searchprops'];

    }

  • Problems with mappings when changing the type of source table field?

    Hello world

    one question.
    Is it a problem when I change my types of fields in my table of source of char for example varchar2 with mapping that uses this table?
    In the mapping of the source table field Types are defined as Char fields. Do I have to change all the fields of char to varchar2 (via Import again from the source table and synchronize in the map)?

    Thanks in advance.

    Greetings

    Hello

    If your new data type (in the database is compatible and big enough) then you probably don't have to change the class in your other mapping wise you need.

    It a good practice to import the last definition of table (metadata) in the repository of OWB and then synchronize incoming.

    Thank you
    Fati

  • Boolean value does not get stored in table correctly?

    Hello

    I use the following table to store several variables for similar movieclips:

    public var ballPlaced:Array = new Array(false, false, false);
    
    

    ... However, its not to store the Boolean value correctly in the table?

    I use the following code in the ZoneFill and the ZoneEmpty to assign a value true or false, for example;

    ballPlaced [event.target.name.substring (5)] = true;

    I called a trace to ensure that when an individual ball is placed in an area of the ballPlaced Boolean is true, and that seems to work because it returns a true value... However, I then called a trace to see the status of all and that is to say that all instances of the table are false?

    For example, I put ball0_mc in a box and the trace returns the following...

    Placed ball0_mc (true)
    Ball 0 is set, false: 1 ball is placed, false: ball 2 is set, false

    In this case the second line at the beginning should read "ball 0 is placed, it's true." I know I'm missing something critical here, but can't work out why the Boolean value is not get stored in the array?

    Here is my code... pointers would be greatly appreciated!

    package
    {
        import flash.display.MovieClip;
        import flash.display.DisplayObject;
        import flash.events.MouseEvent;
        import Ball;
           
        public class EgoGame extends MovieClip
        {
            public var _zone0Full:Boolean = false;
            public var _zone1Full:Boolean = false;
            public var _zone2Full:Boolean = false;
           
            public var ballPlaced:Array = new Array(false, false, false);
           
            public function EgoGame()
            {
                ball0_mc.addEventListener(MouseEvent.MOUSE_DOWN, zoneEmpty);
                ball1_mc.addEventListener(MouseEvent.MOUSE_DOWN, zoneEmpty);
                ball2_mc.addEventListener(MouseEvent.MOUSE_DOWN, zoneEmpty);
               
                ball0_mc.addEventListener(MouseEvent.MOUSE_UP, zoneFill);
                ball2_mc.addEventListener(MouseEvent.MOUSE_UP, zoneFill);
                ball1_mc.addEventListener(MouseEvent.MOUSE_UP, zoneFill);
               
                ball0_mc.addEventListener(MouseEvent.MOUSE_UP, playMovie);
                ball1_mc.addEventListener(MouseEvent.MOUSE_UP, playMovie);
                ball2_mc.addEventListener(MouseEvent.MOUSE_UP, playMovie);
               
                   
            private function zoneEmpty(event:MouseEvent):void
            {
                if(event.target.hitTestObject(zone0_mc) && _zone0Full == true)
                {
                   _zone0Full = false;
                    ballPlaced[event.target.name.substring(5)] = false;
                }
                else if(event.target.hitTestObject(zone1_mc) && _zone1Full == true)
                {
                    _zone1Full = false;
                    ballPlaced[event.target.name.substring(5)] = false;
                }
                else if(event.target.hitTestObject(zone2_mc) && _zone2Full == true)
                {
                    _zone2Full = false;
                    ballPlaced[event.target.name.substring(5)] = false;
                }
                else
                {
                    event.target.x = event.target._startX;
                    event.target.y = event.target._startY;
                    ballPlaced[event.target.name.substring(5)] = false;
                }  
                }
           
            private function zoneFill(event:MouseEvent):void
            {
                if(event.target.hitTestObject(zone0_mc) && _zone0Full == false)
                {
                    event.target.x = zone0_mc.x;
                    event.target.y = zone0_mc.y;
                    _zone0Full = true;
                    ballPlaced[event.target.name.substring(5)] = true;
                    trace(event.target.name + " Placed (" + ballPlaced[event.target.name.substring(5)] + " )");
                }
                else if(event.target.hitTestObject(zone1_mc) && _zone1Full == false)
                {
                    event.target.x = zone1_mc.x;
                    event.target.y = zone1_mc.y;
                    _zone1Full = true;
                    ballPlaced[event.target.name.substring(5)] = true;
                    trace(event.target.name + " Placed (" + ballPlaced[event.target.name.substring(5)] + " )");
                }
                else if(event.target.hitTestObject(zone2_mc) && _zone2Full == false)
                {
                    event.target.x = zone2_mc.x;
                    event.target.y = zone2_mc.y;
                    _zone2Full = true;
                    ballPlaced[event.target.name.substring(5)] = true;
                    trace(event.target.name + " Placed (" + ballPlaced[event.target.name.substring(5)] + " )");
                }
                else
                {
                    event.target.x = event.target._startX;
                    event.target.y = event.target._startY;
                    ballPlaced[event.target.name.substring(5)] =false;
                    trace(event.target.name + " Placed (" + ballPlaced[event.target.name.substring(5)] + " )");
                }
                trace("ball 0 is placed, " + ballPlaced[0] + "  :  ball 1 is placed, " + ballPlaced[1] +"  :  ball 2 is placed, " + ballPlaced[2]);
            }
           
            private function playMovie(event:MouseEvent):void
            {
                if (ballPlaced[0] == true)
                {
                    ball0_mc.gotoAndPlay(2);
                }
                else
                {
                    ball0_mc.gotoAndStop(1);
                }
               
                if (ballPlaced[1] == true)
                {
                    ball1_mc.gotoAndPlay(2);
                }
                else
                {
                    ball1_mc.gotoAndStop(1);
                }
               
                if (ballPlaced[2] == true)
                {
                    ball2_mc.gotoAndPlay(2);
                }
                else
                {
                    ball2_mc.gotoAndStop(1);
                }
            }
           
           
        }
    }

    have you checked to see what event.target.name.substring (5) is back?  (TIP: check it out)

  • Cannot open the PNG, cannot reonstitute table

    I have a set Png that does not open. When I try to open them from the desktop or via the menu file, I get an error saying "cannot open the file, an internal error has occurred."

    the Start page occasionally said something like a "unrecognized language was requested (fr).»

    When I try to restore the paintings, FW crashes.

    How can I fix?

    nickymc wrote:
    > Probably. I did a clean reinstall. You think I'm hooked when FW cannot
    > find a previously assigned fonts?

    Who has been known to occur. You might be able to open the PNG file in
    another application, like Photoshop image processing.

    --
    Linda Rathgeber [PVII] * Adobe Community Expert-Fireworks *.
    --------------------------------------------------------------
    http://www.Projectseven.com
    Fireworks Newsgroup: news://forums.projectseven.com/fireworks/
    CSS newsgroup: news://forums.projectseven.com/css/
    Design aid kits: http://www.webdevbiz.com/pwf/index.cfm
    --------------------------------------------------------------

  • Use formula on REPORT - result stored in table FORM

    Hi all

    What is the best solution for?
    I have the region with the FORM relative to the same PAGE.
    The values stored in INFO table with ID column, MYDATE, TIME_START_HOUR, TIME_START_MIN, TIME_END_HOUR, TIME_END_MIN, SUM1, SUM2

    ITEMS on the form:
    P1_ID (hidden)
    P1_MYDATE (date picker)
    P1_TIME_START_HOUR (selection list)
    P1_TIME_START_MIN (selection list)
    P1_TIME_END_HOUR (selection list)
    P1_TIME_END_MIN (selection list)
    P1_SUM1 (hidden)
    P1_SUM2 (hidden)

    After user, fill MYDATE, TIME_START_HOUR, TIME_START_MIN, TIME_END_HOUR, TIME_END_MIN, then I need to trial for SUM1 calculation SUM2 en. Stored result (one record) at the INFORMATION table.
    Report displays all of the columns. User has the ability to update the record

    Formula:
    Select
    (CASE
    When to_char (mydate, 'DY', 'nls_date_language = dutch') in ("ZA", "ZO")
    THEN substr (to_timestamp (mydate |': ' |)) TIME_END_HOUR |': ' | TIME_END_MIN |': 0 0', 'DD - MM-' YY:HH24:MI:SS).
    TO_TIMESTAMP (mydate |': ' |) TIME_START_HOUR |': ' | TIME_START_MIN |': 0 0', 'DD - MM-' YY:HH24:MI:SS).
    (interval ' 00 00:00:00 ' day to second)
    12.5)
    ELSE ' 08:00 '
    SUM1 END),
    (CASE
    When to_char (mydate, 'DY', 'nls_date_language = dutch') in ("ZA", "ZO")
    THEN substr (to_timestamp (mydate |': ' |)) TIME_END_HOUR |': ' | TIME_END_MIN |': 0 0', 'DD - MM-' YY:HH24:MI:SS).
    TO_TIMESTAMP (mydate |': ' |) TIME_START_HOUR |': ' | TIME_START_MIN |': 0 0', 'DD - MM-' YY:HH24:MI:SS).
    (interval ' 00 04:00 ' day to second)
    12.5)
    ELSE ' 04:00 '
    SUM2 END)
    INFO
    where id =: ID


    What is the best way for the calculation: calculation or process or etc? The calculation after or before the push button (New: create a button of update: apply the changes)?
    How to complete the answer (SUM1 and SUM2) at the INFORMATION table?

    Walter thank you

    Walter,

    At the end of your code, just include something like this:

      ...
      UPDATE [table_name] set END_DATE = db_ed_tm;
      ...
    

    In a PL/SQL block, you can reference elements as variables Page or local variables in your PL/SQL script. Page Item variables are going to be global (available for use by any process).

  • The problems of performance - query on a copy of a table is faster than the orig

    Hi all

    I have problems with a specific table (select) sql performance (costs 7800) (Oracle 10.2.0.4.0, Linux).

    Then I copied the table 1:1 (same structure, the same data, the same indexes, etc.) within the same domain (, the user database, tablespace etc.) and gathered the table_stats with the same settings. The same query on the copied table is faster and costs are only 3600.

    Gods sake why is the query on this new table faster?

    I appreciate any idea.

    Thank you!

    FIBO

    Edited by: user954903 the 13.01.2010 04:23
    alter table t enable row movement;
    alter table t shrink space;
    alter table t disable row movement;
    

Maybe you are looking for

  • Qosmio G30 - Win XP fails to start, graphic problem?

    Hello I left my G30 in mode 'sleep' to save some pgms TV while I was away. On my rtn, it didn't take but tried to restart instead. When the start screen of windows [with the progress meter] came on the display screen has been corrupted. After a short

  • My monitor plays a sound when I play what I hear is a low hum.

    my screen stays in analog permanently and sounds do not work, I went to digital it its worked but he spilled rite to analog sound has stopped working, I tried to search to find mistakes in my codecs and drivers nothing wrong and my volume is the high

  • CPU/Tower is beep

    OK, recently my turn Vista thingy is beep and sounds like its reloading and hum. Sometimes, I try to make the system to launch something thw continues to serve Tower and beep as ts will overheat or stop the execution. When I play a game fullscreen an

  • fresco logic usb hub

    do I need this product on my laptop

  • Search tell me where is the file

    When I search a file (using search accessed by the Start button), this means that I don't know where is the file. Duh. In XP, where is found the file, he also told me exactly where she was. Windows 7 allows me to open the file, but it will give me no