Because the swf_loader are mp3 player and if i change page wihout having press the stop button first the music is still playing. I have try to just add swf_loader.unloadMovie(); on every other keyframe but it doesnt work. i guess i have to find out where this swf_loader exist/is included right?
I have a class with a XML object in it. In one of the class' methods, I tell the XML object to load a document. Before I do that, I set up the onLoad event to call one of the class' other methods. The problem is that in that handler function, I can't seem to access any of my class' data. If I try to use the "this" pointer, I'm getting the XML object not my class.
When i test the movie in flash itself everything works fine, but when i open the movie in IE or the stand alone flash player, details_txt and length_txt are both empty.
Is it possible to retain variable information after exiting an onLoad event?I have a variable declared outside the onLoad event which a function called from within the onLoad event populates. The problem is, after leaving the onLoad event the variable gets cleared
I have a class with a XML object in it. In one of the class' methods, I tell the XML object to load a document. Before I do that, I set up the onLoad event to call one of the class' other methods. The problem is that in that handler function, I can't seem to access any of my class' data. If I try to use the "this" pointer, I'm getting the XML object not my class.
A simple example:
[AS] class MyClass { var theXML:XML; var someVariable:Number;
I am loading an xml configuration file and based upon values obtained from it, I am connecting to an xml socket in the server.
But I can't register for socket.onConnect Function now. I could do it in my old cold in which I didn't use a configuration file. The configuration values are loaded properly. It seems the issue is in the way, socket.OnConnect function is registered.
Notice: Indirect modification of overloaded property Zend_View::$view has no effect in C:Program Files (x86)endApache2htdocsljjapplicationviewsscriptspurchasecreate.phtml on line 4
I'm embedding a flash object in an html page and calling windows.onload to initialize the Flash movie. The problem is that the windows.onload does not wait for the Flash object to completely load. Is there way to make sure that the Flash object has fully loaded?
Here is the code I'm using: <head> <script> var falshObj = null; function pageInit() { thisMovie(); [Code] .....
I am writting an image gallery that loads one intial xml file named galleries.xml.From this point each xml node loads a XMl file for that gallery that holds all the images.The problem arises in the fact that to do this I need a onload function within an onload function.Onload functions dont accept parameters so I can pass down the variable that shows what loop the gallery loop is on as I need that in the function that holds the images.
I am having a similar issue to this post except that I am using only AS2 at the moment.[URL]..I call a swf file to load into a loader like this music_mc.loadMovie("music/song.swf").
When I unload the movie clip like this: music_mc.unloadMovie() and try and load it again, it does not want to load again.
I have a set of buttons on a map that when clicked load in a zoomed version jpg file into an empty movie clip. When the loaded jpg / mc is clicked, I want the loaded movie to fade out as it unloads. The fade in is working fine, but I've tried several examples I've found online for the fade out and none of worked yet.
I'm a student web designer from Toronto, ON working on a flash interface for an art show.In our flash file (AS 2.0), I need a piece of code to constantly check a set of variables. If the variable reaches 2, I want it to unload the current movie, therefore I also have a set of buttons which each increase the current variable by +1 every time they are clicked. Therefore once 2 buttons were clicked, the movie would be unloaded.[code]
I am making this site that reaquires me to unload a movie when i press the button but after i need another movie to load. How do I do this. These are the two movies:unloadMovie:Photo_HolderloadMovieThumbs_Holder
im making this website in AS2 using SWFaddress for the first time. everytime a new page in flash is requested trough swfaddress i need the menu to be remade, so i unload the previous menuitems en load new ones.
the problem is if the unloadmovie works the new items aren't made, but if i reload that same page it will show. so when items are unloaded new ones aren't made and if no items are there to be unloaded new ones are made...
here's my code
ActionScript Code: function createMenuNow(){ trace("_______create menu now_______");
I'm new and I've got a problem I've been trying to fix for a couple days and haven't been able to.I am loading youtube videos in to movie clips with actionscript on a frame:
When a button is clicked in my main movie, a swf loads in a container clip. When the "BACK" button is clicked on the loaded .swf, the .swf is unloaded but the buttons I have on my main timeline no longer work.
I am building a website that has a separate .swf for each page of the site. Each page is loaded into shell_mc using loadMovie. When a new page loads, I run shell_mc.unloadMovie before calling shell_mc.loadMovie(newPage). I am just wondering if the unloadMovie command will destroy everything in the current page that might take up memory before it begins loading a new page.
I am trying to incorporate the facility to recover an object that has been deleted by the user. When he presses delete, i unload the movieclip. So if I want to recover it, complete with its last width, height, x and y positions, how do I do it? Is there some inbuilt function? or do I have to use some programming to do it, like save the object properties before deleting and all? The object could be any one of about 5-6 of them in my library, so knowing at run time which one to attach is impossible. So I need something to recover exactly the movie clip that was unloaded. I don't think attaching a new one and setting its properties will work. Very simply, I could just set the _visible to false when he presses delete, but then, thats not a very good practice I feel.
I have created an interface that uses a lot of the loadMovie command using levels. Once I have loaded a movie on say level 3...in that level 3 movieclip I will have another navigation that will load and then use the loadMovie command to load movie on level 3 as well. It loads it correctly but the back button that would contain the unloadMovie(3) command isn't unloading, say if the user wants to go back.
i have a audio track in a movieclip that i am loading into a target and i am doing an unloadMovie to remove it from the stage, but the audio clip continues to play until it hits the end/loop point... so my question is, how to i make it stop as soon as it unloads?
I have an AS2 .swf being loaded as a child of a parent AS3 .swf. The AS2.swf calls loadmovie() and unloadmovie() to display 3 jpeg files. The images load the first time, but after that, a call to loadmovie() to replace the image, or a call to unloadmovie() fail. I found the following Adobe Bug report ([URL]) that has said this has been resolved, and also said that child movieclips could be replaced without a problem. Here is the code I'm calling.
unload some duplicated movieclips. Sometimes the script is not unload all the movie clips. And on frame 2, how to say by scripting "not go to next frame if all the movieclips is not unload"? Well the script is:
What (if any) is the actual differance between removeMovieClip() and unloadMovie() for use in erasing duplicated movie clips (using duplicateMovieClip() )? I was looking over some of my code and noticed I used both without much rhyme or reason as to why one over the other.
i have a little problem with the unloadMovie command. i have a button which is mc2_about here is the code
[Code]...
where i want to unload level1 which is a scrollbar with a text and load the portfolio section in an empty container... my structure i want to load in an empty container the swf's of the main navigation (home- portfolio,etc) and the sub-menus of it's categories[about me-print-web design) into levels. is there a simpliest way of doing that?
I am loading an XML file and when I run a trace inside the onLoad event the results show.When I put the same trace outside that event, the trace returns undefined because it runs before the XML is Loaded.I don't know how to assign the results of the XML to a variable being used outside the XML unless I call that through another event.For example. I want to preload some images if the user has been to the movie before. I call XML which has the image array. But I can't tap into that array because my function is outside the XML Load event and my function is not tied to an event.
_parent.unit['bullet'+openbullet].onLoad = bulletload; function bulletload() { this.range = 5;[code]...
my mc.enterfame works but this doesn't. I think it's because it's on load and for this to be implemented it has to be called after load so how do i use it? I tried to call it on the original but it didn't work.