ActionScript 3.0 :: Site Slow After Clicking Various Sections - Fine One Refreshed
May 3, 2009
I am working on my new portfolio, made entirely in AS3. I am well aware that it is quite graphic heavy, and the videos will slow down some of the other animations. What I can't seem to figure out is: why does it load fine initially, but once I click around to various sections previous sections seem to be slower and slower. When i refresh the site it runs quickly again (except in FF on a PC, thats another issue I'm working out). Is it simply just a memory issue? Aside from getting rid of videos/rasterized images, does anyone have any tricks as to how to get it to run smoother? Seems to me that if each section runs fine initially, but only run slow once different sections are loaded then perhaps there is a solution. [URL]
View 3 Replies
Similar Posts:
Aug 17, 2011
I am creating a website with different sections (home, portfolio... - each of them has a full-screen looped video as a background)I made a separated .swf for each section in order to reduce their size.I just need to know how can I connect these .swf in order to navigate from one section to any other in the website.What would be the easiest way to do so?Is there a way to do it using the available Actions/code snippets included in Flash CS5?
View 8 Replies
Jun 6, 2002
heres another one for ya, how do I make multiple preloaders for different sections of the site? Im using the ifFrameLoaded script, but it loads every frame because scene2 (with the content) is just 1 frame with many movie clips.
View 1 Replies
Oct 21, 2011
When I preview my SWF from within Flash or run the exported swf outside of Flash, it has suddenly become extremely slow, maybe 10 FPS or something. But then it runs smoothly if I
- run it in a browser embedded in a HTML page
- run a preloader locally which simply loads the problematic SWF file; once the problematic SWF file shows up, it runs perfectly.
This doesn't make sense to me, and it's really annoying to be unable to just Shift+Enter to preview. Anyone tried anything like this before?
View 2 Replies
Jun 2, 2007
I have my XML Data Displayer referring to an XML feed on the web, it works fine when I run it locally, however it doesn't work when I run it off my site.There's no missing files- since I'm referencing to an XML feed on the web.How can I solve this problem and display XML data from the web, on the web?
View 2 Replies
Jan 15, 2012
getting this here Flash website to work. It is an .swf that has four different buttons in it. Each different button uploads a different video thumbnail with a play-button over it. When you click on that thumbnail with the play-button over it, it goes to the thumbnailed video which automatically plays. Here is the link:
[URL]
There are no bells and whistles with the html, it's just tagged and uploaded with the Fullscreen-true so that you can make the video go full-screen.
But see, when I upload the thing, the buttons no longer navigate to the different videos unless the play-button over the thumbnail is already pressed and its video is already playing. I need them to work anyways.
View 2 Replies
Aug 6, 2009
My full screen flash site works oerfectly on Mac's (I have a mac). But on PC IE and Firefox the full screen flash site is cut off 1/4 of the way down the page (see screen shots in zip or test if you are on PC). live site [URL] The site uses a swf object (files included in the zip). I got this from a template on flashDen. my problem is that I only have my mac and can't test on PC IE / firefox. Not that I would know where to start. I think that the problem might be the swf object from [URL] but not sure? I need to sure my site to apply for jobs. But recruiters use PC and it is very embarrassing that they can only see 1/4 of the screen.
View 2 Replies
Mar 19, 2012
I have a strange problem. When I run an exe projector that I exported from flash cs5.5, and on few of my client's computers it running very slow in full screen.When I running an swf file (not exe projector), also in full screen, it running well!I checked my clients computer hardware, and it match the system requirements of flash player.
View 3 Replies
Mar 2, 2009
I am using a flash website template (basically stripped of 95% of the code they provided, and just using their graphics) from [URL] I needed to add streaming video, and I elected to use PHP streaming found on www.flashcomguru.com; as modified by lance of courierwebcasts [URL].
The problem I have is that when I use the scrubber.swf to play a video, updating variables and addresses as appropriate, it works fine. However when I take it and recreate every element of the player in a movie on the timeline of my template site, everything but the time counter works fine. It plays fine, it scrubs fine, etc.; it just always displays 00:00/00:00. I am guessing it has to do with variable definition or somethingbut it is beyond me... any help?
Here is just the bit that I am pretty sure is the issue;
code: ns["onMetaData"] = function (obj) {
duration = obj.duration;
durationMinute = Math.floor(duration/60);
[code].....
View 3 Replies
Sep 12, 2004
[url]...
i am building this site for my friend roddy and would like input on why it might be running slow. i know i have a bunch of videos at the bottom, but if i drop them out it still seems to run slow. i was just wondering if anyone might catch something i might be missing.
View 5 Replies
Jul 11, 2009
My problem is this: I built a Flash website, but it is painfully slow to load up (3-5 minutes) when I visit the site (via Firefox, etc). Once it does load up, everything is fine with navigation, etc. I'm having a hard time figuring out why its taking so long to load up on the web because, basically, I don't know how to trouble shoot.Details: the site is just a portfolio site with pictures and a few motion-things, no complicated animations. The swf file is about 9MB. I do have a flash preloader, but it doesn't show up until after the 3-5 minute "load-up" time. When I do the testing via Flash, its Ok and doesn't show the lag. But once I upload the website files and try to visit my website, the load time problem occurs.My thoughts: do I have to purge my Flash file/library of unused images before creating my swf file? Is there a problem with my html code in my index fil Just in case, here is the html code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
[code].....
View 7 Replies
May 30, 2009
recently i am working on my portfolio which I am doing in flash cs4, as3. It runs fine on local machine but when i upload it into the server, it runs very slow. in face there is a section where pictures are loaded when a thumbnail is clicked. There are 15 pictures and it doesnot opens at all.
following is the link to the site that I have done so far[URL].. please click on the "projects" to look at the problem I am mentioning. the section"3d modeling is the part where there are 15 pictures and doesnot load at all. same problem with "3d animation" "video editing" works fine. it may be because it has just one video to load.
View 1 Replies
May 6, 2007
Basically, I need it so you click my movie clip with instance name of "bg"and it links to a site.. but it also opens as a new tab (Not a new window, but a tab like in mozilla), or a new window in internet explorer
View 1 Replies
Aug 5, 2009
The situation is I have a number of pages with a single movie clip on each, however once the movie is playing and you click the home or contact buttons for example, it will go to the correct page but the movies sound keep playing in the background. So I've got a code, but I just get an error sayign tanmovstop() does not have a body. I'm very new to action script so am very lost! I'll be extremely grateful. The code on the sites main buttons is as follows, with tanmov being the movie whos sound I want to stop:
[Code]....
View 1 Replies
Nov 5, 2009
I have a flash project, its working fine in local system, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading... [URL]
View 12 Replies
Dec 14, 2009
I have a flash project, its working fine in local system and checked this file with uploading in someother websites, its working fine there too, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading.URL...and here the same file which i have uploaded it in other server its working fine.URL...
View 2 Replies
Mar 10, 2011
I have an accordian which contains a repeater. That repeater takes an array as a dataprovider. The array in turn gets data from an XML file, on server, via HTTPService.
Now, data in the XML file gets modified after sometime frequently so I send the HTTPService after every 5 secs by using a Timer.
Problem: When the timer timesout after 5 secs, HttpService is sent, data is retrieved and showed in accordian but each time this happens, the accordian flickers. Thus, the flickering happens every 5 sec which is quite irritating.
Can I somehow remove the flickering to make the accordian update seemlessly? If it's the problem with accodian, will it persist if I use a DataGrid in place of accordian?
View 1 Replies
Nov 22, 2011
When executing dataprovider.refresh() for a chart component it redraws the chart. How do I determine when the chart is redrawn? I would like to take a png screen shot of the chart when it is fully drawn.
View 1 Replies
Feb 16, 2009
I have a swf with a link which loads another swf, the second swf is not visible unless you refresh the page or "back out and go in" again. have a look at [URL] If you click on the image labeled "Television" you should see the new swf but all you see is the television image link in the lower left (this is correct as you use this to (back out) return to the main swf. If you then go back and try again the new swf shows.
Here is the code I am using to load the second swf
ActionScript Code:
function released()
{
home.tooltip._alpha = 0;
[Code].....
View 9 Replies
Apr 13, 2006
I use an external txt to load some vars... works fine... But when I change the values of vars in the txt, and reload the txt in my swf, the old values are still displayed. Only when I take a new browser I can see the changed values. Does enybody know how to make sure I can load my changed vars from the txt without refreshing the internetbrowser?
View 2 Replies
Mar 26, 2006
my preloader is working when its first run, but it doesn't go to the 2nd frame if the page is refreshed. (Its for a swf that has about 9,000 frames but I don't think thats the issue)
Code:
onClipEvent (enterFrame) {
mctotal = _root.getBytesTotal();
mcloaded = _root.getBytesLoaded();
[Code]....
View 4 Replies
Aug 30, 2011
I have drawn intersecting lines. The user can click on a region inside the angle formed by the two lines.When the user clicks inside the area, the small region formed by the arc between the two lines showing the angle should change. How can I do that.the region between the intersecting lines is sprite object to dispatch event listener, but the arc is shape object.
View 1 Replies
Oct 4, 2011
I am having this problem on a website where the flash banners for each page wont load in any browser until you either refresh F5 the page or try re-clicking the page nav links a few times. Once loaded they are fine, but if browser's cache is cleared, no go. [URL] Some research suggested "Usually this happens if there are a lot of linkaged objects in the library with 'Export in first frame' option enabled. If this is the case, please disable this option. The problem is not in the quantity of the linkaged movieclips with 'Export in first frame' option enabled, the problem is the size of the objects which are linkaged."
View 7 Replies
Oct 25, 2010
I have a .fla that has a preloader on frame one and the rest of the file on frames 2 thru 55. The preloader code is the one that comes in Flash cs5's sample files. there is a movie clip with the instance name lbar and text with the name lpc. here is the code
stop();
import flash.display.*;
this.stop
[code]...
It works fine the first time people are on my site but when the page is refreshed or is gone back to sometimes the loader bar is just stuck and doesnt load.
View 1 Replies
Apr 25, 2011
I placed my AMFPHP folder inside my htmltemplate project folder, but now everytime i build it wants to 'refresh' the folder which takes forever. Is there a way to set it so that folder does not refresh each time? I put the AMFPHP folder in there so I can have a unique copy for my debug builds and leave the production build one alone.
View 1 Replies
Nov 18, 2010
I am having this problem on a website where the flash banners for each page wont load in any browser until you either refresh F5 the page or try re-clicking the page nav links a few times. Once loaded they are fine, but if browser's cache is cleared, no go. Some research suggested "Usually this happens if there are a lot of linkaged objects in the library with 'Export in first frame' option enabled. If this is the case, please disable this option. The problem is not in the quantity of the linkaged movieclips with 'Export in first frame' option enabled, the problem is the size of the objects which ar linkaged." I have de-compiled the SWF and checked out the library, but really have no idea in regards to Flash files and their construction as to what is or isn't an issue.
View 5 Replies
May 29, 2007
awhile back I completed the load random swf tutorial provided here on kirupa. But now I want to load specific swf files when the screen is refreshed or when someone clicks on the home or index. here is the code, can anyone point me in the right direction?
[Code]...
View 1 Replies
Mar 4, 2011
i am making a flash demo and have a bunch of different sections / categories that the movie will need to navigate to. I created a similar demo previously and used different "scenes" to keep track and organize the different categories. Should i keep using scenes to navigate to or is there a better, more professional way to do my movie?Also, where could i find more information on properly organizing and setting up my flash files? ie: naming conventions, etc.
View 2 Replies
Jan 19, 2009
I believe in CS3 it was possible to place a bitmap at a keyframe, then create a later keyframe, and break that bitmap up and move the sections. Then, create a motion tween to animate the peices flying apart (or back together).In CS4, this doesn't seem possible--anything I do combines the broken up bitmap into a single entitiy, rendering any tweening useless. Both Motion and Classic tweening seem incapable of such a simple task. (Shape tweening animates the peices, of course, but loses their individual shapes in the process, resulting in a mess).take a bitmap photo or a drawn rectangle or oval, and using tweening to animate it breaking apart?
View 2 Replies
Aug 23, 2004
i am trying to make a preloaded that stops on frames depending on how much is loaded, i want it to stay on frame 1 if 24% or less of the movies is loaded and for every 25% i want it to it to move forward a frame,so far i have done thus,
var bytes = _root.getBytesTotal();
var bytes_loaded = _root.getBytesLoaded();
if (bytes / bytes_loaded >= .25) {
_root.gotoAndPlay(2);
} else {
_root.gottoAndStop(1); }
View 6 Replies