7 Replies Latest reply on Sep 20, 2007 12:03 PM by kglad

    Dynamically loading jpg files

    noviceone Level 1
      Scenario: we have a button to view special events on our website. these events change on a regular basis.

      Issue: I want our adminstrative assistants (no flash knowledge) to be able to upload a jpg (which has all the info for the event on it) to the site and have flash take it and update the "special events page".

      Work so far: I have this working using the following code:

      specialEmpty_mc.createEmptyMovieClip("specialPicture_mc", 3);
      specialEmpty_mc.specialPicture_mc._x=66;
      specialEmpty_mc.specialPicture_mc._y=163;
      specialEmpty_mc.specialPicture_mc.loadMovie("special-event/special.jpg");

      Now I want to get fancy. I need to have "TWO" jpg files alternate back and forth in the loop. Preferrably crossfading using alpha in motion tweens.

      For the life of me, I can't get my mind around how to do this. Help?

      tom hereford