473,800 Members | 2,418 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Preloader has a cup of tea and decides to show up near the end.??Hello from Sydney!

1 New Member
Hello everyone,
I have created a preloader which is nested and has three frames inside.
On frame one the following actionscript is:

_parent.stop();
(which simply stops the main movie from playing)

On frame two the following actionscript is:

kBytesLoaded = _parent.getByte sLoaded()/1024;
kBytesTotal = _parent.getByte sTotal()/1024;
kBytesRemaining = kBytesTotal - kBytesLoaded;
percentLoaded = 100 * kBytesLoaded / kBytesTotal;
percentRemainin g = 100 - percentLoaded;
loadBar._xScale = percentLoaded;
(this is for the loadBar)

And on frame three the following actionscript is:

if (percentLoaded < 99){

gotoAndPlay(2);

} else {
this.loadBar._v isible = false;
this.loadText._ visible = false;
//this.loadContai ner._visible = false;
this.loadLogo._ visible = false;
_parent.play();
stop();
}
(which controlls the visibility of elements)

The thing is though, every time I do a test movie, the screen is blank, then the actionscript appears (and is 3 quarters already through) then finishes.

Does anyone have any clue to why this is happening.
Thankyou and regards from Sydney, Australia.

Flash Virgin
Mar 8 '07 #1
1 1423
sleepingInsomniac
2 New Member
i know newgrounds.com has some great tutorials on preloaders

hope this helps
Mar 9 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

8
2033
by: Ross | last post by:
This page I am trying to create a preloader that hides all the other content except the hidepage div until it loads...any ideas? Or any preloaders that actually work? http://www.nssdesign.scot.nhs.uk/home/index.php
3
7954
by: abm | last post by:
Hi. I am in great need of a preloader for my Flash web site. I have looked at a lot of tutorials and examples, but I can not seem to get it to work. How do I add a preloader to my existing Flash app??? (if you look at www.abmpic.com you will see that it takes too long to load without a preloader)
2
2076
by: bedges | last post by:
okay, the scenario: i have a header image which changes randomly across all pages in the site. that works fine. i also have an image preloader within the random header picker which theoretically loads the header image before the rest of the graphical content on the page. however, what appears to be happening, judging by the status bar messages, is that the banner always loads last. here's the random header code -
0
2014
by: Lanky | last post by:
I have noticed on sites that on a page a preloader will run and one or more flash movies will appear. Then the preloader does not reappear on subsequest revists to that page during the same browser session, as if the swf is loaded into memory and replays. Is my assumption correct and how exactly do I do this with my preloader?
2
1916
by: streammalvern | last post by:
Hi, I am having a problem with a published Flash Movie. I included a preloader and the whole file size of the .swf is only about 1MB. If I go to the movie, it pauses even before the preloader appears on the screen. I have the preloader located on frame 1 & 2 of the first scene. When I test the movie out of Flash and I view bandwidth and simulate a download, it shows that the movie is at Frame 0 for approximately 10 seconds. (I am...
3
3625
chunk1978
by: chunk1978 | last post by:
hi there... i'm having a new strange problem with my flash site... IE7 seems to not display my preloader but instead loads the movie with a white screen... the movie does load though... this is a new problem, as it never use to happen before... it use to show everything... does anyone know why this suddenly started to happen? i've cleared the cache... could this be an issue with Flash CS3? any help would be GREATLY appreciated, as i've been...
39
3209
by: Ravi | last post by:
Can you all please suggest a program which tell us the range of memry addresses occupied by the given c program?
3
1668
by: 1left | last post by:
Hi- I'm getting some weird flickering of objects (not the preloader elements) during the "Simulate Download" test (56k) of my Flash 8 movie. I'm on cable modem , and the preloader runs so fast at normal speed I'm not sure if it's happening then. Ever seen this before? Thx.
0
1459
by: deluxmilkman | last post by:
I'm trying to play flv on frame 1 after both flv and contents on frame 2 are loaded. how can I stop flv from playing before the contents are loaded? AS on frame 1
0
9690
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10275
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10253
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10033
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7576
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.