Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by learner_7n

  1. Hi, I checked the folder: Example_Flash folder contains the following folders/files: Demo.fla (File) com (Folder) swfs (Folder) I am getting the following error message: 1046: Type was not found or was not a compile-time constant: LoaderEvent. (And it highlights the following line) function completeHandler(event:LoaderEvent):void { And it shows nothing on page. Thanks.
  2. Thanks for the reply. I would like to know one thing that whether all the greensock AS3 download zip files (AS3 zip file for TweenLite, AS3 zip file for TweenMax, AS3 zip file for TweenlineLite, AS3 zip file for TweenlineMax, AS3 zip file for LoaderMax) contain the same files. If yes, then why there are several different download links at each corresponding pages? If not how can I use all the "com" files in single folder which contains my project FLA file. If I do so it replace the existing "com" file with other. Please help me to understand it correctly. Thanks.
  3. Thanks you very much for the useful & wonderful resource link.
  4. Hi, How can I use the greensock plug-ins in a FLV file folder? Because I need to copy only "com" folder in that FLV file folder and each plug-in say, tweenMax, tweenLite, loaderMax contain the same name folder called "com". Suppose if I want to put two "com" folders like tweenMax & loaderMax then one folder will be over written. How to solve the problem if I want to use all plug-ins for one Flash CS4 AS3 Project? Please help.
  5. Hi, I am new to greensock. Could somebody help me to find best tutorials for the greensock. Thanks.
  6. Hi, I am using the following code to load 3 external SWF files one after one. I have used the code replied by greensock. As I am new to greensock plug-ins, I have just copied the exact code as below on empty Flash CS4 AS 3 document's first frame. There is nothing on the page. The code is: var urls:Array = ["swfs/Logo.swf","swfs/Clock.swf","swfs/AnimatedBanner.swf"]; var curLoader:SWFLoader; var curSWF:MovieClip; playSWF(urls[0]); function playSWF(url:String):void { if (curLoader != null) { curSWF = null; curLoader.dispose(true); removeEventListener(Event.ENTER_FRAME, checkFrame); } curLoader = new SWFLoader(url, {container:this, onComplete:completeHandler}); curLoader.load(); } function completeHandler(event:LoaderEvent):void { curSWF = curLoader.rawContent; addEventListener(Event.ENTER_FRAME, checkFrame, false, 0, true); } function checkFrame(event:Event):void { if (curSWF.currentFrame == curSWF.totalFrames) { var index:int = urls.indexOf(curLoader.url) + 1; if (index < urls.length) { playSWF(urls[index]); } else { trace("done with all swfs"); } } }