dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Is it posible to stream a loaded movie in level 2?

  1. #1
    Karma police phreakdevil's Avatar
    Join Date
    Jun 2002
    Location
    B4rc3L0c4
    Posts
    764
    The thing is im working in a huge movie with videos in it and if i publish with the music in it it gets pretty slow, so i tried making another movie with the music and load it as level 2 PERFECT, now how can i make it stream with the main movie??
    Thanx.

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Do you mean in sync with the main movie, and without preloading both of them? And starting them in sync?

  3. #3
    Karma police phreakdevil's Avatar
    Join Date
    Jun 2002
    Location
    B4rc3L0c4
    Posts
    764
    Do you mean in sync with the main movie, and without preloading both of them? And starting them in sync?

    Yep, in sync, i did a preload in the main movie, so i dont know how that works, the sound starts (loads) at frame 3 (the first frame after the preload) so you see it starts with the main movie.

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Well if you preloaded the level 2 movie in the main movie's preloader, and it's stopped ready to play, just add a play(); action or a gotoAndPlay(2); action on the first frame of your main movie.

    _level2.gotoAndPlay(2);

    Guess the sound should be in the main movie and set as stream, so that the speed is steady and video forced to follow the framerate. Hope you designed it this way, because depending on your video complexity, you might get an out of sync problem.

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