Re: [Flashcoders] Converting fla to mov
good idea to export it at 1 fps, that way you don't get skipped frames (even with heavy actionscript use), then speed up the resulting mov to the original framerate and you've got a perfect mov. On 25 October 2010 07:25, Karl DeSaulniers k...@designdrumm.com wrote: @Henrik One possible solution for the script problem is to take the frame that the MC which has that script in it and extend that MCs frame to the same length as how long it would take to execute. Even if there is only one frame inside that MC. The export reads the main timeline and if you have a MC that sits on one frame, extend that frame to the execute time length in frames and it will give the main timeline export the room to record your script working/executing. Then just move frames that would come after that effect/script to the appropriate spot on the timeline considering this adjustment. Your main timeline will be super long, but It should export your particle effect. I think also, you have to export as animation to execute any scripts you have in your fla. This is just a theory and I have not tested, but if you try, let me know if it works or not. Best, Karl On Oct 24, 2010, at 6:03 PM, Karl DeSaulniers wrote: Hi Natalia, Sure, its simple. Go to file menu, select export, select QuickTime in the drop-down menu, navigate to the folder you want to save everything to, hit save, a dialog box will pop up, on it there should be a QuickTime Settings button - select it, Once you have gotten this far, now you must start thinking of how you want things exported. If your flash movie is just regular animations as in timeline animations, you can select stop export when last frame is reached or if your flash movie has script and other animations inside movieclips not on the main timeline, you can stop exporting after a certain time has elapsed. this option is a little tricky and you may have to export multiple times to get the desired results. trial and error on that. I think this option is what will help in a situation like what Henrik was suggesting could happen. Flash has trouble exporting scripts because they can extend past the main timeline, but if you stop export after a certain time elapsed it exports the movie more like a recording than an export. My advice is to take the script effects and remake them (to the best of your ability) as an actual animation. If you can not do that, then you would probably need a screen recorder to capture the action and then place it in your fla. But back tot he export. Once you have chosen the way you want to export, and you've clicked the QuickTime Settings button, in that dialog box you will see a Video Sound and Prepare for internet streaming. the first one is where you will find the Animation Codec. Make sure the Video check box is selected and then choose the Settings button. Under the drop-down menu, select Animation (This is the Animation Codec) then you will have some settings that will show, like a Motion and Data Rate and Compressor. Here is where you set things to the highest. Set the frame rate to current (the rate you made your flash file) or 30 fps (usually best for real motion) Data Rate Should be grayed out so don't worry about that, if it isn't, set it to automatic the first round, and then Compressor should be set to Millions of Colors+ or what ever is the highest in your drop-down, or just drag the slider all the way to the right if your slider is not grayed out. Press ok. Go to the Sound check box, enable it if you have sound, don't if you don't. :) Here set your audio to the least compressed. Compressor : none Rate: 48.000 Size: 16 bit Use: Stereo then choose your stream type. I usually use Fast start with compressed head (I believe this improves the loading of the video when served from the internet and deals with the buffer, but don't quote me on it) Now when exporting this movie, know that it will take a long time if you have a large movie. Especially if your using scripts and embedded movies with animation and your timing the export. So view and time your movie as a swf first to get a general idea of how long it will take. Literally, get a stopwatch and time it. record how long it takes for it to play with all the scripts and animations doing their thing. Take this time and put it in the box for export stop with elapsed time. the format is kind of weird. Ever looked up in the corder of your video recorder and saw those strings of numbers usually looked like 00:01:35:24. Well that string I just typed says the track is 1 min 35 sec 24 mill-sec. You will need to set the time you got in this format for that export option to work properly. Once you have the file exported, then go open it with QuickTime and export that file to the size and settings you need for displaying on the internet File menu - Select Export or maybe in your case Export for web. NOTE: Do not over write
Re: [Flashcoders] Converting fla to mov
I didn't even think of that.. right on rhodes. :) Makes sense, you would even have better control to make multiple MOVs for different media from the same file with different frame rates. if the frame rate doesn't matter. But remember what frame rate you created it in for some situations though, because if your Fla. is made at at 12 fps and you export it at 30fps it will make everything move faster than the way you originally made it and knew it to play. And if you have video playing in your Fla. that is set to say 30fps, you will have to get your export back up to 30fps for those videos to look right. Best, Karl On Oct 25, 2010, at 3:17 AM, tom rhodes wrote: good idea to export it at 1 fps, that way you don't get skipped frames (even with heavy actionscript use), then speed up the resulting mov to the original framerate and you've got a perfect mov. On 25 October 2010 07:25, Karl DeSaulniers k...@designdrumm.com wrote: @Henrik One possible solution for the script problem is to take the frame that the MC which has that script in it and extend that MCs frame to the same length as how long it would take to execute. Even if there is only one frame inside that MC. The export reads the main timeline and if you have a MC that sits on one frame, extend that frame to the execute time length in frames and it will give the main timeline export the room to record your script working/ executing. Then just move frames that would come after that effect/script to the appropriate spot on the timeline considering this adjustment. Your main timeline will be super long, but It should export your particle effect. I think also, you have to export as animation to execute any scripts you have in your fla. This is just a theory and I have not tested, but if you try, let me know if it works or not. Best, Karl On Oct 24, 2010, at 6:03 PM, Karl DeSaulniers wrote: Hi Natalia, Sure, its simple. Go to file menu, select export, select QuickTime in the drop-down menu, navigate to the folder you want to save everything to, hit save, a dialog box will pop up, on it there should be a QuickTime Settings button - select it, Once you have gotten this far, now you must start thinking of how you want things exported. If your flash movie is just regular animations as in timeline animations, you can select stop export when last frame is reached or if your flash movie has script and other animations inside movieclips not on the main timeline, you can stop exporting after a certain time has elapsed. this option is a little tricky and you may have to export multiple times to get the desired results. trial and error on that. I think this option is what will help in a situation like what Henrik was suggesting could happen. Flash has trouble exporting scripts because they can extend past the main timeline, but if you stop export after a certain time elapsed it exports the movie more like a recording than an export. My advice is to take the script effects and remake them (to the best of your ability) as an actual animation. If you can not do that, then you would probably need a screen recorder to capture the action and then place it in your fla. But back tot he export. Once you have chosen the way you want to export, and you've clicked the QuickTime Settings button, in that dialog box you will see a Video Sound and Prepare for internet streaming. the first one is where you will find the Animation Codec. Make sure the Video check box is selected and then choose the Settings button. Under the drop-down menu, select Animation (This is the Animation Codec) then you will have some settings that will show, like a Motion and Data Rate and Compressor. Here is where you set things to the highest. Set the frame rate to current (the rate you made your flash file) or 30 fps (usually best for real motion) Data Rate Should be grayed out so don't worry about that, if it isn't, set it to automatic the first round, and then Compressor should be set to Millions of Colors+ or what ever is the highest in your drop-down, or just drag the slider all the way to the right if your slider is not grayed out. Press ok. Go to the Sound check box, enable it if you have sound, don't if you don't. :) Here set your audio to the least compressed. Compressor : none Rate: 48.000 Size: 16 bit Use: Stereo then choose your stream type. I usually use Fast start with compressed head (I believe this improves the loading of the video when served from the internet and deals with the buffer, but don't quote me on it) Now when exporting this movie, know that it will take a long time if you have a large movie. Especially if your using scripts and embedded movies with animation and your timing the export. So view and time your movie as a swf first to get a general idea of how long it will take. Literally, get a stopwatch and time it. record how long it takes for it to
Re: [Flashcoders] Converting fla to mov
Thank you very much! Your advices really helped to create mov file. When I export to mov file In Compression Type I see many possible types. My final goal is converting mov to broadcast video: 4x3 NTSC standard definition and 16x9 1080p high definition. I honestly say that I know nothing about those standards. Does compression type when I export flash to mov mean something for final proadcast video? I did not see anything about these two formats in QT settings when I export mov to mp4. I understand that is not directly flash question but maybe somebody can say some words about that. Should I create fla with 30fps if I need it to export in video format? 2010/10/25 Karl DeSaulniers k...@designdrumm.com: I didn't even think of that.. right on rhodes. :) Makes sense, you would even have better control to make multiple MOVs for different media from the same file with different frame rates. if the frame rate doesn't matter. But remember what frame rate you created it in for some situations though, because if your Fla. is made at at 12 fps and you export it at 30fps it will make everything move faster than the way you originally made it and knew it to play. And if you have video playing in your Fla. that is set to say 30fps, you will have to get your export back up to 30fps for those videos to look right. Best, Karl On Oct 25, 2010, at 3:17 AM, tom rhodes wrote: good idea to export it at 1 fps, that way you don't get skipped frames (even with heavy actionscript use), then speed up the resulting mov to the original framerate and you've got a perfect mov. On 25 October 2010 07:25, Karl DeSaulniers k...@designdrumm.com wrote: @Henrik One possible solution for the script problem is to take the frame that the MC which has that script in it and extend that MCs frame to the same length as how long it would take to execute. Even if there is only one frame inside that MC. The export reads the main timeline and if you have a MC that sits on one frame, extend that frame to the execute time length in frames and it will give the main timeline export the room to record your script working/executing. Then just move frames that would come after that effect/script to the appropriate spot on the timeline considering this adjustment. Your main timeline will be super long, but It should export your particle effect. I think also, you have to export as animation to execute any scripts you have in your fla. This is just a theory and I have not tested, but if you try, let me know if it works or not. Best, Karl On Oct 24, 2010, at 6:03 PM, Karl DeSaulniers wrote: Hi Natalia, Sure, its simple. Go to file menu, select export, select QuickTime in the drop-down menu, navigate to the folder you want to save everything to, hit save, a dialog box will pop up, on it there should be a QuickTime Settings button - select it, Once you have gotten this far, now you must start thinking of how you want things exported. If your flash movie is just regular animations as in timeline animations, you can select stop export when last frame is reached or if your flash movie has script and other animations inside movieclips not on the main timeline, you can stop exporting after a certain time has elapsed. this option is a little tricky and you may have to export multiple times to get the desired results. trial and error on that. I think this option is what will help in a situation like what Henrik was suggesting could happen. Flash has trouble exporting scripts because they can extend past the main timeline, but if you stop export after a certain time elapsed it exports the movie more like a recording than an export. My advice is to take the script effects and remake them (to the best of your ability) as an actual animation. If you can not do that, then you would probably need a screen recorder to capture the action and then place it in your fla. But back tot he export. Once you have chosen the way you want to export, and you've clicked the QuickTime Settings button, in that dialog box you will see a Video Sound and Prepare for internet streaming. the first one is where you will find the Animation Codec. Make sure the Video check box is selected and then choose the Settings button. Under the drop-down menu, select Animation (This is the Animation Codec) then you will have some settings that will show, like a Motion and Data Rate and Compressor. Here is where you set things to the highest. Set the frame rate to current (the rate you made your flash file) or 30 fps (usually best for real motion) Data Rate Should be grayed out so don't worry about that, if it isn't, set it to automatic the first round, and then Compressor should be set to Millions of Colors+ or what ever is the highest in your drop-down, or just drag the slider all the way to the right if your slider is not grayed out. Press ok. Go to the Sound check box, enable it if you have
Re: [Flashcoders] Converting fla to mov
Hi Natalia, First you export from flash with the animation codec the way I was describing, then you open that exported file into QuickTime and re-export it in the mp4 format. Yes 24 to 30 fps for video. 30fps for broadcast. Best, Karl On Oct 25, 2010, at 4:55 AM, natalia Vikhtinskaya wrote: Thank you very much! Your advices really helped to create mov file. When I export to mov file In Compression Type I see many possible types. My final goal is converting mov to broadcast video: 4x3 NTSC standard definition and 16x9 1080p high definition. I honestly say that I know nothing about those standards. Does compression type when I export flash to mov mean something for final proadcast video? I did not see anything about these two formats in QT settings when I export mov to mp4. I understand that is not directly flash question but maybe somebody can say some words about that. Should I create fla with 30fps if I need it to export in video format? 2010/10/25 Karl DeSaulniers k...@designdrumm.com: I didn't even think of that.. right on rhodes. :) Makes sense, you would even have better control to make multiple MOVs for different media from the same file with different frame rates. if the frame rate doesn't matter. But remember what frame rate you created it in for some situations though, because if your Fla. is made at at 12 fps and you export it at 30fps it will make everything move faster than the way you originally made it and knew it to play. And if you have video playing in your Fla. that is set to say 30fps, you will have to get your export back up to 30fps for those videos to look right. Best, Karl On Oct 25, 2010, at 3:17 AM, tom rhodes wrote: good idea to export it at 1 fps, that way you don't get skipped frames (even with heavy actionscript use), then speed up the resulting mov to the original framerate and you've got a perfect mov. On 25 October 2010 07:25, Karl DeSaulniers k...@designdrumm.com wrote: @Henrik One possible solution for the script problem is to take the frame that the MC which has that script in it and extend that MCs frame to the same length as how long it would take to execute. Even if there is only one frame inside that MC. The export reads the main timeline and if you have a MC that sits on one frame, extend that frame to the execute time length in frames and it will give the main timeline export the room to record your script working/ executing. Then just move frames that would come after that effect/script to the appropriate spot on the timeline considering this adjustment. Your main timeline will be super long, but It should export your particle effect. I think also, you have to export as animation to execute any scripts you have in your fla. This is just a theory and I have not tested, but if you try, let me know if it works or not. Best, Karl On Oct 24, 2010, at 6:03 PM, Karl DeSaulniers wrote: Hi Natalia, Sure, its simple. Go to file menu, select export, select QuickTime in the drop-down menu, navigate to the folder you want to save everything to, hit save, a dialog box will pop up, on it there should be a QuickTime Settings button - select it, Once you have gotten this far, now you must start thinking of how you want things exported. If your flash movie is just regular animations as in timeline animations, you can select stop export when last frame is reached or if your flash movie has script and other animations inside movieclips not on the main timeline, you can stop exporting after a certain time has elapsed. this option is a little tricky and you may have to export multiple times to get the desired results. trial and error on that. I think this option is what will help in a situation like what Henrik was suggesting could happen. Flash has trouble exporting scripts because they can extend past the main timeline, but if you stop export after a certain time elapsed it exports the movie more like a recording than an export. My advice is to take the script effects and remake them (to the best of your ability) as an actual animation. If you can not do that, then you would probably need a screen recorder to capture the action and then place it in your fla. But back tot he export. Once you have chosen the way you want to export, and you've clicked the QuickTime Settings button, in that dialog box you will see a Video Sound and Prepare for internet streaming. the first one is where you will find the Animation Codec. Make sure the Video check box is selected and then choose the Settings button. Under the drop-down menu, select Animation (This is the Animation Codec) then you will have some settings that will show, like a Motion and Data Rate and Compressor. Here is where you set things to the highest. Set the frame rate to current (the rate you made your flash file) or 30 fps (usually best for real motion) Data Rate Should be grayed out so don't worry about
Re: [Flashcoders] Converting fla to mov
Sorry, I did not understand a little. I must to have my fla with 30fps? Is mp4 format that I get from QT is broadcast ? 2010/10/25 Karl DeSaulniers k...@designdrumm.com: Hi Natalia, First you export from flash with the animation codec the way I was describing, then you open that exported file into QuickTime and re-export it in the mp4 format. Yes 24 to 30 fps for video. 30fps for broadcast. Best, Karl On Oct 25, 2010, at 4:55 AM, natalia Vikhtinskaya wrote: Thank you very much! Your advices really helped to create mov file. When I export to mov file In Compression Type I see many possible types. My final goal is converting mov to broadcast video: 4x3 NTSC standard definition and 16x9 1080p high definition. I honestly say that I know nothing about those standards. Does compression type when I export flash to mov mean something for final proadcast video? I did not see anything about these two formats in QT settings when I export mov to mp4. I understand that is not directly flash question but maybe somebody can say some words about that. Should I create fla with 30fps if I need it to export in video format? 2010/10/25 Karl DeSaulniers k...@designdrumm.com: I didn't even think of that.. right on rhodes. :) Makes sense, you would even have better control to make multiple MOVs for different media from the same file with different frame rates. if the frame rate doesn't matter. But remember what frame rate you created it in for some situations though, because if your Fla. is made at at 12 fps and you export it at 30fps it will make everything move faster than the way you originally made it and knew it to play. And if you have video playing in your Fla. that is set to say 30fps, you will have to get your export back up to 30fps for those videos to look right. Best, Karl On Oct 25, 2010, at 3:17 AM, tom rhodes wrote: good idea to export it at 1 fps, that way you don't get skipped frames (even with heavy actionscript use), then speed up the resulting mov to the original framerate and you've got a perfect mov. On 25 October 2010 07:25, Karl DeSaulniers k...@designdrumm.com wrote: @Henrik One possible solution for the script problem is to take the frame that the MC which has that script in it and extend that MCs frame to the same length as how long it would take to execute. Even if there is only one frame inside that MC. The export reads the main timeline and if you have a MC that sits on one frame, extend that frame to the execute time length in frames and it will give the main timeline export the room to record your script working/executing. Then just move frames that would come after that effect/script to the appropriate spot on the timeline considering this adjustment. Your main timeline will be super long, but It should export your particle effect. I think also, you have to export as animation to execute any scripts you have in your fla. This is just a theory and I have not tested, but if you try, let me know if it works or not. Best, Karl On Oct 24, 2010, at 6:03 PM, Karl DeSaulniers wrote: Hi Natalia, Sure, its simple. Go to file menu, select export, select QuickTime in the drop-down menu, navigate to the folder you want to save everything to, hit save, a dialog box will pop up, on it there should be a QuickTime Settings button - select it, Once you have gotten this far, now you must start thinking of how you want things exported. If your flash movie is just regular animations as in timeline animations, you can select stop export when last frame is reached or if your flash movie has script and other animations inside movieclips not on the main timeline, you can stop exporting after a certain time has elapsed. this option is a little tricky and you may have to export multiple times to get the desired results. trial and error on that. I think this option is what will help in a situation like what Henrik was suggesting could happen. Flash has trouble exporting scripts because they can extend past the main timeline, but if you stop export after a certain time elapsed it exports the movie more like a recording than an export. My advice is to take the script effects and remake them (to the best of your ability) as an actual animation. If you can not do that, then you would probably need a screen recorder to capture the action and then place it in your fla. But back tot he export. Once you have chosen the way you want to export, and you've clicked the QuickTime Settings button, in that dialog box you will see a Video Sound and Prepare for internet streaming. the first one is where you will find the Animation Codec. Make sure the Video check box is selected and then choose the Settings button. Under the drop-down menu, select Animation (This is the Animation Codec) then you will have some settings that will show, like a Motion and Data Rate and Compressor. Here is where
Re: [Flashcoders] Converting fla to mov
Yes 30 fps for video. Broadcast is a term describing if your submitting the video your making to a TV station for instance. Or a LIVE broadcast situation. You use a MOV for that or burn it to a DVD. mp4 is not for broadcasting to a TV show (I believe) it is used for the internet and cell phones, etc. Just follow the previous steps, get your export file that you made from flash open it in Quicktime and export to mp4 at 30fps using the MPEG4 codec (it will be in the dropdown) or use the iphone or mp4 selections if you have it. And your done.. (hopefully, like I said, lots of trial and error) :) Karl On Oct 25, 2010, at 6:01 AM, natalia Vikhtinskaya wrote: Sorry, I did not understand a little. I must to have my fla with 30fps? Is mp4 format that I get from QT is broadcast ? 2010/10/25 Karl DeSaulniers k...@designdrumm.com: Hi Natalia, First you export from flash with the animation codec the way I was describing, then you open that exported file into QuickTime and re-export it in the mp4 format. Yes 24 to 30 fps for video. 30fps for broadcast. Best, Karl On Oct 25, 2010, at 4:55 AM, natalia Vikhtinskaya wrote: Thank you very much! Your advices really helped to create mov file. When I export to mov file In Compression Type I see many possible types. My final goal is converting mov to broadcast video: 4x3 NTSC standard definition and 16x9 1080p high definition. I honestly say that I know nothing about those standards. Does compression type when I export flash to mov mean something for final proadcast video? I did not see anything about these two formats in QT settings when I export mov to mp4. I understand that is not directly flash question but maybe somebody can say some words about that. Should I create fla with 30fps if I need it to export in video format? 2010/10/25 Karl DeSaulniers k...@designdrumm.com: I didn't even think of that.. right on rhodes. :) Makes sense, you would even have better control to make multiple MOVs for different media from the same file with different frame rates. if the frame rate doesn't matter. But remember what frame rate you created it in for some situations though, because if your Fla. is made at at 12 fps and you export it at 30fps it will make everything move faster than the way you originally made it and knew it to play. And if you have video playing in your Fla. that is set to say 30fps, you will have to get your export back up to 30fps for those videos to look right. Best, Karl On Oct 25, 2010, at 3:17 AM, tom rhodes wrote: good idea to export it at 1 fps, that way you don't get skipped frames (even with heavy actionscript use), then speed up the resulting mov to the original framerate and you've got a perfect mov. On 25 October 2010 07:25, Karl DeSaulniers k...@designdrumm.com wrote: @Henrik One possible solution for the script problem is to take the frame that the MC which has that script in it and extend that MCs frame to the same length as how long it would take to execute. Even if there is only one frame inside that MC. The export reads the main timeline and if you have a MC that sits on one frame, extend that frame to the execute time length in frames and it will give the main timeline export the room to record your script working/ executing. Then just move frames that would come after that effect/script to the appropriate spot on the timeline considering this adjustment. Your main timeline will be super long, but It should export your particle effect. I think also, you have to export as animation to execute any scripts you have in your fla. This is just a theory and I have not tested, but if you try, let me know if it works or not. Best, Karl On Oct 24, 2010, at 6:03 PM, Karl DeSaulniers wrote: Hi Natalia, Sure, its simple. Go to file menu, select export, select QuickTime in the drop-down menu, navigate to the folder you want to save everything to, hit save, a dialog box will pop up, on it there should be a QuickTime Settings button - select it, Once you have gotten this far, now you must start thinking of how you want things exported. If your flash movie is just regular animations as in timeline animations, you can select stop export when last frame is reached or if your flash movie has script and other animations inside movieclips not on the main timeline, you can stop exporting after a certain time has elapsed. this option is a little tricky and you may have to export multiple times to get the desired results. trial and error on that. I think this option is what will help in a situation like what Henrik was suggesting could happen. Flash has trouble exporting scripts because they can extend past the main timeline, but if you stop export after a certain time elapsed it exports the movie more like a recording than an export. My advice is to take the script effects and remake them (to the best of your ability) as an actual animation.
[Flashcoders] Removing movieClip from memory
Hi Folks! I have a doubt of how to remove a movieClip from the stage using removeChild. I put some sample code in this message and the mc 'ball' has a sound in it. The process to attach a movie clip on Stage works fine! Also the process to remove but... Why does the sound still play without the object on Stage? What can I do to remove it really from the memory? var ball:MovieClip = new Ball(); ball.x = ball.y = 100; addChild(ball); stage.addEventListener(MouseEvent.CLICK, onClick, false, 0, true); function onClick(evt:MouseEvent):void { stage.removeEventListener(MouseEvent.CLICK, onClick); this.removeChild(ball); ball=null trace(ball) } If somebody help me to fix it and continue my job, I'll be very thankful! -- Marcelo - Email - Msn - GTalk marcelo.tec...@gmail.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Removing movieClip from memory
import flash.media.SoundMixer; SoundMixer.stopAll(); Nathan Mynarcik nat...@mynarcik.com www.mynarcik.com http://www.mynarcik.com/feed/rss.xml http://www.twitter.com/NMynarcik http://www.facebook.com/pages/Nathan-Mynarcik-Interactive-Web-Developer/265263144230 http://www.linkedin.com/in/nathanmynarcik On Mon, Oct 25, 2010 at 1:37 PM, m...@rcello marcelo.tec...@gmail.com wrote: Hi Folks! I have a doubt of how to remove a movieClip from the stage using removeChild. I put some sample code in this message and the mc 'ball' has a sound in it. The process to attach a movie clip on Stage works fine! Also the process to remove but... Why does the sound still play without the object on Stage? What can I do to remove it really from the memory? var ball:MovieClip = new Ball(); ball.x = ball.y = 100; addChild(ball); stage.addEventListener(MouseEvent.CLICK, onClick, false, 0, true); function onClick(evt:MouseEvent):void { stage.removeEventListener(MouseEvent.CLICK, onClick); this.removeChild(ball); ball=null trace(ball) } If somebody help me to fix it and continue my job, I'll be very thankful! -- Marcelo - Email - Msn - GTalk marcelo.tec...@gmail.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Removing movieClip from memory
Hi Nathan. Thanks to answering me. The sound really stoped, but if If put a EnterFrame function inside a ball starting a trace (for example), it continue working inside a function. But the sound was a sample. the object still working hidden in memory. Do you have any ideia how to destroy an object with sounds, functions etc? Thanks again! On Mon, Oct 25, 2010 at 3:54 PM, Nathan Mynarcik nat...@mynarcik.comwrote: import flash.media.SoundMixer; SoundMixer.stopAll(); Nathan Mynarcik nat...@mynarcik.com www.mynarcik.com http://www.mynarcik.com/feed/rss.xml http://www.twitter.com/NMynarcik http://www.facebook.com/pages/Nathan-Mynarcik-Interactive-Web-Developer/265263144230 http://www.linkedin.com/in/nathanmynarcik On Mon, Oct 25, 2010 at 1:37 PM, m...@rcello marcelo.tec...@gmail.com wrote: Hi Folks! I have a doubt of how to remove a movieClip from the stage using removeChild. I put some sample code in this message and the mc 'ball' has a sound in it. The process to attach a movie clip on Stage works fine! Also the process to remove but... Why does the sound still play without the object on Stage? What can I do to remove it really from the memory? var ball:MovieClip = new Ball(); ball.x = ball.y = 100; addChild(ball); stage.addEventListener(MouseEvent.CLICK, onClick, false, 0, true); function onClick(evt:MouseEvent):void { stage.removeEventListener(MouseEvent.CLICK, onClick); this.removeChild(ball); ball=null trace(ball) } If somebody help me to fix it and continue my job, I'll be very thankful! -- Marcelo - Email - Msn - GTalk marcelo.tec...@gmail.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Marcelo - Email - Msn - GTalk marcelo.tec...@gmail.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Removing movieClip from memory
Objects can not be destroyed explicitly. You need to do your own cleanup work and then wait for the garbage collector to reclaim the memory. The garbage collector is unpredictable and may or may not run at all. If you need any specific work done at a specific time, do it yourself. Also, the stopAllSounds method is a bad hack. It really does stop all the sounds. Even ones that you may have wanted left alone. I never use it. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] MAX
For those that missed the keynote, let me do a quick summary of the Flash relevant stuff: * Hardware accelerated 3D * Hardware accelerated Video * The Flash platform has more devices, including settop boxes, blueray players and tvs. * Game controller support Watch the rerun on http://max.adobe.com/online/monday/ if you want to see the full thing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] MAX
And don't forget the free Droid 2s they gave us and Martha Stewart paying a visit. :) Also, AIR for TV was awesome - I watched some You Tube and HBO content on one of the test TVs using an AIR app, and it was a smooth nice experience. The hardware accelerated 3D racing game was indeed awesome, very impressive. Also the Samsung Galaxy is a really nice tablet! Got to play with one in the gallery. Supports Flash too. Jason Merrill Instructional Technology Architect Bank of America Global Learning -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson Sent: Monday, October 25, 2010 4:22 PM To: Flash Coders List Subject: [Flashcoders] MAX For those that missed the keynote, let me do a quick summary of the Flash relevant stuff: * Hardware accelerated 3D * Hardware accelerated Video * The Flash platform has more devices, including settop boxes, blueray players and tvs. * Game controller support Watch the rerun on http://max.adobe.com/online/monday/ if you want to see the full thing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to Sender are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders