Jump to content
Search Community

d3nd0g69

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by d3nd0g69

  1. I am getting all of these compile errors when I publish this code in Flash CS6, AS2, Flash Player 6. It works fine if i set the publish settings to Flash Player 9. Is tweenlite compatible with Flash Player 6? What can I do to make this work? I am trying to tween number variables.

     

    Heres the code:
     

    import com.greensock.*;
    import com.greensock.easing.*;
     
    addTen_mc.buttonMode = true;
    addTen_mc.useHandCursor = true;
     
     
    var score:Number = 5000;
    var targetScore:Number = 0;
    score_mc.score_txt.text = int(score);
    function showScore(){
    trace(score);
    score_mc.score_txt.text = int(score);
    }
     
    addTen_mc.onRelease = function(){
     
    targetScore+=10000;
     
    TweenMax.fromTo(score_mc, 1.2, 
    {alpha:0, scaleX:0, scaleY:0},
    {alpha:1, scaleX:2.1, scaleY:2.1, ease:Back.easeOut}
    );
    TweenLite.to(_root, 1, {score:targetScore, onUpdate:showScore, ease:Linear.easeNone});}
     
     
    In flash Player 6 getting these errors:
     
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\core\SimpleTimeline.as, Line 32 Unexpected 'add' encountered
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\core\SimpleTimeline.as, Line 35 Function name expected
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\core\Animation.as, Line 78 Expected a field name after '.' operator.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\core\Animation.as, Line 145 Expected a field name after '.' operator.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\core\Animation.as, Line 379 Expected a field name after '.' operator.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\plugins\FilterPlugin.as, Line 23 The class or interface 'flash.filters.BitmapFilter' could not be loaded.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\plugins\FilterPlugin.as, Line 32 The class or interface 'flash.filters.BitmapFilter' could not be loaded.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\plugins\FilterPlugin.as, Line 37 The class or interface 'flash.filters.BitmapFilter' could not be loaded.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\plugins\FilterPlugin.as, Line 53 The class or interface 'flash.filters.BlurFilter' could not be loaded.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\plugins\BevelFilterPlugin.as, Line 26 The class or interface 'flash.filters.BevelFilter' could not be loaded.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\plugins\BezierPlugin.as, Line 513 Identifier expected
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\plugins\BezierPlugin.as, Line 517 Unexpected 'add' encountered
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\plugins\BezierPlugin.as, Line 532 Operator '+' must be followed by an operand
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\plugins\BezierPlugin.as, Line 534 ':' expected
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\plugins\BezierPlugin.as, Line 542 Unexpected '}' encountered
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\plugins\BlurFilterPlugin.as, Line 26 The class or interface 'flash.filters.BlurFilter' could not be loaded.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\plugins\ColorMatrixFilterPlugin.as, Line 34 The class or interface 'flash.filters.ColorMatrixFilter' could not be loaded.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\plugins\ColorMatrixFilterPlugin.as, Line 35 The class or interface 'flash.filters.ColorMatrixFilter' could not be loaded.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\plugins\ColorMatrixFilterPlugin.as, Line 61 The class or interface 'flash.filters.ColorMatrixFilter' could not be loaded.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\plugins\DropShadowFilterPlugin.as, Line 26 The class or interface 'flash.filters.DropShadowFilter' could not be loaded.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\plugins\GlowFilterPlugin.as, Line 26 The class or interface 'flash.filters.GlowFilter' could not be loaded.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 27 There is no class or package with the name 'com.greensock.core' found in package 'com.greensock'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 49 There is no method with the name 'super'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 55 There is no method with the name '_addTickListener'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 62 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 84 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 85 There is no property with the name '_delay'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 96 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 98 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 102 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 103 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 104 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 106 There is no property with the name '_time'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 108 There is no property with the name '_duration'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 112 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 119 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 121 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 129 There is no property with the name '_time'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 135 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 136 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 137 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 138 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 163 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 171 There is no property with the name '_onUpdate'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 172 There is no property with the name '_initted'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 180 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 181 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 184 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 187 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 230 There is no property with the name '_time'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 231 There is no property with the name '_duration'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 232 There is no property with the name '_totalTime'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 234 There is no property with the name '_reversed'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 238 There is no property with the name '_duration'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 239 There is no property with the name '_rawPrevTime'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 240 There is no property with the name '_startTime'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 243 There is no property with the name '_tinyNum'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 245 There is no property with the name '_tinyNum'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 249 There is no property with the name '_rawPrevTime'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 253 There is no property with the name '_totalTime'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 255 There is no property with the name '_duration'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 257 There is no property with the name '_reversed'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 260 There is no property with the name '_active'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 261 There is no property with the name '_duration'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 262 There is no property with the name '_rawPrevTime'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 265 There is no property with the name '_rawPrevTime'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 267 There is no property with the name '_initted'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 272 There is no property with the name '_totalTime'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 275 There is no property with the name '_duration'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 296 There is no property with the name '_duration'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 303 There is no property with the name '_duration'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 308 There is no property with the name '_time'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 310 There is no property with the name '_initted'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 312 There is no property with the name '_initted'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 316 There is no property with the name '_time'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 317 There is no property with the name '_time'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 319 There is no property with the name '_time'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 323 There is no property with the name '_active'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 324 There is no property with the name '_active'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 334 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 335 There is no method with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 349 There is no property with the name '_onUpdate'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 350 There is no property with the name '_startTime'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 353 There is no property with the name '_time'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 354 There is no method with the name '_onUpdate'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 358 There is no property with the name '_gc'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 359 There is no property with the name '_onUpdate'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 363 There is no property with the name '_timeline'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 366 There is no property with the name '_active'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 368 There is no property with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 369 There is no method with the name 'vars'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 371 There is no property with the name '_duration'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 372 There is no property with the name '_rawPrevTime'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 437 There is no property with the name '_initted'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 451 There is no property with the name '_onUpdate'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 453 There is no property with the name '_initted'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 459 There is no property with the name '_gc'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 469 There is no method with the name 'super'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 502 There is no property with the name '_rootFrame'.
    C:\Users\sdennis\Desktop\GreenSock-AS2-master2\src\com\greensock\TweenLite.as, Line 605 There is no property with the name '_gc'.
     
×
×
  • Create New...