A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: noscale problem

  1. #1
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632

    noscale problem

    When I access the stage.width property, it tells me the width of the movie.

    If I understand correctly when I set
    stage.scalemode="noscale"
    and then access the stage property it should return the width of the flash player. Instead it returns 0.

    Is this a bug or do I do something wrong ?

  2. #2
    Senior Member
    Join Date
    Sep 2001
    Location
    Australia
    Posts
    379
    Probably not implemented yet - I have sent a sample swf to Bob.

    You might want to try this:
    Stage.noScale = true;

    Not sure if that will work....

    Hilary

    --
    Last edited by bridelh; 12-29-2002 at 07:13 AM.

  3. #3
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    I found out it was a timing problem.
    I had to add a listener to the stage to solve the problem.

  4. #4
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    Nevertheless, I will look at the swf Hilary sent me and see if it is different from a KM produced one.

  5. #5
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    I found the problem. Stage is Flash 6 but KM did not recognize it as such. When you added addListener it did recognize the script as requiring flash 6. When something doesn't work that is Flash 6, the first thing to do is look at the Flash version the file is exported as in SWF Statistics. Report mis-classifications to me.

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