thanks jim, figured it out once Chris Allen told me that the registration point does nothing for scaling on an attached movie, I modified its placement in the parent and scaled the parent, then it worked.
Thanks for the tip. Grant ----- Original Message ----- From: Jim Tann [EMAIL PROTECTED] To: Open Source Flash Mailing List osflash@osflash.org Sent: 2/1/06 7:16 AM Subject: Re: [osflash] loadmovie registration point and FUSE "bounce" tween. > I cant see where you are using the bounce animation in your movie but I > think your problem can be solved realy easily. When you load the image > into the icon movie it is loaded automatically at cords x:0 y:0 so it > will always scale from the top corner. If you want it to scale from the > middle you neeed to move it to x:-1/2 image.jpg width y: -1/2 image.jpg > height. This means that the scaling will happen from the center of the > image. > > Hope this helped. > > Jim > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of [EMAIL PROTECTED] > Sent: 01 February 2006 05:45 > To: osflash@osflash.org > Subject: [osflash] loadmovie registration point and FUSE "bounce" tween. > > > Hi osflashers, > > I have a project where I load an image into a movie called "icon" using > > loadMovie("image.jpg, icon); > > the icon is an empty movie clip in the library. > > When I scale the image its scaled from the top left, how can I set this > up so its scaled from the middle ? > > The effect I'm trying to get it this bounce : > > http://www.c-k.com/ck_site.html > > I'm using the fuse animations : > bounceUp = { scale:130, ease:'easeOutBounce', seconds:.5}; > bounceDown = { scale:100, ease:'easeOutBounce', seconds:.5}; > > and it looks like this : > > http://bluetubecom.web123.discountasp.net/clients/soapbox/indexBeta.html > (work in progress) > > click on the who are we link and on the "our staff" sub menu, then roll > over an image > > it does bounce, but its not smooth like the c-k.com site and I have that > issue where it scales from the top left instead of the middle. > > if anyone as ideas please let me know :) > > grant. > > > > _______________________________________________ > osflash mailing list > osflash@osflash.org > http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________ osflash mailing list osflash@osflash.org http://osflash.org/mailman/listinfo/osflash_osflash.org