Delay in drop down menu
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Delay in drop down menu

  1. #1
    Junior Member
    Join Date
    Apr 2013
    Posts
    1

    Delay in drop down menu

    Hi guys,

    I'm new in flash and still learning. I need to make drop down menu but with delay, every new item in sub menu should delay for about 1 sec after the one above.
    Can you guys help me to do this? I'm doing drop down menu following this tutorial:
    http://flashexplained.com/menus-inte...rop-down-menu/

    So can you give me some learing material abot this topic and edit code so it will work the way i want?

    ty

  2. #2
    Senior Member
    Join Date
    May 2009
    Posts
    213

    Flash 8 Pro (AS2), Externally loaded Jpgs have artifacts

    I dont know much. But you can just incorporate your menu into a function and use setTimer(myfunction,n).

    n is the milliseconds. The setTimer code will do myfunction (which should be a custom function) exactly after n milliseconds. So if you specify 1000 for n, then the function will be called after a delay of 1 second.

    Try using this in some way to delay your menu by 1 second, i have used this very successfully on several webpages and it works decently.

    Regards
    Last edited by plainman007; 04-15-2013 at 12:38 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com