Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-04-2009, 05:27 AM   #1
baba73
Registered User
 
Join Date: Nov 2009
Posts: 8
Default Scene to Scene

I have multiple scenes. In each scene I load lot of movie clips. I move from one scene to another scene and may come back to the already visited scene.

1. From one scene if I move to some other scene will it flush or unload the scene with the movie clips or they will be still floating in the memory?
If it is going to be in the memory with the loaded movies how can I unload them when I move from Scene to Scene?

2. Can I reuse a loaded movie in one scene, in another scene? Basically can I share the same loaded movie in multiple scenes?

Thanks in advance.
baba73 is offline   Reply With Quote
Old 11-04-2009, 05:28 AM   #2
baba73
Registered User
 
Join Date: Nov 2009
Posts: 8
Default Scene to Scene

I have multiple scenes. In each scene I load lot of movie clips. I move from one scene to another scene and may come back to the already visited scene.

1. From one scene if I move to some other scene will it flush or unload the scene with the movie clips or they will be still floating in the memory?
If it is going to be in the memory with the loaded movies how can I unload them when I move from Scene to Scene?

2. Can I reuse a loaded movie in one scene, in another scene? Basically can I share the same loaded movie in multiple scenes?

Thanks in advance.
baba73 is offline   Reply With Quote
Old 11-04-2009, 05:28 AM   #3
baba73
Registered User
 
Join Date: Nov 2009
Posts: 8
Default Scene to Scene

I have multiple scenes. In each scene I load lot of movie clips. I move from one scene to another scene and may come back to the already visited scene.

1. From one scene if I move to some other scene will it flush or unload the scene with the movie clips or they will be still floating in the memory?
If it is going to be in the memory with the loaded movies how can I unload them when I move from Scene to Scene?

2. Can I reuse a loaded movie in one scene, in another scene? Basically can I share the same loaded movie in multiple scenes?

Thanks in advance.
baba73 is offline   Reply With Quote
Old 11-04-2009, 05:34 AM   #4
loadlearn
Flash Nerd
 
loadlearn's Avatar
 
Join Date: Apr 2009
Posts: 1,268
Default In each scene I load lot of movie clips.

Do you actually mean external .swfs?
__________________
“Nothing that is worth knowing can be taught.” - Oscar Wilde
loadlearn is offline   Reply With Quote
Old 11-04-2009, 06:13 AM   #5
baba73
Registered User
 
Join Date: Nov 2009
Posts: 8
Default Scene to Scene

Yes all of them are SWF files (Captivate generated)...
The files are local.

Thanks,
baba73 is offline   Reply With Quote
Old 11-04-2009, 06:29 AM   #6
loadlearn
Flash Nerd
 
loadlearn's Avatar
 
Join Date: Apr 2009
Posts: 1,268
Default The files are local.

You mean this is only played locally and not online?

What's your problem with them being in memory or in the Internet cache?
__________________
“Nothing that is worth knowing can be taught.” - Oscar Wilde
loadlearn is offline   Reply With Quote
Old 11-04-2009, 06:44 AM   #7
baba73
Registered User
 
Join Date: Nov 2009
Posts: 8
Default scene to scene

The Adobe Captivate generated SWF files..when they are loaded the CPU usage goes to 50% and the memory usage for the flash player goes beyond 300MB and it actually slows down the process and the computer...I would like to know a clean way of doing this...
I am new to flash and have no idea what is kept in memory when I switch from one scene to another...

thanks.
baba73 is offline   Reply With Quote
Old 11-04-2009, 05:47 PM   #8
baba73
Registered User
 
Join Date: Nov 2009
Posts: 8
Default Scene to Scene

Does flash unload the previous scene and all the movies loaded in that scene when I move to next scene?
baba73 is offline   Reply With Quote
Old 11-04-2009, 08:07 PM   #9
loadlearn
Flash Nerd
 
loadlearn's Avatar
 
Join Date: Apr 2009
Posts: 1,268
Default

No.
__________________
“Nothing that is worth knowing can be taught.” - Oscar Wilde
loadlearn is offline   Reply With Quote
Old 11-05-2009, 04:41 AM   #10
baba73
Registered User
 
Join Date: Nov 2009
Posts: 8
Default

That is a memory hog. If it doesn't unload the contents of one scene when I move to another scene, is there a way to use the movies loaded there in another scene?
Thanks.
baba73 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:13 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.