This is a discussion on "How to unload a movie from the Loader component" within the Flash & Multimedia Forum section. This forum, and the thread "How to unload a movie from the Loader component are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
How to unload a movie from the Loader component
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
How to unload a movie from the Loader component
Here is the problem.
I have a menu of groups of pictures. Group A, Group B, Group C, etc.. Someone chooses Group C, it loads a SWF of thumnails into a loader. Once they peruse those pictures, I would like for them to be able to venture back to the initial page of Groups, but the Loader will not unload. I know that opening Movie A into a loader will replace Movie B, but.. the only way I see around it is for me to create a blank SWF and when they go back, load up the blank swf to replace the one they left. This way, regardless of what group they leave, I can call up a constant. Would you be able to click through a Blank SWF? I might just create a 1px by 1px swf to load up. -- OK.. I created a new FLA called 'blank', made it a 1px by 1px stage, published it and now the button calls "blank.swf" and I have no problems. Thank you guys for all your help.. You are WONDERFUL! hehe GW Still learning.... GW |
|
|
|
|||
|
Re: How to unload a movie from the Loader component
Now I have another problem...
The movies work fine on my computer, through Flash. but when I upload the swf files to the net, it refuses to load. The original one will, but not the other 2. Do I need to include ALL the swfs in the javascript of the index.html? |
|
|||
|
Re: How to unload a movie from the Loader component
Yes, and you need to make sure that the directory link is right for the loader component.
|
|
|||
|
Re: How to unload a movie from the Loader component
Here is a link to the website.
http://www.eltonroearchitect.com/flash/index.html The 3 SWF files uploaded, in the Flash directory, are ELR.sfw, blank.swf, and AR-Alp-CoC.swf. I know you need to include javascript information for popups in a new window, but I didn't realize you needed a script in the HTML for a swf that will be called into a loader by the parent swf. That's a bit silly. So, how do I go about that. For these SWFs listed above, what script do I need to put in the INDEX.HTML to allow it to work. Thanks in advance. GW EDIT Ooops, it might help to show you where the problem lise. Clicking Portfolio, Over to Religious, then down to Worship Centers. That page loads up, but clicking on the thumbnail SHOULD put a swf into a loader. If you 'grab' the 3 swfs, you can see how it's supposed to work. Again, many thanks. Last edited by griffonwing; Jun 9th, 2007 at 03:15. |
|
|||
|
Re: How to unload a movie from the Loader component
EGAD, another question.. Flash creates AC_RunActiveContent.js when it publishes a SWF. Is this js file the same as the others it creates for different SWFs, or is it for this SWF only? Meaning, can I publish 30 swfs into the same directory without fear of losing all JS except the last one.
|
|
|||
|
The problem is fixed.. and a viable solution is here!!
I found the answer to my main problem.
I bypassed the Loader Component altogether. I created a small movie which I named BLANK.SWF. I imported it into it's own layer, at Frame 1 and named the instance of that movie "loader". I then aligned it where I wanted all the movies to be. When the user clicks a thumnail group link, I include this code: on(Release) { gotoAndPlay(90); } And on (90) I have: stop(); loadMovie("AR-Alp-Coc.swf", "loader"); This will load up the called SWF file and replace the blank SWF, at the latter's original coordinates. I tried putting the loadMovie on the button, but it didn't work. It may be that you called call a movie form a button press, but only at a frame. Not a big deal. With 45 thumbnail groupings, an extra 45 frames is not going to kill me. When the user is done perusing those images, he hits the BACK button, which will call this code: on(Release) { loadMovie("blank.swf", "loader"); gotoAndPlay(85); } Frame 85 puts the user back where the thumbnail groupings are listed. |
![]() |
| Tags |
| loader, movies, unload |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| unload movie clip transition. | monkeygraphik | Flash & Multimedia Forum | 0 | Jan 29th, 2008 12:37 |
| Interacting with movies loaded using the loader component (Flash 8) | fantombe | Flash & Multimedia Forum | 2 | Jan 22nd, 2008 11:09 |
| Unload movie clip problem | monkeygraphik | Flash & Multimedia Forum | 2 | Sep 11th, 2007 08:37 |
| unload and load a new movie on existing background | Val J | Flash & Multimedia Forum | 2 | Oct 5th, 2005 03:01 |
| Unload Movie? | Marcusweb | Flash & Multimedia Forum | 1 | Oct 29th, 2004 07:10 |