Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by learner_7n

  1. Hi, Is there a way to create a 360 degree view (Panaromic view) using actionscripts 03? Please advise. Thanks.
  2. Hi, I have some 20 images (Image-01, Image-02, ..............Image-20) on my stage laying each on ohte. I want to make each image to zero transperency with say 3 seconds. How cant I do that? Please help.
  3. Hi, How can I set my fillColor_mc height equal to heightValue.text? Please help. TweenLite.to(fillColor_mc, 1, {height:????}); Thanks.
  4. Hi, I am getting the following error: 1048: Method cannot be used as a constructor. The following is the code: var timeline1:TimelineMax = new TimelineMax(); timeline1.append(new TweenMax.fromTo(HLineTop1, 2, {x:10, y:10, alpha:.5}, {x:10, y:10, alpha:1, delay:1, ease:Strong.easeOut})); Thanks.
  5. Hi, I am resizing my .swf file according to browser size using AS3. It is working fine. But problem occurs only when an object goes x=-300 (x, or y but in negative numbers) on stage. Means when the object goes up the stage or down the stage, everything on stage shrinks and looks very bad. How to overcome this problem? Actually I am having problem only when my flash movie clips move out of flash stage area. Say, my swf movie width & heights are 600x400 and my flash movie clip (MC-1) animation area is set to animate from x:-100 to y:650 or x:100 to y:-450. Any help, please. I tried several forums to overcome thim problem but in vain. Regards. Example.zip
  6. Hi, How to load external SWF files in a specific movie clip based on a button clicked. Say, I have 4 SWF files like ... 1) Main.swf 2) Services.swf 3) AboutUs.swr 4) ContactUs.swf And I have the buttons with same name like (Main, Services, AboutUs & ContactUs) and when I cllick on Services button the Services.swf to be loaded.... so on... Actually I have several external SWF files to load in this way. The following code is okay but I need to write code for each button seperately. How can I modify the code to resolve my problem? var mySwf1:SWFLoader = new SWFLoader("Main.swf", {width:600, height:400, container:SWFContainer_mc, onComplete:completeHandler1}); mySwf1.load(); function completeHandler1(event:LoaderEvent):void { TweenLite.to(event.target.content, 0,{alpha:0}); TweenMax.fromTo(event.target.content, 3, {x:0, y:0, width:600, height:400, alpha:.5}, {x:0, y:0, width:600, height:400, alpha:1, delay:1}); } Thanks in advance for any help. Regards.
  7. Hi, I have the following code which is working fine: var mySwf1:SWFLoader = new SWFLoader("HandBook.swf", {width:600, height:400, container:this, onComplete:completeHandler1}); mySwf1.load(); function completeHandler1(event:LoaderEvent):void { TweenLite.to(event.target.content, 0,{alpha:0}); TweenMax.fromTo(event.target.content, 3, {x:0, y:0, width:600, height:400, alpha:.5}, {x:0, y:0, width:600, height:400, alpha:1, delay:1}); } The question is, how can I modify the below line of code to load this "HandBook.swf" external file into specific movie clip? Say, I have mc1, mc2, mc3 movie clips and I want to load this "HandBook.swf into mc2 movie clip. Thanks in advance for any help.
  8. Hi, Is the following website created in Flash? If yes, which tools are required to give a 3D effect? Please reply. http://forcoloredgirlsgallery.com/ Thanks.
  9. Hi, How can I add delay time to the following code? TweenMax.to(PLogo, 2, {glowFilter:{color:0xffff00, alpha:1, blurX:30, blurY:30, strength:2, quality:3}}); Thanks.
  10. Hi, How to modify the following code to move horizontally? The following is the code for moving verically: TweenMax.fromTo(SideHeader1, 12, {y:600}, {y:-50, repeat:-1, ease:Linear.easeNone}); Thanks.
  11. Hi, Thanks a lot to both of you for the help. My problem is resolved now. Regards.
  12. Thanks a lot for your continuous support. I tried the code. Though there is no error but no any animation as well. Regards.
  13. Hi, Thanks for your kind replies. I could not open those attached files. It shows the error: Unexpected file format. I am using Flash CS4. However, thanks a lot for your kind replies and the example attachment files. Regards.
  14. Thanks for the reply. Actually what I need is, when I click on SWF file the MovieClip_mc start moving from 600 bottom to top -100 and when it reaches to -100 the same clip come backs to 600 bottom and moves to top -100 so on. Sorry for not clear description. Regards.
  15. Sorry, I forgot to call it. Now it is okay. But when it goes up to y:-100. then it should start again from y:600 and it should repeat the endlessly whenever it reaches to y:-100. How it can be? Regards.
  16. I tried the following code but it didn't work. No error but the Clip stays exactly where it was on the stage before publishing.\ import com.greensock.*; import com.greensock.easing.*; function up():void { TweenMax.to(Clip_mc, 1, {y:Clip_mc.y + 10, ease:Linear.easeNone, onComplete:up}); } Further help, please.
  17. Hi, How can I move my movie clip continuosly towards up? The following code works for To & Fro animation, but not always up direction once it is complete the timeline length. var SideHeader:TweenMax = new TweenMax(SideHeader_mc, 5, {y:195, repeat:-1, yoyo:true}); Thanks.
  18. Hi, I tried it. But still the animation won't stop. If I wait for all the animations stop and then clicking on second time, it's okay. Regards.
  19. Hi, I tried it. But getting the following error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at Waterfall_fla::MainTimeline/init() at Waterfall_fla::MainTimeline/frame1() The code: //set up the holder var swfHolder:MovieClip = this.mySWF_mc; //create a LoaderMax named "mainQueue" var queue:LoaderMax = new LoaderMax({name:"mainQueue"}); //load the SWF into its holder queue.append(new SWFLoader("WaterFall.swf", {name:"WaterFall.swf",container:swfHolder})); queue.load();
  20. Hi, I have the following code on Home Page which contains some tween animations. When I move to About page and immediately come back to Home page again (before all the animations on Home Page done animation), I see some animations are still in the middle of completion. Actually I should see the animation from starting when I go to Home page from any section. var timeline3:TimelineMax = new TimelineMax(); timeline3.append(TweenMax.fromTo(Home_mc, 1, {x:1000, y:0, alpha:.8}, {x:0, y:0, alpha:1, delay:.5, ease:Elastic.easeOut})); timeline3.append(TweenMax.fromTo(Home_mc.Character_mc, .5, {x:435, y:-600, alpha:.8}, {x:435, y:200, alpha:1, delay:0, ease:Regular.easeOut})); timeline3.append(TweenMax.fromTo(Home_mc.Birds_mc, .5, {x:660, y:600, alpha:.8}, {x:660, y:200, alpha:1, delay:0, ease:Regular.easeOut})); How to solve this problem? Please help.
  21. Thanks. There is no error. But I can't see the "WaterFall.swf" movie on my stage when I test it. I have mySWF_mc empty movieclip on my stage and WaterFall.swf file in the same folder where my FLV file exists. Regards.