-
Changing two clips' attributes at once
What I have is a program that places jpgs ontop of movieclip art, so that it looks like I have framed pictures. How would I set it up so that if I change, for example, the height attribute, I change the jpg and the movieclip's at the same time, so that their heights have the same ratio between them?
I tried creating an empty movie clip and attaching the jpg through loadMovie and then the movieclip through attachMovie, and then changing the container clip's attributes, but that doesn't seem to work.
Thanks.
-
Senior Member
code: _root.picture._height=_root.frame._height
-
uhhh...not quite
If I have two clips, picframe and pic, and picframe "holds" pic...I'd like to be able to enlarge picframe in such a way that in enlarges pic too...but picframe is about 20px wider and longer than pic, and is also offset at a different x and y.
-
Senior Member
do u want this done with a button?
send me ur .fla and ill have a look
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|