dcsimg
www.webdeveloper.com
Results 1 to 6 of 6

Thread: Lost in codes in actionscript {}Please help!

  1. #1
    Join Date
    Mar 2009
    Posts
    4

    Lost in codes in actionscript {}Please help!

    Hi,

    I am doing my website and I want to add some flash,the homepage is now ok (almost) but for the others pages I still have a lot of work.I will have a lot of questions,but first I want to know how to add a sound,I am a beginner and to try,I just did a ball in one frame and I just wanted to add sound to it.I took one sound from www.flashkit.com and I add this sound into the library,then I did linkage to give a name to this song (data) and then I went to the actions...and wrote:

    {
    var is playing=false;
    var mySound:Sound=new sound ();
    mySound.attachSound ("data");
    mySound.start ();
    }


    And it's not working,it's never working...for sure there are a lot of mistakes,but if you are professional in the subject,please help me,I am lost in this codes...
    Thanks

  2. #2
    Join Date
    Nov 2006
    Posts
    593
    Hey Larissa,

    What Flash program are you using?

    Allie

  3. #3
    Join Date
    Mar 2009
    Posts
    4
    Hi,

    I use Flash Cs3,Actionscript 3...it makes me realize that I should use Actionscript 2 right?

  4. #4
    Join Date
    Nov 2006
    Posts
    593
    Hmm...I' still on Flash MX but I did find this tutorial:

    http://www.frenchsquared.com/Flash_C...undBasics.html


    Also found this one:

    http://schoolofflash.com/2008/03/tut...ctionscript-3/
    Last edited by grimmylina; 03-02-2009 at 12:15 PM.

  5. #5
    Join Date
    Mar 2009
    Posts
    4
    Thanks but I did exacly what they said in the tutorial and it's not working.
    I need someone who tell me step by step how to do in my case,please!!

  6. #6
    Join Date
    Mar 2009
    Posts
    4
    HI,

    Here is the attachment of the problem,I did like in the tutorial and with or without putting "mp3" in the name song,it's not working.
    Please someone help if you know,if not,I have another question,I need to do a strip with pictures.This pic would be moving like a small movie from left to right and when you click on this small picture,I want the big one to appear.
    Do you know how to do that?
    Thanks
    Attached Images Attached Images

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles