How to unload a movie from the Loader component

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.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Jun 8th, 2007, 18:44
Junior Member
Join Date: Jun 2007
Location: Arkansas
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jun 8th, 2007, 19:07
Junior Member
Join Date: Jun 2007
Location: Arkansas
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jun 9th, 2007, 02:55
Reputable Member
Join Date: May 2006
Location: NC, USA
Age: 16
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jun 9th, 2007, 03:11
Junior Member
Join Date: Jun 2007
Location: Arkansas
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jun 9th, 2007, 04:17
Junior Member
Join Date: Jun 2007
Location: Arkansas
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jun 12th, 2007, 04:22
Junior Member
Join Date: Jun 2007
Location: Arkansas
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
loader, movies, unload

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 23:49.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42