Skip navigation
Sign in
0
Search forums only
Search forums only
Cancel
Adobe
Support Home
Forums Home
News
People
Product
Menu begins
Adobe Creative Cloud
Downloading, Installing, Setting Up
Adobe Experience Cloud
Adobe Flash Player
Acrobat Reader
Adobe Acrobat
Adobe Photoshop
Adobe Photoshop Lightroom
Adobe Photoshop Elements
Adobe Dreamweaver
Adobe Muse
Adobe Animate CC
Adobe Premiere Pro
Adobe After Effects
Adobe Illustrator
Adobe InDesign
View all communities
Explore
Menu begins
Meet the experts
Learn our products
Get inspired in the lounge
Read the blog
Error: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page.
Please enter a title.
You can not post a blank message. Please type your message and try again.
More discussions
in
ActionScript 1 and 2
All Communities
Adobe Animate CC - Home
ActionScript 1 and 2
1 Reply
Latest reply
on Feb 23, 2008 6:48 AM by kglad
dynamic movie clips
chopTheWood
Feb 22, 2008 7:24 PM
I have a parent mc, "clipGrid_mc" which has 44 child clips: mc1,mc2,mc3...mc44.
The following code will work with the dynamically created clips (which have an image loaded into each one):
clipGrid_mc.onPress = function():Void {
trace("It works");
}
But this won't:
clipGrid_mc.mc10.onPress = function():Void {
trace("It works");
}
How can I get a child of "clipGrid_mc" to respond?
This content has been marked as final.
Show 1 reply
1.
Re: dynamic movie clips
kglad
Feb 23, 2008 6:48 AM
(
in response to chopTheWood
)
remove the mouse handlers for clipGrid_mc if you want to define mouse handlers for a child movieclip.
Actions
More Like This
Retrieving data ...