Advertisement

07.08.2008 at 11:00PM PDT, ID: 23549198
[x]
Attachment Details

writing a loading script for a large jpeg file

Asked by lanmenz in ActionScript, Macromedia Flash

Tags: adobe, flash, mx3, loading script

Hi there,

I have a very basic flash movie which is a large (w 2500px x h 295px) jpeg image (converted to movie clip) inside a horizontal scroll component so users can scroll across a strip of images.

Obviously the jpeg image takes a while to load up, however the preloader doesn't seem to work.  The flash area remains blank until the movie is loaded, the preloader flashes up very briefly then the strip of images appear -

I have the following setup;

FRAME 1 - is the following actionscript:

import flash.external.ExternalInterface;

function GoToFrame(frameNumber:Number)
{
      gotoAndPlay(frameNumber);
}

FRAME 2 - is my preloader animation

FRAME 3 - contains the scroll component and image strip

I have also tried the following actionscript on frame 1:

stop();
ifFrameLoaded (3) {
    gotoAndPlay(2);
}

Would be most grateful for any help!Start Free Trial
[+][-]07.09.2008 at 02:06AM PDT, ID: 21961640

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 02:17AM PDT, ID: 21961687

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 03:54AM PDT, ID: 21962176

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: ActionScript, Macromedia Flash
Tags: adobe, flash, mx3, loading script
Sign Up Now!
Solution Provided By: blue-genie
Participating Experts: 1
Solution Grade: A
 
 
[+][-]07.09.2008 at 11:20PM PDT, ID: 21970802

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 11:34PM PDT, ID: 21970882

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.10.2008 at 12:16AM PDT, ID: 21971121

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628