How can I assign multiple sprites?
Hello:I am trying to assign several sprites when I roll over a button. Basically, he says:
on mouseEnter me
visibility of Sprite (3) = 1
visibility of Sprite (4) = 1
visibility of Sprite (5) = 1
end
on mouseLeave me
visibility of Sprite (3) = 0
visibility of Sprite (4) = 0
visibility of Sprite (5) = 0
end
How will I know it affects 3 of them in one line? I tried:
on mouseEnter me
Sprite (3,4,5) visibility = 1
end
but it did not work.
It is not a problem when its is only a few sprites... but I would need to assign 10-15.
Any help would be great...
Thank you!
Rafael.
You can use a repeat loop where you make a list of the numbers of sprite
then go through this list
on mouseEnter me
Repeat with i in [3,4,5]
visibility of Sprite (i) = 1
end repeat
end
OR
on mouseEnter me
mySprites = [3,4,5]
Repeat with i in mySprites
visibility of Sprite (i) = 1
end repeat
end
This would be the way to set the directoly. You cannot use a
a lot of tight loops repeat if there is a lot of the latter, since
that will tend to lock up Director until the end of the rehearsal loop.
A simpler method is to use sendAllSprites.
In the script that sits on the sprites you want to control the
visibility of, add a handler custom like this:
on setVisible, LIvVE
Sprite (me.spriteNum) .visible = LIvVE
end
Then, on your button, you would have a code like this:
on mouseEnter me
sendAllSprites(#setVisible,1)
end
on mouseLeave me
sendAllSprites(#setVisible,0)
end
Now, when the mouse is over (or leaves) this sprite, any sprite who
a custom manager puts its visibility on or off
Tags: Director
Similar Questions
-
How can I select multiple messages at the same time for archiving
I want to archive multiple messages in a folder from archive. How can I select multiple messages at once?
To select a block of eg: 10 emails.
- Click on the first email
- Hold down the SHIFT key and click the last email.
- This will highlight all in the interval
To hightlight all the emails in a folder.
- Click on the first email to focus.
- Press on and hold down the 'Ctrl' key and press 'A '.
- This will highlight all emails.
To select several emails:
- Press and hold down the 'Ctrl' key and then use the mouse to select multiple e-mails
- they will appear as "conversations in the messages pane.
- Click on archives.
Info on setting up your archive' Options ': '.
-
4655 HP Office Jet: How can I fax multiple pages using the hp officejet 4500 desktop computer
How can I fax multiple pages using the hp officejet 4500 desktop that you just bought
can you please email me at [removed personal information]
-
How can I move multiple bookmarks to a folder in a new folder?
Re: safari yosmite
How can I move multiple bookmarks to a folder in a new folder?
Go up that favorite-> edit bookmarks. Then go up to that favorite-> add bookmark folder.
Right-click on the new folder, and then select "Rename". Name you want to reflect the bookmarks that will be in it.
Then, go to the folder that contains the bookmarks that you want to move, click on it while pressing the command key. Drag them out of this folder and the new folder.
-
How can I assign a browser to a specific office in El Capitan?
How can I assign a browser to a specific office in El Capitan?
You can change your default browser by following these steps:
1 from the Apple menu, choose System Preferences, then click general.
2 click the 'Default web browser' dropdown and choose a web browser, such as Safari.
-
HP5610xi: Using a HP 5610xi, how can I scan multiple pages into a single file?
Using a HP 5610xi, how can I scan multiple pages into a single file?
Hello
Thank you for using the HP Forums.Can try this software:
HP extended Scan
FTP://FTP.HP.com/pub/scanners/HPScanExt/HPScanExt.msiOnce it has downloaded and installed, go to start > all programs > HP > HP Scan extended > Run "HP Scan extended.
This relevant resource will show you how to scan multiple pages into a single file:
HP Officejet Pro 6960 series: scan a document of 6 pages 2 sides using the ADF
Let us know if it works!
-
How can I recover multiple deleted items, I have not deleted the permenantly?
How can I recover multiple deleted items, I have not deleted the permenantly?
Hello
Have you looked in the trash?
Recover files from the Recycle Bin - Vista
http://Windows.Microsoft.com/en-us/Windows-Vista/recover-files-from-the-Recycle-BinRecover files from the Recycle Bin - Windows 7
http://Windows.Microsoft.com/en-us/Windows7/recover-files-from-the-Recycle-BinHow to restore previous Versions of a file and the folder of Vista (Ultimate, Business and Enterprise)
http://www.Vistax64.com/tutorials/122127-previous-versions-shadow-copy.htmlHow to restore files and folders in Windows 7 with previous Versions
http://www.SevenForums.com/tutorials/85679-previous-versions-restore-files-folders.html----------------------------------------------------------------------------------------------------------------------------
This could help you recover a file, or a previous version (all versions of Vista and Windows 7).
http://www.ShadowExplorer.com/ShadowExplorer - recover lost files and folders (Vista and Windows 7)
http://www.SevenForums.com/tutorials/132087-ShadowExplorer-recover-lost-files-folders.html----------------------------------------------------------------------------------------------------------------------------
Recuva - free - recovers files deleted from your Windows computer, Recycle Bin,
map of the camera digital or MP3 player. And it's free!
http://www.Piriform.com/RecuvaRecuva - Forums - help here
http://Forum.Piriform.com/I hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">->
-
How can I play multiple instances of video (no problem reading of 12 movies at the same time, at the opening of the 13th film the problem only starts), the classic use of media player in windows XP? I was able to do all the time! It has to do with the codec?
If yes what codec plays multiple instances of Media Player Classic in windows XP?
I get the same problem with VLC all that needs to be checked on preferences is checked in the two VLC & MPC!Hello
Multiple instances of Media Player is not supported in version 7 and greater.
· What version of Windows Media Player you have installed?
· Are instances that you are referring to the bodies shipped?
· You use any third-party software to run multiple instances?
-
How can I move multiple photos to a new folder I created without doing it one at a time?
How can I move multiple photos in a new file instead of a folder a time? I've been clicking and dragging each photo in the folder of don't. I have to be a faster, more simple way and I can not find this way
Post proposed by the facilitator for the appropriate forum placed
First, select the photo and press Ctrl and the C key at the same time, when you press the fences to hit keys Ctrl and V photos simultaneously.
-
How can I add multiple e-mail on my account Outlook 2013 accounts
How can I add multiple e-mail on my account Outlook 2013 accounts
Re-post Office/Outlook 2013 group and not to the generic group yo posted at.
http://Office.Microsoft.com/en-GB/Outlook-help/add-an-email-account-HA102809480.aspx
-
When I replaced a hard drive, I wanted the same drive letter, but he wants me to take another. How can I assign the drive letter, that I replaced. The letter is now used by another device?
Open disk management, find the drive using the drive letter you want to use, change the drive letter of this to 'Z', find the new drive, change the drive letter that you want, and then change the drive letter of the drive you have labeled it 'Z' to a drive letter of your taste.
Jim
-
I have 3 radio button options to choose, but I want only a certain one for calculating sales tax. How can I assign a calculation to an option button?
Ok. Let's say the name of the radio button group is "Radio1", the value of exports in this field is '3', the name of the subtotal is "Subtotal" and tax rate is 16%. You can use this code as the custom calculation of the tax field script:
Event.Value = (this.getField("Radio1").valueAsString == "3")? Number (this.getField("Subtotal").valueAsString) * 0.16: 0;
-
How can I assign access to 950 members?
How can I assign access to 950 members of the dimensions to different groups of users by using a method not GUI?
I'm working on Hyperion Planning 11.1.2.3 and tried to attribute access for 950 members in a dimension for different groups of users.
I tried the method of GUI (size section-> assign access->...) after 190 members I abandoned it and thought there must be a better way.
So here's my question... y at - it another way-(prompt orders, LCM, third party utility...) - I can assign access to 950 members user group?
Use ImportSecurity.cmd
-Doug
-
How can you affect multiple windows open at the same time
How can you affect multiple windows open at the same time
You can not. Only a calendar can have several windows.
-
How can I assign / manage a user in company with a student on a single account user?
I licensed student CC for my son and a license for my work. I am able to assign to a user on the business section, but have not found a way to affect the student son version. Currently, when I log on my user (my desktop and my laptop) and it attempts to open its student programs on his laptop at the school, we receive a notification forcing me to close the session. It was my understanding that each license would work on 2 devices, and I bought license 2-1 student and 1 companies. How can I assign license student of my son to his own user?
Hello
I checked the account details and you have subscribed to two plans under your Adobe ID only.
As you mentioned that you purchased the plan student for your son, I advise you get it canceled your account and buy under your son's account.
You can create an Adobe Id for your son and subscribe to the terms of this.
Please see cancel your membership creative cloud for cancellation.
Kind regards
Sheena
Maybe you are looking for
-
Calendar alerts stopped working in IOS 10
I can't understand why, but calendar alerts do not go to sea. Very frustrating. I searched around online, made sure that I am not on do not disturb, etc.. Anyone else having this? I think it's a problem on my iPad, since alerts on this device (annoyi
-
I can't get the Zonealrm toolbar to install on Firefox 4.0
I have Firefox installed 4.0. I just installed Zonealarm which has a toolbar called "Zonealarm Toolbar" included in the package is supposed to install on my Firefox browser. However, rather than installing the component, I found that it listed in the
-
Upgrade L512 CPU with INTEL i7 3612QM
Hello! I have lenovo l512 with processor i5 - 520 m on socket PGA988. Unfortunately, I have to buy a new processor for my laptop, so I'm looking for some suitable image i7. If possible. I found that INTEL i7-3612QM has the same socket (PGA988) and TD
-
How to create random file names
I have a folder containing 600 JPEG files. I want to replace the current file with those randomly generated names. So instead of files names IMG_11.jpg, IMG_12.jpg, IMG_13.jpg, I don't want to see something like 342.jpg, 8.jpg 107.jpg. Could someone
-
Support HTML5 history component BrowserField?
Hi all I use BrowserField component to display external views in my HTML application using AJAX technology in navigation. I've implemented HTML5 history (http://www.w3.org/TR/html5/history.html) in order to manage requests for return. I know that the