A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: maxscroll returns correct in player 7, not in player 8+

  1. #1
    Angkor-What? Gekke_Hollander's Avatar
    Join Date
    Jun 2000
    Location
    Netherlands
    Posts
    234

    maxscroll returns correct in player 7, not in player 8+

    Hi,

    I was re-using some old actionscript in a new fla. For some reason my scrollbar script didn't work correctly. After some debugging I found out the the maxscroll value was being returned as 2. Strange when there is only two lines of text in a 400px high textfield.

    I published the same fla for flash player 7 in stead of 9 and the problem was gone??? Tried in 8 and there it was again. So something went wrong between Flash player 7 and 8, but what? Is this a known bug and are there any work arounds?

    Cheers
    MX 2004 Pro - Oops I did it again!!!
    SWF, it's a journey... not a destination

  2. #2
    Angkor-What? Gekke_Hollander's Avatar
    Join Date
    Jun 2000
    Location
    Netherlands
    Posts
    234
    Slight bump... no ideas anyone?
    MX 2004 Pro - Oops I did it again!!!
    SWF, it's a journey... not a destination

  3. #3
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Location
    gotoAndPlay("Pune");
    Posts
    831
    Is it possible for you to upload teh FLA so that we can test!
    As ever,
    Vinayak Kadam

  4. #4
    Angkor-What? Gekke_Hollander's Avatar
    Join Date
    Jun 2000
    Location
    Netherlands
    Posts
    234
    I currently fixed my problems my letting Flash sleep for a while with a setTimer function and then recheck... this fixes my current issues. This way I believe the problem has to do with the Flash player 9 being faster than 7 and therefor messing up.

    Can't upload a FLa right now as I'm not working from my working computer. When I made the deadline I will try and cook up a test FLA

    Cheers
    MX 2004 Pro - Oops I did it again!!!
    SWF, it's a journey... not a destination

  5. #5
    Angkor-What? Gekke_Hollander's Avatar
    Join Date
    Jun 2000
    Location
    Netherlands
    Posts
    234
    PS. I believe the problem have to do with autoSize which I first set to left, measure mc and then to none, and reset the height of the mc and scrollbar...
    MX 2004 Pro - Oops I did it again!!!
    SWF, it's a journey... not a destination

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