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
my problem is simple...
my preloader works when previewed or viewed in a web browser...
however - once the loadMovie function is used on this file the preloader simply does not animate but is in a 100% state for the duration of the loading process.
this is the main movie - and when you click...
on a previous website i made i had this cool way of having the selected page animate on it being loaded up...
however on a new design i cant get it to work saying as instead of using a button as such i am using a movieclip to animate the button and the hit section of the button is actually...
hey
i am making a movie clip that will be a button
when the mouse rolls over it plays and fades in
it then hits a stop(); command
then
when the mouse rolls out it plays a later set of frames where it fades out
this is all good and well except if your quickly swiped the mouse over the button -...
im confused as to what the problem is - when i click the link i get a black page with a rather cool looking preloader - it loads up then the page is shown...
isnt that whats ment to happen? what black box do you mean...
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.