# Dynamically create keyframes

**URL:** <https://forum.kirupa.com/t/dynamically-create-keyframes/299268>\
**Category:** flash\
**Created:** [November 2, 2009, 1:11pm UTC](https://forum.kirupa.com/t/dynamically-create-keyframes/299268 "2009-11-02T13:11:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hagop](https://avatars.discourse-cdn.com/v4/letter/h/97f17d/32.png) [@hagop](https://forum.kirupa.com/u/hagop)\
**Post date:** [November 2, 2009, 1:11pm UTC](https://forum.kirupa.com/t/dynamically-create-keyframes/299268/1 "2009-11-02T13:11:59Z")

</div>

Hi all

I am dynamically loading jpg files at runtime. What I want to do is to load each jpg file in a separate keyframe of an empty movie clip.  
I have 2 questions  
[LIST]  
[_]can you dynamically create keyframes in AS3.0. For each loaded picture I want to add a new keyframe which will contain the picture  
[_]if the above is not possible and I have to pre-define the keyframes, how do I access a specific keyframe of the movieclip to load the dynamically loaded pictures at specific keyframes?  
[/LIST]Thanks  
Hagop
