What happens with sound? in Flash CS4 AS3

Hi,
I have a couple of questions on the same topic:
I was wondering what exactly is happening when I have this code:
var sound:Sound = new Sound(new URLRequest("URL.mp3");
does the mp3 file get downloaded?
     -If yes
          -where does it get downloaded to? Heap? Cache? or what do you call it
          -is there a way to stop or control the loading?
          -and can it be accesed(deleted) manually? is there a destructor?
               -if possible
                    -How would you delete the memory?
               -if not
                    -is there a way to do it with different code?
     -if not
         - at what point does it get downloaded? assuming the code continues like this:
           var soundChannel:SoundChannel;
           soundChannel = sound.play();
I know there are many question, but they all depend on each other and i couldn't think of a easier way to ask.
Thank you for any answers and tips!

var sound:Sound = new Sound(new URLRequest("URL.mp3");
does the mp3 file get downloaded? yes
     -If yes
          -where does it get downloaded to? Cache
          -is there a way to stop or control the loading? no
          -and can it be accesed(deleted) manually? ,yes.  is there a destructor? for the file, no
               -if possible
                    -How would you delete the memory? same way you do for all flash objects:  ready sound for gc
               -if not
                    -is there a way to do it with different code?

Similar Messages

  • What happened with TD BACKGROUND in CS4 ?

    We used to have the TD Background  textfield value in the properties even in CS3 ... but now I need to use it and I no find the way unless I write it in HTML... where is that issue now ?
    Thanks in advance,

    It wasn't deprecated by Adobe, but by the World Wide Web Consortium (W3C) - nearly a decade ago. Deprecated in HTML 4.0 and HTML 4.01 Transitional in 1999, but already obsolete in HTML 4.01 Strict in 1999 and XHTML 1.01 in 2000.
    References:
    http://www.w3.org/TR/html401/struct/global.html#h-7.2
    http://www.w3.org/TR/xhtml11/
    Why bgcolor specifically?
    This attribute has been deprecated in favor of style sheets for specifying background color information.
    Ref: http://www.w3.org/TR/html401/present/graphics.html#adef-bgcolor
    Why deprecated elements and attributes - generally?
    Experience has shown that separating the structure of a document from its presentational aspects reduces the cost of serving a wide range of platforms, media, etc., and facilitates document revisions.
    Ref: http://www.w3.org/TR/html401/intro/intro.html#h-2.4.1
    Mark A. Boyd
    Keep-On-Learnin' :-)
    This message was processed and edited by Jive.
    It shall not be considered an accurate representation of my words.
    It might not even have been intended as a reply to your message.

  • How can I NOT let collision happen in Flash CS4(AS3)?

    I have been playing with collisions for quite a while, but cannot seem to get it just the way i want it to be.
    I made a new rectangle into a Movie Clip, with an instance name : "block_mc"
    I made a sphere into a Movie Clip, with an instance name : "ball_mc"
    I made the sphere(ball_mc) movable with the arrow keys.(see post:http://forums.adobe.com/thread/491457?tstart=0 )
    Now I wanted to try and make the sphere(ball_mc) stop moving so it wont hit the rectangle(block_mc), so that the rectangle(block_mc) would act like a solid object.
    Meaning the sphere(ball_mc) would not be able to touch the rectangle(block_mc). It would act like a wall.
    Now my problem is I don't know if there is a way of not letting objects collide?
    I tried the ".hitTestObject()" but that did not work for me.
    ~ Thanks for Help and Advice~

    I apologize, for this confusing long question, I simply ment to ask:
    Is there a way Flash CS4(AS3.0) will not let Objects on stage collide?
    ~Thank you for any Tips, Advice and Help~

  • (Help) Using Input text in Flash CS4 AS3

    I am trying to take a user's input (His Name) and then greet the user on the next frame using the name he previously entered. I googled for 2days and was unable to find a way to do this on flash CS4 AS3, i guess because im very new to flash (only 2-3weeks )
    Any help would be greatly appreciated, and i am sorry if this was already answered in the forums.
    thanks for reading.

    If your interested... here's some general "rules of the road" that are basically courtesies...
    Don't post the same question in different forums (crossposting).  Folks that help don't like that because they can waste their time providing the same response someone else already offered elsewhere, or their helpful info gets no attention because the OP (original poster) got wrapped up in the discussion elsewhere and never went back to the other forums.  I saw one time where the OP suffered from doing this... the first person to respond in one forum said what they wanted couldn't be done, while my response in another forum showed them how to do it... but they accepted that it couldn't be done and never returned.
    Don't post in someone else's posting unless the exact same situation applies to you and it is a current posting.  It is a bit rude to step into someone else's posting just to get attention, which some people do... some with totally unrelated problems.  Or if your problem is even slightly different, it can end up confusing matters for all involved... trying to juggle helping two people where different solutions are needed.
    If you get one problem resolved and have another you want help with that does not involve the first, start a new posting.  People search these forums so it helps to have topics match the postings, which will not apply if mutliple topics get resolved under one title.  I recently saw one person tell someone to start a new posting even though they were following up to clarify something of the solution they received... that's wrong and is more likely someone with a case of points greed... as useless as points are, it happens.

  • Need help in screen capturing for flash CS4 AS3

    Hi, i need help!!!!!!!!!!!!!!!!!!!!!! URGENT!
    I am currently doing Augmented Reality.
    I got my marker to detect my model but my problem now is how to screen capture the content that is in swf.
    (As in capture the dae model shown in the comp not from webcam.)
    & also i just want to capture the swf window not the whole desktop.
    I read online, they say its impossible?
    Or is it possible to call screen capture function in javascript to flash CS4? (LIke external data)
    (Moreover, does anyone know how to detect multiple dae models with different markers?)
    Anyone can help??? Thanks in adv!!

    My current program (Flash CS4, AS3) only can capture what the webcam sees.
    How do i change it to screen capture (something like print screen) with my .DAE models?
    In the case, when i click on the capture button, it print screen.
    Here's part of the code that capture what the webcam sees.
    private function captureImage(e:MouseEvent):void
       bmd.draw(stage);
       bmp = new Bitmap(bmd);
       bmp.x = 140;
       bmp.y = 40;
       addChild(bmp);
       capture.visible = false;
       saveButton.visible = true;
       discardButton.visible = true;
    Really really need help! URGENT!
    Thanks!

  • How do I import SWC files created with Flex info Flash CS4?

    I've created very nice UI component using Flex 3 and I have exported it into a SWC file.
    How can I import it into Flash CS4 to use it there?

    Hmm... if you happen to be familiar with C#, then you may probably know about the problem of P/Invoke (this is a command that lets you access Windows API through C# code, which will apparently prevent it from functioning on other OSs).
    What happens with Flex framework is somewhat similar to this. I.e. it relies to much on the features of Flex compiler and the components of the framework create a lot of cross-dependencies, which makes them barely usable outside the framework.
    So, if you have time and doing this just as a matter of learning, I'd suggest you start an AS project in Flex builder and advance with it compiling it both with Flex and Flash to see if there are any differences (basically, once you see it doesn't compile / doesn't behave as you'd expect in Flash, you'll know you used something that is specific to Flex). These would be mostly meta tags, like [Bindable] for example.
    And, if you need any tutorials on how to code in pure AS, then, well, there are really to many So that you can even choose what's appropriate / goes better with your learning habits.
    If you like video lessons, there're tons of them at gotoandlearn.com, if you prefer reading documentation, here you go: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/class-summary.html
    if you prefer forums / written tuts, then, kirupa.com, actionscript.org, flashkit.com as well as Adobe forums will provide you with a lot of information.

  • Problems with sound in Flash

    I recently updated a sound file in a flash movie. I had some aif files that I updated with a mp3 sound file.  Within my movie there is a script for a replay button. It plays back fine when I play it, but when I press the replay button, it doesn't replay the sound, only the movie.  Hope I'm making sense, any ideas why I get no sound when I replay the movie?

    Sorry about that, I'm a bit of a newborn at this so I may say something stupid from time to time.
    As I said, "nav" is the image for the replay button
    The code for level0 is this
    _level0.doTimer();
    The rest of the code is
    _level0.controlsDisabled = true;
    //as : Frame 1299
    stop();
    // what's nav.  is that the movieclip the "replays"?
    nav.play();
    // what's _level0.doTimer() (copy and paste that code)
    _level0.doTimer();
    _level0.controlsDisabled = true;
    From: kglad <[email protected]>
    To: Ashton Matthews <[email protected]>
    Sent: Tuesday, July 5, 2011 10:16:34 AM
    Subject: Problems with sound in Flash
    i didn't suggest any code.  i only posted questions and you answered only one and that answer didn't help.

  • HT4918 what happen with the documents in Idisk, how can i see them in iCloud?

    what happen with the documents that i have in my idisk?? how can i move them into icloud??

    Welcome to the Apple Community.
    Unfortunately, iCloud does not offer equivalents to Mobile Me’s iDisk, Gallery or Web Hosting services. You will need to find a third party solution to replace these services. You might consider DropBox, SugarSync, MediaFire or any other service that offers online storage. (not all these alternatives offer all the services previously provided by iDisk)

  • When scrolling vertically there is an horizontal line which causes distorsion of the screen. I do not have noticed such concern on my iMac or on my macbook. What happen with the macpro ?

    When scrolling vertically there is an horizontal line which causes distorsion of the screen. I do not have noticed such concern on my iMac or on my macbook. What happen with the macpro ?

    MacPro bought in 2010
    MacBook Pro
    MacBookPro7,1
    Intel Core 2 Duo
    2,4 GHz
      Nombre de processeurs :          1
      Nombre total de cœurs :          2
      Cache de niveau 2 :          3 Mo
      Mémoire :          4 Go
      Vitesse du bus :          1,07 GHz
      Version de la ROM de démarrage :          MBP71.0039.B0B
      Version SMC (système) :          1.62f6
      Numéro de série (système) :          W804853GATP
      UUID du matériel :          716CB476-983B-5C43-B363-988FB608C01C
      Capteur de mouvement brusque
    État :          Activé
    System:
    Mac OS X 10.6.7 (10J869)
    Darwin 10.7.0
    Video DIsplay Card
    NVIDIA GeForce 320M :
      Jeu de composants :          NVIDIA GeForce 320M
      Type :          Processeur graphique (GPU)
      Bus :          PCI
      VRAM (totale) :          256 Mo
      Fournisseur :          NVIDIA (0x10de)
      Identifiant du périphérique :          0x08a0
      Identifiant de révision :          0x00a2
      Révision de la ROM :          3533
      Moniteurs :
    LCD couleur :
      Résolution :          1280 x 800
      Profondeur de pixels :          Couleurs 32 bits (ARGB8888)
      Miroir :          Activé
      État du miroir :          Miroir matériel
      Connecté :          Oui
      Intégré :          Oui
    Is that what you asked ?  Do you need other data ?
    Note that I have also strong distorison when running slides show with iphoto.
    Thanks

  • Cloning Hdd to SSD boot drive and what happens with Music/Logic Plugins

    Hi, my computer is a mid-2012 Mac Pro 12 Core
    It's a great computer but I'm considering upgrading my main boot drive (WD Caviar Black 1TB HDD) to a 1tB Samsung EVO 840 SSD drive (I'm using a sonnet tempo PCI card to mount an SSD that holds audio at the moment and will add another SSD for the boot drive I'm referring to) so I just had a question - if I clone the HDD to the new SSD, what happens with things like licenses for my audio plugins, such as Native Instruments Komplete, programs by IKMultemedia. programs that use an ILOK such as Steven Slate Plugins and also, WAVES plugins?  Will this info all carry across to the new SSD drive or do you think I'll need to reauthorise some things?  I have all the serials etc so this shouldn't be an issue, but just wondered.
    Any help would be appreciated as it feels like quite a big step in that it's my main system drive!
    Thanks in advance
    Sam

    CCC is excellent. If it doesn't work then sure, just always have a safety net of your system that is untouched.
    Also, after a clean install, CLONE it!
    And then use Setup Assistant. Migration Assistant.
    Clone of the system can go on sparse disk images too so you don't have to partition (should have at least one though) and you can have clone from different stages and versions: 10.9.4, without Setup Assistant, migrated, full loaded with all your apps. Multiple versions.
    CCC is designed to make a working bootable copy of a system so you can move the system to another boot device like hdd and SSDs without the worry.
    But I think we were talking about a system that did not see a clean install of Mountain Lion or Mavericks so it is over due for one!

  • In latest 2 days after update ios 5.01 my ipad2 suddenly restart when i reading from ibook, what happen with new update ?

    In latest 2 days after update ios 5.01 my ipad2 suddenly restart when i reading from ibook, what happen with new update ?

    Download the full version of the software then shift click the restore button. This will ask you where the firmware files are. Once you point to the firmware then you can install the official version

  • What happens with bootcamp after ios update

    Hello,
    I am about to update from ios 10.7 to 10.8 (Mountain Lion). What happens with my (data on) bootcamp? Do I need to reinstall it?
    Thanks in advance.
    Regards,
    Marcel Rombeek

    iOS and Mac OS X are completely separate things, so I'm a bit confused. But assuming you're referring solely to updating Mac OS X, upgrading to Mountain Lion should not affect your Bootcamp partition in any way, though with Mountain Lion not yet released, we can't say with absolute certainty.
    Regards.

  • What happened with the pagemaker trial?

    Hi, I'm trying to download the Adobe Pagemaker on my MAC and it's not working, can you guys help me or tell me why?
    Thanks

    I try that too but didn't open as well...???Do you think there's anyway you can send me the file?Thanks!
    Nany           <Removed by Moderator>
    Date: Fri, 8 Jun 2012 10:19:15 -0600
    From: [email protected]
    To: <removed by moderator>
    Subject: Re: What happened with the pagemaker trial? What happened with the pagemaker trial?
        Re: What happened with the pagemaker trial?
        created by Jeff A Wright in Trial Download & Install FAQ - View the full discussion
    This is a stuff-it archive.  You can locate a copy of Stuff-it Expander at http://www.stuffit.com/mac-expander.html#compare.  You can use this to open the sit file.
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Re: What happened with the pagemaker trial?
    To unsubscribe from this thread, please visit the message page at Re: What happened with the pagemaker trial?. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Trial Download & Install FAQ by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • HT204347 What happened with my Macbook?

    When I started my MacbookPro, and press hold the option key which I would like go to Bootcamp, but It goes to the Locked and need type password. What happened with my macbook?

    Dear Melophage,
    Thank you for your replied. Do you know any way to solve my trouble without go to the Apple Retail Stores or Apple Authorized Service Providers?.
    Thank you.

  • What happened with the 7000 2011.q1 fw update

    Dose any one know what happened with the 7000 2011.q1 fw update, we where eagerly waiting hopping to get the compressed replication feature (save in replication bandwidth).
    Thanks,
    -Eli

    Restore your library from an up to date backup.
    If you don't have a backup (which you really should), see turingtest2's user tip on Empty/corrupt iTunes library after upgrade/crash for steps necessary to restore your library within iTunes - this assumes that your media is all present on your computer, as it always should be.
    Otherwise, see tt2's notes on Recover your iTunes library from your iPod or iOS device

Maybe you are looking for

  • Dynamic branching - how?

    Hello, I'm stuck a little bit. I'm on Apex 4.1, Oracle 11g XE I have a page which branches to 2 different pages depending on a page item. I the item is set to A it branches to page A, if set to B it branches to page B. Now this works for buttons CANC

  • Info Record Mandatory for PO

    Dear Experts, We want the implementation of the system for generating PO/rejection document with the help of Info Record. My requirement is as below.- 1.Freeze the INFO record . 2.While generating PO / Rejection document , it should pick the Price fr

  • Multiple atv2 controlled by one computer

    I hope this makes sense. I am working on a project and require some information. I have 10 LCD displays that are used a a public broadcast system - to display announcements important notices (for a school). Currently we use PowerPoint to do this but

  • Best practices for Project Systems

    Hello Experts, I am working from BI side to integrate Project systems to BI for reporting purposes. On the sdn, I have seen the term 'Best Practices guide'. 1) What is this 'Best Practices mean' 2) Where can we find it from 3) How is that going to be

  • Excludes for Background Execution...?

    Hi All,       What are the things that doesn't work in background mode of execution of a program and the reasons for this type of technical behaviour...?       For example, the function module 'GUI_DOWNLOAD' can't run in background mode. One of the r