Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-24-2005, 07:46 AM   #1
billingsgate
Cartoons & Animation
 
billingsgate's Avatar
 
Join Date: Jun 2005
Location: while (_root = USA) {_global.china.hongKong = myHome;}
Posts: 291
Default masking Action Script??

Did this happen in Flash 7? I don't think so!

I'm controlling a movie clip from the timeline with simple Action Script. I use a mask to gradually reveal the clip with an iris-out (expanding circle mask). While the mask is tweening I hold the movie clip still at frame 6:

guyinbed_mc.gotoAndStop(6);

Once the full frame is revealed, I delete the mask shape. hey, I don't need it anymore! But at the frame where the mask shape is deleted, the movie clip starts playing. That is, the 'stop' action stops working!

I also notice another thing: While the mask is there, if it is not actually touching the movie clip (i.e. guyinbed_mc is on the right, while the mask starts on the left), then the Action Script also doesn't work. That is: the above 'stop' action is ignored, unless I put it on the actual frame where the mask shape first touches the guyingbed_mc movie clip.

How frigging annoying is that! I don't remember this happening in earlier versions.

Questions for y'all:

1) Is this an unnecessary new feature of Flash 8? or was it there in Flash 7 and I just didn't know it?

2) Is there a simpler way around this than to put in a lot of redundant Action Script on each and every frame?
billingsgate is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:57 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.