|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Ok, here's the summary. I have a ball moving around the screen, and within the ball movie clip there are two textfields. One is "xfield" and the other "yfield". I'm trying to get them to display the current x and y coordinates of the ball on the screen, however, I'm having trouble getting anything to display in the text fields. I'm fairly certain the pathing is correct in all cases, but I'm not sure about getting the textfields to keep changing. Right now I have them on a two frame loop, but without content, none of that matters.
You can find the SWF here and the FLA here. I've still got a bunch more to do to it (make it bounce of the walls, loop incrementally, change properties incrementally, etc), so I'd like to get this resolved ASAP. |
|
#2
|
|||
|
|||
|
Hi, minor changes..nothing major. I changed the xfield and yfield to be the textbox variables instead of their instance names. The _y axis text field had to have the font embedded to get it to display. Doesnt really matter if it's just for testing but you might want to turn the box around if it is staying in the final version so you can unembed the font.
edit -> removed BounceCoords.zip as my attachment limit has been reached. Ask for it to be posted again. |
|
#3
|
|||
|
|||
|
I'm having a real hard time finding where you made those changes. Where do you assign the textfields variable names?
|
|
#4
|
|||
|
|||
|
Hi, it's on the text field properties panel. The same one where you set the font etc. It's to the lower right corner of it. If you cant see the panel at all open it via the window menu.
|
|
#5
|
|||
|
|||
|
AH HA. expanding the area helps a bit better, since it was only showing me about half of it. Gee... I wonder what else I've been missing.
I'll be back when I'm having troubles with getting it to bounce off the walls. Thanks! |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Assigning a variable from getProperty to a text field |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|