Solved

insert date

Posted on 2004-10-27
534 Views
Last Modified: 2012-05-05
how can i insert date in my flash movie?   i  know how to do it in html but not in flash?
0
Question by:gianitoo
    9 Comments
     
    LVL 27

    Expert Comment

    by:Asta Cu
    you need to create the date object.

    onClipEvent (enterFrame) {
    now = new Date()
    hours = now.getHours();
    minutes = now.getMinutes();
    seconds = now.getSeconds();
    time = hours+":"+minutes+":"+seconds;
    }
    0
     
    LVL 1

    Author Comment

    by:gianitoo
    and how do i drag it?  how do i proceed for this?
    0
     
    LVL 27

    Accepted Solution

    by:
    0
     
    LVL 1

    Author Comment

    by:gianitoo
    latest greatest
    0
     
    LVL 16

    Assisted Solution

    by:vickerleung
    gianitoo,

    Try this which have a sample file too~
    Good tutorials

    http://www.actionscript.org/tutorials/beginner/Flash_MX_Date_Time/index.shtml

    Vicker
    0
     
    LVL 39

    Expert Comment

    by:blue-genie
    Has this been resolved?
    0
     
    LVL 27

    Expert Comment

    by:Asta Cu
    Thank you, gianitoo; I'm so pleased I could be of help to you.
    Best wishes,
    ":0) Asta
    0
     
    LVL 1

    Author Comment

    by:gianitoo
    you da man, and i am your disciple
    0
     
    LVL 27

    Expert Comment

    by:Asta Cu
    LOL ":0)  I wear skirts.  
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
    In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
    The goal of the tutorial is to teach the user how to how to record live broadcast.
    The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

    846 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now