What is the b & w of various ActionScript 2 & 3?

What is the different between action script 2 and 3? Why doesn't the animation created using as2 with as3?

onEnterFrame = function (): Void {}

xPourcent = _xmouse/Stage.width;

yPourcent = _ymouse/Stage.height;

IMG._x = xpercent *(img._width*-1+stage.) Width);

IMG._y = ypercent *(img._height*-1+stage.) Height);

}

zoomin.onPress = function (): Void {}

IMG._xscale = img._yscale += 5;

}

zoomout.onPress = function (): Void {}

IMG._xscale is img._yscale-= 5;.

}

It is a basic code for an image zoomin zoomout effect. It's works fine with as2? but it does not work with as3? any idea?

AS2 and AS3 are essentially different languages, in more oriented OOP AS3.  While they share some of the same commands, many of the properties and methods AS2 have been replaced one way or another.  As a simple example, AS1/2 use _x, FLF, _just on what either to describe the properties of the object while AS3 uses the line of underscores (_) and just use x, y, etc...

Tags: Adobe Animate

Similar Questions

  • INTERFACE design - what is the best way to allow the user to define a kind of infusion at various times (non-periodic)?

    I want to allow the user to specify a curve like this:

    Such as some under - VI shows the A2 value when a variable of time is between R1, A1 when the time variable is between A2 and A3 when time is in the range A3.

    My design looks like this:

    With the error checking that looks like this:

    My question is, is the approach of the table according to optimal? Otherwise, how could combat this?

    I think I can summarize the conversation on this point as a response to the original question (what is the best way...) -to start writing code, to think about what you want to accomplish and write it down (otherwise known as 'Write the first Documentation').  One of the points of a good User Interface is that it is not allow users to "stupid mistakes" - it leads the user "by hand", limiting the entries to the "legal values" and demanding that the entries be made logically.

    If you were going to have a list of Infusions to enter, it is therefore logical to decide or not to enter into time intervals (which are always > 0) or order the times (which, logically) are still growing.  You can (and should) decide that you (or you may have a control that allows the user decide, but maybe it's too flexible) and then apply your "rules".

    Let's say you've decided on "Intervals" (which seems to me to be more User Friendly).  After the user has entered the intervals (and you've provided a nice plot of perfusion vs. time), pouvez allow you the user to an interval of 'split', 'Delete' an interval, or "Edit the Infusion" interval, or you can decide to have a choice more simple "accept or start again" - If you have only a few intervals, the last would be the simplest (and therefore best) design choice.

    Spend more time thinking before coding usually pays Big dividends!

    (Speaking of sad experience) Bob Schor

  • What is the need for communication between Flex ActionScript to Javascript

    Hello

    Flex enabled communication of FLEX Mx:script of Java Script.

    Can someone could please tell me what is the need or any communication scenario Flex with Javascript

    Thanks in advance.

    Sorry but I can't resist not during a search here - it's mostly to let people write fragile dependent on JavaScript hacks and probably also to allow the use of lower AJAX XML-based protocols.  Also, to meet the requirements of managers of the fool, that providing for the use of old rather than letting technologies their engineers do their job.

    (In all honesty, there's probably some legitimate and even reliable uses, but if you ever need to search for such solutions, count your blessings).

  • What are the meanings of the iPhone Photos files.

    I am struggling to understand the logic behind the records in the Photos of the iPhone. Unfortunately, Apple chose the worst possible name for its application, any research on 'Photos' results in millions of useless results. After an update of a system, pictures made several copies of existing pictures so that now my storage is full. I don't know how it works. For example, I tried to delete the photos in 'Selfies', but for some reason, it cannot afford to do. I tried to upload photos on mac, but now in Photos on mac means that the option 'delete downloaded photos' is absent, and photos can be downloaded from the "Camera roll" record, whatever it. It seems that I have zero control over the photos. What I want to do is to understand the logic behind the Photos from the iPhone, I want to remove copies of existing photos, and learn how to transfer photos from iPhone Photos to mac Photos.

    How to use pictures, it works at all?

    Photos made several copies of existing pictures so that now my storage is full.

    Synchronize you the photos on your iPhone during a sync with iTunes?  Can't delete photos from the iPhone, if you are synced with iTunes. These photos will be deleted, if you synchronize again and select an empty folder to sync.

    What I want to do is to understand the logic behind the Photos from the iPhone, I want to remove copies of existing photos, and learn how to transfer photos from iPhone Photos to mac Photos.

    Photos on the iPhone and the Mac is now your photos in a library. This library is a database with several different views of the same photos.  The photos are stored only once, but predefined albums show you the pictures grouped by various criteria in order to access and find quicker.

    • Moments, collections, the years are grouping your photos of the site and sort them by date, oldest first.
    • All photo album shows all the photos, but sorted by the date you imported, so you will find always the more recently added photos at the bottom of the album.
    • The smart album 'Selfies' shows all photos taken with the front camera.
    • The panoramic album shows all the photos with extreme proportions.
    • The album film shows the pictures that were taken with the iPhone/iPad, transferred with My Photo Stream, or were recorded in the film, but not the photos sync with iTunes.

    He has more albums predefined are special-purpose.  And you can create your own album to group your photos as you wish. Move albums in a folder, so you can more easily find your albums.  A photo can be in a lot of albums, but is only stored once. The albums do not need a lot of extra storage, because they refer to photos in the photo library.

    To save your photos on your see Mac options here: keep your photos safely stored and updated on all your devices - Apple Support

    https://support.Apple.com/en-us/HT201313

    You can use iCloud photo library and synchronize devices with iCloud, or connect by USB iPhone and download the photos to your library of Photos on the Mac. It works best if you want to use iCloud photo library.

  • What is the best for my professional job or the retina

    Hello

    I need tips for buying a laptop Macbook...

    My job is to develop software for linux and windows systems, the software I develop usually require a connection to external devices via ethernet and RS 232 ports series, apart from that for windows, I have several special software which I use for programming of robots for use in industries and also the software IDEs for systems shipped as Cypress etc of Microchip.

    Linux I mainly use to develop applications for computers beaglebone and Raspberry.

    Using a Mac system means that I can develop also on Xcode for systems Mac OS x, something I wanted to do for a long time.

    I intend to run these operating systems (Windows and Linux) as the guest systems using VirtualBox, with Mac OSx as host.

    Since I also travel a lot maintenance machinery installed (requires Windows) I would prefer a laptop instead of a desktop computer, so I decided on the following configuration.

    MacBook Pro laptop

    -2.9 Ghz Dual Core i7 Turbo boost upt 3.6 Ghz

    -8 GB 1600 Mhz, DDR3 RAM

    -Hard disk 1 TB Serial ATA 5400 RPM

    I don't have many accessories as I already have a brand new Kensington trackball mouse, if necessary I can use an external monitor of HDMI (26 inches) to my office.

    My questions are these.

    1 - is the support of configuration above virtualization?, I want to VirtualBox to do this, is it possible with the above specifications?

    2 Ethernet RJ45 connectivity is very important for me because I need it to connect to various industrial automats, not to mention I have Ethernet I / simulation software P in need of this port. I see that my Setup doesn't have an ethernet port, so how do I connect via ethernet? Is there an available Ethernet adapter? What possible limitations are there compared to an integrated?

    [3. can be Ethernet port be customized through the Mac OSx, customize I mean change the IP, DHCP/Static, the gateway IP address], netmask etc.. These settings can be changed?

    4. I would like to increase my RAM 16 GB (or more) I currently have 16 GB, in my view, it is essential for the execution of virtual systems.

    5. the HDMI can support a share whole 26 inch HD monitor?

    6 is better than Pro retina?, I will not be upgrading my laptop, once I have the RAM and the required hard disk.

    7. because this is my work computer, what is the approximate years Apple will support this laptop? Will take in charge the laptop be declined in the following years? I have an Ipad Gen 1, which is totally UN-useableas, it can not be upgraded. My laptop will end up like this in 5 years?

    Rest of the card OK for me, 1 TB look better virtual systems consume a lot of disk space, speed may not be a review I would leave the laptop running or in hibernation, I believe that extends the life expectancy of the hard drive. Battery life isn't a review I would leave my laptop plugged in all time.

    Please let know us what you think...

    Thank you

    one

    1. Yes. But use Parallels instead of Virtual Box. The first is faster.
    2. There are two types of Ethernet cards. We use a USB 3.0 port and Thunderbolt, is used.
    3. Configurations can be configured manually. In most cases, it should be automatic.
    4. You can increase the RAM on the model 13 "as a custom configuration. The model 15 "comes with 16. GBs RAM is not extensible to the user.
    5. The HDMI port should be compatible with most of the ports to monitor.
    6. There is no model non-retine.
    7. Standard warranty is 1 year from the date of purchase. At any time within the first year, you can buy the extended warranty which adds another 2 years after the expiration of the standard warranty. All support including consultancies has a time delay. See registration Vintage and obsolete.
  • My Clickfree automatic backup drive has stopped working, with my iMac, what is the best replacement to use with Time machine

    My Clickfree automatic backup drive I had for many years stopped working with my iMac, what is the best replacement to use with Time Machine.

    I can't even reformat the drive to try to start over, then think its time I invested in a high today but don't know where start looking so any advise would be a great help.

    Thank you guys

    A lot of users on these forums recommend OWC (www.macsales.com) Mercury Elite Pro series JEP due to their durability, affordability and quality of construction. I have about 6 of them connected to my iMac and have never had a speaker to fail. When a hard drive fails, substitute is a 5-minute process to re - use the box. To help you get started, you can find the line to: https://eshop.macsales.com/shop/firewire/1394/USB/EliteAL/eSATA_FW800_FW400_USB

    You can find them in various ways and with a variety of configurations of connection so you can find the one that best fits your needs.

    Good luck!

  • What does the symbol of a bolt of lightning on iPhone?

    I can't find a definitive answer anywhere: average what symbol of Flash on iPhone?

    Specifically, the battery of my iPhone is dead and sometimes the battery symbol appears WITH the lightning bolt and the symbol of battery above it with a small amount of red. If I jiggle the cable connection the lightning bolt disappears, then reappears, but the battery symbol is always present. So my question is, more precisely, what is the difference? That means the lightning? Why Apple makes so cryptic? Sometimes the lightning, sometimes not, that referred to as load? Both? Why do you then?

    You see, I don't know whether to shake the cable until the Flash is NOT visible, or whether it jiggle to make it visible. That means that the phone is charging. Why have a symbol that is subject to various interpretations but have no icon legend/reference anywhere a user can know what it means? Why have this symbol when it is just as easy to have plain text "charge" or "do not load"?

    If the bolt is present, it indicates that the unit is charging successfully. https://support.Apple.com/en-us/HT201569

  • What are the specifications for an avatar?

    Does anyone know the global specifications for an avatar?

    I collected some of the avatar next to various images and found that they were all 68 x 68, so my first attempt was a png 68 x 68. But that seems smaller than the other. So I tried 256 x 256, and coming out of the same size as the others. But what we should use? Page load gives only the size max 2 MB. My 256 image is only 13.8 KB, so should I go for the max which is part of 2 MB? This seems unnecessary, since it will never be seen with this resolution. It would be useful if the loading page gave a size recommended, rather than simply 'go there '.

    Thanks for your suggestions.

    SQUARE & larger than the target of 68 x 68. He'll go through the process of harvesting the SiteWare anyway - and downsampling will whatever happens

  • I get the 'BAD IMAGE' when many *.exe files is available. The error image refers to "BROWSE ~ .dll." What is the correct file name?

    When I type (OK) the computer continues to the application, I entered, but there may be a range
    in the opinion of the 'BAD IMAGE' with various. EXE files. Somehow gotten past as the correct file name cut short
    what he should ever TRAVEL ~ .dll. I can rename it leaving out the "~" symbol, but I don't know what to rename it.
    Help?

    Hello

    It would be useful to the Windows OS is supported .

  • Re: Satellite L750-1LU - what is the standby time battery 'common '.

    Greetings.

    I'm Rom of the Greece...
    I am a new owner of Toshiba (a few days ago) and my question is the BATTERY LIFE.
    I have a Sattelite L750-1LU and I wonna know what is the 'common' stand-by time for this laptop battery...

    When I bought the laptop (with all these countless TOSHIBA utility pre-assembled), my laptop did not stay... more... 1 HR!

    I already have a Greek contact with the technical team of Toshiba, but since they told me... the battery throughout the night the first 3 - 5 times (was... Lithium-ion battery didn't need such thing!), I wonna contacted a person non - Greek Tech.

    I already spend a few days and found a lot of interesting tips to increase the battery life, I did it, I removed the pre-installed Windows 7 with all Toshiba Utilities and I installed one pure "fresh" Win7 WITHOUT ANYTHING else (except all the drivers, I took half day... to collect) and now I think that the battery life is quite better (about 3 hours and some)...

    But I wonna know exactly what is the 'common' battery standby time, for this model, I bought.

    Please, answer me back.
    Kind regards.

    Hello

    The laptop is supported by a battery of 6 cells 4400mAh
    It is a common battery that is built in series of laptops different, and it should be possible to extend the battery up to 3,5-4 hours work.

    But be aware that the battery working time depends on notebook use.

    Various factors may change the time of working of dough: brightness of the display, for example, use of CD/DVD and HARD disk drive, the CPU and cooling performance module all of these parts would drain the battery more slowly or faster depending on the settings.

    Working with the applications Office could slower battery as a game or watch movies on DVD.

    The formula is: t = Q / I
    t = time
    Q = electric charge (Ah)
    I have = amperage (A)

    So if you want to use Notepad for example 4 hours then all laptop computer s devices should not use more than 1000mA - 1100mA in an hour.

  • HP Envy 17-3070NR: what is the Max RAM for HP Envy 17-3070NR memory

    What is the configuration of memory of RAM MAX for my notebook of HP Envy 17-3070NR?

    Currently configured with chips of memory 2 x 4 GB DDR3.  I see conflicting card (8 GB and 16 GB) between various online sites like CNET and NEWEGG

    @BR_WLPhoto

    Supports up to 16384-GB of RAM @ 1333 MHz, supports up to 8192 GB RAM @ 1600 MHz

    Your manual here.

    http://h10032.www1.HP.com/CTG/manual/c03317166

    REO

  • What are the future plans for Aperture?

    It's simple.  I bought Aperture because iPhoto was not to my needs.  Now Aperture is replaced and the comments there say that Photos doesn't have the tools, I want to be.

    How much time have I not the right to use and download copies of Aperture for my computers?

    What are the plans for the Photos by integrating the features used by those who have paid extra for the opening?

    I'm not a professional photographer, but use a DSLR camera and it's easy to take "too many pictures".  An I take a picture, I keep if the quality is OK.  Records, it does not mean that I want to pay extra to save and it certainly does not mean that I want it on every device I own.  I want to use stars, keywords and projects (this function any name is fine with me) to organize my collection.  I don't want to just find a picture by the date it was taken, but of course, it is the most common research.  I want to have pictures with 2 stars or better in smart folders that I share on my various devices.  I use a smart folder for this today.

    I'm upset that the product has lost support.  I saved the libraries that rely on a programme of work to read (I've lost images in a dark form in the 1990s).  I spent money on a product, expecting to own for many years, but may not be able to download it for a new purchase of computer in 1 year.  I'm not yet sold on the cloud, and that's why.

    I spent money on a product, expecting to own for many years, but may not be able to download it for a new purchase of computer in 1 year.

    Apple has stopped the development of Aperture.  You will be able to use Aperture, as long as you have a computer with an Operarting system which is compatible with aperture.  Don't update your Mac to new versions of the system, unless you know for sure that the new system supports the opening. Don't forget to keep a full backup of your Mac with opening and your version of Mac OS X, so you can revert to this version, if you accidentally updated to a version that does not support opening.

    The Photos.app can open Aperture libraries, so you will always have access to your original images, albums and edited versions. See: How Photos handles content and metadata from iPhoto and Aperture - Apple Support

  • What is the fastest way to learn how to use Office microwave?

    .. .for a brand-new user.

    AWR has a collection of documentation, called 'Getting Started Guide'.  This guide is divided chapters which cover specific topics of learning environment Design Suite in the creation and simulation of the structures of the EM.  You can go through the sections of the getting started guide that relate to what you're trying to accomplish.  The start guide are available by selecting help > getting started.  If more recource is required after completing the getting started guide, you can learn more about the different sections of the Guide users, another section of the AWR documentation which covers topics.

    CWA also has a collection of videos on how to perform certain tasks in MWOffice to: https://awrcorp.com/download/faq/english/videos/videos.aspx

    Finally, for in depth of the training material on various simulators, you can connect to your CWA downloads page in the: https://awrcorp.com/download/login.aspx and then look at the tab modules of training.

  • What is the difference between the USB modes and when to use them?

    Hi everyone, I am a new user of Clip 8 GB and have read some documents here.  I am now totally confused as to what are the 3 modes various usb and when to use them.  I only move & paste books audio mp3 to my clip at the moment, but hope to soon try to download from the internet libraries.  I left my USB for auto detects and had no problem to upgrade to the new firmware, or to see one of my books.  I tried the other two modes and sees again all 3 of my books.  I don't want to complicate, while I suggest you to use it for everything?  Or is it possible?  I want to download mp3 from sites books and burn them on cd as a backup, so it doesn't go away in 2 weeks time.  This way I can put it on the clip when I'm done with my course books.  Is it possible, or can you only download directly on your clip?   Thanks from a newbie.   Aliza

    Three modes are MSC, PSG and Autodetect, sometimes called AutodeFect.  But you probably know the names.

    MSC, aka UMS, treats the Clip as a flash drive when it is connected to a computer.  Drag and drop.

    PSG is Microsoft to 'manage' your 'rights '.  Transferred files can be limited to a number of ways and can 'end', then you will need to reauthorize them.

    I suspect that the books of the library must be transferred in MTP mode, so that you can only "check them out" for a limited period of time.  If so, burn them on a CD do you no good, as they will always expire.

    I've never had a need to MTP mode, but I can at some time try an audiobook from my library of the city, in which case I'll need to.

    Theoretically, they work together very well.  You can see all files when using the clamp.  The computer can see files transferred in MTP mode when connected to the MTP and MSC transferred only when connected to the CSM.  AutoDetect, who knows the devil.  I would like to avoid it like the plague.

    As for use, I suggest using MSC for everything, unless it won't work, what try DPW.

  • "Do not put the laptop near devices such as TV speakers/fridge that generates a strong magnetic field" what is the effect of this?

    Original title: do not put the laptopn close device suas: a fridge that generates a strong magnetic field of the speakers on the TV? What is the effect of the magnetic field, causing the laptop?

    Do not put the laptopn close device suas: a fridge that generates a strong magnetic field of the speakers on the TV? What is the effect of the magnetic field, causing the laptop?

    Hi stuckfree,

    Magnets are used in computers for various purposes, for example in the hard drives. Several parts of a laptop computer may be affected by a magnet. More commonly known as material element affected by magnets is the hard drive.

    That is not exactly true. Hard drives are well protected against most of magnetism, and most even use a magnet to turn, but many strong magnets and electromagnets can and will damage a hard drive. More likely to be affected is the BIOS of your computer (Input\Output base system) ROM, which shows how to use the basic components and boot into the operating system to your motherboard.

    So it's best to avoid placing computers\laptops close to all these devices.

Maybe you are looking for