Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: page transition slide in and out

  1. #11
    Join Date
    Mar 2008
    Posts
    222
    Thanks
    10
    Thanked 3 Times in 3 Posts

    Default

    In general, I agree with what Erik Hallander told you over on the GTAL forums -- start with the basic and work your way up.

    Medyman:What does GTAL means???
    why is there a need for a preloader in some of the Flash videos? I suddenly thought of it when i went to the link kony gave.

    kony: If you do not mind, would you mind pasting your code using the code button instead of the quotes.

  2. #12
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Quote Originally Posted by hyk View Post
    Medyman:What does GTAL means???
    why is there a need for a preloader in some of the Flash videos? I suddenly thought of it when i went to the link kony gave..
    GTAL = gotoAndLearn() - A great flash learning resource.

    The reason for preloading content is to allow for continuous, streaming playback. On slower connections, it might stream at a speed slower than playback, so you get a lot of buffering. In some instances, that doesn't matter. In others, it disrupts the functionality of the site.

  3. #13
    Join Date
    Jul 2008
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hello,

    kony: If you do not mind, would you mind pasting your code using the code button instead of the quotes.
    sorry hyk, i will use it.

    I am stuck to make transition btw multiple MCs(4 mcs:ref_mc, ref2_mc, ref3_mc, ref4_mc).

    my code is:
    Code:
    btn1_mc.addEventListener(MouseEvent.CLICK, onBtn1Clk);
    addChild(btn1_mc);
    
    
    	btn1_mc.buttonMode = true;
    
    var setBtn= function onBtn1Clk(evnet:MouseEvent):void {
    	
    	Tweener.addTween(ref_mc, { y:500, time:1, transition:"easeinoutQubic", onComplete:setBtn,onCompleteParams:["ref2_mc","ref3_mc","ref4_mc"] });
    I think wrong code is:
    Code:
    var setBtn= function onBtn1Clk(evnet:MouseEvent):void {
    and One more question,
    is that possible that a couple of different MCs coming up when one button is going to be presssed?



    Please some tips , anyone, thank you.
    Last edited by kony; 07-25-2008 at 06:04 PM.

  4. #14
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Code:
    var setBtn= function onBtn1Clk(evnet:MouseEvent):void {
    That is certainly incorrect. You can't set a function equal to a variable. It should just be:

    Code:
    function onBtn1Clk(evnet:MouseEvent):void {
    But, I'm not sure that will help you in tweening between multiple MCs. You have two options here: track through variables or arrays.

    If arrays are too advanced for you at this point, take a look at this. It's Lee's tutorial on XML in AS 2.0. Most of it won't apply here, but pay attention to the "WhoIsOn" logic. You can use the same logic with this.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •