Sorry for my English :suppose_maybe:
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);
myTween.onMotionFinished = function(){
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.
http://www.neletullus.edicypages.com
I hope you understand what I’m trying to tell here.
And thanks ^^