they are all just set on the stage
its like a mini website
each movie clip is a page
and when you select a new page the old one plays a sort of 'outro' then the new one loads up
fla file is located here if you can make head or tail of it
http://www.craigabbott.co.uk/index.zip
I am abandoning the drag function i just want each
clip to move to the front on roll over
I am using the code
onRollOver {
this.swapDepths(1);
}
as I say this works but I am then left with something above all the other layers when I change
I know it's because my main timeline operates on...
Hey...
i am using the swap depths function within a movieclip.
the only problem is once i have swapped the depths from the main timeline, and i then activate another movieclip also from the main timeline, the movieclip (within the movieclip) whos depth was last changed remains over the top of...
your a legend mate!
thank you so much!
i wish i could understand WHY that code works
however right now im not that bothered so long as it does haha
many many thanks!
Still cant get 2 and 4 oclock lol
it dont actually understand what is going on - im just punching in numbers and hoping it will work - but to no avail
i can get from 12 oclock to 3oclock (which is as close as i can get) using
a1 = eye._y-_ymouse;
b1 = eye._x-_xmouse;
angleA1 = Math.atan2(a1...
im using flash 8 lol
im not very fluent in flash coding!
that if function works - however as ive never seen it done i am unsure exactly how to set my angles
what is the 5/8 and the 7/8 - ive sussed if i play around with these i can change the angle it moves through - however i want it to go...
hey-
i am using the code
a1 = eye._y-_ymouse;
b1 = eye._x-_xmouse;
angleA1 = Math.atan2(a1, b1);
degrees1 = angleA1/(Math.PI/180);
setProperty ("eye", _rotation, degrees1);
and this makes my eye follow the mouse through 360 degrees and works fine.
however - on a different page unrelated to...
hey - i am using some script to determine which movieclip loads as to which button is pressed - like a nav bar and each movie clip is a page
but i want to make whichever it pressed come to the front of the layers
my code is this...
bt1.onRelease = function() {
if(currMovie == "mc1"){...
ok the main flash file is called index.fla
and the portfolio bit that loads in is called design.fla
they are located here
http://www.craigabbott.co.uk/index.fla
http://www.craigabbott.co.uk/design.fla
yes its an external .swf and it loads into an empty movie clip called 'dropzone'
i dont know how to go about getting it to work its doing my head in lol
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.