This content has been marked as final. Show 6 replies
Have you thought about using the _xscale or _yscale? If you create a rectangle movieclip the size of the thermometer when it is at 100, the _xscale or _yscale can be used effectively with the tween class.
assuming your thermometer is vertical
You do have to include #include "lmc_tween.as"
MovieClip & TextField Tweening Prototypes and
hope this helps.
the code below the dotted line will allow you to play any movieclip from frame m to n at fps frames per second:
Thanks for your help both of you.
kglad - would you mind identifying the objects for me please?
you don't need to do anything to the code below the dotted line. just copy and paste it on the first frame of your fla.
then to use: if the instance name of your needle movieclip is needleMC:
Cheers kglad that's just what I wanted.
Is there a way of identifying the name of the current fla/swf file? Not the names of an swf symbols in a project but the actual running project name as in "save as"
_url property of any movieclip will return the swf's path/file name.