ActionScript 3.0 :: Movie Freezing Upon Page Load?
May 6, 2009
I am working on a simple navigation right now, and I'm getting a strange behavior from it. The first time the page loads, everything works fine, the rollovers work and everything. But then, if I click one of the nav buttons to go to an inside page, and then go back either by using the Back button on the browser or clicking "Home" in the inside nav, the Flash nav on the home page freezes after a couple of seconds.
The link to the project is: [URL]
Here are my two classes.
Main.as
Code:
package {
import flash.display.MovieClip;
import flash.display.Graphics;
import flash.events.*;
[Code].....
View 1 Replies
Similar Posts:
Apr 7, 2012
I have a loader that loads main application. Everything works fine, except one issue:
When main application is loaded, animation in loader freezes for few seconds (5-8). I think during these 5-8 seconds main application creates it's objects.
I tried to minimize number of objects in main application and it did help a bit, but freezing problem is still there.
How to load content without freezing?
View 1 Replies
May 21, 2009
I have created 2 Flash movies in the form of a slideshow. The flash clips are embedded in the webpage that I was modifying and it works perfectly fine. What I would like to do is to allow users to be able to click on the flash image in the web pages. Once clicked, a new pop-up window will appear and it will show the freeze image of the flash that was being clicked at the moment. Currently I am only able to make the new pop-up window and the flash still played through itself in it while I need it to freeze and be static.
View 4 Replies
May 21, 2009
I have created 2 Flash movies in the form of a slideshow. The flash clips are embedded in the webpage that I was modifying and it works perfectly fine.
What I would like to do is to allow users to be able to click on the flash image in the web pages. Once clicked, a new pop-up window will appear and it will show the freeze image of the flash that was being clicked at the moment.
Currently I am only able to make the new pop-up window and the flash still played through itself in it while I need it to freeze and be static.
View 2 Replies
Nov 4, 2009
I have a link from a HTML page which opens another HTML page with my .SWF embedded, AND opens the .SWF on frame 2 using an anchor point on the timeline.
My problem is because all my actionscript is on the 1st frame, once its opened on the 2nd it runs thru the movie back to the 1st frame. When I put a stop(); on frame 2, this freezes all my buttons on frame 2.
View 1 Replies
Aug 14, 2009
How do you stop a loop from freezing the flash movie? I want to put a progress bar and the loop will return the % status but the loop always freezes?
View 4 Replies
Dec 9, 2009
I have a flash movie that loads another movie into a place holder container upon opening. So, 2 swf files - one is the main movie and the other the one that loads into the main movie. Works just fine when testing in flash or clicking on the swf files outside of flash. But when I embedd the main movie into my html page - the main movie loads ok, but it doesn't load the child movie. I have both swf files in the directory so I am not getting why it works fine except when placing into html page.
View 1 Replies
Apr 5, 2011
I wanna make a swf movie which changes according to the page that published. I have a wordpress page and it has different (8 languages). On each language page my swf looks the same... I want that it changes in each language page for example it calls a behavior on url...and it calls another action on url...
View 8 Replies
Mar 29, 2009
I am trying to make what I thought would be a very simple random picture display. I have five movie clips named myClip1, myClip2, etc. All are on the first frame of the timeline. Each has this as a movie clip action:
Code:
onClipEvent(load){
_alpha = 0;
}
The frame also has an action like this:
Code:
nClipMax = 5;
// nClipMax being the number of movie clips
this["myClip" + Math.ceil(Math.random()*nClipMax)]._alpha = 100;
When I test this the background (an image) displays but nothing else, the movie clips stay transparent. I have tried several variations without any luck.I am mainly an asp and net developer that uses flash periodically so be gentle.
View 1 Replies
Mar 11, 2009
I want the simple movie to load the URL(home page) after it's finished. so i tried to add
getURL("[URL]" , "_blank"); at the end of movie, but i keep getting errors.. this is the website that i'm working on LINK It's a very simple. i'm not even going to dare to make it fancier. I just want the movie to be over and go straight to the home page without any clicks.. i tried to put the geturl thingy at the last movie clip(Imagine tomorrow) and i tried to put it at the end of the keyline.. neither seem to work. i'm sure it's very easy one, but it just doesn't work.
View 14 Replies
Dec 6, 2004
i think i may have a challenge for you. I would like to have a flash movie load to a random keyframe in a timeline when the page loads. Basically, i'd like to set up a timeline with say 10 movies. When the page loads, i'd like the flash to randomly select from some predetermined keyframes (obviously where each movie starts) and when that movie ends, jump to another section of the timeline. This way, the loading of the movies is somewhat seamless and it looks like i've made 10 different flash movies.
Even if it's not possible to all load from the same timeline, i'd like to have it play the first movie, then when it reaches an ending frame, it loads another random movie from a directory on the server, and then keeps going and going until it can't stand it anymore.
View 4 Replies
Jul 14, 2011
How can I mention in the actionscript 3 that the movie clip on frame no. 10 should play after the webpage loads (or after 1 minute)? then stops? The code would be on Frame no. 1.
View 3 Replies
Jun 2, 2011
I want to have a different image load on my home page everytime the page refreshes or someone visits it. Is it possible to do it without using Flash?
View 2 Replies
Jun 29, 2011
My basic aim is to create a newspaper that consists of four pages. Each page i have created and are sitting in the library as sprites. Each page has buttons that need linking so that when pressed it loads the next page or page that i want. This is the part i am confused with =/ how do i make the buttons on each page load the next page (sprite) from the library??
View 2 Replies
Oct 11, 2011
I have a an unobtrusive flash video looping in the background of a website, it is not essential to navigation - it is purely cosmetic.The flash video loops every 30 seconds.As this video is on all pages, it jumps back to the start when a new page is loaded.Is there an actionscript / javascript way to get it to remember the position it got to on the old page so it can start there on the new page?I do know that this can be accomplished by loading the flash movie in a frame as well as by having the subsequent pages load the contents in AJAX but I was hoping not to go down this route.I have seen other people ask the question and allude to the solution but they only posted that they got it to work without saying how.
View 1 Replies
Jan 7, 2009
I am trying to load an external swf with a number of quotes into an empty movie clip on the home page. then I want it to obviously disappear when nav to any other page.
1) know that you need a loaderEmpty_mc to load the swf into
2) don't know code for how to get it to load on entering the home page
3) don't know how to cdde for leaving the home page and making it disappear
View 3 Replies
Apr 25, 2007
Im working on a website for school, and im doing it through flash. The server ive been given is being taken up by thousands of pages, so its slow. Instead of loading each page through HTML, ive decided i could do a seperate frame for each page. However, to reach the menu at the bottom, you have to scroll down. Is there any way to make it so that when you click a button to load a different page for the flash player to scroll up all the way to the top of the page itself?
View 1 Replies
Nov 21, 2011
Let me ask how to program an html page to move to a new web page on user's clicking an item of an embedded flash movie? But , in detail, I actually want to do a little different thing. I want that the parent html page remains there ,instead I want a child html frame has a new page after user's clicking the list item of the embedded flash movie.
View 2 Replies
Jan 26, 2009
i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,
function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....
View 0 Replies
Jul 1, 2011
My web page, which contains a SWF using AS3 opens great in Chrome, Firefox, & Safari. When I open the page in Internet Explorer it freezes on the preloader for some reason I can not figure out.
View 3 Replies
Jul 30, 2003
i have some preloader frustrations..dont point me to a previous preloader thread...i have been there already and no im not talking about any preloader that loads the WHOLE movie at the beginning, i know how those work... I need a tutorial/explanation that will teach me how to load a move 'button by button' or 'page by page'.
By this I mean, the first thing the movie will do is load the first 'page' and say you have a few more buttons on that 'page'. It loads all the buttons and that 'page' first..nothing else...then i click one of the buttons (no matter what order) and the 'page' switches to a preloader and then when the second 'page' is loaded, it is displayed.So many sites have this kind of preloader...but i cant believe how many tutorial sites only teach how to program the type of preloader that just loads the WHOLE movie.
View 10 Replies
Jun 28, 2010
Flash seems to crash/freeze when clicking through to other applications.
i cant get any work done because its crashign all the time.
View 2 Replies
Nov 20, 2010
I have a project I am working on, it has zero coding most all symbols are graphic because it seems the movie symbols don't export correctly. I export it to swf and it hands 100% of the time when it is at about 80% complete. I have gone back in and optimized tons of it, and it did not change a thing.
View 3 Replies
Feb 9, 2009
I produced a site a year ago [url]... and recently - since my last update, its been freezing at the preloader on older browsers... (on one computer it didn't work on IE, I downloaded firefox to it and worked fine)
In that same browser that it doesn't work I can go to the SWF directly and it will load, although if I load it through the HTML page it will freeze as described.
View 0 Replies
Sep 24, 2007
I'm having an issue with a file uploader i'm working on. Certain files, it seems files over 7mb will not upload, nor give an error, it just silently freezes when it starts.
This is on a MediaTemple [dv] with the php.ini modified so that max_file_upload = 100M, same issue.
Here some ActionScript for yashortned a lil)
Code:
var listener:Object = new Object();
listener.onSelect = function(selectedFile:FileReference):Void {
browse_mc.filename_txt.text = selectedFile.name;
[Code]....
View 1 Replies
Feb 25, 2004
i'm having this weird pb i don't understand, could someone help me? i'm driving crazy here..what i do is load a movie from a movie but the 2nd movie load a variable. when i test the 2nd movie, it loads its variable and displays it as wanted, but when i load it from the 1st movie, the 2nd movie loads but seem not to load anymore its variable..
[Code]...
View 11 Replies
Mar 14, 2009
i have a simple preloader in frame 1 (scene 1), and the rest of my movie in scene 2.
the preloader is:
//Import the required assets
import flash.display.*;
//Create a listener to call the loading function as the movie loads
this.loaderInfo.addEventListener (ProgressEvent.PROGRESS, PL_LOADING);
[Code].....
View 6 Replies
May 19, 2009
I have a piece of code like a the end of a timeline, most usually looping back to frame one or a stop() if I let the playhead play through to this frame then flash will freeze!
View 1 Replies
Jul 24, 2009
I have been using the new unloadAndStop() function to unload some loaded SWFs after they are no longer needed. This has been working fine whilst testing in flash, and when I have tested it using firefox. However, to my utter horror and despair unloadAndStop() seems to be crashing safari and IE8. I haven't tried IE7.
After replacing unloadAndStop() with the old unload() the crashing stopped. So I am certain this is the problem. unloadAndStop(false) also caused flash to crash. No error was displayed.
This project has been 7 months in the making and involved a lot of hard work in the evening and weekends. I noticed that it was starting to lag after being in use for a while because SWFs weren't being released from memory. When I say lag as well, It's not like normal frame rate slowing down lag, the whole application will simply freeze up for a couple seconds, and the freezing lasts longer the longer the app has been running. I have gone through and made sure to null almost every variable myself, and null any variable in the loading swf that points to anything in the loaded SWF. It appears to be working now using the old unload() function, but will need more testing to be sure because the lagging only turns up after the application has been running for about 45 minutes and has loaded and unloaded several SWFs.
Anyway, is there anything that I can do about this or am I missing something obvious? I haven't found any other posts about this, has anyone else had this problem? Why does god hate me so much?
Sort it out please Adobe, I really don't think it should be this hard to get rid of a loaded SWF. If you were in front of me right I would be screaming at you.
View 3 Replies
Apr 8, 2011
So I recently got a new laptop. It came installed with Windows 7 64-bit and Internet Explorer 8. However, after installing the current Flash Player update, IE started freezing. I would open certain pages, and the browser would become unresponsive, leading me to end the program. I would try it again, and still the same result. The culprits were always the same, hotmail and tvshowsondvd, among others. Internet Explorer 9 was released a few days later, so I uninstalled IE8 and installed IE9.
The browser worked fine for a few days, but then it started to do it all over again, with the same web pages! Then I noticed something, all these pages were heavy in flash objects. So I tried uninstalling Flash Player 10 and guess what, it started working! No more problems loading pages. I can no longer view flash objects, especially on YouTube. I haven't had the problem since, but I need Flash Player installed.
View 1 Replies