ActionScript 2.0 :: Preloaded XML Gallery Becomes Super Slow?

Nov 12, 2007

I recently put together a gallery based on examples that Stringy posted here.A couple improvements have been made, there is now a forward/back button that is sensitive to which photo you're on...thumbnails appear only on rollover. Run locally, it works perfectly.But there's a problem. For this particular project, there NEED to be 30 photos loaded in to the gallery, and they're biggish, average = 130k/per. When i'm running it live, the first 15 photos work fine (using the next/button) ... but once you reach the final 20...it CRAWLS. Most browsers I've tested it on crash at 28.Now, I don't know if this is just a feature of having so many images (if so, is there any way I can make a buffer of the next 5 images preloaded, and then delete those that were cached after I've viewed them?)

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Super.super.someMethod() - Call A Method In The Super Class Of A Super Class?

Dec 15, 2009

Is it possible to call a method in the super class of a super class? I tried the above and it doesn't work, unsurprisingly. Only way I've been able to do it is to store a reference to a super.someMethod in the super Class (eg. var superMethod: Function = super.someMethod) and call that instead. Seems reasonable and it works but wonder if there is an in-built method for doing this?

View 6 Replies

ActionScript 3.0 :: Projector File Runs Super Slow In Fullscreen Mode

Apr 25, 2009

I have created a flash application that runs crisp and smooth normally. However, when I set it to fullscreen using
Code:
fscommand("fullscreen", "true");

Then it runs slow as heck. My cpu usage shoots up to the 90%'s on all four cores. Strange thing is, however, that if I manually resize the projector chrome to take up the full screen size it runs smooth and crisp. It's not playing any videos or sounds, and there are minimal images. The swf file itself is 7 megs, and that's almost entirely because I have to embed the chinese alphabet. Could it be from running dual monitors? It still only "fullscreens" to one monitor's size, so I don't think its's twice the size without me noticing... I'm really not sure what's causing it, but it gets super slow...

The swf and fla files are located at: [URLs]
.fla is only 448kB, but the swf is 7megs.
Again, it runs fine when not in fullscreen, no matter how large I make the window, but if you play the swf file in flash player (i.e. not in browser) it will run slow until you press esc and exit fullscreen mode.

View 11 Replies

ActionScript 2.0 :: [FMX] ScrollPane To Scroll Preloaded Thumbnail Gallery

Sep 5, 2005

The issue i'm having is that I want to use the Preloaded Thumbnail gallery as described in this thread [URL]

The catch is that I have 600 photos to do this with, so I'd like to create the scrollPane which will be capable of scrolling through them.

What I've gotten so far. I created the scrollPane, and then I've followed the tutorial's on how to get that working, I've also gotten the mc working for the photo gallery. I can't seem to get the two to work together. I've stripped this down to just the working thumbnail gallery with the settings I need. intergration of the scroll pane and mc thumb?

View 4 Replies

Actionscript 3 :: Super Interface And Super Class Having The Same Method Name?

Dec 29, 2011

I am trying to create a spark datagrid item renderer. This item renderer extends a checkbox, and implements IGridItemRenderer public class CellCheckBoxItemRenderer extends CheckBox implements IGridItemRenderer

When I implement IGridItemRenderer, I need to implement the interface methods, I am having a problem with the following methods:

[Code]...

View 2 Replies

ActionScript 3.0 :: Using Super.super.someMethod()?

Jan 22, 2007

I am trying to extend the new AutoComplete component from Adobe. In two different places I need to bypass the AutoComplete methods and get right at the ComboBox methods.

I was told that super.super.someMethod() works just like it does in Java. But I keep getting Compiler errors:1084: Syntax error: expecting identifier before super.Any suggestions other than just cutting and pasting the code and extending the AutoComplete superClass?

View 3 Replies

ActionScript 3.0 :: Slow Continuous Side Scrolling Gallery

May 3, 2010

I'm trying to create the look at the following website: [URL]. Once it's loaded click the screen and at the bottom left go to portfolios. Click on one of them and you'll see a slow continuous side scrolling gallery. I've got everything working apart from when I mouse off it continues at the speed at which I left it. I would like it to slow to a default speed and continue scrolling as in the example I've given.

I should mention I followed tutorial here: [URL]. It's been a while since I dabbled with Flash and especially AS3! Here is the code I'm using so far.
Code:
import gs.*;
var centerX:Number = stage.stageWidth / 2;
var galleryWidth:Number = images.width;
var speed:Number = 0;
addEventListener(Event.ENTER_FRAME, move);
function move(e:Event):void {
[Code] .....

View 6 Replies

ActionScript 2.0 :: Preloaded Swf Has Delay?

Nov 21, 2008

Hon the wallets page, when you click to view a wallet you get a slight delay and I'm guessing that this is because I've put the preloader in the swf being loaded, hence not being able to see the thing your loading until its been loaded.how I would put the preloader in the main movie and what kind of code I would use? At the moment the timeline being loaded basically tells the playhead to goto and play frame (whatever) when the movie is loaded.

View 4 Replies

ActionScript 2.0 :: CS3 Hide A Btn Until (preloaded) FLV Has Loaded?

Oct 6, 2009

I've found lots of answers on making a button visable after a swf has loaded but not a flv. I am preloading an flv, well 20secs of it, then it starts playing. But I have a 'play' button on the stage and it sits there tempting people to hit it whilst the preloading bar works its magic preloading the flv. I want the button to be visable only after the flv has loaded or at least until it starts to play.[code]

View 2 Replies

ActionScript 3.0 :: Check If Image Is Preloaded?

May 31, 2010

i�ve written a small class for a image galery with preloader. but how to check if a image allready is loaded to hide preloader bar? i tried to discover with httpStatus, but unfortunetly this event is dispatched after the open/progress event - the code comes here

main class:

Code:
package marek {
import flash.display.*;
import flash.net.*[code]...............

View 2 Replies

ActionScript 3.0 :: Restarting Preloaded Swf Clips?

Oct 15, 2009

I have a container swf that preloads 4 other swf's and the user can navigate between all 4.

The problem is that once loaded, the animations for all the swf's begin immediately. So the animation for the 4 swf could be finished before the user ever sees it.

I've tried reloading the swf as a new URLRequest, but that caused an issue: when I test using a simulated slower connection it causes a slight delay in the loading of the swf.

Is there a way to restart a preloaded swf?

View 4 Replies

ActionScript 3.0 :: AddChild Twice On An External Preloaded Swf?

Feb 28, 2010

But is there a way to addChild twice on a preloaded swf?

Here's my code:

Code:
stop();
import flash.net.URLRequest;
import flash.display.Loader;

[Code].....

View 1 Replies

ActionScript 2.0 :: Navigate Through Preloaded Swfs?

Sep 10, 2002

I have preloaded 5 swf into my main movie... I have figured out how to call the movies using

on (release) {
_level1.gotoAndPlay("framelable");
}

[code].....

View 3 Replies

Flash8 :: Blank Screen And Preloaded Starts At 40%??

Sep 18, 2010

my site is finished but as it's quite a large SWF the preloader and logo doesn't appear on screen untill it's load about 40% loaded.

Is there any way to get the logo on screen before anything else comes up rather than just having a black screen? (without breaking the main movie into smaller ones).

here's the link:

[URL]

View 3 Replies

ActionScript 1/2 :: Status Bar For Multiple Preloaded Levels

Apr 19, 2010

ive been building a site for about a month now and slowly piecing it together- so far ive managed to get all my various different levels loading and unloading the way i want them to, but now id like a little status bar to load on screen as my multiple levels are loaded in the background.The way ive been accomplishing this without the load bar is like so:on first frame of main movie loadMovieNum("dl_web.swf", 3);load MovieNum("dl_ illustration.swf", 4);loadMovieNum("dl_retouching.swf", 5);(the first frame of each of those movies has a stop function on it)And i have buttons on the main movie that make each of those levels visible and play.NOW, ive just created a movie clip ive named "bar" which is a thin rectangle, and i would like to have that movie clip load lengthways as my multiple levels are loaded in the background. So, my question is how do i accomplish this? I've looked all over and it seems like all the good preload tutorials are loading into movieclips whereas i am loading into levels.Right now my site is technically working, but there will be pauses for people with slower internet connections and i need my bar graphic to pop up so they dont think they are dealing with a broken site....

View 14 Replies

Flex To Load Cached Preloaded Images?

Apr 5, 2011

In my application, I make numerous calls to preload images to brower cache in the background using Loader instances and ignore the complete event. I don't store the results in the application, but rather want to store them in the browser cache. The images have long Expires header dates.

When I want to use a particular image(s), I again use a Loader instance and call the same url and listen for the complete event to load the file to an Image.

The problem is that when I re-request the url for the "cached" image, it is making an http request with response 200 status, which I presume means it is hitting the server. How do I make sure that a request for a cached image never hits the server from Flex? I am finding that any request to a url for a cached image (with a long expires header) is making another request to the server, or at least that is my interpretation of it in Firebug.

View 1 Replies

ActionScript 3.0 :: References To 'stage' Not Working In A Preloaded Swf?

Jul 12, 2009

I'm trying out the preloader method shown on [URL] and its working fine until I use any reference to 'stage' in the loaded swf.

My loaded swf works fine if I test it on its own, but when I run the preloader which loads it, I get an error 1009 - I have found out (by a series of elimination) that its as soon as I reference 'stage' in the document class of the loaded swf

View 3 Replies

ActionScript 2.0 :: Create A Preloaded That Reveals An Image?

Jan 21, 2008

I'm trying to create a preloaded that reveals an image.example of what i mean is; when 10% is loaded 10% of the image is visible when 50% is loaded 50% is visible.

View 1 Replies

ActionScript 3.0 :: Works Fine As A Standalone SWF But When Preloaded?

Mar 13, 2009

I have a SWF file, and it accesses an XML file. It works just fine when debugged or published into a standalone SWF. HOWEVER, when I add a preloader to it, I get the following error, every single time:

TypeError: Error #1009: Cannot access a property or method of a null object reference.

It works just fine when running on it's own, but when it runs through a preloader, it will not work.

View 1 Replies

ActionScript 3.0 :: Get All Files Preloaded In The Same Preload Progress?

Apr 17, 2009

I need to preload 12 images and 12 mp3 files, and the xml file for my text, at the beginning of my swf file.

Is there any fairly easy way to do this? I've searches for tutorials/examples, but can't find anything helpful. Is there a way to preload a folder, where I can keep these files? Or some way to get all files preloaded in the same preload progress?

View 7 Replies

ActionScript 3.0 :: Flash - Check If Image Is Preloaded?

May 31, 2010

written a small class for a image galery with preloader. but how to check if a image allready is loaded to hide preloader bar?i tried to discover with httpStatus, but unfortunetly this event is dispatched after the open/progress event hintthe code comes heremain class:

Code:
package marek {
import flash.display.*;

[code]........

View 3 Replies

ActionScript 2.0 :: Blank Screen And Preloaded Starts At 40%?

Sep 19, 2010

is finished but as it's quite a large SWF the preloader and logo doesn't appear on screen untill it's load about 40% loaded. Is there any way to get the logo on screen before anything else comes up rather than just having a black screen? (without breaking the main movie into smaller ones).

View 4 Replies

ActionScript 3.0 :: Access Stage In Preloaded Swf -> Error 1009

Oct 21, 2008

I'm trying to preload an external swf, but when I try to access the stage in the external swf, I get a 1009 error. When I remove the stage.scaleMode, stage.align and stage.stageWidth, it works fine. The content.swf also works fine when i run it seperately from the preloader.

View 3 Replies

Professional :: Custom Text Not Appearing On Stage If Not Preloaded

Jul 7, 2011

I've added text to the stage and if I test it out using ctrl+enter, it does not show up. If the swf "loads"/"simulate load" then the text shows up, but not in the correct font.This is the error when the swf is not preloaded:VerifyError: Error #1014: Class flashx.textLayoutcontainer::Container Controller could not be found.at flash.display::MovieClip/nextFrame()at spot_fla::MainTimeline/l()I've also recently added an AS3(CS5) preloader which is when this started. The library mc items have been set to export in frame 2 but the font doesn't show up. The font has been embedded as well but linking/unlinking it does nothing. The AS3 preloader is a simple script that a lot of tutorials online use.The textfield is located in frame 2 of the timeline and is not referenced in AS. However it is inside of a mc that has a mouse listener on it(mc).

View 3 Replies

ActionScript 3.0 :: What Is Mean By Super And How To Use

Apr 5, 2010

What is the use of super function and How to use it?

View 9 Replies

Flash :: Flex - Builder 4.5 Mobile App ... Scroller And Preloaded Images

Oct 26, 2011

I got some Images in my scroller component. while scrolling the scroller sometimes hang for a second... i think the image is loading. is it possible to load the image before the scroller is on the position?!.

View 1 Replies

ActionScript 3.0 :: Make A Preloaded For Loading The Main Content Of The Swf File?

Feb 5, 2009

I want to make a preloaded for loading the main content of the swf file. I put my main program code on frame 2 and put this code on frame 1:

import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;

[Code].....

My issue is it does not seem to track the progress. The trace statement in the onProgress function only displays after it is fully loaded. I thought this was suppose to loop.

View 9 Replies

ActionScript 3.0 :: Preloaded Website Wont Play Linked Flv Video?

Sep 28, 2011

It is easy to be confused I'd bet but I will try to spell it out very simple I have this micro site that has 4 flv videos linked from where I uploaded them. The videos seem to work fine, if I type in the directory to the site itself.. (mysite.com/myswf.swf)

But when i utilize a preloader file, that loads the site, the videos do not load. I figure it is some linking break in using a preloader swf. Because the preloader has a different name, then the site's swf, how should I write out the directory to the flv files in the site flash file so it can load when using a preloader

View 2 Replies

ActionScript 2.0 :: Stop Progressing Through Preloaded Frames Along Timeline With Slider?

Feb 16, 2005

if I can control volume by means of a slider , is there anything to stop me progressing through preloaded frames along a timeline with a slider? has anyone tried this? i am imagining giving the user control of a decaying image from beginning to end with the use of a slider?

View 1 Replies

ActionScript 2.0 :: Stop Progressing Through Preloaded Frames Along A Timeline With A Slider?

Feb 16, 2005

if I can control volume by means of a slider , is there anything to stop me progressing through preloaded frames along a timeline with a slider? has anyone tried this? i am imagining giving the user control of a decaying image from beginning to end with the use of a slider? does this sound the wrong way of going about this? i am ok with actionscript but with this, i havent a clue where to begin!

View 1 Replies







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