A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [Resolved] what does this mean???

  1. #1
    Can't Re-Member madzigian's Avatar
    Join Date
    Apr 2004
    Location
    Boston MA
    Posts
    2,662

    what does this mean???

    **Error** Symbol=Ymenu, layer=actions, frame=1:Line 115: Type mismatch.
    grow_mc.bg_mc._width += parseInt((maxWidth-grow_mc.bg_mc._width)/easingSpeed);

    Total ActionScript Errors: 1 Reported Errors: 1

  2. #2
    Senior Member chi-styler's Avatar
    Join Date
    Jul 2001
    Location
    Bristol, UK
    Posts
    1,237
    It's because parseInt takes a String and you're giving it a number.

    If you're trying to round to the nearest integer use Math.round() instead.

  3. #3
    Can't Re-Member madzigian's Avatar
    Join Date
    Apr 2004
    Location
    Boston MA
    Posts
    2,662
    thanks.

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