Hello all,
it’s me again the problem is that i created two empty movie clips on _level0, loaded a picture in them, scaled, positioned and rotated them. and then i need to swap their depths on rollover but their is no response even the trace isn’t working. can anybody help.
the problem, when you load a swf/jpg into a MovieClip everything in that MovieClip is erased and replaced with the new content, including event handlers.
thanks for the reply it was very helpfull.
i created another movieclip within the first one to hold the figure and attached the actions to the parent movieclip.
I have now another problem (little one) as you can see if you loaded a picture into f1 and f2 they overlap each other almost completely only a little portio of the edge is still shown. I want to swap depth when the user rollover these edges this works fine but the problem is when i pass the mouse over the part of the image where the two images overlap it begin to change between the two photos at high speed.
how can i define that the only place where iwant swapdepth to eork is on the edges.
hello kax this is an swf file that loads two jpegs called 1 and 2 from the folder called Photos place the swf in a folder named Whatever and place the Photos folder and the Whatever folder in another folder
i don’t know why flash have this path naming thing
man you are reaaaaaaaaaaaaaaaaally the one (you can even take it like the ONE in the MATRIX)
1- thanks a lot for your help really really really really really
2- do you how long i’ve been searching for the function that returns the depth of an object i thought first that it is like a property as _x or _y and never thought it had an independent function really thanks
i don’t know the reason… :crazy:
but try this: open your fla, go to File | Save As… and save a new fla, usually the file size is decreased when i do that. =)