Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Loading Different SWF's Depending On The Time



I'm trying to get my home page to load certain swf's depending on the time it is. How would I do that? So it's it's between 3PM and 7PM it will load home2.swf for example.



FlashKit > Flash Help > Flash General Help
Posted on: 07-06-2005, 12:01 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Loading A Different File Depending On What Time It Is...
I've made a movie which will successfully go and load the contents of a text file. Is it possible using getTime(); to load the contents of different text files depending on what day and time (GMT) it is...

ie -
Monday 10am til 12 - get Mondaytextfile01
Monday 12 til 2pm - get Mondaytextfile02 etc.
Tuesday 10am til 12 - get Tuesdaytextfile01 etc.. etc...

Then display the contents using my working code:
Code:
lvText.onLoad = function() {
// Display the value in the text field.
externalfile.text = this.displayValue;
};
If anyone's got any good ideas for this I'd be very appreciative...

Cheers

FLV Clips Loading Depending On Time Of Day.
I thought I was doing something that no one else has done before but found a website doing the same thing I am trying to do and I am way stuck. I am stuck. I figured out that this site is not a live enviroment, rather using FLVs for certain days of the week - and the office is even all dark after 6PM. Looks like they have an FLV library loading clips for specific days and also for the time of day. I am trying to do the same but I am stuck on my CS3 code. I think my problem resolves here:

var CurrentDate = GetPHL_date();

It doesn't seem to retrieve date - videos won't load!

To see what I'm trying to do, please visit this site:

www.customedialabs.com

Any help you can offer - I would be most appreciative.

Jerry

FLVs Loading Depending On Time Of Day.
I am stuck. I figured out that this site is not a live enviroment, rather using FLVs for certain days of the week - and the office is even all dark after 6PM. Looks like they have an FLV library loading clips for specific days and also for the time of day. I am trying to do the same but I am stuck on my CS3 code. I think my problem resolves here:

var CurrentDate = GetPHL_date();

It doesn't seem to retrieve date - videos won't load!

To see what I'm trying to do, please visit this site:

www.customedialabs.com

Any help you can offer - I would be most appreciative.

Jerry

Loadmovie Depending On Time Of Day
I would like to have my flash movie load specific images from external swf files based on the time of day like morning, afternoon, evening, and late night. I can do this in Javascript as such


script language="JavaScript"
function writeImageTag() {
var today = new Date();
var day = today.getDay();
var hours = today.getHours();
if (((day > 0) && (day < 6)) && ((hours > 21))) {
document.myPicture.src = "media/images/wdlate.jpg"
}

and so on. How can this be done in flash?

Loadmovie Depending On The Time Of Day
I'm doing a site for a radio station, and I need to load a particular external movie depending on the time of day (for that particular dj).

I've tried something like below that I found in the forums, but its not working:

myDate = new Date();
hr = myDate.getHours();

if(hr >= 8 && hr <=19) {
loadMovie("day.swf", "loader");
} else {
loadMovie("night.swf", "loader");
}

If anyone can help me with this, it would be greatly appreciated.

Thanks in advance!
Matthew

Change Depending On Time
I have 2 frames, one has a black background the other white.... I want to make that people would be able to see my white background say between 8am to 6pm and black background from 6pm to 8am... How would I go about and doing this?

[F8] LoadMovie Depending On Time
Hey I have a flash banner on a website I'm working on for my church, here it is Calvary Chapel . Each slide on that banner is just a externally loaded .swf. My church has a live broadcast via the internet, and I was wondering how I could make it so that when that live broadcast is going on instead of loading the first external .swf like normal it will load a different one saying "Our live broadcast is underway" or something like that. So pretty much I just want to know how to make it play a certain slide in place of the first one say from 8:30 to 10:30 AM on Sunday, and 7:00 to 8:30 PM on Wednesday. How would I do this?

Go To Frame Depending On Time?
How do I set up my document so that depending on a certain Day(number and dayname) and month an image will rotate

for example:
if the day was the first of the month one of my 3 images will rotate 10 degrees
if the date was wednesday, my second image will rotate 30 degrees
and if the month was April my third image will rotate 50 degrees

What would be the easiest way to set this up?

Thanks,
Nate

Images Depending On Time
what i want to do is create a site that knows what the time is in your area via your pc clock hopefully and depending on the time puts a different background image up e.g. night time = night picture daytime = sunny daytime pic

any ideas

-Tom

Change Sky Depending On Time
Does anyone know how or have examples of changing a colour of something depending on the time on the system of the user?

Thanks.

Images Depending On Time
what i want to do is create a site that knows what the time is in your area via your pc clock hopefully and depending on the time puts a different background image up e.g. night time = night picture daytime = sunny daytime pic

any ideas

-Tom

Change Movie Depending On Time.
I heard that a movie can change depending at what time you view it. If so how? (Example)I want to make a movie cartoon with 10 scenes. When you play it 12:00pm you get to view scenes 1,2,4,6,& 8 and then at a later time like 3:00pm you can see scenes 3,5,7,9... is that possible? If so how and I would like a detailed explanation. Thanks for any help!

Change Graphic On Depending On Time.
I have a site and I want to make it change depending on time.
[example] 7AM-3PM a picture of a sun would be on the site and when it's 3PM-9PM a sun half way showing some moon. 9PM-7AM moon ETC...

Anyone know the code?

Load Movieclip Depending On The Time
Hi all

Does anyone know how to load a specific movie clip depending on the time. I have twelve flash banners that i want to load into a target movie clip every hour.

i.e.
if the user accesses the page between 1 & 6 minutes past the hour they will see banner1.swf. if they access the page between 7 & 12 minutes past the hour they will see banner2.swf.

Thanks

Rollover That Plays Depending On Time
hey every1 argh my flash skills are getting weaker cuz I've been toying around with after effects and 3ds lately but anyways I made a normal rollover button but how do you AS it so the animation on the button plays according to how long you keep your cursor over the button. eg: FL ppl http://avionics.flashlevel.com/

Display A Movie Depending On The Time Of Day
I read the tutorial on displaying a random .swf file, but I was wondering if anyone can explain how to display a .swf movie depending on the time of day (ie. morning, afternoon, evening). Any help would be appreciated. Thanks.
-Jordan

Control Movieclips Depending Of Time
I download a tutorial to make a digital clock now what I want to do is make my movieclips go to a different frame depending of the hour

you know I want to make that effect of day/nigth

well I hope you could help me

thanks

Display A Movie Depending On The Time Of Day
I read the tutorial on displaying a random .swf file, but I was wondering if anyone can explain how to display a .swf movie depending on the time of day (ie. morning, afternoon, evening). Any help would be appreciated. Thanks.
-Jordan

Picking Movie Clip Depending On Time ?
im creating s fake webcam

when the user goes to view it, it will show a random image

but i want to split the pictures up to (day) and (night)

ive put all the day pictures in one movie clip called 'DAY' and the night ones in 'NIGHT'

how can a set it so that up until 5pm it will randomly choose pictures from the DAY movie clip.... and after 5pm it would randomly choose a picture from the NIGHT movie clip

ACTION SCRIPT 1

[F8] How To Write A Method That Can Be Altered Depending On Circumstance At Run Time
Hiya people!

I have an issue with something, i have been getting into Flash Lite and basically i eventually found a way to navigate with the keypad in a class...

var array:Array = new Array ("Start","Options","Help","About");
var selected:Number = 0;

//keypress up =
selected --;

//keypress down =
selected ++;

//keypress select =
array[selected].onSelect();


So basically, you can see how this works, its simple and it works for the main part of my program but i am having an issue with the Main Menu because each button does something completely different.

The MovieClip class contains an onMouseDown... or something like that... im not infront of flash as i write this, but

onMouseDown = function (){}

works.

How can i create a public method that all buttons use but that i can set on a per button basis

var button1:MyButton = new MyButton();
button1.onSelected = function (): Void
{
//code for button 1... say it draws a circle
}

var button2:MyButton = new MyButton();
button2.onSelected = function (): Void
{
//code for button2... say it draws a rectangle
}

Im unsure how to implement this in code. Can someone give me helping hand?

Cheers!

Loading Different Swf Depending On URL
HI,

I am setting up a site with a main navigation SWF that loads each section into a MC on the stage.

I would like it to load the "home" SWF when they go to the site via one URL: ie. http://www.home.com

and I would like it to default to the "garden" SWF when accessing:
ie. http://www.garden.com


How can my main navigation SWF tell which URL the user is coming from?

I want to avoid having to make duplicates of the main SWF file.

-OPT

Loading Different Swf Depending On URL
HI,

I am setting up a site with a main navigation SWF that loads each section into a MC on the stage.

I would like it to load the "home" SWF when they go to the site via one URL: ie. http://www.home.com

and I would like it to default to the "garden" SWF when accessing:
ie. http://www.garden.com


How can my main navigation SWF tell which URL the user is coming from?

I want to avoid having to make duplicates of the main SWF file.

-OPT

Loading Swf Depending Of Variables
I want to load external swf depending of variables readed from a TXT, (local app not for the web).
I have this folder structure.

/ROOT/
--/flash/ (main and external swf files)
--/fscommand/fs-command/ (plain text files, extension ".DEF")

In the main swf, I have created a dinamic text for show variables values, in wich the variables are: "vc_izq=35&"

Code:
loadVariablesNum("../fscommand/fs_comand/vc_izq.def", 0);
loadVariablesNum("../fscommand/fs_comand/vc_der.def", 0);
stop();
There are two empty movies for loading the external swf; vc-izq and vc-der in which I want to load the external swf depending of variables read in the .DEF plain files.

Code:
function carga() {
_global.VcIzq = String(contenedor.vc_izq);
}

if (_global.VcIzq = 35){
this.loadMovie("vc_izq_12.swf");
} else {
this.loadMovie("vc_izq_00.swf");
}

contenedor = new LoadVars();
contenedor.load("../fscommand/fs_comand/vc_izq.def");
contenedor.onLoad = carga;
OK, the problem. If we have other value distint from 35 in the plain text file the swf loaded is the same "vc_izq_12.swf", but if "if change if (_global.VcIzq = 35) for (_global.VcIzq == 35) in the code, all values load "vc_izq_00.swf"

Can you please help me
Thanks, Thanks, Thanks, Thanks, Thanks, Thank you very much

Loading Swf Depending On Date?
I found most of this on this forum already, but need to adjust it to meet my needs. I think the following php file will work just fine:


PHP Code:



<?php
$t = time();
echo "month=".date("m", $t)."&"."day=".date("d", $t);
?>




And I have the following actionscript in my flash movie:


Code:
var day;
var month;
var myLoadVars:LoadVars = new LoadVars();
myLoadVars.onLoad = function(success:Boolean) {
if(success) {
day = this.day;
month = this.month;
//trace("month: " + this.month);
//trace("day: " + this.day);
}
}
myLoadVars.load("http://mysite.com/mydate.php");
Now, I want to add some code that will allow me to load a new movie depending on the date. For example, if the date is > Jan 05 and < Jan 12, it will load movie1.swf

ASP Loading Different Swf Depending On User-actions
Hi all, trying to solve a problem, I am facing another one I've never been able to solve.

I have an ASP-page, loading a swf:


Code:
<table width="100%" height="100%" border="0" cellpadding="0"
cellspacing="0" bgcolor="#000000" >
<tr>
<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=6,0,29,0" width="100%" height="100%" align="top"
id="HP" name="HP">
<param name="movie" value="swfs/HP.swf">
<param name="quality" value="high">
<embed src="swfs/HP.swf" width="100%" height="100%" align="top"
quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" name="HP" ></embed></object>
</td>
</tr>
</table>
So this is your basic embed-swf-code.

Now, I have tried to make this depending on a variable, but I can't find a working syntax. So I want to send a variable to this page, so that the page embedds a different .swf depending on the users actions. Anyone out there who can help??

Thanks a LOT,

Papermouse

[FMX] Help With Loading Data Depending On Date ..
Hi,

I want to beable to automatically load an external txt file into my flash movie according to what date the computer thats viewing is running.

Heres what I mean. If the computer that is viewing my swf file has the date Friday 1 Jan 2004 then txt file "1" would load and show. If the day was 5 Jan then txt file "5" would load and show.

I have hunted around for a tutorial for this but havint been able to find one. At the moment I am using simular script used in the display date & time tutorial on this site, if that helps.

Thanks.

Movies Loading Depending On What Was Clicked..
OK - I have been trying to figure out the right way to put this to keep it clear.. see if this works..


I have a movie with a left sidebar (many buttons) and a bottom sidebar(three buttons - movie, stats, opinion) and a main content frame(where the stuff pops in to).

The left sidebar opens with the page and then when you click a button in the left sidebar, the bottom 'sidebar' tweens up.

Here is the problem. I need to have a movie load in to the main content frame after clicking on the movie button in the bottom sidebar - but it has to load the video that the user wants (it depends on what button on the left side bar was clicked in order to open the bottom 'sidebar')

So basically - the left sidebar button's are 1 and 2, the bottom 'sidebar' buttons are A, B and C. So if you click 1 and then A, you get the 1-A movie but if you click 2 then A, you get the 2-A movie.

Yes, it is confusing in my head too which is why I am lookin for some help!

[FMX] Help With Loading Data Depending On Date ..
Hi,

I want to beable to automatically load an external txt file into my flash movie according to what date the computer thats viewing is running.

Heres what I mean. If the computer that is viewing my swf file has the date Friday 1 Jan 2004 then txt file "1" would load and show. If the day was 5 Jan then txt file "5" would load and show.

I have hunted around for a tutorial for this but havint been able to find one. At the moment I am using simular script used in the display date & time tutorial on this site, if that helps.

Thanks.

Loading JPGs From XML Depending On Date
Hi all!

I've been looking around to find out exactly how I can dynamically load JPGs as the background to a flash movie I'm working on, which are displayed based on date (enddate in the XML file). I have 52 images, 1 per week for 2004. I am working on a projector file for the desktop.
I saw a post where an external XML file was used and this is the way I
want to go. The XML file is the following (There are 52 entries in the final version):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE images SYSTEM "promo.dtd">
<images>
<photos>
<img>foto1.jpg</img>
<startdate>01/11/2003</startdate>
<enddate>30/11/2003</enddate>
</photos>
<photos>
<img>foto2.jpg</img>
<startdate>01/12/2003</startdate>
<enddate>31/12/2003</enddate>
</photos>
</images>

As a complete novice actionscripter I dont know where to start at reading this XML and then displaying the correct image, so any help is much appreciated.

Thank you!

simo

Loading JPGs From XML Depending On Date
Hi all!

I've been looking around to find out exactly how I can dynamically
load JPGs as the background to a flash movie I'm working on, which are
displayed based on date, i.e. they are diaplyed only until the enddate defined in the XML file.
I saw a post where an external XML file was used and this is the way I
want to go.
The file should be something like the following:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE images SYSTEM "promo.dtd">
<images>
<photos>
<img>foto1.jpg</img>
<startdate>01/11/2003</startdate>
<enddate>30/11/2003</enddate>
</photos>
<photos>
<img>foto2.jpg</img>
<startdate>01/12/2003</startdate>
<enddate>31/12/2003</enddate>
</photos>
</images>

As a complete novice actionscripter I dont know where to start at
reading this XML and then dispalying the image, so any help is much
appreciated.
I have 52 images - one per week for 2004.

Thanks!

Simo

Loading Video Depending On Bandwidth Function
Hi

ive found this code to test the users bandwidth and display it, i want to use it to load a different video depeding on their bandwidth.

the thing is that i would rather have it in a function that i pass a path to and it loads the appropriate video

thanks


Code:
onClipEvent(load){
/*
Calculate approximate kbps after test swf loads
*/
function getkbps(startTime,sizeInBytes) {
elapsedTimeMS = getTimer() - startTime; // time elapsed since start loading swf
elapsedTime = elapsedTimeMS/1000; //convert to seconds
sizeInBits = sizeInBytes * 8; // convert Bytes to bits,
sizeInKBits = sizeInBits/1024; // convert bits to kbits
kbps = (sizeInKBits/elapsedTime) * 0.93 ; // IP packet header overhead around 7%
return Math.floor(kbps); // return user friendly number
}

/*
Load test.swf with a unique time to work around browser caching.
Browser will always load a new copy of SWF because url is different each time.
*/
now = new Date(); // create date object
nocacheStr = "?" + now.getTime();
this.loadMovie("test.swf"+nocacheStr);
}

onClipEvent(enterFrame){
// do not execute code until SWF begins to load
if(this._url != _root._url){
if(typeof start == "undefined") {start = getTimer();} // set start time once
if(this.getBytesLoaded() < this.getBytesTotal()){ // not yet loaded
_root.statusmsg = "Checking Bandwidth";
}
if(this.getBytesLoaded() == this.getBytesTotal()){ // swf loaded call getkbps()
_root.statusmsg = "Bandwidth = " + getkbps(start,this.getBytesTotal()) + " kbps";
var bandwidth = getkbps(start,this.getBytesTotal())

if (bandwidth < 200) {
_root.video.loadMovie("50.flv");
} else if (bandwidth < 470) {
_root.video.loadMovie("100.flv");
} else if (bandwidth < 750) {
_root.video.loadMovie("250.flv");
} else {
_root.video.loadMovie("500.flv");
}

}
}
}

Loading External Image Depending On Framenumber
I have a fair few external jpg's that I want to load into successive keyframes in flash. The jpg's are named 1, 2, 3 etc, I would like image one to go on frame one and image two to go on frame two and so on. On the first frame of the document I have the following code.


ActionScript Code:
loadMovieNum(_currentframe+".jpg",0);

Which works, it loads the image "1.jpg". If I then copy and paste this code onto the second frame (also a keyframe), it doesn't seem to do anything.

First of all, how would I make the image change every keyframe?
Second, is there a way to do this without copy and pasting the code to every keyframe?

Thanks.

Loading Swfs Depending On Screen Resolution
Hi, I have a quick question...
I had done a swf content for some major resolution ..flash800.swf,flash1200.swf,flash1600.swf... I load a swf at first which detects the x resolution of a screen and then loads appropriate content ...the problem is that tke decision-making swf loads that flash movie into itself , so I have to do the checking resolution swf the maximum width and height the same as in the biggest (flash1600.swf) movie loaded into it....that makes all my work meaningless....
Can anyone help me how to totally unload that first testing swf or dynamically set stage width and height of that swf ??????

Cheers

Loading Images Into Datagrid Depending On A Certfain Value In A Xml
'm trying to load 4 different images into a datagrid column.  I'm already pulling in data from and xml and need to add another column for specific images depending a specific ID in a xml file.  

Loading Swfs Depending On Screen Resolution
Hi, I have a quick question...
I had done a swf content for some major resolution ..flash800.swf,flash1200.swf,flash1600.swf... I load a swf at first which detects the x resolution of a screen and then loads appropriate content ...the problem is that tke decision-making swf loads that flash movie into itself , so I have to do the checking resolution swf the maximum width and height the same as in the biggest (flash1600.swf) movie loaded into it....that makes all my work meaningless....
Can anyone help me how to totally unload that first testing swf or dynamically set stage width and height of that swf ??????

Cheers

Loading Mov In Main Mov Depending On Vars In HTML
hi
need to load 1 of 2 small movies into main movie.
Which of 2 movies I load depends on variables I point.

I have variables written in html file:
------------------------------
<param name=movie value="main.swf?what=first">
<embed src="main.swf?what=first"...
------------------------------
so I want to load 1 movie

what I should write to main movie?
I try this:
------------------------------
if (what eq "first") {
loadMovieNum("1.swf", 1);
}
------------------------------
but nothing loaded.

If I just write "loadMovieNum("1.swf", 1);" all is OK.
How to write these "if.." correctly?
Many thanks!

AS 2.0 Loading/changing Images Depending On Selection (example .fla Included)
Hello,

I would like to have sort of a menu to the left of the screen (roughly 8 different ones).
Then each menu will display from 3-8 options on the right hand side. Each option has a picture and a little description.

My question is, how can i change the menu image on the left to the image of the option selected on the right (after they have chosen their selection)

So for example:

imagine this is done all by images, not text.

My menu is 1 2 3 4
user presses 1 and is displayed with the options a b c d
they select d

the menu is now D 2 3 4

I have included wha ti've got so far in a .fla

thank you very much for any help on this. I'm not sure the most correct way to do this. I didnt want to load the images from a database because i'll only have up to 8 options max..

here is my little .fla i made for it..

http://www.yoce.com/options.fla.zip

AS 2.0 Loading/changing Images Depending On Selection (example .fla Included)
Hello,

I would like to have sort of a menu to the left of the screen (roughly 8 different ones).
Then each menu will display from 3-8 options on the right hand side. Each option has a picture and a little description.

My question is, how can i change the menu image on the left to the image of the option selected on the right (after they have chosen their selection)

So for example:

imagine this is done all by images, not text.

My menu is 1 2 3 4
user presses 1 and is displayed with the options a b c d
they select d

the menu is now D 2 3 4

I have included wha ti've got so far in a .fla

thank you very much for any help on this. I'm not sure the most correct way to do this. I didnt want to load the images from a database because i'll only have up to 8 options max..

here is my little .fla i made for it..

http://www.yoce.com/options.fla.zip

Dynamic Loading Pics And Variables?how To Change Pics Depending On Buttons Or Text
i want to load jpegs into a swf dynamically. I saw a post confirming u can do it w/load movie script. Heres my question:

first off: in the folder w/my movie, i have jpegs labeled
1-9

in the movie, when someone presses a button, var x is changed to the corresponding number, 1-9

what i want is to place this variable inside the loadmovie somehow so depending on the button pressed a new img loads

i dont wanna type out long if then statements seeing as how this will quickly extend to about 1-400.

im kinda brain dead rite now, whats a dynamic way of gettings imgs with relatively short, versatile code

Loading Bar That Shows Loading Time Of HTML Page Not The Movie
Hi,

I have a flash intro that I'm using for my site, but I would like to (if possible), have an intro HTML page that uses JS to pre-load the images on the site and show my loading FLASH movie while the page pre-loads.

I would like the flash movie's loading bar to reflect the images that are pre-loaded on the HTML page.

Question-1: Is that possible to do?

Question-2: Where do I start? I don't even have a loading bar. All I want is just a simple rectangle that has a bar inside that moves from left to right indicating that the page is almost finished loaded. Then when the page has pre-loaded the images I need it to re-direct to the main page.

Can someone help me accomplish this, or tell me where to find out how to do this.

Thanks!

NATE

design@spyderix-designz.com
http://www.spyderix-designz.com

Loading 2 MCs At The Same Time
Im having some trouble doing something i thought would be simple. I think it might be a flash MX glitch or soemthing.

I have this preloader that works fine when the Main movie loads and when i load ONE movie clip. BUT when i have that Movie clip loaded and i load another Movie Clip using the loadMovie method it will not preload. It waits till the whole movie has been loaded then it shows the contents.

This only happens when i load a MC when one is aready loaded. Anyone kno what i am doing wrong or if its a glitch or not or how i can get around it. Thanks.

Loading Time
can anyone help me impove the loading time, it is rediculous...

www.crystalsensations.com

Loading Time
I just have a quick question about the loading time given the amount of bandwidth I have. I have a 3.2mb *.swf and when I load it from my host it loads really slow. I just bought an extra 1gb of bandwidth to help speed it up but it hasn't done much. How much bandwidth do you think is neccessary to load the 3.2mb .swf at a reasonable amount of time? Is it bandwidth that will speed the loading process up? What do you guys suggest? Is the 3.2mb .swf unreasonable in size; are there other sites that load the swf fine that have a big flash file? Thanks and sorry for all the questions...I'm new to this!!

I can attach the file if you want.

sly

Loading Time Cut Down
I made a site for a record label and it is taking for ever to load. It can be seen Here It consists of several scenes: The loading screen, The intro movie, the menu, and then individual scenes for each band.

The main problem is that each band site has a differnt MP3 file for each band on it. This leads to very steep loading times. I tried making a seperate movie file that would load at the bottom of the page. Made up of 2 scenes a short loading bar for the mp3 and then it would turn in to the song title and play/stop buttons. Im having trouble importing it using Loadmovie()

Can anyone help me out? I'm realitivly new to flash design and am not too keen on various loading methods

Loading All Swf's At The Same Time...
hello;

what i want to do is;

while people are surfing at my main page; other section's swf's load at the background...
so nobody realizes that some swf's are loading...

is it possible?

thanks for the replies...

Loading At The Same Time
Hi all
can anyone tell me

How to make more than one flash file start loading on the same time (on same page) ?

Please help me
thanks all

Loading Time
Hello,

I just put up a new sight www.paulmanlove.com, and think I have done everything I can to help with the loading time. This is a portfolio site, so there is a lot of photography. The photos are about 7"x7"(at 72dpi). I would like to add more content although I am concerned about adding to the loading time. With additional content should I consider a "getURL" script with it's own pre-loader to help with this problem? Any ideas?

Thanks for all the help,

Paul Manlove

Loading Time?
Hi, I'm making a server time based application. It's supposed to load an image based on time. There's also a date issue her, but that's working allright.

I'm using PHP to load the correct date (day,month, year) and this works properly.
My problem is that I also need the hour, and I can't convert this value to a Number????

I can trace the value, and this works fine, but when I try to use the value in other functions, it shows as NaN?

Why? And how can convert this value to a Number?
Please help me out with this one!


Code:
var scriptPath:String = "http://www.allworthydesign.no/php/gettime.php";
var myLoadVars:LoadVars = new LoadVars();
myLoadVars.onLoad = function(success) {
if (success) {
_root.thisMonth = Number(this.theMonth);
_root.thisDay = Number(this.theDay);
_root.thisHour = Number(this.theHour);
trace("Server Day: "+thisDay);
trace("Server Month: "+thisMonth);
trace("Server Hour: "+thisHour);
} else {
trace("Server timed out.");
}
};
myLoadVars.load(scriptPath);

PHP Code:



<?php
print '&theYear=' . date('Y');
print '&theDay=' . date('j');
print '&theMonth=' . date('n');
print '&theHour=' .date('G');
?>

Loading More Than 1 Url At A Time
i am loading data from 2 different urls. Actionscript seems to have an issue with doing this at the same time. Is there a work around for this issue?

Copyright © 2005-08 www.BigResource.com, All rights reserved