DisplacementMapFilter - Adobe ActionScript 3 (AS3 ) API Reference

This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filters/Displacem entMapFilter.html

I think there may be a typo:
dstPixel[x, y] = srcPixel[x + ((componentX(x, y) - 128) * scaleX) / 256, y + ((componentY(x, y) - 128) *scaleY) / 256)
shouldn't this be:
dstPixel[x, y] = srcPixel[x + ((componentX(x, y) - 128) * scaleX) / 128, y + ((componentY(x, y) - 128) *scaleY) / 128)

Similar Messages

  • Accelerometer - Adobe ActionScript 3 (AS3 ) API Reference

    This question was posted in response to the following article: http://help.stage.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/sensors/Acc elerometer.html

    Hi All,
    I am facing an issue with mouse hiding. In my as3 app i am trying to load an as2 swf using Local connection.
    after 3-5 times loaded/unloaded its getting hidden the mouse cursor.i tried to call the Mouse.show() methode. but no results found.
    I am trying to load a print2flash as2 doc swf.Help me if anybody have a solution for this.
    thanks in advance.
    Arunraj.

  • Function - Adobe ActionScript 3 (AS3 ) API Reference

    This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Function.html

    The interface to Function seems like a heavily edited API that was meant for reflection, and that certainly leaves room for improvement. A function with n arguments and a ...rest parameter still yields a length of n. An added Boolean somewhere? And how about the types of the parameters and the return type of the function itself?

  • Condition - Adobe ActionScript 3 (AS3 ) API Reference

    This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/concurrent/Condit ion.html

    Hi aligned2009,
    I'm sorry that the description wasn't what you were hoping for.
    I'm actually surprised by the sentence "the methods and properties only reflect inherited methods and properties." The .mutex and .isSupported property descriptions are pretty short, but the notify() and notifyAll() method descriptions are several paragraphs each. When I wrote these I was trying to keep them concise enough to be clear, but include all the details from my conversations with the engineers who worked on this API.
    If I'm understanding correctly and you're only seeing inherited methods and properties, I wonder if a filter setting is preventing you from seeing some of the documentation. To check this look near the top of the page in the "Filters" section (you may have to expand it by clicking the tab in the center). Move your mouse over the word "Runtimes" then make sure "AIR 3.6 and earlier" and "Flash Player 11.6 and earlier" are selected.
    Hopefully that fixes the problem and allows you to see the descriptions for the properties and methods at least. (Admittedly there's still no example...it's definitely something that could be useful but it's complicated enough that I haven't had a chance to make one yet.)

  • XML - Adobe ActionScript 3 (AS3 ) API Reference

    This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/XML.html

    I've found that dealing with white space when using external content stored in XML files can be a little tricky, so I wrote this blog post about the issue http://flexdiary.blogspot.com/2013/05/actionscript-e4x-and-white-space.html .

  • TextField - Adobe ActionScript 3 (AS3 ) API Reference

    This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/TextField.ht ml

    "For AIR content in the application security sandbox, AIR ignores img tags in HTML content in ActionScript TextField objects. This is to prevent possible phishing attacks,"
    Are you kidding me, right? O.o

  • Flash.utils - Details Adobe ActionScript 3 (AS3) API Reference

    This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/package.htm l

    The documentation for setTimeout() is incorrect. It claims that...
    If you do not call the clearTimeout() function to cancel the setTimeout() call, the object containing the set timeout closure function will not be garbage collected.
    However at least in the current version of Flash, this is not correct. Once the closure has been executed the reference will be removed and the object may be garbage collected.
    See discussion at: http://stackoverflow.com/questions/16489536/does-flash-utils-settimeout-leak-memory-if-cle artimeout-is-not-called

  • IME - Adobe ActionScript 3 (AS3 ) API Reference

    This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/IME.html

    useful

  • DisplayObjectContainer - Adobe ActionScript 3 (AS3 ) API Reference

    This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayOb jectContainer.html

    textInput does not get tabIndex if placed inside a MovieClip. For that you need to set it like: myTextInput.textField.tabIndex = 1;

  • DatagramSocket - Adobe ActionScript 3 (AS3 ) API Reference

    This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/DatagramSocke t.html

    Why is this not supported for Flash Player runtime? Any plans to do this? It would really help for fast paced multiplayer games.

  • StyleSheet - Adobe ActionScript 3 (AS3 ) API Reference

    This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/StyleSheet.h tml

    I try to set fontFamily property with string "UnknownFont1, UnknownFont2, _typewriter" and it doesn't work. If I use "UnknownFont1, Courier" or just "_typewriter" all works perfectly.
    Please, fix this bug in future versions of FlashPlayer and Adobe AIR.

  • XMLSocket - Adobe ActionScript 3 (AS3 ) API Reference

    This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/XMLSocket.htm l

    There is no ProgressEvent discpathing from XMLSocket, right?
    So this is not needed: dispatcher.addEventListener(ProgressEvent.PROGRESS, progressHandler);

  • IFilePromise - Adobe ActionScript 3 (AS3 ) API Reference

    This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/IFileProm ise.html

    How to cancel file download operation, if i am using URLFilePromises to download a file(drag and drop to desktop)???

  • File - Adobe ActionScript 3 (AS3 ) API Reference

    This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.h tml

    The File.browseForOpen functionality worked correctly (as described in this reference) in AIR 3.5, however does not work as described in AIR 3.6 or AIR 3.7.  It was possible (when working) to preload the File with a directory before calling the File.browseForOpen so the dialog box could be opened in a previously  selected directory.  Starting in AIR 3.6 this functionality no longer works.  It opens in the last directory selected by the user, which may not be the desired location, thus requiring the user to manually navigate to the appropriate directory (assuming the user remembered where that directory was)!
    Adobe has acknowledged the problem.   It was identified as a high priority problem, but has since been reduced to medium priority for some reason.  No workaround has been identified.

  • PerspectiveProjection - Adobe ActionScript 3 (AS3 ) API Reference

    This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/geom/PerspectiveP rojection.html

    The image of frustum volume is wrong. The viewpoint in the image should be (projectionCenter.x, projectionCenter.y, -focalLength), instead of (0, 0, -focalLength).

Maybe you are looking for

  • Problems displaying rtf memo fields

    Post Author: Davidm CA Forum: General We use Crystal Reports X to run reports on an Access database with a significant number of rtf memo fields. We use Total Access Memo to allow extended use of rtf within Access as our users require the additional

  • Acrobat X closes immediately when PDF is double clicked

    I run CS6 (English) on Windows 8 (German). If I double click a PDF Acrobat opens and immediately closes again. I can drag the PDF document on window head and the document opens fine. I can also click to a PDF that is pinned to the task bar and it ope

  • Need to stop or cancel Skype

    Hi Skype, I need to stop or cancel SKYPE.  You have everything from me.  I seem to not be able to stop it on my end in the software as of yesterday, 10/14/13.  Please stop my credit card info. Please get back to me. Thank you, Post transferred to cre

  • Why do I get this error mesage?

    The project consists of two pages. The first page is declared as ... public class Page1 extends AbstractPageBean { and contains the attribute and 'getter' ... private CachedRowSetDataProvider tripDataProvider = new CachedRowSetDataProvider(); public

  • Mountain lion audio trouble

    hi im on a 27"imac i7 chip 2011. audio out is unreliable still after 10.8.1 update. Any app that makes a noise is affected. the audio is just not stable. crackles, little gaps or stutters.Ive compared some of the same audiofiles to double check  n th