
learner_7n
Members-
Posts
131 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
ScrollTrigger Demos
Downloads
Everything posted by learner_7n
-
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
-
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.
-
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.
- 1 reply
-
- 1
-
-
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.
-
How to add delay time to this glowfilter code?
learner_7n replied to learner_7n's topic in GSAP (Flash)
Thank you very much for your kind reply. -
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.
-
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.
-
How to move a movie clip continuosly towards up?
learner_7n replied to learner_7n's topic in GSAP (Flash)
Hi, Thanks a lot to both of you for the help. My problem is resolved now. Regards. -
How to move a movie clip continuosly towards up?
learner_7n replied to learner_7n's topic in GSAP (Flash)
Thanks a lot for your continuous support. I tried the code. Though there is no error but no any animation as well. Regards. -
How to move a movie clip continuosly towards up?
learner_7n replied to learner_7n's topic in GSAP (Flash)
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. -
How to move a movie clip continuosly towards up?
learner_7n replied to learner_7n's topic in GSAP (Flash)
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. -
How to move a movie clip continuosly towards up?
learner_7n replied to learner_7n's topic in GSAP (Flash)
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. -
How to move a movie clip continuosly towards up?
learner_7n replied to learner_7n's topic in GSAP (Flash)
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. -
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.
-
How to stop the process while moving to another section"
learner_7n replied to learner_7n's topic in GSAP (Flash)
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. -
It is always on Top. How to bring it to desired level?
learner_7n replied to learner_7n's topic in Loading (Flash)
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(); -
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.
-
It is always on Top. How to bring it to desired level?
learner_7n replied to learner_7n's topic in Loading (Flash)
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.