A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: preload using attachSound... a mistake, obviously, but where?

Threaded View

  1. #1
    user in A minor
    Join Date
    Jan 2005
    Location
    finland
    Posts
    121

    preload using attachSound... a mistake, obviously, but where?

    hi!

    first: thanks!!! i've found tons of answers for my problems from the earlier threads in different forums, this site is a life saver... but now i need to post a question myself. forgive me if it's a stupid one! i've tried, though, a lot, and need some guidance.

    i'm a newbie, struggling to make my first flash site for a band. i found a tutorial describing how to preload sounds. all right, so i decide to practice with that. after trying aaaaalll night, i finally managed to make the preloader work. wheee! well, at least when stimulating download the thingie seems to load my sound files - but how to start the sounds then? i've tried putting different codes to my start-button, according to all advice i've found, but clearly i'm doing something wrong. i know only the very beginnings of action sripting. i'm using flash mx pro 2004.

    attached is my tutorial-test.fla... the buttons to start the music are in frame 3. could someone please take a look and point out my error..?

    obviously, i'll need buttons to stop the sounds also. since i didn't mange to start them, i didn't proceed that far yet.

    lastly, if i may: what i'm aiming at is to eventually have a movie, that preloads and plays 3 to five band's sample songs, each one of them lasting 1 minute. i've already created an animation with musicians actually playing their instruments. i will try to synchronize swf's in different levels so that when a song is loaded and play-button pressed, the animation will move from still image into a band-playing animation loop. when the music stops, the band freezes also. with this aim, am i on the right track...? is this a good method? if not, what should i try next?

    i'd really appreciate if someone could help me forward!!!! any advice, hints and comments are more than welcome. it's 8 am now, i've got to get some sleep, i feel like a zombie...

    gratefully,
    mar
    Attached Files Attached Files
    Last edited by mrk13; 07-14-2005 at 01:32 AM.

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