SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
-
Oct 3, 2008, 06:47 #1
"parenting" movieclips to another
I'm new to flash but I know After Effects very well. In after effects you can "parent" layers to another so that when you animate the position, rotation, etc. of an object the other children move as though they were all one layer.
I'm trying to do this in flash with AS 2. I have a map mc that I am animating via actionscript, and I also have several star symbols that are being generated in the script. What I'm looking for is a way to "stick" the stars on the map mc so that when I move the map mc (via the Tween class) the stars follow.
I've done a ton of searching, just apparently not using the correct terms....
-
Oct 3, 2008, 07:58 #2
in flash you just put everything into one big movie clip and animate that.
-
Oct 3, 2008, 11:26 #3
-
Oct 4, 2008, 00:52 #4
- Join Date
- Oct 2007
- Location
- Glasgow, Scotland, UK
- Posts
- 853
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
in flash we have _parent, _root, this.
I think it's one of these your looking for.:To me AS is like LEGO, Only for the big Kids :.
- Site - Blog - Glasgow Flasher
bringmadeleinehome.com
-
Oct 5, 2008, 13:32 #5
- Join Date
- Mar 2008
- Location
- NP, New Zealand
- Posts
- 576
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If you're loading the stars in through Actionscript, try loading them onto your map mc instead of the _root and see if that works.
Bookmarks