Welcome, Guest. Please login or register.
Did you miss your activation email?
05/22/12, 17:39
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
| |-+  Flash 8 (Moderators: Jorge Solis, ..:: Mazhar Hasan ::.., Andresss)
| | |-+  Drag dynamic textbox?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Drag dynamic textbox?  (Read 1178 times)
Bola033
Server what's that
*
Posts: 5


View Profile
« on: 05/17/10, 06:28 »

Hi,
If you look at my swf file on http://gbgknappen.se/utkasst_2.swf and click on "text" you will come to a place where you can type in a text and it will show up in the round ring. I would like to do so that the user can drag the text inside the ring. This is a dynamic textbox so i can't use actionscript on it, so how  do I do this?
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #1 on: 05/17/10, 21:47 »

Put the texbox inside a MovieClip and make the MovieClip draggable

Jorge
Logged

Bola033
Server what's that
*
Posts: 5


View Profile
« Reply #2 on: 05/18/10, 02:10 »

ok. but when I do that the text that I have typed into the input box will not show up in the dynamic textbox which is in the MovieClip, so how to solve this?
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #3 on: 05/18/10, 02:40 »

post the code you are using.
but please only the section, where you add the movieclip and where you add the textfield and content.
Logged

happy flashing
Cool
Ronald
Bola033
Server what's that
*
Posts: 5


View Profile
« Reply #4 on: 05/18/10, 02:55 »

I don't create the movie clip and the dynamic textbox with a code. I just create it with the tools in Adobe CS5 mabye that's the problem? How do you create that with a code? or did I missunderstand you?
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #5 on: 05/18/10, 09:15 »

You can use an input textfield or dynamic textfield inside a MovieClip builded both manually, publish and you can enter text on it. You can embed the text just to be sure

Jorge
Logged

Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #6 on: 05/19/10, 11:08 »

you wrote, its dynamicly created - so i assumed, you create it by code.

Anyway - ther is not much of a difference.

You have a instance, where you can assign drag capabilities to.
After you want to be able to enter text into the box, you sorround the textbox by a movieclip, so it fetches the mouse pressed for the drag start.
Logged

happy flashing
Cool
Ronald
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!