You must be logged in to post Login Register
Search 

Dynamic XML Pages with ActionScript 3 Problems

User Post

1:30 pm
February 28, 2010


atomlight

New Member

posts 2

1

Post edited 9:47 pm – February 28, 2010 by atomlight


Hi. Just tried the XML Pages with ActionScript 3 tutorial, but with no success. I copied and pasted your xml and as3 code and my file directory is set up correctly. Problem may be I'm using the most recent version of tweenlite (Version: 11.133, Updated 1/18/2010) and it seems to have a different naming convention and/or directory. I'm confused about your “import gs” and assume this is referencing greensock, but the lates version of tweenlite does not use that naming convention. I'm also getting general as3 errors. Can you help me out? Thanks.

Here are my flash compile erros:

**Error** Scene 1, Layer 'actions', Frame 1, Line 3: 1172: Definition gs could not be found.
     import gs.*;

**Error** Scene 1, Layer 'actions', Frame 1, Line 4: 1172: Definition gs.easing could not be found.
     import gs.easing.*;

**Error** Scene 1, Layer 'actions', Frame 1, Line 3: 1172: Definition gs could not be found.
     import gs.*;

**Error** Scene 1, Layer 'actions', Frame 1, Line 4: 1172: Definition gs.easing could not be found.
     import gs.easing.*;

**Error** Scene 1, Layer 'actions', Frame 1, Line 88: 1176: Comparison between a value with static type flash.display:MovieClip and a possibly unrelated type flash.display:SimpleButton.
     if (clickedButton == button1) {

**Error** Scene 1, Layer 'actions', Frame 1, Line 91: 1176: Comparison between a value with static type flash.display:MovieClip and a possibly unrelated type flash.display:SimpleButton.
     } else if (clickedButton == button2) {

**Error** Scene 1, Layer 'actions', Frame 1, Line 141: 1120: Access of undefined property TweenLite.
     TweenLite.from(holder, 1, {alpha:0, y: -50, ease:Elastic.easeOut, onComplete: tweenComplete} );

**Error** Scene 1, Layer 'actions', Frame 1, Line 141: 1120: Access of undefined property Elastic.
     TweenLite.from(holder, 1, {alpha:0, y: -50, ease:Elastic.easeOut, onComplete: tweenComplete} );

**Error** Scene 1, Layer 'actions', Frame 1, Line 21: 1119: Access of possibly undefined property mouseChildren through a reference with static type flash.display:SimpleButton.
     button1.mouseChildren = false;

**Error** Scene 1, Layer 'actions', Frame 1, Line 22: 1119: Access of possibly undefined property mouseChildren through a reference with static type flash.display:SimpleButton.
     button2.mouseChildren = false;

**Error** Scene 1, Layer 'actions', Frame 1, Line 23: 1119: Access of possibly undefined property mouseChildren through a reference with static type flash.display:SimpleButton.
     button3.mouseChildren = false;

**Error** Scene 1, Layer 'actions', Frame 1, Line 26: 1119: Access of possibly undefined property buttonMode through a reference with static type flash.display:SimpleButton.
     button1.buttonMode = true;

**Error** Scene 1, Layer 'actions', Frame 1, Line 27: 1119: Access of possibly undefined property buttonMode through a reference with static type flash.display:SimpleButton.
     button2.buttonMode = true;

**Error** Scene 1, Layer 'actions', Frame 1, Line 28: 1119: Access of possibly undefined property buttonMode through a reference with static type flash.display:SimpleButton.
     button3.buttonMode = true;

Total ActionScript Errors: 14,  Reported Errors: 14

Topic RSS 
Search