Go Back   kirupaForum > Flash > ActionScript 1.0/2.0

Reply
 
Thread Tools Display Modes
Old 11-18-2009, 11:13 AM   #1
Javaprogrammer
Registered User
Motion on movieclips

Hi,

I have added 20 movieclips to x and y coordinates inside my stage. Some of them are outside the flash bounds. I want to have buttons that simulates next and previous. How can I make the clips move in a motion? I can set the x coordinate for the clip but the motion is to fast.

Any help would be appreciated.
Javaprogrammer is offline   Reply With Quote

Sponsored Links (Guests Only) - Register | Need Help?
 

Old 11-18-2009, 11:29 PM   #2
NamikazeMinato
Registered User
 
NamikazeMinato's Avatar
Location Kochi,India

Posts 48
Sorry I didnt understand your problem....

What actually you want to accomplish on clicking those buttons...

Anyways,Here is the code for button actions...

Code:
btn1.onPress=function()
{
  //Your action here...
}

btn2.onPress=function()
{
  //Your action here...
}

Btw,You can change the speed by changing the FrameRate(fps) near the stage settings.
NamikazeMinato is offline   Reply With Quote
Old 11-19-2009, 05:59 PM   #3
Javaprogrammer
Registered User
Thanks, but I managed to figured it out with a for loop and the Twain class.
Javaprogrammer is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 04:14 PM.

SUPPORTERS:

kirupa.com's fast and reliable hosting provided by Media Temple. flash components
Creative web apps. Make your own free flash banners and photo slideshows.
Check out the great, high-quality flash extensions. Buy or sell stock flash, video, audio and fonts for as little as 50 cents at FlashDen.

Flash Transition Effects

Flash Effect Tutorials

Digicrafts Components
Flash effects. Art without coding. Upload, publish, deliver. Secure hosting for your professional or academic video, presentations & more. Screencast.com
Streamsolutions Content Delivery Networks Flipping Book - page flip flash component.
Flash-Gallery.com - Get your flash photo gallery (flash component or swf gallery Learn how to advertise on kirupa.com
 

cdn
content delivery network (cdn)

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. Copyright 2010 - kirupa.com Copyright 2010 - kirupa.com