Featured FLA
» Author: Bugra Ozden
» Title: Skatalog v9 - product catalog
» Description: Create your product catalog easly and publish on your website or Create your image gallery, documents list, portfolio. Fully XML Driven
» More by Bugra Ozden
Featured Site
» Posted in the Flash Kit Links section
» Title: Creative DW Image Show PRO
» Description: Creative DW Image Show PRO is a Dreamweaver extension which enables the user to create multimedia presentations. It combines the features of the popular Creative DW Image Show with the ability to add professional text effects to slides (similar to After Effects). The product is very customizable: the user can choose the duration of the transition effects, the slide motion start and end position, zoom and panning type for both images and texts.
onClipEvent (load) {
point = new object();
//hardcode
point.x = 0;
point.y = 100;
localToGlobal(point);
}
onClipEvent (enterFrame) {
if(Key.isDown(Key.SHIFT)){//hold shift to run
walkspd=20
}else{
walkspd=7
}
point.x = 0;
point.y = 100;
localToGlobal(point);
... other scipt ...
point.y was 100 because I didnt put the registration where I should have.
but what this does is take the point relative to where the character movieclip's
registration is, and turn it into a position on screen. Flash seems to like
me doing this, because everything works nice when I do.