How do I make a sound play once the .swf starts?

I have loaded 'Audio.wav' onto the Library, and given it a linkage name of 'Speedcore' without the apostrophes. I ticked the boxes 'Export for ActionScript' and 'Export in First Frame'.
I want it to start once the .swf begins. I set Audio to Stream.
This is a code I found but doesn't work
var mySound:Sound= new Sound(); mySound.loadSound("Speedcore" , true); mySound.onLoad = function() { mySound.start(); }
Help? =)

Thanks, I will try it. The only thing I need is to learn global values or whatever. I'm using a money-system and I need to learn how to make it so you can only buy 1 of an item, and all that. But atleast I know the basics. Thanks Kglad!

Similar Messages

  • How do I make one video plays after the other

    Let's say I have an idvd project with 5 different movies, how do I make one plays after the other? When I click next, it goes back to the menu. Thanks Alex

    There are two ways to do this.
    1. If you have it, use iMovie HD6. You can put all of your movies into one project, and add chapter markers at the beginning of each movie. This will allow you to play your movies straight through or select the individual movies, like a scene selection.
    2. You can use iDVD instead. Check out this post by Old Toad on how to use this method.
    http://discussions.apple.com/thread.jspa?messageID=8656075&#8656075
    I hope this helps.

  • Flash 8 - How do i make a sound occur when the car hits the item

    In the car game i am working on, I now got a point system set up so the car hits different
    items and the points rise but i want the sound clip i have downloaded to play when the car hits
    the items..
    http://thebackyardchampion.deviantart.com/#/d48zgkl - Game link so far - but not published the point system yet.
    Anyway Please don't provide to straght forward advice such as "copy this code (code here)" etc
    Please can you provide the code i need, the MC car is called 'car 1', the MC items have different names
    such as g1, t1, pt1, pb1 and shine.
    Please tell me where i need to place the soundwave in the firstplace (or leave it in the library.)
    Whether i need to click the car or the item and paste it in frame 1 etc?
    Over all, all layers have a total of 3 frames. 1 key frame i believe and the other two are normal frames.
    Please helps..

    Hi there
    Probably it's just a matter of associating the correct CSS file.
    Open both topics in RoboHelp.
    Edit a topic where things look correct.
    Click the CSS icon as shown below:
    Click the image below for larger view
    Now edit the errant topic.
    Click the same icon and choose the CSS file you saw earlier.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How can I make my movies play on the web!?!!!

    I followed the tutorials by Tom Green on using Edge Animate to package your videos in order to place within Muse.
    It's actually a simple process, (maybe too simple), because the content plays perfectly locally but once posted the movies are dead.
    I drilled into the FTP and the files are all there neatly organized by Muse, but the browser can't play them at runtime.
    Any help?

    May I have link to the page where you have placed the Videos?
    Also, You may find this article helpful : Adobe Muse Help | Adding Edge Animate content

  • How do I make songs always play from the start of the track?

    I have an iphone 3GS and I have an issue. I'm sure there's a really obvious fix for this, but I can't work out what it is - can someone please help me!
    So the issue is... my music always starts playing from wherever I last paused the track, no matter when I last paused it. I tend to shuffle through my music and skip tracks a lot, and so I always want my music to start from the beginning of the track. It's so annoying when I get to a track and it starts blaring from halfway through the chorus, because that's where I paused it when I listened to it last month....
    Please could someone tell me how to fix this??
    Thanks!

    That is NOT normal... Restore phone! If that doesn't fix it take it to aan apple store and have them look at it! The only time the iPod app should ever start In The middle of a song is if you're playing the song you last paused!

  • How can I make music (mp3) play automatically in one Scene (NO buttons)?

    How can I make an mp3 play automatically in one Scene (NO buttons)? I have been searching the net for answers for over 10 hours with no answer... My movie will not be for the web, it needs to be portable (CD or flash drive)...
    PLEASE HELP!!!!!!!
    thank you!

    You just need to look in Help for the Sound class and possibly SoundChannel... if you have an MP3 in your library - right click it, and go to properties. Set the sound to export for ActionScript - and give it a class name - mySound will work. Then you can make it play with something as simple as:
    var a:SoundChannel = new mySound().play();

  • **how can i make chess to play online?**

    Hi,
    I want to make a web application which is a game of chess. I want to make it in such a way like on yahoo games. Where two people can play chess. I know how to make it possible to play on a single desktop pc. But how can i make it to play online. I need to know about what java technologies I should learn to make this project possible.
    Regards,
    Fahad Ahemd

    ok but how I dont want to create webserver. I mean I can't affort it at this stage of my education. I can afford a webhosting. there are lot of opitons for webhosting are availabe. I can buy one for me. But I want to know what features of java or anything else should be available on that server. 2nd is what do u mean by socket programming. I understand http programming. It includes servlets and jsps. but what is socket programming and why i need it in this project.
    waiting for reply...
    Fahad Ahmed

  • Air for android - how do i make a sound download?

    developing on nexus s. want to make my sound download to the phone. anyone know how? or seen any links that could help me? thanks in advance if you can.

    Thanks Hangtime. That looks like a pretty decent app. I'll check it out.
    Do you (or anybody) know of a way to make a cross-platform compatible sound font, though? I would like to share my results with the (less fortunate) PC crowd as well.
    Thanks,
    brandon

  • How do you move a sound clip in the timeline?

    I have not had this problem before. I have put many songs into the timeline, and repositioned them. Today I pulled up a project and attempted to reposition a song to fit in better with the clip, and I'm unable to do so. I can't select the song, or anything else. Obviously I have set or locked up this track, and I can't figure out how to unlock if that is what I have done. I have 6 songs on that track, Audio track 2, and I can't reposition any of them. I can't even remove them from that track. What am I doing wrong?

    Hunt, most of my music files, over 9000 songs, are mostly mp3 files and a few are wma, and because of copyright laws I wouldn't use them in a commercial project I'm working on anyway. When I am working on a project for a client I will generally use higher quality WAV files. This project was being done just to learn some new techniques, gain some more experience with PPCS4, and expand my knowledge with the program. I have this huge number of music files and styles to work with, so I can do a great deal of experimentation to see what different songs can do to the mood of the video.
    As a test, I did put the exact same songs into the timeline on a different audio track. The problem track is audio 2, and I duplicated those songs on audio 3. I did the exact same editing. I faded them in and out the same as before. Split one song into 3 sections had parts of it come in and out over a video section of 9 minutes duration. They are working perfectly. I was just working on one section of that project a half hour ago, and I was still able to select and move each of the four songs on that track any way that I wanted to. However, the track just above it in that same timeline, Track 2, is still frozen.
    Hunt, just a moment ago I solved my problem. Still not being that familiar with the program, two days ago I know that I was playing with all of the controls, and I obviously hit one of them without knowing one of its side effects. I hit the show "show track keyframes". I'm sure that you know it, but I didn't realize that when that function is selected, you can't do much else with the track but play with those keyframe. Even though I didn't have the track locked, in the traditional way, it was still, for all practicall reasons, locked. I unchecked that function and now everything is back to normal again on that track.
    Something very simple, as many things turn out to be when you understand it. However, maybe someone else will make the same mistake, and my posting here will help them.
    I will use your suggestions for using .WAV files. Thank you again. 
    Terry Lee Martin
    Date: Mon, 7 Sep 2009 14:29:37 -0600
    From: [email protected]
    To: [email protected]
    Subject: How do you move a sound clip in the timeline?
    Terry,
    What is the purpose of using the .WMA files? I'm sure that you have a good reason, but they can be problematic, at best. I only use them as a trasfer medium, when I need to get a DD 5.1 SS soundtrack into Audition for editing. There, I break them out into 6 discrete .WAV files, edit in Multi-track Mode and then usually Export as the 6 discrete WAV's to be encoded to DTS, or similar.
    If you do not have a compelling reason for using the .WMA, try PCM/WAV @ 48KHz 16-bit and see if the issues go away.
    Good luck, and let us know how it goes please,
    Hunt
    >

  • How can I make a permanent change in the zoom level?

    I want to know how I can make a permanent change is the zoom level? I dont want to constantly have to change it from the default value of 100% every time I go to a different page. Thanks.

    Hello,
    You can also use the [https://addons.mozilla.org/en-US/firefox/addon/2592/ NoSquint] add-on to change the default zoom level for all websites at once. After setting your global zoom level, you can fine-tune the zoom on individual sites and set the options so that NoSquint remembers per-site settings.
    After installing NoSquint, go to the add-ons page to set the per-site settings:
    * Tools (or [[Image: New Fx Menu]]) > Add-ons > Extensions
    * Click the "Options" button by NoSquint

  • Does anyone know how to get a movie to play on the apply TV that you rented?

    Does anyone out there know how to get a movie to play on the Apple TV that was rented through Apple TV?

    It's not going to show under purchases because it's a rental. You have to go into settings - iTunes - check for rental.
    Note: a rental will disappear once it's expired (after 24hrs or 48 hrs depending on location)

  • How to send a job log/Spool once the job completed?

    Could you please help me how to send a job log/Spool once the job completed.
    There was an option is available System Send mail to send a mail once the job completed . So could you please help me how we can send a job log using this option .
    I have tried the below but i didn't get any mail . Could some one help this please !
    For example :
    Job chain name : Test_spool
                    Step1 : Reportstep
                                    Job definition u2013 XXX_YYY
                    Step2:  Mailstep
                                    Job definition: system_mail_send
    Expression :  Reportstep,job<(what i need to mention here )>:reportstep/log.txt
    Check the ablove mentioned is correct and correct me , still i didnu2019t get the log in the mail please .
    Thanks
    Ramkumar

    Hi Ram,
    I need your help on getting mail alert with  log file.
    here is how i have provide the parameter valure for job definition: system_mail_sent.
    Step1 with one job1 and step2 with one job1
    In step2 , i have included the job definition to send mail. with below parameter.
    Relative Job: Step 1, Job 1
    Job File: step 1, job 1: step 1/log.txt
    Please let me  know if the above method is correct or not.
    NOTE: mail server and from address are configured.
    Thanks,
    Karthik

  • How do I make an e-mail account the default account (I have 2 accts)?

    How do I make an e-mail acct the default account?  I want my contact list to come over to my iPad.

    To make it the default account- iPad settings, mail,(under signature) default account. Select it and change it. The address book, under that account make sure you have addresses ON.

  • How can I make hyperlinks work from a Flash/SWF presentation?

    How do you make hyperlinks/buttons work in Flash/SWF Captivate 5.5 presentations? This did not seem to be an issue with Version 4. I cannot publish to video (i.e. mp4) or as an executable file for posting on our internal system. If it cannot be done in Flash/SWF, how else can I get buttons/hyperlinks to work? Thank you.

    Welcome to our community
    Please take a look at the links below. Not only do they answer your question, they are there to help you get the best forum experience.
    Forum Participation Suggestions
    Frequently Encountered issues
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • When i burn videos to a dvd-r disc it works on my macbook but not on a windows/pc or my dvd player. How can i make it work on all the above and not just a mac product?

    when i burn videos to a dvd-r disc it works on my macbook but not on a windows/pc or my dvd player. How can i make it work on all the above and not just a mac product?

    Unfortunately, the recording & movie industry does not respect the rights of the people who make them money, and thus you can only use the paid-for content in ways they see fit. Even if I lived in a bunker where no one else could possibly see the movie I paid for, therefor I'm not 'sharing it illegally', I would still not be allowed in a blue moon to copy that movie to DVD for TV viewing. Someone will tell you to get an AppleTV. How about Apple give us one for free? Until this changes, people wanting to use their content in multiple locations will continue to download music & movies via torrents, legally or illegally.

Maybe you are looking for

  • Cannot log into Pinterest from Firefox

    For the past few weeks, I've been unable to log into my Pinterest account. I use Firefox as my primary browser. I've gone back and forth with Pinterest tech support, to no avail, and they sent me here. <eye roll> I've tried all the easy things...dele

  • Reg Error: Message No FF 747 in MIRO Subsequent Credit.

    Hello While posting a subsequent credit in miro system is giving error message. message is The tax amount must not be greater than tax base amount. it is like credit memo for high priced amount in invoice. could you please put some light on this. tha

  • How to adjust R/W rules to display images inline?

    Hi all, out of the box, when I insert an image in a paragraph (DITA 1.2) then FrameMaker 12 uses the "below line" display setting. I need to display it inline, at the insertion point. When I adjust the settings of the anchored frame then the inline s

  • Coldfusion session/client variables?

    We have multiple users using VPN to get to our intranet.  When the second user gets on they get the first person's session/client variables? I have tried looking for the session/client variables and where they are stored but I can't seem to find them

  • Where is My Current Wallpaper Located?

    I, recently, updated my 4S to iOS 7.  I'd like to experiment with the different wallpapers to see which one looks best.  The one I, currently, have and had set before the upgrade was the iOS 5 default wallpaper (water droplets).  I notice that this w