A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: Seriously missing something here!!!!!

  1. #1
    Registered User
    Join Date
    Jul 2000
    Posts
    28
    Hello "again",
    I've tried the various suggestions everyone has given me and printed out instructions that I found here but, it still doesn't work???

    The music.swf has a preloader If framesload 1st & 2nd frame
    Play frame 3.

    Mc Instance name hold1
    F1 Stop
    F2 LoadMovie ("audio1.swf","_level5/hold1")

    MC placed on Preloader scene on it's own layer in first frame. Invisible and quiet.


    Intro scene own layer actions to first frame.

    F1 Begin Tell Target ("_level5/hold1")
    If (_framesloaded=_totalframes)
    Play
    End If
    End Tell Target ========= Ta-dud No music

    If I could get this one to work I could use a second hold2 and preload the mainmusic.swf on the intro scene so it would load in time to play when the main scene starts.

    Where is this getting stuck? You can see the delays here
    http://www.nandesign.com/newindex.html

    Thank you, nc

  2. #2
    Senior Member
    Join Date
    Mar 2000
    Posts
    597
    If the MC instance name "hold1" is on the main time line

    Then you should remove the "_level5".

    Sorry I haven't seen your previous posts but if it's a preloader then there shouldn't be a need to load into "_level5".

    Let me know if you need more,

    Rich.

  3. #3
    Registered User
    Join Date
    Jul 2000
    Posts
    28
    Came running back when I saw your name! Hi Rich!(Feeling like a broken record and, somehow this is just a hard one for me to get my head around, really thick ... thicker than molasses).

    This is what I'm working with now
    One movie = 3 scenes. PreLoad/Intro/Main.

    Music for scene 2 & 3 (audio1 & audio2 has (_framesload>=_totalframes)Go to & Play (3).
    Using Loadmovie audio.swf,5 - to level5.

    So when viewing this the music loads late.
    Intro - should start when text appears.
    Main - should start at the start.
    It doesn't but that's what I'd like it to do.

    No, taking out the _level5 doesn't make any difference the music doesn't play or load.



  4. #4
    Senior Member
    Join Date
    Mar 2000
    Posts
    597
    Hi nchan,

    If you want the music to start at the same time as the movie the easiest way would be to just add it to the movie at the correct time.

    The above is best if you are not streaming the music.

    However, do you want the movie to load but not start playing until Flash has downloaded sufficient of the music to start playing the movie and the music at the same time?

    Rich.

  5. #5
    Registered User
    Join Date
    Jul 2000
    Posts
    28
    The music files are set-up with on-off controls.
    ==
    Preload layer- two frames for the preloading the music.
    Music layer- frame 3 stop music and frame 4 start music.
    ==
    So it is not streaming music.
    The scenes play before the music is ready.
    Yes. I need to start the music at specified times(place, spot, frame). thanks,nchan

  6. #6
    Senior Member
    Join Date
    Mar 2000
    Posts
    597
    If you are waiting till the sound is fully downloaded before the movie starts there is no point in loading an external swf that contains the sound. You may as well put the sound in a movie clip that you can Tell Target with the "start/stop" buttons and add this into the frame where you wish the sound to start. Your standard preloader will make sure it's downloaded before playing it.

    Let me know if you need more,

    Rich.

  7. #7
    Registered User
    Join Date
    Jul 2000
    Posts
    28
    YES Rich,
    Audio1 plays on cue but the controls don't show and it plays into scene 3, where I would need to load audio2.
    This is going well, waiting for further instructions.

    nchan

  8. #8
    Senior Member
    Join Date
    Mar 2000
    Posts
    597
    I've emailed you. If you send me the fla's I'll fix them. It'll be easier than me guessing what's happening then trying to fix it a bit at a time.

    Rich.

  9. #9
    Registered User
    Join Date
    Jul 2000
    Posts
    28
    Oh thank you, I've stripped the movie down to the essentials, it was just too big to email even zipped.
    *checking email

    thanks again
    nchan

  10. #10
    Registered User
    Join Date
    Jul 2000
    Posts
    28
    Rich
    You've made my day! I'll sleep real good tonight
    I checked my email, nothing came from you. You are so busy here helping everyone out and to offer to look at my stuff, that was so kind.
    Anyways, I played around with your suggestion, bit-by-bit it started happening and then TA-DA. Thank you, thank you very much for your time and patience.
    nchan

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