homepage Welcome to WebmasterWorld Guest from 54.204.64.152
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
how to make a pic rotate in flash
ceasar




msg:1563253
 3:01 pm on Mar 18, 2004 (gmt 0)

i have flash mx 2004
here is my problem
i have a picture which is a jpeg
it doesnt move
it is a picture of a lock
i want to make the center part of it rotate like someone is turning it
does anyone know how i go about doing this
i also have.
dreamweaver mx
fireworks mx
freehand mx

 

benihana




msg:1563254
 3:32 pm on Mar 18, 2004 (gmt 0)

you need to use fireworks to seperate the bit you want to rotate from the background.

then inpost both pics into flash, turn the lock part that you want to rotate into a movie clip and use this (untested ) action script (where your lock moive clip has an instance name of lockmc):

lockmc.onEnterFrame=function(){
_root.lockmc._rotate++;
}

ceasar




msg:1563255
 4:13 pm on Mar 18, 2004 (gmt 0)

ok so basically
in the time line im making it rotate
different in each one the i make it loop
and i lock the other part of the pic right so just the one rotates.
thanks i think i got it

benihana




msg:1563256
 9:43 am on Mar 22, 2004 (gmt 0)

you could rotate along the timline, but if you use actionscript to do it, you will have more control if you want to speed it up, slow it down change direction etc etc

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved