PDA

View Full Version : Help creating Interface :( College work


Serpream
01-17-2005, 06:48 AM
:confused:
Hi all. I got a draggible square mask with colours in the mask while dragged to reveal the image. IT works. MY problem is getting another layer to fade out to make like the clours drained away then go to the draggible mask. *yes i know this isnt newb question*

MY newb question is this......
i got a button that is firstly animated then becomes the button. Problem is i need help with script to do that once its first clicked itll play to end without reseting or linking. THEN when its go to last frame to become the button and link into the same window.
Example of my code


tellTarget ("mc_Wanted_Poster") {
gotoAndStop(1);
}

mc_Wanted_Poster.onRollOver = function() {
tellTarget ("mc_Wanted_Poster") {
play();
}
};
mc_Wanted_Poster.onPress = function() {
loadMovieNum("Colouring_In.swf", this.getNextHighestDepth());
};


Quick reply would be super extra help seeing i only got 4 days left until i hand it in :(

Serpream
01-17-2005, 10:17 PM
Make that only 3 days left now

tGP
01-18-2005, 01:37 AM
not sure if i understand what you are wanting... first thing, alot of this is deprecated (not recommended to be used anymore) code... i changed it as needed...

/*dont use tell target anymore... (not since flash 4)...
instead use dot syntax targeting...
tellTarget ("mc_Wanted_Poster") {
gotoAndStop(1);
}
*/

// the above should be this:
mc_Wanted_Poster.gotoAndStop(1);

/*
mc_Wanted_Poster.onRollOver = function() {
tellTarget ("mc_Wanted_Poster") {
play();
}
};
*/

// the above should be written as this:
mc_Wanted_Poster.onRollOver = function() {
this.play();
};


ok... with that being said...try to reword your problem... i think i am following you, but not enough to help...

post again... i will try to help you out with this...

cheers.
j

Serpream
01-20-2005, 01:22 PM
ahh thx for your help .