dcsimg
A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: [cs3 AS2.0] scale loadMovie image?

  1. #1
    Junior Member
    Join Date
    Aug 2007
    Posts
    15

    [cs3 AS2.0] scale loadMovie image?

    i was wondering if theres any way to scale a loadIn movie using script... or would i have to edit the actual image i am loading in?

    this is the code that dynamically loads the image:

    PHP Code:
    loadMovie("joe.jpg"_parent._parent.about_section.targetArea); 
    i want to scale down "joe.jpg" using script...
    Last edited by JoeBCC; 08-15-2007 at 08:04 PM.

  2. #2
    Member
    Join Date
    Jul 2007
    Posts
    77
    PHP Code:
    var newScale:Number  0.5
    var targetClip:MovieClip _parent._parent.about_section.targetArea
    loadMovie
    ("joe.jpg",targetClip); 
    targetClip._xscale targetClip._yscale newScale 
    www.ugonna-nwosu.com
    If at first you don't succeed... Try not to look suprised.

  3. #3
    Junior Member
    Join Date
    Aug 2007
    Posts
    15
    didnt work...thanks tho

  4. #4
    Member
    Join Date
    Jul 2007
    Posts
    77
    I don't think it works if "targetArea" is an empty move clip. try adding a small graphic to it with alpha set to 0
    www.ugonna-nwosu.com
    If at first you don't succeed... Try not to look suprised.

  5. #5
    Junior Member
    Join Date
    Aug 2007
    Posts
    15
    it was already that way...

  6. #6
    Junior Member
    Join Date
    Aug 2007
    Posts
    15
    any help anyone?

  7. #7
    Junior Member
    Join Date
    Aug 2007
    Posts
    15
    so...should i take that as no, i cant scale a loadMovie image?

  8. #8
    Junior Member
    Join Date
    Aug 2007
    Posts
    15
    thanks for the help guys

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