Blogroll

This blog is created for education about engineering students.All the engineering students are get free downloadable books here. not only books and also different software also available here

Points along the circle

Procedure:
step1: Open a Flash Document
step2: Create a Circle diagram from Oval Tool(O)
step3: press Right click on the circle and select "Convert Symbol"
step4: choose the "Button" type and Click OK
step5: Then write the Source Code for the circle in Actions panel
step6: Run Above Procedure press Ctrl+Enter(Test Movie)

SourceCode:

on(press)
{
var x:Number;
var y:Number;
x=_root._xmouse;
y=_root._ymouse;
trace("X="+x);
trace("Y="+y);
}

No comments:

Post a Comment

Total Pageviews