Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flash General Questions > Flash 8 General Questions

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-04-2006, 12:42 PM   #1
Eikichi
Certificated Psycho
 
Join Date: Jul 2006
Location: Israel
Posts: 4
Default Is it possible in action script?

I've made this in pure frames without any Action Script
http://www.yousendit.com/transfer.ph...EA4B3523244EB4
But this isn't a really good idea since it's no automated...
I need a script that will fit the boxes in the SWF to the content, and the "pushing" thing in action script too..
Is it possible?
Eikichi is offline   Reply With Quote
Old 07-04-2006, 01:53 PM   #2
oldnewbie
Banned by AS.org Staff
 
Join Date: Mar 2002
Posts: 10,533
Default

http://www.flashkit.com/movies/Inter...4842/index.php

http://www.actionscripts.org/showMovie.php?id=1012

http://www.actionscripts.org/showMovie.php?id=745
oldnewbie is offline   Reply With Quote
Old 07-04-2006, 02:20 PM   #3
mooska
fl.mooska._title
 
mooska's Avatar
 
Join Date: Jun 2006
Location: lodz
Posts: 1,211
Send a message via ICQ to mooska Send a message via Skype™ to mooska
Default

ActionScript Code:
import mx.transitions.Tween; import mx.transitions.easing.*; var dist = 4; var lastPressed; var wantSize = 300; clip1._x = 40; this.onEnterFrame = function() {     for (i=2; i<4; i++) {         var mc = this["clip"+i];         var prev = this["clip"+(i-1)];         mc._x = prev._x+prev._width+dist;         trace(this["clip"+(i-1)]);     } }; for (i=1; i<4; i++) {     //this["clip"+i]._x = mc._x+mc._width+dist;     var mc = this["clip"+i];     mc.onPress = function() {         if (lastPressed != this) {             t = new Tween(this, "_xscale", Elastic.easeOut, this._xscale, wantSize, 3, true);             t2 = new Tween(lastPressed, "_xscale", Elastic.easeOut, wantSize, 100, 3, true);             lastPressed = this;         }     }; }
__________________
pebkac - problem exists between keyboard and chair

Have something to code ?

asql

Last edited by mooska; 07-04-2006 at 03:04 PM.
mooska is offline   Reply With Quote
Old 07-04-2006, 04:17 PM   #4
seanlail
Member
 
Join Date: Apr 2006
Location: London
Posts: 69
Default

Both posts are showing him only on press.

I think he wants it on rollover.
seanlail is offline   Reply With Quote
Old 07-04-2006, 05:01 PM   #5
oldnewbie
Banned by AS.org Staff
 
Join Date: Mar 2002
Posts: 10,533
Default Maybe he'd like an apple turnover also...

If so, then I can adapt it (them) to rollOver's!
oldnewbie is offline   Reply With Quote
Old 07-05-2006, 06:32 AM   #6
mooska
fl.mooska._title
 
mooska's Avatar
 
Join Date: Jun 2006
Location: lodz
Posts: 1,211
Send a message via ICQ to mooska Send a message via Skype™ to mooska
Default

Quote:
Originally Posted by seanlail
Both posts are showing him only on press.

I think he wants it on rollover.
It doesnt matter, will work enyway.
__________________
pebkac - problem exists between keyboard and chair

Have something to code ?

asql
mooska is offline   Reply With Quote
Old 07-05-2006, 02:29 PM   #7
Eikichi
Certificated Psycho
 
Join Date: Jul 2006
Location: Israel
Posts: 4
Default

Thanks for help guys, I'll try this out right away!
Eikichi is offline   Reply With Quote
Old 07-05-2006, 04:57 PM   #8
Eikichi
Certificated Psycho
 
Join Date: Jul 2006
Location: Israel
Posts: 4
Default

Do you guys have a link for horizontalnavigation menu like this?
Eikichi is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
is action script more sufficient?? VIBEZBAD ActionScript 2.0 2 04-25-2006 11:45 AM
Cannot get the Hand of Action Script Help scottie_uk Simple Stuff (Newbies) 6 03-26-2004 09:53 AM
Controlling volume through action script omalik ActionScript 1.0 (and below) 3 02-18-2004 12:09 PM
How Can I Use Action Script Fido ActionScript 1.0 (and below) 5 01-29-2002 08:12 PM
Action script questions.... making an mp3 player. Jubs ActionScript 1.0 (and below) 3 10-11-2001 02:00 PM


All times are GMT. The time now is 09:48 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.