Welcome, Guest. Please login or register.
Did you miss your activation email?
05/22/12, 16:43
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  General
| |-+  General Conversation (Moderators: Flash-db, vesa kortelainen, Ronald Wernecke, Mohsin Sumar, Jorge Solis, Mattias Robo)
| | |-+  Upload and edit an image
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Upload and edit an image  (Read 1078 times)
smigol
Server what's that
*
Posts: 3


View Profile
« on: 02/15/10, 12:26 »

Hi there!
I just want to upload an image, then resize and rotate it.
The think is add an image as a skin in a ball. Allow the possibility to add an imagen in a circle, resize and rotate it and then add some text inside the circle or ball... WYSIWYG if possible...

How can I do it?
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #1 on: 02/19/10, 04:23 »

Begin in the first step: upload an image: http://www.flash-db.com/Tutorials/upload/

Jorge
Logged

smigol
Server what's that
*
Posts: 3


View Profile
« Reply #2 on: 02/19/10, 04:25 »

I know how to upload the image. I dont know how to rotate and resize it once uploaded.
Thanks!
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #3 on: 02/19/10, 04:43 »

Try this (once loaded)

myButton.onPress = function(){
   
imgContainer._rotaton +=10
}
myOtherButton.onPress = function(){
   
imgContainer._xscale +=5
   imgContainer
._yscale +=5
}

Where myButton and myOtherButton are the instance name of a couple of buttons on stage, imgContainer is the MovieClip where you load the uploaded image

Jorge
Logged

smigol
Server what's that
*
Posts: 3


View Profile
« Reply #4 on: 02/19/10, 11:33 »

I tried to do it but something was wrong... Can you do a little .fla for me please???
I will thank you!!!
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #5 on: 02/19/10, 12:46 »

I have a better idea: post the code you're using and we will go over it together

Jorge
Logged

Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
anything