ActionScript 2.0 :: External SWF Tween Can't Unload After Loaded

Jun 23, 2010

I have a gallery with tween effect which allows the photos to change size.

However, after loaded photos work but i can't unload it!

If i change the 1 to _mc, it's able to unload but then tween won't work.

Feels like i am missing something basic and it's driving me mad.[code]...

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Unloading A Loaded External SWF With A Close Button On The External SWF To Unload?

Aug 15, 2011

[URL]I have: main.swf (a menu) and I have module.swf (content)If you navigate to Subsea Wellhead Systems/SS-15 BigBore II and click on that I have it load an external swf which covers most of the parent. So far so good. My problem is unloading the loaded 'Child' swf with the button provided on the loaded 'Child' swf.below is the code I used to load the file but I cant, for the life of me, find a way to unload it. 
 
var bigboreLoader:Loader = new Loader();btnbb2.addEventListener(MouseEvent.MOUSE_UP, bigborecontent);
function bigborecontent(event:MouseEvent):void{var bigboreRequest:URLRequest = new URLRequest("moduletemplate.swf"); bigboreLoader.load(bigboreRequest); stage.addChild(bigboreLoader);
 
I am certain it requires the Child to communicate with the parent somehow but I am at a loss. If I could get a bit of advice or a link to something deal with this, it would be a big help. I just need to have my links load my modules and the remove them when the close buttong is hit on the loaded swf. I promise I have done searches and I admit I have found asnwers but still they are not working. I found the code below:
 
Main FLA: 
function removeF() {
removeChild(bigboreLoader);
}

[code]....

View 10 Replies

ActionScript 3.0 :: Unload External Swf That Was Loaded In A Previous Scene?

Jul 1, 2009

i have designed a flash projector using as3 in which I have successfully loaded an external swf onto frame 2 of my first scene called "start". i want to include a Restart button in a later scene called "intro", which will unload the external swf as well as restart the entire presentation from frame 1 of my "start" scene. my problem is that I can't figure out how to tell my Restart btn, located in the "intro" scene, to look in the "start" scene to unload the external swf - i need to eliminate the "1120: Access of undefined property..." error when working in multiple scenes.

View 7 Replies

ActionScript 3.0 :: Unload The Previous Loaded .swf And Load The New .swf Without Having A Separate Button To Unload

Aug 9, 2008

I am working on a school project that requires me to load external .swf or .jpg files. I currently have all of the buttons working and are loading an external .swf file on to the screen. The problem I am having is that when I go from one button to the next the loaded .swf stays on the screen and the next .swf gets loaded on top of it. I know that I need to unload the file but I am not sure where to put the code for the unload or what code exactly to use. I would like when the button is pressed to unload the previous loaded .swf and load the new .swf without having a separate button to unload.

[Code]...

View 3 Replies

ActionScript 3.0 :: Unload Not Unloading - Unload An External SWF On _root To Load A New One Instead

Jul 23, 2009

I'm trying to unload an external SWF on _root to load a new one instead. I've tried (almost) everything but can't figure it out... I get this error : "Error #1010: A term is undefined and has no properties."

[Code]....

View 3 Replies

ActionScript 2.0 :: Unload Movie For External Loaded Movie

Jul 31, 2010

i want to make an presentation,, for which.. at frame i click a button on frame 9 it goes to frame 10 and plays.. like my script on frame 10 is below

[Code]....

and when i click another button to go frame 1 from the same page at 10,, placed beside the loading external swf ,, it goes,, but the loaded external swf file is not going ,, or the external file not cleaning,, not removing.

View 5 Replies

ActionScript 3.0 :: Loaded Swf Tell The Parent Loader To Unload Itself After The Loaded Swf Finishes Playing?

Sep 23, 2010

I have a shell swf that is loading a swf. How do you have the loaded swf tell the parent loader to unload itself after the loaded swf finishes playing?

View 4 Replies

Tween Works In Local Swf / But Same Swf Tween Fails When External

Apr 9, 2009

I am using System.security.allowDomain in both files.The tween in movie2 fails to work when the swf loads from an external domain. However, it works perfectly when this swf is loaded locally. Also strange is that the movie2 tween does work externally if the tween libraries are commented out of movie1.The Challenge: Get both the red and blue boxes to fall when movie2.swf is loaded from an external domain.[code]

View 2 Replies

ActionScript 3.0 :: Load External SWF And Unload External SWF

Jun 13, 2010

I'm sure this question has been answered but I have been looking everywhere and all I can find is how to load an external SWF but not how to unload it. I come from a basic knowledge of AS2 and it was easy for me to load using levels but I have run into a wall. I have a main swf and to keep the initial filesize small I would like to split some image intensive sections out and load them when needed.

View 6 Replies

ActionScript 2.0 :: Unload Swf Once New Swf Loaded?

May 29, 2010

I have been able to get the external swf files to load and unload from my holder mc no probs. Now I want to complicate things a little.

There are individual background images for each of the eight menu buttons. When a button is pressed I want the new background image to fade in over the top of the previous background image, unloading the old image once the new one has faded over it. Not unloading the bg image and leaving the screen blank and loading a new bg image.

View 8 Replies

ActionScript 3.0 :: Unload Loaded Swf Through Button

May 23, 2010

I use the following code to load a swf on top of main. Is there a way to have a button in the loaded swf then close the loaded swf?

[Code]...

View 5 Replies

ActionScript 3.0 :: Unload Song That Loaded?

Mar 19, 2012

I have a function called "CallSound" that load sound to a movie clip and play it.I want to create new function that remove/unload the sound from the movie clip, because I want to load another sound to me clip and dont want the the new sound will play with the old one.How can I create a function called removeSound() that remove the sound that loaded before

View 1 Replies

ActionScript 2.0 :: How To Unload All Loaded Layers

Jun 6, 2005

Here is the code that I am using for my button
on(release){
loadMovieNum("CG/images/houseGroups/1fs.swf", i);
i++;
}
And then on the first frame of the timeline I am putting i=10

So every time the button is clicked it keeps loading on top of the last. This all works fine. My question is: How do I unload all of the layers that have been loaded. It seems like it should be an unload i< but that does not work.

View 2 Replies

ActionScript 2.0 :: Can A Loaded Movie Unload Itself

Feb 27, 2004

can a loaded movie unload itself, ive tried but nothing positive this is the thing, i have a sectiion tha i loaded, and i want a close button in that loaded movie, not in the actual main movie

View 3 Replies

Automatically Unload Movies When A New Movie Is Loaded?

Apr 30, 2009

Is there a way to automatically unload movies when a new movie is loaded? eg: 5 buttons, 5 bit of art. At the moment they overlap instead of unloading before the new one loads.

View 4 Replies

ActionScript 3.0 :: Unload Previously Loaded Clips?

Mar 23, 2010

I am creating a 40 slide presentation with soundtracks, narration, and animations.Each slide is a separate swf clip).I have noticed that when I load a new clip, the previous clip is still loaded (I wasn't using any background so I could see through the first clip and see the second).This tells me that I should consider unloading the previous clip or use backgrounds.Putting on a background is easy however if I should want to unload the previous clip, how do I do that?Here is how I load the next clip:

mmBtn.addEventListener(MouseEvent.CLICK,loadMM);function loadMM(event:MouseEvent):void {trace("Main Menu Button was Pressed")var loadMain:Loader;loadMain = new Loader();addChild(loadMain);loadMain.load(new URLRequest("mainMenu.swf")); }

Some slides will have many navigation options and others will only have one or two.I have AS in each slide to keep each slide self contained. This makes it easier for me to develop and test.Is there a way to remove the current slide contents (from the stage and memory) and load the next slide? I'm really concerned about the memory usage.

View 3 Replies

Actionscript 3 :: Unload Dynamically Loaded Swf After Displaying It?

Jul 8, 2011

I am doing a presentation on which I need to use a lot of video clips. I load all these videos dynamically using Loader. [code]...

View 2 Replies

ActionScript 2.0 :: Unload Dynamic Text Loaded?

Sep 29, 2009

I have my dynamic test field working where it loads my external text by the following

[Code]....

how would I go about unloading the text after it has already been loaded?

View 2 Replies

ActionScript 3.0 :: Loaded Swf Telling Parent Swf To Unload Itself?

Sep 23, 2010

I have a shell swf that is loading a swf. How do you have the loaded swf tell the parent loader to unload itself after the loaded swf finishes playing?

View 3 Replies

ActionScript 3.0 :: Unload Externally Loaded Swf Which Contains 3D Carousel?

Aug 17, 2010

I came across a lesson on [URL]titled "Vertical 3D Carousel with AS3 and XML".
 
I completed the tutorial and all worked fine so I then wanted to load the swf into a existing project. The loading of the swf goes fine and when I unload my loader it is removed but only visually as in my output panel in flash CS5 I get an error as follows
 
TypeError: Error #1009: Cannot access a property or method of a null object reference.at carousel_c_fla::MainTimeline/moveCarousel()
 
this error repeats over and over again slowing my swf movie.
 
So does this mean my main flash movie trying to still play / find my unloaded 3D Carousel?
 
If so how do I unload remove all the AS3 that is trying to run from the 3D Carousel?
 
I have included the AS3 below from the tutorial page and I understand that this is what I have to remove to "break free" from the 3D Carousel swf when it is unloaded. This is where I am stuck as my knowledge of AS3 is limited
 
//Import TweenMax
import com.greensock.*;
//The path to the XML file (use your own here)

[Code].....

View 2 Replies

ActionScript 2.0 :: Can't Remove , Delete / Unload A Loaded Swf

Sep 19, 2008

I am trying to hide an external loaded carousel on button click with the following AS[code]...

I can see the trace ""remove Carousel" but the Carousel.swf is still shown?

When i look in debug mode i can see the _root.holder, but it doesn't hide?

View 1 Replies

IDE :: Unload External Swf?

Apr 12, 2009

My index page has two buttons... 'about' and 'portfolio' which loads each respective external swf into a holder.When 'portfolio' is loaded there are another 8 buttons which again load 8 external swfs into a holder in the portfolio.swf. Each of the 8 external swf files load fine, but is there anyway to have a back button instead in each of the 8 external swf to go back to the portfolio.swf without having to click the 'portfolio' button?i have tried _root.unloadMovie.... but it just clears the stuff on my index page and loads the portfolio.swf

View 1 Replies

IDE :: How To Unload External Swf

Mar 18, 2010

i am trying to create a file where a mc hittest another object(using keyboard arrow) it loads an external swf and when keypress to leave the object, it will unload the external swf. my problem is the external swf did load but it wont unload. attached herewith my fla file for reference. script as below,

mcMain.stop();
var leftArrow:Boolean = false;
var rightArrow:Boolean = false;
var downArrow:Boolean = false;

[Code]......

View 1 Replies

ActionScript 3.0 :: Unload/remove A Clip Loaded From The Library?

Mar 4, 2009

i have created a colour picker that loads movieclips from the library onto the stage.however i need to create a "start over" button that will remove all these added clips.my code is as follows:

Code:
startover.addEventListener(MouseEvent.CLICK, removeallFunction);
function removeallFunction (event:MouseEvent):void

[code].....

View 3 Replies

ActionScript 2.0 :: Unable To Unload Loaded Movie (Slideshow)

Aug 7, 2009

I am trying to unload a movie I loaded like this
PHP Code:
loadMovie("slideshow-endsample.swf",movieContainer);

But
PHP Code:
unloadMovie("slideshow-endsample.swf");
Doesnt work?

View 4 Replies

ActionScript 2.0 :: Externally Loaded Flv-movie To Unload Itself When It Is Done Playing

Aug 10, 2009

I want my externally loaded flv-movie to unload itself when it is done playing. I read something about cue-Points but didn't find anything useful.

View 3 Replies

ActionScript 2.0 :: Code In On Loaded Movie Won't Stop After Unload

Oct 8, 2009

This is a PAIN. I always get grief if i try to use 'pause timline' code of any sort.[code]...

The 'CLOSE' button under it, unloads the level the vid sits in plus the butterflies swf just incase this devil code is still lurking. So go ahead and close it. And wait a few seconds and the WHOLE site loops.

View 9 Replies

ActionScript 3.0 :: Unload Externally Loaded Swf From Mc With Load Function?

May 20, 2010

I'm not new to flash as2 but as3 is a whole other animal to me. What I have is on button click my script will load a swf movie into a movie clip (videoLoader_mc). What I'm trying to do but can't seem to get is when the parent swf gets to a certain point in the time line I need it to unload what ever movie is in that videoLoader_mc. I've gone through ever tutorial I can find to no avail. [code]...

View 0 Replies

ActionScript 3.0 :: 3 Main Buttons Doesn't Seem To Unload Loaded .swf?

Jun 12, 2009

I'm trying to create app. that has 3 main buttons that goto 3 pages each with 15-30 buttons that each load external .swf that covers most of primary swf xpt 3 main buttons. Clicking on those 3 main buttons should unload previously loaded .swf and each loaded .swf should have preloader in its start.

1.) preloader works fine when i launch file separately, but when i load it from main .swf, it just shows "100%" at once...

2.) 3 main buttons doesn't seem to unload loaded .swf...

Main .swf code:

PHP Code:[code].....

View 2 Replies

ActionScript 3.0 :: Unable To Unload Content Loaded By Loader Class

Dec 16, 2008

I am unable to unload content loaded by loader class.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved