_visible does not work but the fact of _alpha

Hello

I use AS2 (Flash 8), and I created a subclass of MovieClip - card and attached an instance to the stage using attachMovie. However, I can't make invisible using _visible. In aid of _alpha works, however, but I would use _visible place. Any ideas what the problem may be? Here is the code:

display_card = attachMovie("card",_"displaycard",_99999,_{_x:0,__y:0}).init ("display", "card_nasty_bug.jpg");
display_card._xscale = display_card._yscale = 60;
display_card._visible = false;     does not work
display_card._alpha = 50;          works

Here's the function init for my card class:

function init (type: String, pic: String) {}
type = type;
PEAK = pic;
this.loadMovie (pic);

This ._xscale is this ._yscale = scale;.
Back to this;
}

One last thing, what are the events when the mouse pointer enters or leaves a MovieClip? I tried onRollOver and onRollOut, but those who are apparently not the correct events...

Thank you.

Advertisement

My guess is that it actually works. However when you loadMovie some things will be reset to zero when the content finishes loading.

You should probably do is add a line like this in your classroom:

function init (type: String, pic: String) {}

var artwork:MovieClip = this.createEmptyMovieClip ("artwork", 1000);
type = type;
PEAK = pic;
artwork.loadMovie (pic);
Back to this;
}

That way your content will be loaded into the child movieclip, but you can control visibility and event managers (which you do not have good also) tying them to the parent. Event handlers are too deleted when loading content.

BTW, you should generally not use loadMovie as it lacks the easy ways to know when it's done or to track its progress. You should look into the MovieClipLoader class, because it provides nice events for these important things

Tags: Adobe Animate

Similar Questions

  • Packer of creative cloud in creating a package that I can install do not.  He goes through the motions, download all updates, create setup file, but it does not work despite the fact that there are no errors in the log files

    Packer of creative cloud in creating a package that I can install do not.  He goes through the motions, download all updates, create setup file, but it does not work despite the fact that there are no errors in the log files

    After hitting my head against the desk to repeatedly create packages, try on different computers I have finally found a solution.

    These packages have been copied on an external drive, if I try and install from the external drive, which is a common practice, it fails.

    If I then copy this file pkg from the outside, to the computer I install, then run it, it will to and moved very well.

    That is mind-boggling stupid, because it's rare that you have to copy the file into any computer, it is less always installed off the coast of externally, and many people in the company are pushing on the network and the management of the suites so there is a serious problem in Adobe package manager if this is the case where it cannot manage the Middle installed offshore.

    I hope that if anyone else is having problems so it suits.

  • Satellite A300-1NO - webcam does not work, but the LED lights

    Hello!

    I have a laptop Satellite A300-1NO, with Win 7 installed. My problem is that my webcam does not work always, when I want to use it. Sometimes, it works perfectly in Skype, WLM etc... but sometimes I see a white or a black screen with a 'loading circle' in there. Blue is the LED light, I can see it in Device Manager too, but there is no picture, just 'loading '. I tried to uninstall the driver and then reinstall it, I installed the new "camera Assistant for Toshiba", without success.

    Is there any solution for this?

    > Is there any solution for this?
    I put t think there is solution for this. If I understand you right there is a problem with software pre-installed. It is not easy to say why this is happening.

    I have Satellite A300 too and use it with Win7 32 bit. Webcam works fine all the time.

    One more thing: have you noticed this problem in the first moments after installing Win7 or later?
    Have you installed something that may be the reason for this?

  • Internal webcam does not work, but the microphone does

    I have a Toshiba Satellite C655-SP5183M and whenever I try to use my Webcam it says that it does not work.  I looked in the drivers, and it says that the Webcam is not plugged, but it is an internal webcam.  I have re-downloaded the software, but that has not solved the problem. Whenever I try to use my Webcam, a message pops up saying: "the Web camera initialization failed.  Please check your device and restart the application or computer. "What should I do to fix this?

    Hello

    Modifications were made to the software or the hardware of the computer before the show?

    Method 1:

    If you have not installed or updated drivers, then visit the link given below, download the drivers and install.

    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/modelContent.jsp?modelFilter=C655-SP5183M&RPN=PSC2EU&category=&selCategory=2756709&MOID=3031745&OS=&CT=DL&selFamily=1073768663

    Method 2:

    Visit the link below and run the Fixit

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Method 3:

    from the link below, this article applies to other webcams, follow STEP 4 and step 5 .

    LifeCam software displays an error message or the video preview is empty.

     
  • Hardware ISCSI does NOT work but the software ISCSI works...?

    We have a HP MSA2012i ISCSI SAN and our ESX hosts are DL380 g6 with dual-port HBAS (Qlogic QLE406Xc) were also running ESX 4.0 and vCenter.

    I can see the cards under my storage adapters, but when we do an ANALYSIS of new LUNS they do not appear. We checked it wasn't a problem to switch by plugging directly on the MSA modules.

    Also, I went in the HBA BIOS and did a scan "for devices" and nothing comes up.

    I found the next thread that describes exactly the issue im having except that everything ive tried they describe does not work for me...

    http://communities.VMware.com/thread/221303

    What Miss me?

    Very well. Have you tried to use the Qlogic iSCLI utility to resolve the problem? You can download the vmkernel corresponding to the new analysis journal? Thank you.

  • Without password ssh does not work but the ACR is fine!

    Version: 11.2
    Operating system platform: AIX 6.1

    Background:
    For stand-alone installations DB, we use the oracle of the LDAP user as the owner of the Oracle software. This oracle user is not in/etc/passwd

    For the CAR, a local user of oracle is mandatory and we created and installed grid and DB several months ago. Everything worked. Today when I made a ssh of Node1 Node2, is asking for password oracle. IE Passwordless ssh does not work


    I have connected to the instance1 and ran
    select instance_name, host_name from gv$instance;
    This is the list of instance names and host names. How is the feature CAR is still intact without SSH without password?

    Hello

    So, what you are implying, is that, user equivalence is required for Installation, but not so required for the feature CARS. Right?

    RAC will work without problem and CARS not use SSH, but resource "ora.cvu" of Oracle Clusterware using SSH for healthcheck.
    When you run '. " "/ cluvfy" is mandatory you have ssh configured with equivalence of the user, the 'ora.cvu' resource is "cluvfy.

    So, if someone deletes the directory .ssh mistakenly Oracle $HOME, RAC feature pourrait still work?

    Yes... CARS doesn't always work. SSH and Oracle Clusterware, Oracle Clusterware also still works without problem, have a low dependency.

    As RAC FAQ mentioned is mandatory present an equivalent user (ssh, etc.) set up after the installation of the PAP/GRID.

    Kind regards
    Levi Pereira

    Published by: Levi Pereira December 14, 2011 12:42

  • CLOSE first button does not work, but the second is

    Hi, I'm working on a new web site using Flex 3, but I have a weird problem where I got no information yet on the issue. I opened a TitleWindow to display a full-size image where I want to show a close button at the top and bottom of the image, a close button (some images are very huge and it is the purpose of the TitleWindow). The close button in the button works fine, but one upstairs work not at all (but it appears correctly). What I tried to do was to create 2 HBox inside an HBox. The two HBox are called hbox1a and hbox1b. In the hbox1a, I put a tag that contains the title of the image. In the hbox1b, I put the close button. But the "close" button down is not inside an hbox, pay only the next component in the TitleWindow.

    If anyone can help me to understand why the first close the (top) button does not work, I appreciate to understand.

    Thanks for any help!

    Well! It is always good to be able to respond to ourselves, but it was fast! Maybe because to explain on this forum has been a good thing to clean the idea!

    In any case, I decided to create a new function to close the TitleWindow where I decided to pass the ID (name) of the TitleWindow instead of the event.currentTarget.parent and it works! So I think that I can reduce this to a single function and use my second function for the two close button.

  • Satellite C660 - keyboard does not work but the Num and caps lock shift are on

    I have a Satellite C660 which was working fine this morning. When I came home from work and he turned, the keyboard does not work and therefore can not enter my login information.
    The Num and caps lock shift are turned on.

    Any ideas on how to solve this problem?

    Hello

    You are able to disable the CapsLock and NumLock?
    You can access the BIOS by pressing F2 by turning on the device?

    If this does not work, I would recommend checking an external USB keyboard.
    If the USB keyboard would be functions, then this means that the internal keyboard is defective and must be replaced.

  • My right headphone does not work, but the left works fine

    right earpiece does not work

    Try again with a different pair of headphones. If they don't work, maybe your headphones are broken.

  • sudo will not work, but the fact of su

    I try to install rails on OSX El Capitan 10.11.3, and she strives to sudo.  When I type the root password it does not accept it (sorry, try again).  I know the password is correct, because I can "su" and it works, I can log in directly as root user and it works.  I disabled the SIP.  Any ideas?

    You will need to enter your ordinary Director, not the root password password.

    (139930)

  • HP7520 Scan of the computer does not work, but the impression is

    I got a HP 7520 for awhile now, and I used to be able to scan to the computer without any problem.  However, after the upgrade a computer to WIndows 8 and re - install the HP software, that no longer works.  I left the office as a desktop Windows 7, but have the same problem - again, printing but wireless "computer scan" is not "work and my computers both say a scanner is not installed."  Ive tried several ways to install scanner drivers, but no dice.  Should this quite expensive multifunctional device now go on the pile of junk?  If so I'm passing to Epson - I had enough problems with the HP hardware!

    I finally understood that - why it should be so hard to find, I don't know, but thank you for having me on the right path BH - even though she wasn't quite specific instructions for my computer.

    I have Windows 7 and Windows 8 machines, but it was the same resolution for both:

    Installation of a network scanner

    1. Click here to open the. network

    2. Locate the scanner, right-click and then click on install.

    3. Follow the instructions to finish adding the scanner

      A very simple solution, but it is not easy to find, or intuitive to navigate.  In any case, my rear multifunction device works again, thank God!

  • Sound suddenly does not work but the bars audio always in movement. Windows 7 audio driver: VIA High Definition Audio

    I turned on my pc and tried not to watch a YouTube video when I realized there is no sound playing. I tried to play a video file saved on my pc, still no sound. tried an mp3 player and still no sound. everything worked very well 24 hours earlier. the green bar on the sound in the status bar icon moves when I play something, but I can't just release anything.

    motherboard: ASROCK N68C-S UCC
    audio driver: VIA High Definition Audio

    Windows 7 latest updates installed.

    I have spent 10 hours reading all over the internet and have done the usual troubleshooting:

    • system restore
    • Driver update (from disk as well as site)
    • try different audio jacks
    • using different external speakers
    • playback enabled devices
    • System speaker levels are full
    • active volume equalizer
    • used Microsoft Fix it Audio Playback, which is no problem
    • Run the audio Troubleshooter in Control Panel, no problem found

    I even reformatted and reinstalled windows, hoping it would be like, but it was useless because I still have no sound.

    can someone please help me find a fix for this.
    If a system format has not fixed the problem, im only left thinking that its edge is completely dead and I need a new sound card?

    Hello

    I imagine the inconvenience that you are experiencing.

    I suggest you refer to the section 'I tried all solutions here and still can get my sound to work correctly ' from the link:

    Tips for solving common audio problems

    http://Windows.Microsoft.com/en-us/Windows7/tips-for-fixing-common-sound-problems

     
    I hope this helps. If you have any other queries/issues related to Windows, write us and we will be happy to help you further.
  • In my version of Adobe Creative Suite Design & Web Premium, Photoshop CS6 has been altered my other imaging software, I installed. The standard version of Photoshop does not work, but the 64-bit version still works. My question is if I reinstall Adobe

    Doesn't he know if I have to reinstall my download of Adobe Creative Suite Design & Web Premium on my damaged existing version or should I first delete the corrupted version?

    Where are the experts

    Adobe claims are here?

    It's not the way the smarter to try to attract aid... you will find many experts here who are happy to help you, and then there are the rest of us...

    You must disable the installation first - that by opening one of the programs and then click on help-> Deactivate

    Then uninstall the suite.

    The use of the cleaning tool

    Adobe Creative Suite cleanup tool

    helps resolve installation for CS3 thru CS6 and creative cloud problems

    http://www.Adobe.com/support/contact/cscleanertool.html

    Then reinstall your software and activate it

  • My oki b2200 printer does not work, but the lights are flashing i dnt know what to do

    I already delet and printer announcement once again.   and I see 2 green lights and 2 flashing umber yet blinking.its only a month old printer.

    Hello

    Because it's only a month, it should be under warranty.

    Contact the manufacturer of the printer for their support.

    See you soon.

  • "back" button does not work and the home page does not display on startup

    My buttons next and previous no longer work. They show just gray and I cannot click on them.
    Also my home page does not appear when I launch firefox.
    I reinstalled firefox 4 and then I went back to firefox 3.6.16 and have the same problem in both versions.
    Don't know what to do anymore
    I just found out that when I opened a second window everything works well in the second window, but it still does not work in the first window.
    The same thing happens when I close both windows. The first window of my home page does not appear and the back button does not work, but the second window is operating normally. Including my home page.

    Try:

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

    • Makes no changes on the start safe mode window.

    See:

Maybe you are looking for

  • Code 10

    Windows leave recognizing my burner internal cdvd, code 10

  • Windows 7 OEM installation disc doesn't have a USB driver

    The topic says my problem.  The installation starts, but ends when it is necessary to use the mouse.  I had to pay to get Windows 7 Professional installed.  I was told that it was necessary to "slipstreaming" the missing driver.  I would like some ti

  • Service-level summary report

    Hi team We try to run the iterator level summary report Service. We need to be run daily, but only the specific services we have created... But this report runs by default for all services created. is it possible to restrict the services for which I

  • How to stop the IE browser v11 of popping up with window Java?

    Here's the problem that occurs whenever I open the Internet Explorer browser. This window will appear several times before that IE is usable and alone it is a new page loaded in the browser Internet Explorer. I don't want disabled or lower the level

  • Can I use Microsoft SyncToy 2.1 to synchronize a PC 64 - bit and a 32 bit PC?

    I tried to use Windows Easy Transfer to sync my two PC, but it prompted me to tell me that it was not possible to do. I looked at internet and saw that Microsoft SyncToy 2.1 was suggested as an alternative to Windows Easy Transfer, which is apparentl