A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [F8] resize shape tween according to stage size?

  1. #1
    Member
    Join Date
    Jun 2006
    Location
    Leeds UK
    Posts
    84

    [F8] resize shape tween according to stage size?

    Hi

    I was wondering if there is a way to resize a simple shape tween according to the stage size. for example is it possible to resize a rectangle ( which grows to a biger rectangle using shape tween) to match stage width and height minus 100 (this should occur after shape tween is finished and when stage resizes). I don't know if this makes any sense but let me know anyway.

    Thanks

  2. #2
    Registered User nunomira's Avatar
    Join Date
    May 2002
    Location
    portugal
    Posts
    7,003
    hi,

    I've created a simple example that you can use. I hope you'll learn something from it.

    Notice that the registration point of the movie clip is its centre. This is not necessary, but you'll need extra math if it's not.
    Attached Files Attached Files

  3. #3
    Member
    Join Date
    Jun 2006
    Location
    Leeds UK
    Posts
    84
    Hi nunomira

    Thanks for your reply, I'll have a look, I am sure it'll help.

    FlashSmashed

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center