User Profile

Collapse

Profile Sidebar

Collapse
toddford
toddford
Last Activity: Jun 22 '07, 06:44 PM
Joined: May 21 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Have a look at your code. It would work fine if you had a dynamic text field on the stage named txt4.

    Another way to reference the text field would be to use the array access operator ([]).

    Code:
    this[str2].text = "hello";
    See more | Go to post

    Leave a comment:


  • toddford
    replied to Know the dimension of a picture
    Recently I was trying to get the height and width of an image loaded into Flash but kept getting zero for height and width. Turns out I was getting the dimensions before the picture was completely loaded .

    Instead, I used the movieClipLoader object to load the picture. Then I could use a listener object to detect the onLoadInit event of the movieClipLoader object so that I could get the dimensions after the picture was completely loaded....
    See more | Go to post
    Last edited by toddford; May 21 '07, 09:41 PM. Reason: Just read the guidelines regarding not posting entire solutions

    Leave a comment:

No activity results to display
Show More
Working...