A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: object width = 0 no matter what I do

  1. #1
    Member
    Join Date
    Jul 2009
    Location
    Florianópolis
    Posts
    81

    object width = 0 no matter what I do

    Code:
    	trace ("spc1.scaleX: " + spc1.scaleX);  // = 1
    	trace ("spc1.width: " + spc1.width);  = 0
            spc1.scaleX = 1;
    	spc1.width = stage.stageWidth - 20;
    	trace ("stage.stageWidth: " + stage.stageWidth); // = 1000
    	trace ("spc1.scaleX: " + spc1.scaleX); // = 0   why?
    	trace ("spc1.width: " + spc1.width); // 0  why?
    Could someone please explain me that ????
    Thanks in advance!

  2. #2
    Member
    Join Date
    Jul 2009
    Location
    Florianópolis
    Posts
    81
    ok it was an emty movieclip. sorry. can i delete a post ?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center