Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 31

Thread: Smooth Transition Between Pages

  1. #11
    Join Date
    Jun 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi Medyman TNXs
    i will look into it
    sorry 4 the late respons (i was offline 4 a while)

    I appriciate y'r effort vry much

    ~ropost

  2. #12
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    That example is awesome, that helped me out heaps! I was lucky enough to stumble upon this site last night.

    Is it very difficult to remove the mouse interaction from that movie and just have a simple timeline; movie starts, first page fades/blurs in, 10 seconds later second page blurs/fades in whilst first page fades/blurs out etc etc.

    Sorry in advance if this is a very dumb question.

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

    Default

    No, it's not too hard.

    There are two ways to do it:

    1) To use timeline animation. This can be really annoying and I don't like doing anything on the timeline. All of my flash files have 1 keyframe (not counting a preloader). That's all I really need to add visuals. The rest can be done with AS.

    2) Using mcTween, as I have used in that example, it's fairly easy to do sequential animation.

    For example, if you want to fade an MC called image2 after image1 is done fading, you would do something like this:

    Code:
    image1.alphaTo(100, 1, "easeOutQuad")
    image1.onTweenComplete = function() {
         image2.alphaTo(100, 1, "easeOutQuad")
    }
    This would be if you wanted to do something right after you finish tweening it.

    For what you're asking, you can actually do it all in one block code, using timed delays.

    For example, you can tell image2 to fade 10 seconds after image1 has STARTED loading (so if you want to wait 10 secs, the delay is 11 secs).

    To do that, you'd need AS like this:

    Code:
    image1.alphaTo(100, 1, "easeOutQuad")
    image2.alphaTo(100, 1, "easeOutQuad", 11)

  4. #14
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks heaps for that Medyman, I appreciate your time and help.

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

    Default

    No problem

  6. #16
    Join Date
    Oct 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank's Medyman!!! This is soooo helpful.

    Is there a way to have the first page already active when you go to the site, instead of an empty page?

  7. #17
    Join Date
    Dec 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Is there a way to have the first page already active when you go to the site, instead of an empty page?

    I need help too

  8. #18
    Join Date
    Apr 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It is the new links from the old one that Medyman put up:

    Here (http://www.designsbyvishal.com/dynam...eteRopost.html) is what it looks like.
    Here (http://www.designsbyvishal.com/dynam...leteRopost.fla) is the fully commented .fla

    Thanks Medyman

    Wingsze

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

    Default

    Thanks for updating those wswingsze.

    Since two people have asked this in the last few posts (even though they're pretty old), I'll answer.

    Yes, it's possible to load an image on the first frame. Just call the loadPage() function and set the whatIsNext variable outside an onRelease event.

  10. #20
    Join Date
    Apr 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up AS3 Tweening Classics

    Hey guys, I'm a 2nd generation newbie, this was done in flash 8 (Actionscript 2.0) and I am bringing this question alive again for the purposes of AS3. I know that there were some source files located finally on the designs by vishal website great job, by the way! But the code has changed, and I'm sure all of you guys have become well versed.

    please help, 2nd gen newbie.!

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
  •