A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Moving between frames from browser?

  1. #1
    Junior Member
    Join Date
    Oct 2003
    Location
    Perugia [ Italy ]
    Posts
    8

    Moving between frames from browser?

    Is it possible step forward and backwards in the timeline using the keys , and . in the .swf published in browser?
    Or does exists another shortcut?

    Thanks

    Sorry for my english

  2. #2
    caithness massiv
    Join Date
    May 2000
    Location
    denver
    Posts
    1,672
    sure... but you have to set it up manually

    key_lis = {};
    key_lis.onKeyDown = function()
    {
    // trace(Key.getCode());
    if (Key.isDown(190)) nextFrame();
    else if (Key.isDown(188)) prevFrame();
    };
    Key.addListener(key_lis);

  3. #3
    Junior Member
    Join Date
    Oct 2003
    Location
    Perugia [ Italy ]
    Posts
    8
    I mean "illegaly" is it possible to do it?

  4. #4
    caithness massiv
    Join Date
    May 2000
    Location
    denver
    Posts
    1,672
    ummm... i don't understand what you mean

    just place that code on your first frame of your movie and it will work just like the existing shortcut keys

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