Flash / Actionscript

Soldato
Joined
10 Apr 2006
Posts
7,890
Location
North West
I seem to be busy on these forums asking people questions!

Every little helps though :)

I have a library full of movie files and navigation buttons that are movie clips.

When a navigation button is pressed the follow code is ran :

this.onRelease = function() {
_root.attachMovie("Entrance", "VideoClip", 1);
_root.VideoClip._x = 17;
_root.VideoClip._y = 17;
};

The movieclip Entrance is then played.
At the end of that movie clip, another navigation button is placed. it has the exact same code except Entrance is changed for another moviename.

All the movies play fine, so they are linked properly.
But the first time the button is pressed, the VideoClip is moved 17px on both axis, but when the second button is pressed the VideoClip plays from 0,0(top left corner) and ignores the alignment I have set.

Any idea why as I need all the movie clips to be playing in the same area!

Thanks!

if anyone finds it easier to help via MSN then please add me :)
 
thanks a lot, ill try the last one now!

I managed to get it working for a while but now its gone funny again so hopefully the last one will work.

Each movie i put on has to go 1 level higher?

So 1 then 2 then 3 etc?
 
thanks a lot, emailing you now about it :)

email bounced?

email me if possible so i can forward the file to you


tom[@]tomsinclair[dot]co[dot]uk
 
Last edited:
hey just got back in now, long day!

you got MSN by any chance ? just got a few small questions that need asking if you have any time!

Emailed you back a few minutes ago aswell


Thanks for the help!
 
Back
Top Bottom