Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Flash - ActionScript

Cannot get exact height of radio or checkbox

 
Jump to:  
 
adrianTNT
PostPosted: Mon Jun 30, 2008 11:04 am    Post subject: Cannot get exact height of radio or checkbox
       
Hello, I am trying to find the correct height of MX 2004 radio buttons in order
to align them vertically.

By default (without changing font size) it returns 5 for the
"instance_name.height" and 22 for "instance_name._height". Both are not
the real height in pixels which should be 12-13 by default.

Is there another code to accurately return the height (in pixels) of the radio
button?
Thank you.
- Adrian.
 

 
kglad
PostPosted: Mon Jun 30, 2008 1:57 pm    Post subject: Re: Cannot get exact height of radio or checkbox
       
you must delay accessing the size of some components. 1 ms after instantiation is sufficient, i believe
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

Teksty piosenek Biuro Nieruchomości Kraków muzyka Wyclef Jean music mieszkania szczecin