TCUBusiness09
asked on
Repositioning a calendar (swf) within a flash website
One other question that I do have is now that I have loaded the calendar using:
on(release) {
loadMovie ("calendar8_01.swf", 1);
}
How do I position the new window where I want it within my flash site. It is loacated by default in the top left corner, but I am wanting it to be in the middle of the screen both horizontally and vertically. Is this possible?
on(release) {
loadMovie ("calendar8_01.swf", 1);
}
How do I position the new window where I want it within my flash site. It is loacated by default in the top left corner, but I am wanting it to be in the middle of the screen both horizontally and vertically. Is this possible?
ASKER
Thank you for your help! I will try this out tomorrow and get back to you with the results.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
aneeshchopra, you code seems to be loading up the calendar file, but it is not visible. Is it possibly on the wrong layer?
ASKER
blue-genie, extrordinary work yet again. All I had to do was put your code in the on(release) handler and modify the position and it worked perfectly. You have been such a great help throughout this process. Thanks again!
on (release) {
var mc = this._parent.createEmptyMo
mc.loadMovie("calendar8_01
mc._x = 50;
mc._y = 50;
}