Problems with matrix

Hi all

I have some problems with the transformation matrices.

matrix.jpg

To test this, I use a matrix to identity as shown below:

<? XML version = "1.0" encoding = "utf-8"? >

" < = xmlns:fx s:Application ' http://ns.Adobe.com/MXML/2009 "

xmlns:s = "library://ns.adobe.com/flex/spark".

xmlns:MX = "library://ns.adobe.com/flex/mx" minWidth = "955" = "600" minHeight

creationComplete = "init_app ()" >

< fx:Script >

<! [CDATA]

Import 12345678910111213import;

import flash.display.BitmapData;

internal function init_app (): void {}

larg_start. Text = image.width.toString ();

alt_start. Text = image.height.toString ();

var bd:Bitmap = Bitmap (image.content);

var m:Matrix new matrix());

m.Identity ();

m.Rotate (0);

m.Scale (1,1);

m.TX = 0;

m.Ty = 0;

var bd2:BitmapData = new BitmapData (image.content.height, image.content.width);

BD2. Draw (bd, m);

var bitmap: Bitmap = new Bitmap (bd2);

Image2.source = bitmap;

larg_stop. Text = image2.width.toString ();

alt_stop. Text = image2.height.toString ();

}

[]] >

< / fx:Script >

"< mx:Image id ="image"="56"x ="105"source="file:/D:/Malletto/Sistema/Desktop/eolico1.jpg "width ="217"height ="290"/ >

< s:Label = "60" x y = '492' text = 'Start W:' / >

< s:Label id = "larg_start" x = "173" y = "492" / >

< s:Label = "60" x = "526" text = "Start H:" / >

< s:Label id = "alt_start" x = "173" y = "526" / >

< s:Label "411" = x y = '492' text = 'Stop W:' / >

< s:Label id = "larg_stop" x = "540" y = "492" / >

< s:Label "411" = x y = "526" text = "Stop H:" / >

< s:Label id = "alt_stop" x = "540" y = "526" / >

< mx:Image id = "image2" x = "411" y = "96" width = "217" height = "310" / >

< / s:Application >

Why does not work? :-(

Please help... any help will be appreciated!

var bd2:BitmapData = new BitmapData (image.content.width,

image. Content.Height);

Tags: Flex

Similar Questions

  • Problem with matrix/screen in Qosmio F55-Q502

    Hello

    For a few weeks, I have a strange problem with matrix/screen of my laptop.
    The matrix flickers very often - no matter if the power cable is plugged in or not.
    The screen is full intensity and all of a sudden it starts flashing - it gets darker, lighter, usually for a few / dozen seconds. It does when no one touches or when I'm working on it.
    This very annoying and making eyes tired - he does it very fast and there is few levels of screen brightness.

    In addition, sometimes the screen turns off - you can see what is on the desktop but the screen is very very dark (but not empty or completely off). No reason - sometimes just in the workplace, sometimes for example when I touch (not pull) the power cable between the laptop and the power supply.
    Then, the only way to return to normal brightness of screen id to close the lid just for half a second and open it
    -matrix comes on normally, but can 'turns off' moment later and I have to do it once more - sometimes even several times...
    After 'action' with cover screens it seems that nothing ever happens...

    Anyone an idea what is the cause of such behavior or how to diagnose in details?
    Or maybe solve this problem?

    Best regards
    300 m

    Sounds like the backlight or inverter fails, or there is a bad connection.

    Is the unit under warranty? Send it to an ASP for repair.

    You should avoid to repair yourself, the backlight is very high voltage!

  • Problem of matrix report with model RTF - text columns

    I have problem with matrix necessary report...

    I did it before using the pivot function in rtf export then the stylesheet xsl fo... model

    My problem here is in this case, the desired column (value - the center column) is the text column, and the pivot is based on the aggregate (sum or count) function that I don't want in my case.

    Attached my XML, and sample to in the excel sheet...

    and to understand the business, it's for quality module in EBS... The user can take 3 samples in the same sample for the same item, I want to show the name of tests alongside its results grouped by the number of the sample.

    any help would be much appreciated...

    This can be achieved through custom PivotTable.

    I created the RTF template for your condition.

    PFA (model and output)

  • Satellite A200-1AE (PSAECE) Vista has detected a problem with the HARD drive

    I have problem with my mass storage device, or else I think it's this feature that I get this error message when I start my computer [(photo de Massage de l'erreur) | http://img513.imageshack.us/img513/1059/errorxd5.jpg] and I think it has something to do with that [(Image in Link) | http://img132.imageshack.us/img132/2703/divicemanagerax9.jpg]

    I don't know which driver download for this problem.
    If anyone can help it will be much appreciated. I am running windows Vista x 86.

    Hope helped photos

    Hello

    The first error message said nothing; He only says that something is wrong on the HARD drive.
    Why you n t pres the button Don t ask me once again this problem?
    It seems the message again using this option?

    On the second picture, I see that your Intel Matrix Storage Manager has not been installed on your Vista 64 bit OS.

    On the European driver Toshiba page, you will find the 64 bit Vista drivers. Please download the Intel Robson Package from this site and install it. Robson package includes Intel Matrix Storage Management Utility for the management of your local storage space.

    Check it!

  • Cannot install error matix web: problem with windows install.

    Original title: install windows package

    Hi, I was wondering if someone could help me, not used webmatrix for awhile and I put on and its not responding do not, I tried to re download and no luck, from the web, platform installer it returns constantly so I had a problem with the windows package install. Please can someone help?

    I use microsoft web platform install 3.0

    It fails when I try to install and a message appears

    ASP.NET web pages

    This product has not been installed successfully. There is a problem with this windows package install. a program run as part of the Setup did not finish as expected. Contact your provider to support personal or package.

    ASP.NET web pages language packs

    This product can not be installed because a failure that it was not installed successfully.

    Microsoft webmatrix.

    This product cannot be installed because a prduct which it depends have not installed successfully

    Hello

    1. What is the message exact error do you get when you try to install the web matrix?

    2. where did you download webmatrix?

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

    Verify that the Windows Installer service is running or not.

    Start the Windows Installer service.
    a. Click Start, type services.msc and press to enter.
    b. in the list of items, double-click Windows installation service.
    c. change the startup type to automatic and click on the Start button to start the service.
    d. click on apply and then click ok.

    e. restart the computer.

    Check whether the problem is resolved.

    Hope this information is useful.

  • Printing problems with QuickBooks

    I had to reinstall my HP Photosmart all in one fax 410c and now I can't seem to print the checks in QuickBooks.  If I select print single page fax start screen is displayed.  If I choose to print continuous page, the police of matrix and does not fit on the cheque.

    Thanks for getting back to me. I've seen this problem before, and if you are able to print from other programs without any problem, then the problem is not with drivers and printing software. It's a problem with the Quick Books software. I suggest that you uninstall Quick Books and reinstall. If this does NOT resolve the problem, you may need to contact directly the Quick Books.  Sorry for the inconvenience. Here is a link to the support team dealing with Quick Books.  http://www.infinitelyvirtual.com/contactus.html

    Thank you for your time.

  • The 2.0 beta bug? Drawn to BitmapData with matrix TextField is compensated

    Battery Guru, the text labels for the various "ticks" on three axes is drawn into a BitmapData with a call to draw() with a TextField and a matrix.  Under 2.0.0.3778 the position of this text has changed unexpectedly.

    I will work on this narrowing in a standalone reproducible sample, but I was just wondering if anyone had noticed a similar problem with a model code like BitmapData.draw (someTextfield, someMatrix). I suspect that this implies some width measures I do with TextField.textWidth but it is speculation for now.

    The main point is that it works differently under 2.0.  The screenshot below shows the version of the guru of the battery that runs under version 2.0 beta. Normally, you would see numbers stacked vertically along the left and right, % levels and wattage marking, and the hours from 10 to 0 along the bottom lined up with the left and right edges.  As you can see, the number of hours are shifted to the right (with 0 today disappeared), while the other sets are missing but presumed to be staggered and simply invisible accordingly.

    The second glance, it does not seem to involve the graphic subsystem at all and is probably my fault.

    I was iterating over an object that contains data describing the axis labels. The loop seems to have a dependency on the order in which the axes are processed, and this order was changing according to the particular environment/version involved.

    I forced a fixed order for now, and all three environments I tested in (sim 1.0.7, sim 2.0.0 and PB 1.0.8) are behaving in the same way. Also "bad" for the moment, but it seems that something I can improve in my own code will be just.

    Basically a false alarm... :-(

  • Display problems with Eizo ColorNavigator

    Hello

    I have some problems with my Eizo CX271 screen calibrated using Eizo ColorNavigator 6 + 5 Spyder:

    1. In photoshop sometimes which must be white (or transparent) turns pink (or blue or yellow). For example empty layers, layer masks and brush cursor all appear pink. Disabling GPU usage in photoshop preferences makes no difference. Closing and re-opening photoshop resolves the problem
    2. When you use an external plugin in photoshop (Google Nik Collection) the image is corrupt. Sometimes he gets the white borders, sometimes it becomes completely white or black or colors appear reversed, black boxes may appear on the image, in most cases, it becomes very pixelated. Disabling GPU usage in the plugin makes no difference. Indeed, the image is corrupt, even if the plugin is not applied at all, just open and close then, without using it, causes the image to get corrupted. Closing and re-opening photoshop resolves the problem

    These problems are missing when using the same screen with a profile of different color that one created by ColorNavigator and with this software does not

    The logic of the computer card has just been replaced by Apple, so this isn't the issue

    MacBook Pro 15 Retina early 2013 8 GB

    NVIDIA GeForce GT 650M 1024Mo

    OS X El Capitan 10.11.3

    ColorNavigator 6.4.12.9

    Thank you!

    Concerning

    FRA

    Set up a new target. In the end, you get to this screen:

    Default ColorNavigator made v4 profiles LUT. Version 4 is universally known to be problematic. LUT (table) - base profiles are supposedly more accurate, but much heavier and more complex than the matrix ("gamma")-based and can also cause problems in many scenarios.

    If this does not help, there is an esoteric bug, maybe something similar to this: https://forums.adobe.com/thread/2102961

  • Problem with variable declaration

    I'm developing a multiuser Flash application, using the smartfox Server 2.0, but I'll have a problem with defining/declaration of a variable/object/table and then access. I am trying to set the "curMap" (be it a variable, the matrix, the object, everything that works) within the following function, like the array returned by the server, "resObj". It works fine as long as I only call 'curMap' within this function (see you in line: r_txt.text = curMap ;)) However whenever I try to call the "curMap" on the coding of the image outside the function, it returns under the indefinite form or usually nothing.  Any ideas on how to properly / attribute this? I tried various things (such as _root, _global or setting the var "curMap" outside of the function) with no luck.

    Here is my Code:

    smartfox.onExtensionResponse = function (resObj:Object, type: String)
    {
    If (type is 'xml')
    {
    If (resObj._cmd is "getMap")
    {
    curMap = resObj.db [0];
    r_txt. Text = curMap;
    } Else if (resObj._cmd == "getSurr") {}
    surrMap = resObj.db;
    b_txt. Text = surrMap [0];
    }
    }
    }

    Thank you

    Make sure that you are trying to access this variable before it is defined.  That is to say, which resembles an asynchronous function for the code of this function will probably run AFTER the code that appears in the lines that follow the body of the function.

  • problems with, phone, 6, Bluetooth kit, Nissan, after update, for, Rios, 1.0.2

    After the update to ios 10.0.2 - trying to use bluetooth to call my vehicle, it says: "this article is not in your phone book." How can I solve this problem?

    Greetings, joybelino1!

    Thank you for joining the communities Support from Apple! I can't wait to see that you are having problems with your Bluetooth in your car! The good news is that Apple has a great article that will help you with measures to try to resolve the problem. Read this article to gethelp to connect your iPhone, iPad, or iPod touch with your car radio. Even though he talks about problems with the connection, it also has the steps for other questions you may have once connected.

    If you use Bluetooth

    1. Consult the user manual of your car stereo to get the procedure to a Bluetooth device.
    2. On your iOS device, drag up to open Control Center, then press ontwice to turn on Bluetooth and turn it back on.
    3. Restart your iOS device.
    4. On your iOS device, Cancel the twinning of your car radio. On the screen of your car désapparier your iOS device and any other device. Restart your car and your iOS device, then pair and connect again.
    5. Update your iOS device.
    6. Install the updates to the firmware of your car radio.
    7. If you still not connect, contact Apple technical support.

    Have a great day!

  • Anyone having problems with WiFi connectivity after upgrade to Sierra?

    I was wondering if anyone else knows issues with WiFi connectivity since the upgrade to Sierra 10.12? I have not had any problems with connectivity WiFi previously on El Capitan. Now I have regular randomly loose connectivity. My internet is cable and when it is connected I have a 100% connection. My details of iMac and I have used only 10% of my storage.

    No problem with my iphone 6.

    Hello AspDesigns,

    I understand that, since the upgrade to Mac OS Sierra, your Mac seems to have trouble staying connected to Wi - Fi. Fortunately the diagnosis built-in wireless can help identify the source of so much trouble.

    Search for Wi - Fi using your Mac problems

    See you soon!

  • Problems with mail after switching to macOS Sierra

    Hey all

    After having recently upgraded to macOS Sierra, I am unable to read my mail.

    I get the following error every time I check on "Get Mail".

    There may be a problem with the mail server or the network. Check the account settings "*" or try again.

    The server returned the error: Mail could not connect to the server 'pop1.tribcsp.com' using SSL on the default ports. Verify that this server supports SSL and that your account settings are correct.

    What does this error message mean and how can I solve this problem.

    Thank you

    Hi Michael,

    I see your message that you get an error in the mail indicating that there is a problem with the mail server or the network.  To help get this problem resolved, I suggest that you follow the steps below:

    If mail refers to a problem with the mail server, or the network

    Mail will say that it is impossible to connect due to a problem with the mail server or the network. For example, the message may refer to a connection that has expired, or too many simultaneous connections:

    If you are connected to the Internet, but the connection has expired, your email provider might be affected by a discontinuance of service. Contact them or see their status Web page to ensure that their e-mail service is online. Examples of status pages:

    If the message indicates the number of simultaneous connections, too many of your devices is check your e-mail account at the same time. Quit Mail on one or more of your other devices.

    If you are still unable to send or receive e-mails

    1. Make sure that you have installed latest version of the Mac software updates, especially if the problem occurred immediately after the installation of a previous update.
    2. In OS X El Capitan or later version, you can see a status icon and the short error message in the upper right of the Mail window, under the search box. The message may indicate 'Network offline' or 'Connection failed', for example. Click the message to see more details on the issue.
    3. Check your connection to the Mail connection doctor. It might be able to say more on the issue.

    If you cannot send or receive e-mail on your Mac.

    Take care.

  • iMac 27 "mid-2011 - Intermittent problem with CPU fan running at full speed and sleep mode.

    Hello!

    My iMac 27 "has an intermittent problem with the CPU fan runs at full speed. Sometimes it happens at the time when I start it, sometimes only in my session, and sometimes only after a certain time. So does seem to be a problem of "heating".

    Second issue is with the mode 'sleep'. It may occur also at any time, at the start of the iMac, session, or after a certain time. But once he starts to go in mode 'sleep', when I wake up, it goes right back in mode after a few seconds and that it will continue indefinitely until I restart the computer.

    What could be?

    Please help me!

    4ntoine

    Here is my model of iMac:

    iMac 27 "mid-2011 model 12.2

    Intel Core i7 3.4 GHz

    AMD Radeon HD 6970M 1024 MB

    OS X El Capitan 10.11.6
    SMC 1.72f2

    Boot ROM IM121.0047.B23

    reset the SMC

    Reset the management system (SCM) controller on your Mac - Apple Support

  • problem with playing the clash of clans

    I'm having some problems while playing the clash of clans on my 2 mini ipad screen does not seem to meet sometimes as if it was some sort of delay so I have to tap several times in order to use a filter or throw the troops on the battlefield.

    Hi Trinitygr,

    Thanks for posting in the Community Support from Apple! I understand that you are having problems with your iPad screen while playing a game. I like to play games on my iPad and I don't see how this could be a nuisance. I'm happy to offer assistance.

    Are you only had this problem when using the app clash of Clans, or does it happen in all applications? I recommend to start by following the steps described in this article:
    If an application you have installed unexpectedly closes, unresponsive, or does not open

    Take care!

  • I'm having problems with an outdated Apple ID

    I have problems with updating Apps etc in my Apple account because he always asked an obsolete in sign.  How can I change this?

    Hello

    Go down to itunes apple ID Delete page homepage all ID and then add it back back.

    See you soon

    Brian

Maybe you are looking for

  • Satellite A660 - graphics card on the site Web Tohisba says not compatible

    I use a Toshiba Satellite A660-07U00R computer. There is a new Nvidia driver for this machine on the Web from Toshiba site under http://forums.computers.toshiba-europe.com/forums/forum.jspa?forumID=58nVidia Display DriverView 260,51 Windows 7 64-bit

  • Satellite C665/065 - PSC12A - maximum RAM

    Hi, I tried to know if I can upgrade the RAM in my laptop to improve performance. The vehicle currently has 4GB, with only 2.93 usable (even once, I can't find out why). I would like to learn more about systems in general, but don't know where to loo

  • Satellite A100-551 recognizes only 1 GB of RAM after upgrading memory

    Hello I just bought a memory of 1 GB of RAM to upgrade my Satellite 2 * 512 to 1 * 1024 + 1 * 512.The brand of memory is Crucial. Everywhere where I put my memory (1 GB in slot 1, 512 MB in the 2 slot or vice versa), my computer don't recognize only

  • cRIO-9082 DMA bandwidth between RT and FPGA

    Hello I would like to know the bandwidth the cRIO-9082 between FPGA and RT DMA? How many MB/s? I can't find the answer on the web page of NOR. I know that there are 3 DMA channels, but how fast I could send data from FPGA to memory RT? What is the op

  • Photocopy option does not

    I have a multifunction printer, just installed.  I can not activate the buttons photocopies.  Printing.  I see the copy button, but it does nothing.  What should I do?