Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 15th, 2004, 03:43 PM
alt4ir alt4ir is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: San Jose, CA
Posts: 65 alt4ir User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 33 m 55 sec
Reputation Power: 5
Send a message via AIM to alt4ir
Question Assigning a variable from getProperty to a text field

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.

Reply With Quote
  #2  
Old February 15th, 2004, 05:20 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,715 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 11109 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 1 Day 11 h 50 m 46 sec
Reputation Power: 580
Facebook MySpace
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.
__________________
-Tann

-Vote for your favorite ActionScript editor here.

Reply With Quote
  #3  
Old February 15th, 2004, 06:08 PM
alt4ir alt4ir is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: San Jose, CA
Posts: 65 alt4ir User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 33 m 55 sec
Reputation Power: 5
Send a message via AIM to alt4ir
I'm having a real hard time finding where you made those changes. Where do you assign the textfields variable names?

Reply With Quote
  #4  
Old February 15th, 2004, 06:25 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,715 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 11109 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 1 Day 11 h 50 m 46 sec
Reputation Power: 580
Facebook MySpace
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.

Reply With Quote
  #5  
Old February 15th, 2004, 06:47 PM
alt4ir alt4ir is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: San Jose, CA
Posts: 65 alt4ir User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 33 m 55 sec
Reputation Power: 5
Send a message via AIM to alt4ir
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!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Assigning a variable from getProperty to a text field


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT