help with mx transition

This is a discussion on "help with mx transition" within the Flash & Multimedia Forum section. This forum, and the thread "help with mx transition are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 5th, 2008, 17:16
New Member
Join Date: Jun 2008
Location: bucharest
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Angry help with mx transition

I have to make a small flash site and I want to use mx.transitions. Tween for smooth animation between info/images.
The problem is that when I push the button to finish the transition I don't know how to advance to the next frame.

The code is on the first frame - when the object enters the stage:
(z1 is the instance of the mc)

new mx.transitions.Tween(z1, "_x", mx.transitions.easing.Elastic.easeOut, 0, 300, 3, true);

The code on the button - when the object exists the stage:

on (press) {
new mx.transitions.Tween(z1, "_x", mx.transitions.easing.Elastic.easeOut, 300, 600, 3, true);
}

I know that exists the event handler .onMotionFinished ,but I don't know how to use to advance to next frame in the movie.

Thanks
Attached Files
File Type: zip mx_move.zip (13.6 KB, 2 views)
Reply With Quote

Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apply transition to a div blkskull JavaScript Forum 0 Feb 26th, 2008 14:00
Help with timeline transition LyndonSG Flash & Multimedia Forum 1 Aug 15th, 2007 07:56
PHoto Transition RL525 Flash & Multimedia Forum 1 Jul 23rd, 2007 16:16
Melting transition deoxymethyl Flash & Multimedia Forum 1 May 9th, 2006 19:16
Slideshow transition GarethWilliams JavaScript Forum 0 Mar 21st, 2006 10:43


All times are GMT. The time now is 09:28.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43