A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Setting Loops for Flix

Hybrid View

  1. #1
    Moderator
    The Minister of No Crap

    Join Date
    Nov 2000
    Location
    Philadelphia
    Posts
    2,685
    So, I have a bunch of videos I am about to convert using Flix. I want to set them all at certain loops. They're all different loops though. Some need to be looped once, twice, four, or eight times. How to I set this in Flix?

    Anyone know?

    -scott
    http://www.scottmanning.com

  2. #2
    Wildform Moderator
    Join Date
    Sep 2000
    Posts
    2,070
    That is a good idea for a new feature that we'll try to put in an update. Until then, you'll have to accomplish that by creating your Flix video swf's and then bringing them into Flash with Load Movie and then using action script to accomplish what you want.
    Hope this helps.
    Jonathan

  3. #3
    Moderator
    The Minister of No Crap

    Join Date
    Nov 2000
    Location
    Philadelphia
    Posts
    2,685

    Actionscript

    Any idea what the action script would be?

    -scott
    http://www.scottmanning.com

  4. #4
    Senior Member RUSHVision's Avatar
    Join Date
    Dec 2000
    Location
    Pacific Northwest
    Posts
    5,441
    Hi Scott

    I'm not an actionscript expert, so I can't give you the actual script, but here are some thoughts...

    I would think that you would want to import each of the converted .swf's into it's own movie. This will allow you to import the soundtrack as well as set some variables that would count how many times the movie has looped. Set up a counter to increase by 1 each time the movie plays through. Once "loops" =="x" in your main movie, you can have Flash either unload that movie or load another one (or both). You can then use the loadMovie action to load these movies, instead of the freshly generated ones from Flix. Basically, you need to prepare each converted video as it's own movie with the soundtrack and variables before incorporating it into your main movie. By using the Debugger, you can track which variables are being placed where in order to troubleshoot your actionscript. I have found this to be an invaluable tool.

    I know it's not exactly what you were looking for, but I hope this helps. Take it easy

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