php, Jscript, or Ascript: pre-loa...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dsdsdsdsd
Forum Commoner
Posts: 60
Joined: Fri Dec 05, 2003 3:10 pm

php, Jscript, or Ascript: pre-loa...

Post by dsdsdsdsd »

hello;
I wish to apply a pre-loader with a Flash AScript getURL() command; I have successfully apllied them to Flash AScript loadMovie()'s and such but I am not sure where to begin for the getURL();
any thoughts?

as far as it goes, is the term 'pre-loader', used to describe a load status using a status bar or whatever, correct terminology?

thanks
Shannon Burnett
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post by Gen-ik »

Hi, do you mean you want a loading-screen for an HTML/PHP page instead of a Flash movie?
User avatar
igoy
Forum Contributor
Posts: 203
Joined: Fri May 02, 2003 11:57 pm
Location: India
Contact:

Post by igoy »

Yeh, That's what it sounds like.....

getURL() will open a new browser window or a page in browser, Not inside Flash Movie . Having said that, I don't see how you want to create pre-loader in Flash for HTML/PHP page.
Draco_03
Forum Regular
Posts: 577
Joined: Fri Aug 15, 2003 12:25 pm
Location: Montreal, Canada

Post by Draco_03 »

the only thing you can make is something like a page that loads another html with a flash in it,... but i just said something that was obvious...
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post by Gen-ik »

There are a couple of ways of doing it but the one thing that you will need to know in order to create an HTML/PHP preloader is how many images/files you have in the page you want to load up.

You also don't need Flash to create an HTML preloader, you just need a some JavaScript skills and a bit of CSS knowledge.

To be honest having a preloader on an HTML page is not really a sound thing to do unless you intend to have a shed load of images on the page.. or a shed load of pre-loaded images.

But, if you really need a preloader on your HTML page drop me an email at si@urbanchaos.net and I'll walk you through it.

If you want a Flash preloader for an HTML page then it gets a bit more complex but again isn't impossible to do. You will need to know how to get JavaScript and ActionScript 'talking' to each other with FSCommands.
User avatar
igoy
Forum Contributor
Posts: 203
Joined: Fri May 02, 2003 11:57 pm
Location: India
Contact:

Post by igoy »

That's Right Gen-ik, but then isn't it same like what you said :
To be honest having a preloader on an HTML page is not really a sound thing to do unless you intend to have a shed load of images on the page.. or a shed load of pre-loaded images.
frankly, if you are using dreamweaver (which I guess you do), then you can download an extension which creates HTML preloader...

link : http://www.yaromat.com/dw/index.php

also you can use simple layer with 100% width & height, and hide it using javascript in Body onLoad event.
Post Reply