Can someone tell me why it does not work?
Working on a project where an icon action depends on the State of another icon. For instane-there are three doors on the scene, with the ability to turn red, blue or green. If the first door is blue, then third opening of the door if it's the same color. If the second door is red, then third opening of the door if it is the same color, etc. Using conditional statements came up with rough code, but encountered a wall. Have not been able to find the right commands to the code base on the labels.
The following two files contain less than 15 lines of code. I would appreciate any advice anyone with a handle on the subject.
The first is that I got with the code still works:
http://www.filedropper.com/sampledoorworks
This version is where everything takes a turn for the worse:
http://www.filedropper.com/sampledoordontwork
I don't know how show you the code relates to three doors and the line... If ('one') {fly anywhere.
You need to assign instance names to the doors so you can target their code. Let's say that you name door1, door2 and door3. If the idea is to check if the two doors are the same color (frame) then, you could do something like...
if(door1.currentFrame == DOOR2.currentFrame) {}
do something for doors 1 and 2
of other if(door1.currentFrame == door3.currentFrame) {}
do something for 1 and 3 doors
of other if(door2.currentFrame == door3.currentFrame) {}
do something for 2 and 3 doors
}
Tags: Adobe Animate
Similar Questions
-
simple? can someone tell this simple btn does not work why?
Writing my own deactivation button class (with the help of friend - thank you LuigiL)
So, why does my button not turn off when you click it? He runs the deinitializeBehavior function, but the removeEventListeners are not really deleted...
I don't know why, but this could be a graphic problem?
Thanks in advanceDisables the button attached, but you must change the activation. Because event handlers are removed, the button cannot reactivate itself.
-
First, I'm joining the forum with a question CS4 and CS5 Suite for Mac. Can someone tell me why it is NOT a place to submit a question as it is here?
Creative Suites Mac forum seems to be closed, so moved that Creative Suites Windows the Forum of Creative Suites "base".
Then... Post your question and someone may be able to help... is your question about the installation of the old software on a new Mac?
IF El Capitan Mac read below
CS6 and previous programs have not been tested and will not be updated to run on Mac El Capitan
-which means you are trying to use CS6 and earlier at YOUR risk of having problems
-You can get CS6 and previous programs to install and run, or you can not (some do, some don't)
-IF not, Details of the message from the error messages and a person may be able to help (just not Adobe)
This information is a MUST to install old programs on Mac El Capitan
-You can't get the same error message, but here are some links that CAN help with old programs
-Java https://helpx.adobe.com/dreamweaver/kb/dreamweaver-java-se-6-runtime.html can help
Install CS5 on Mac 10.11 https://forums.adobe.com/thread/2003455 can help (also for others than CS5)
-also a TEMPORARY security change https://forums.adobe.com/thread/2039319
-the guardian https://support.apple.com/en-au/HT202491
-
I can't tell if ad hoc does not work, how do I know if the files are shared?
I have files shared between a computer with Windows7 and the other with Vista. I followed the instructions of preparation for each computer for file sharing process. I have set up a network of working groups and they both have successfully connected. The problem is that I can't tell if they recognize the other computer and when I go the file to share, I can't have information about the files on the computer in the face. Yes, computers have seen and write options in the file to share. When I try to access some forms in the file I can't the information I'm looking for on the files on the computer in the face. How will I know if the computers are connected to the file sharing?
Hello
Were there any changes made on the computer before the show?
Method 1:
I suggest you to refer to the links and check if it helps:
File sharing essentials
http://Windows.Microsoft.com/en-us/Windows-Vista/file-sharing-essentials
Share files with anyone
http://Windows.Microsoft.com/en-us/Windows-Vista/share-files-with-someone
Method 2:
I suggest you to refer to the article and see if it helps:
Networking of computers running different versions of Windows
Method 3:
I also suggest you to check the settings of firewall on the computer. I also suggest you to disable the third-party firewall installed on the computer and check if the problem persists.
http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software
Note: run the computer without antivirus software or firewall is a potential threat to the computer; Be sure to activate security software after completing the troubleshooting steps and after identifying the problem.
-
Can someone tell me why Windows Vista Premium does not create a user profile ADMINISTRATOR for me by default, as I am the main user and why he keeps me access to many programs and features in Windows, including installation and view and edit privileges? How can I set up my profile as ADMINISTRATOR rather than another user profile and get rid of all the other profiles? Please write to * address email is removed from the privacy * for your answer.
Steve
Can someone tell me why Windows Vista Premium does not create a user profile ADMINISTRATOR for me by default, as I am the main user and why he keeps me access to many programs and features in Windows, including installation and view and edit privileges? How can I set up my profile as ADMINISTRATOR rather than another user profile and get rid of all the other profiles? Please write toEmail removed privacy for your answer.
Steve
Let me soce entry details:
1. all computers need to have at least one administrator account. It will not work without it.
It does NOT, however, create a profile For YOU defaultAdmin. It belongs to the user or the owner to create and decide who is Admin, and who is a regular user.
2. even an admin account will not get to install and change the settings automatically. UAC (user account control) always appears to ask for confirmation of the task by clicking on continue, or by typing the admin password.
3 be the main user is not to be an administrator. It is up to the user/owner of the computer to be configured as such.
That said, now my question... How do you know that you're not an admin?t-4-2
-
Can someone tell me why my menu link does not work?
Can someone tell me why my "FAUX FINISHES" menu link does not work even though it works perfectly in my preview of DW - 6? Page link is: http://carynakins.com/c_akins_2016/
As I said before, I'm not using the PVII extensions, but I had a quick glance at the affinity + Drop seven Magic Menu page on the project site. Drop Menu Magic interface has the options to add an element and the void Add. I think that given the submenu prevents the interface for adding a normal link to the top-level menu item.
Try to remove the false finish existing menu item and its submenu. Then click on add item, Item Link Text finished false and path of the link to the page that you want to load. Save it and upload it to your site.
If that doesn't resolve it, you might be best to consult the PVII support forum.
-
can someone tell me why I can't update to El Capitan 10.11.2?
When I try to update "updates available have changed" guest shows up.i click "Show details" prompt to complete the update and when I do that, it just goes back to doing nothing, so I can never get past this point. can someone help me with this, please?
Thank you very much.
In some cases, this error message is caused by a problem in the network. Restart your router as your device at wide band, if they are separated. If there is no change, see below.
This procedure will remove some temporary and cache files. The files are generated automatically and do not contain any of your data. Sometimes they can become corrupted and cause problems like yours.
Please, back up all data and read this message before doing anything.
Triple-click anywhere in the line below on this page to select this option:
/var/folders/zz/zyxvpxvq6csfxvn_n00000s0000068
Right-click or Ctrl-click on the highlighted line and select
Services ▹ reveal in Finder (or just to reveal)
the contextual menu.* file should open with a selected subfolder. The subfolder has a long name beginning with "zyx" and ending with "68". Place this subfolder in the trash. Do not move other subfolders with similar names. You may be prompted for administrator login password. Restart the computer and empty the trash.
* If you do not see the item context menu copy the selected text in the Clipboard by pressing Control-C key combination. In the Finder, select
Go ▹ go to the folder...
from the menu bar and paste it into the box that opens by pressing command + V. You won't see what you pasted a newline being included. Press return.
-
Can someone tell me why my phone will not be updated? I can't put it to day/download apps either.
Try to reset the App Store:
Close the App Store completely from the window of the selector app by double clicking the Home button and slide up the App Store preview pane until it disappears from the display. You may be able to pick up the tab App Store covering scribbles to the left.
Then sign out of the iTunes Store (in the settings).
Then perform a forced reboot. Hold down the Home and Sleep/Wake buttons simultaneously for about 15-20 seconds, until the Apple logo appears.
Then reconnect to the iTunes Store.
Also try by going to settings > general > Restrictions > and make sure that iTunes Store, Apps install, delete the Apps and In - App purchases are all under the section allow. Try to install again.
-
When I updated the shock of the clans for my daughter on his iPad, it has its own apple ID. and iCloud, my ID apple came on his id for the update, where it has its own apple ID now. Please can someone tell me why the update came not through its ID thanks
It seems that if the application has been downloaded on his iPad while it is connected to your Apple ID. If so, he'll always want to be updated with your Apple ID.
You must remove the application from his iPad and then download it again while it is connected to its own code of Apple.
-
I just started my creative cloud subscription and in artificial intelligence, I try to convert the text to outlines text, but only in the type of command is not active! can someone tell me why? and what should I do to activate it? I use in windows 8
Abdel,
What font you vectorize?
Or is happening with all your fonts?
-
can someone tell me why this flv appears in chrome and not ie10
can someone tell me why this flv appears in chrome and not ie10
http://barbaracohenmusic.com/help.htm
replace your div with this code
-
Can someone tell me why 'Script Skipper' has been disabled by the administrator?
I'm looking for a script that disables javascript prior to load a Web page. I was told that the Script Skipper is such an addin. But this script has been disabled by the administrator. Can someone tell me why?
This add-on? Or can you find a more recent version of this elsewhere?
https://addons.Mozilla.org/en-us/Firefox/addon/script-skipper-3x/Version 1.0.2
Published on August 28, 2010 14.3 KB
Works with Firefox 1.5 - 4.0b4With only 69 users without ever obtaining a comprehensive review and was never updated to the version of Firefox 4 + -, I would classify it abandoned further.
-
Why chat does not work? I can ask questions in here.
Why chat does not work? I can ask questions in here.
Kindly share your concern, so that we can try to help you with it.
Here is the link to contact customer service
You can use: http://helpx.adobe.com/x-productkb/global/phone-support-orders.html
-
can someone tell me why in my missing rendering formats, such as MPEG 4
can someone tell me why in my missing rendering formats, such as MPEG 4
View you and export formats such as MPEG-2 and MPEG-4 with Adobe Media Encoder:
using Adobe Media Encoder to create videos WMV, H.264 and MPEG-2 for After Effects
-
He continues to tell me bho.dll does not work how to fix this
my computer is slow real work and continues to tell me BHO.dll does not work and restore it. I don't know how he also said IE3. SH.exe is not working?
Hello
· There the latest changes on the computer before the show?
Error starting IE3SH and BHO.dll can occur due to problems in the installation of some programs on the computer. Follow these methods and check if that helps.
Method 1:
Follow these steps and check if that helps.
Step 1:
I suggest to start the computer in Safe Mode with network and check if the problem persists.
http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode
Step 2:
You may also start your machine in a clean boot State to rule out the involvement of a third party software conflict.
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/kb/929135/en-us
Note: Don't forget to start your machine in normal mode by following step 7 of the link.
Method 2:
I also suggest you to download and run the latest Microsoft Scanner on your computer and check to see if it helps:
http://www.Microsoft.com/security/scanner/en-us/default.aspx
Note: the data files that are infected must be cleaned only by removing the file completely, which means there is a risk of data loss.
Maybe you are looking for
-
two connected hard drives but only see a
I have a USB splitter attached to my airport extreme, he sees a hard drive that I use for time machine, but he did not see the other. What can I do to access the 2nd hard drive?
-
When you try to update the latest version of the software my ipad is locked with Update verification
I tried to download the latest version of the software and received a message on the screen that says 'verifying update' and now I can't do anything. Screen is locked with the message "check update" and I can't even turn off the machine
-
My iphone6 has a built-in nfc reader?
6 my iPhone has a built-in nfc reader?
-
"Forced Nonlinear Curve Fit.vi" requires some other VI implements the shape of the model must be adapted and requires a reference to this VI as one of its inputs. It seems that there are several kinds of references to screw - why? What are they and h
-
Cannot access my Windows Live Mail. Gives me the message "one of the installation files seems to be corrupted. Error: 0 x 80070002. Source: WaitForCatalogue. original title: error 8 x 0070002