Highlighted

hi is it possbible for someone to look at a .fla file

Community Beginner ,
May 01, 2019

Copy link to clipboard

Copied

need help on a fla file

TOPICS
ActionScript

Views

138

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

hi is it possbible for someone to look at a .fla file

Community Beginner ,
May 01, 2019

Copy link to clipboard

Copied

need help on a fla file

TOPICS
ActionScript

Views

139

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 01, 2019 0
Community Beginner ,
May 01, 2019

Copy link to clipboard

Copied

i made a clock and the hour min and sec hand all have a tween for each movement of hand but when i try script was given all the hands spin at same time

this is script

onClipEvent (enterFrame) {
    // Gets the time information and stores in MyDate
    MyDate = new Date();
    // Assigns values individually
    hour = MyDate.getHours();
    minute = MyDate.getMinutes();
    second = MyDate.getSeconds();
    // Calculates position for hours hand
    if (hour > 11) {
        hour = hour-12;
    }
    hour = hour*5;
    movement = minute/12;
    hour = int(hour+movement);
    // Moves hours hand
    with (_root.Clock.Hours) {
        gotoAndStop(hour) + 1;
    }
    // Moves minutes hand
    with (_root.Clock.Minutes) {
        gotoAndStop(minute) + 1;
    }
    // Moves seconds hand
    with (_root.Clock.Seconds) {
        gotoAndStop(second) + 1;
    }
}

can reach me at [moderated]

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 01, 2019 0
Adobe Community Professional ,
May 15, 2019

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 15, 2019 0