Register for your free account! | Forgot your password?

Go Back   elitepvpers > Artists Den > General Art
You last visited: Today at 05:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Help needed with actionscript 2.0 and tweening!!

Discussion on Help needed with actionscript 2.0 and tweening!! within the General Art forum part of the Artists Den category.

Reply
 
Old   #1
 
cannabis00's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 77
Received Thanks: 8
Smile Help needed with actionscript 2.0 and tweening!!

Sorry for my English

I'm trying to do this site for my course end.
I'll give a link for this work, but little later. I cant forget to mention that this version of the website (what i'll soon link) is pretty old. Only one button does what it needs and that even half.

So, i have three buttons, Home, Portfolio and Contact, and i have to mention the layer witch is pain in my *** is Cloud layer. So here it is, When i go to the web page it would be pretty nice if it starts with home (aka about me). and when i click to the portfolio i need that cloud layer to go higher with tween, when i click on contact it has to go only little higher while you clicked to contact while you were in home, and it has to tween downwards when you clicked from portfolio. and so on, so i have three heights, Home-> the lowest, Contact -> in the middle and Portfolio-> the highest tween, in few words i need to make clouds tweenable depending where i am, up or down. I wont attach any print screens now, you'd just have to know that i dont use timeline.
Thats the code what is on my acton layer atm(it's quite messy, because i've tried LOTS and LOTS of things):

import mx.transitions.Tween;
import mx.transitions.easing.*;

home_btn.onRelease = function(){
var myTween:Tween = new Tween(cloud, "_y", Regular.easeOut, 336, 300, 2, true);
}

portfolio_btn.onRelease = function(){
var myTween:Tween = new Tween(cloud, "_y", Regular.easeOut, 336, 200, 2, true);
}

contact_btn.onRelease = function(){
var myTween:Tween = new Tween(cloud, "_y", Regular.easeOut, 336, 270, 2, true);

}


And i even added the latest swf file to the zip. Because i've like worked on this two weeks and tried to look for the different problems, i've started the project like several times all over again, by brain is soft from googleing.



I hope you understand what I'm trying to tell here.

And thanks ^^
cannabis00 is offline  
Reply


Similar Threads Similar Threads
[Actionscript] combobox einfärben
03/28/2008 - General Coding - 1 Replies
Ich frage mich gerade wie man am besten bestimmte Items unterschiedlich einfärbt. Z.b das dritte Item und das siebte. so ne art alternateRowColor nur dass ich bestimmten kann welche Rows eingefärbt werden.
emu help needed
03/24/2008 - SRO Private Server - 4 Replies
i have the rev 100 now but if i loggin i see this some one of you knows what to do? http://img233.imageshack.us/img233/9759/1241546gd 4.jpg
Help needed!
04/27/2007 - Conquer Online 2 - 3 Replies
I am a lvl71 firetao with crappy stuff. I need to find a place where no monster can hit me, so i can bot overnight. Anyone botting a lvl71 fire now?



All times are GMT +1. The time now is 05:26.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.