|
Hey Bjorn, If you need a frame based animation (not a
code controlled one) and you can’t just put a dispatchEvent on the last
frame, the only way I think you’ll be able to manage it is to attach a
method onEnterFrame which checks the _currentframe == _totalframes or something
similar. I don’t think you’ll be able to find another way round it
I’m afraid. =( Mike From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss So far I have come up
with 2 methods to achieving this
are there any other
alternatives? From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Hi guys, I have a class LocationDisplay, in it I attach a
library movieclip that contains a mask animation to the stage using
attachMovie() I want to update the textFields in that movieClip when
a menu item is pressed, though first I want to play the hide animation in the
movieClip. What I need is some way I can notify the class when
the animation has reached a certain frame so that I can update its textField. So far I've got something like this, //implement menuModelListener Interface public function
onHandleMenuEvent(e:MenuModelEvent):Void {
locBar_mc.gotoAndPlay("Hide");
//locBar_mc.tier1_txt.text = catMenuData[e.getMenuID].LABEL; } The hide animation is about 20 frames long so I need a
way to notify the class that the animation has finished so that I can
update its textField. Thanks Bjorn Schultheiss --- --- You are currently subscribed to fugli as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ |
- [fugli] RE: dispatch event from library movieclip frame Bjorn Schultheiss
- Mike Pearce
