....the...........1st............time
hey guys, I guess this is the right forum for me, I'm totally new here, never worked with flash, but now I want to construct my own portfolio-flash-site. can anybody help me?
I have some ideas, but have no clue how to make them real, for example is there a chance to design... a transparent site?? or a kind of "puzzle site" where pieces of it are distanced from each other? you know what I mean? another idea - those puzzles would be connected through lets say - lines - do you know the latest version of acrobat reader? the picture on startup? with the guy within those beautiful lines? can flash draw those somehow?
I want to create a simple site. but it has to have this SOMETHING.
it would be great if you could help me out here.
thank you zbyshek
Ultrashock Forums > Flash > Flash Newbie
Posted on: 2003-11-02
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Record The Date & Time Each Time The Flash File Is Played
Hello,
Do you know an action script which will be inserted into each flash
file that is played on a stand alone display monitor.
The display monitor plays several separate flash files using load an un load movie. The script should do
the following:
1. Record the date & time each time the flash file is played
2. Record the file name that played
3. Append this information to a text/log file
This application would be used in-house and is not for the web. I did check out this tatorial useing XML but I counldn't get it to work.
Saving XML to a file when used locally
Saving xml to a file when used locally can be done in two ways, the first is this:
Cookie.setCookie(xmlobj)
and the second way is this:
yourxmlobj.toString() FSCommand("save","filename.xml")
Can you Please give me some kind of direction
Thanks!
Submit Button Doesn't Work First Time, Does Second Time (using Variables And Php)
I've got a button with the following actions:
code: on (press, keyPress "<Enter>") {
if (!enterEmail.length || enterEmail.indexOf("@") == -1 || enterEmail.indexOf(".") == -1) {
EmailStatus = "Please enter an E-mail address";
} else if (!FirstName.length) {
EmailStatus = "Please enter your first name.";
} else if (!LastName.length) {
EmailStatus = "Please enter your last name.";
} else if (!enterCity.length) {
EmailStatus = "Please enter the city/province/country in which you live.";
} else if (wanna = 1) {
loadVariablesNum("emailtest.php", 0, "POST");
EmailStatus = "sending form ... please wait";
output = "I would like to be a part of World of Trout's mailing list!";
loading = "YES";
nextFrame();
}
}
Which connects to this php script.
PHP Code:
<?php
$msg = "";
$user = "myusername";
$password = "";
$db = "test";
$link = mysql_connect("localhost", $user, $password);
if (!$link) die ("cant connect to mysql");
mysql_select_db($db, $link) or die ("cannot connect");
$query = "SELECT email FROM tablename WHERE email='$enterEmail'";
$result = mysql_query($query) or die (mysql_error());
if(mysql_num_rows($result)){
echo "&EmailStatus=A person with this email address has already entered.";
}
else {
$name=$FirstName." ".$LastName."";
$city=$enterCity."";
$email=$enterEmail."";
$subscribe=$wanna."";
print "&name=".$name;
print "&city=".$city;
print "&email=".$email;
print "&subscribe=".$subscribe;
print "&loading=NO";
}
?>
Here is my problem: if you hit the above mention button once, it spits out the EmailStatus message, but appears to do nothing else. No loading=Yes, no nextframe(). Tthe script is supposed to spit back the loading=NO message, which will take my movie to the appropriate frame, which it does not.
However, if you hit the button a second time, it functions normally, and does everything it is supposed to including recieving the loading=NO message, which moves my movie to the appropriate frame.
To make it simple: I hit the submit info button once, it doesn't function properly, if I hit it again, it works properly.
Is my scripting wrong, my php wrong, or is my server doing something weird?
Hopefully this all makes sense...
Random Movies Each Time The Browser's Refreshed (this Time With .fla)
Hello, all...
I found a tutorial on this subject earlier on, but the e-mail address of the person who wrote it is invalid. I've got flash files attached.
All I'm trying to do is create a movie for my web site's front page which will load and play a different movie each time the browser is refreshed. Right now all I see is all the movies loading at the same time.
Flash files attached...any ideas on how to adjust the actionscript to let only one movie play each time the page is refreshed?
Thanks in advance. Here's the main.fla...
Movie Clip Differs From Time To Time By One Pixel
I am duplicating a movie clip and sometimes it has a 1 pixel line underneeth it.
Can someone tell me why this happens/how to prevent it from happening?
Attached you see a magnified screenie of the thing.
Differnt Points In The Same Time Line Running At Same Time
Hi guys,
I have a wierd one here and I'm really hoping someone can help because I am totally stuck. Pls bear with me as this is quite difficult to explain
This is the background.
My app is a quiz game, it pulls questions from an ASP page, once the questions are pulled the quiz begins.
The main movie lasts 30 seconds and all the main movie does is pull the questions, then display the number of seconds left in the game as its timeline moves along.
The questions and answers are all handled by a submovie.
The submovie will display a question, the user has 10 seconds to answer. The answer is processed on an answer Frame, which is 10 seconds into the question timeline. After 10 seconds if the user hasn't answered then the answer Frame will display anyway and mark the answer as wrong. If the user selects an answer then the timeline will jump to the answer Frame, and skip the remaining number of seconds left. The answer frame is the last frame in the sub movie, after this frame the sub movie repeats and asks the next question.
My problem is that, say for instance, the user selects an answer in the submovie after 5 seconds then the submovie jumps to the answer frame, the answer is processed and that works fine and the next question is loaded. HOWEVER after a further 5 seconds (when the question would have naturally come to the answer frame on the timeline) the same answer is re-processed. I have lots of trac() commands s in my script which suggest that this is whats happening, but I have no idea why, or how to stop it.
In summary it seems to me that differnet points in the same time line are running at the same time. Is this possible?
Any help is much appreciated :-)
Setting A Modify Time Stamp // Update Time.
dear gang
as most of you know theres a little way to set a current date, in a rich text file. and get that info in the text file into flash.
or even just type in the latest modified date into the textfield
but i was thinking maybe there is another way, strictly in flash. with code.
now i was wondering if there was a way to set the last modification date directly in flash with the getDate instructions.
i want to use this to display the latest update time.
i know there are numerous way to accomplish this with text files / php.
but i'd like to know if theres a way in flash
Flv Player. Show Duration Time And Time Played
Hi guys,
i am tinkering about with the flv player player.
I am trying to get the time(length) and time played to display.
From what i see the metadata.duration only displays in seconds.
Does anyone know the code to turn this into a properly displaying formatted time for the flv?
Thanks
Paul
Clock Showing Server Time And Different Time Zones.
Hey all,
I have a clock that shows time according to local pc time but i want it to show according to the server. I have referred to all the Forum threads for the same but couldn't get it done. Is there any server side script to be written..if yes i can't cause i don't know any sever side scripts.I M a Designer and not a Programmer yet i can do action scripting a bit...if anyone can help please thanks in advance
whenever i change the time on my pc the time displayed gets changed.
Here's the code:
MyDate = new Date();
hours = MyDate.getHours();
minutes = MyDate.getMinutes();
seconds = MyDate.getSeconds();
hourAdjust = 0;
hours = hours+hourAdjust;
if (hours>24) {
hours = 0+(hours-24);
} else if (hours<0) {
hours = 24+hours;
}
tellTarget ("hours") {
_rotation = ((../:hours*30)+(../:minutes*.5));
}
tellTarget ("minutes") {
_rotation = ((../:minutes*6)+(../:seconds*.1));
}
tellTarget ("seconds") {
_rotation = (../:seconds*6);
}
gotoAndPlay(1);
Also can we pass an external value for .getHours(); syntax from an html?
Please help it urgent..
Flv Player. Show Duration Time And Time Played
Hi guys,
i am tinkering about with the flv player player.
I am trying to get the time(length) and time played to display.
From what i see the metadata.duration only displays in seconds.
Does anyone know the code to turn this into a properly displaying formatted time for the flv?
Thanks
Paul
Server Time Insted Of Client Time
hello flashers.
help needed.
working on a project where on the top left corner of the screen i display
the current date and a clock.
they are the user machine's date and time.
i want to display the server time rather then the user's machine time.
how can i acomplish this task?
thanks
piny.
HELP Site Plays Great 1st Time, Not 2nd Time
hi there,
I've got my site up and it plays great - the first time. The problem is, when you've visited the site once (and it's saved within your computers cookies) it will play slow when you return to it.
Can somebody please check it out and give me some ideas on how to keep this from happening?
Thanks very much!
artane
please click
Drawing Real-time During Play Time
It's kind of hard to explain, but what I want to happen is make the movie look like I'm drawing the shapes and lines during playtime. So say if I've got a character, I want it to look like he's being drawn line by line like an old Looney Tunes cartoon or such.
Any help is much appreciated!
Server Time As Opposed To System Time
hello, i'm currently working on a count down timer to the end of semsester for a website i am making for school. My problem is that the way i have my movie scripted at the moment it retrieves the time from the users computer. is there any way to have it retrieve the accurate time from somewhere else other than the users computer, so that it doesn't matter what time the user has their computer to, it will still be accurate?
Changing Military Time To Regular Time..
Here is the code I saw in the Tutorials section.. it works great.. but I don't want Military time.. I want regular hour and minutes.
here is the code.
Code:
function howlong(arg) {
if (length(arg) == 1) {
arg = "0"+arg;
return arg;
} else {
arg = arg;
return arg;
}
}
myDate = new Date();
hr = howlong(String(myDate.getHours()));
mnt = howlong(String(myDate.getMinutes()));
daytext = myDate.getDay();
dd = myDate.getDate();
mm = myDate.getMonth();
yyyy = myDate.getFullYear();
switch (daytext) {
case 0 :
daytext = "Sunday";
break;
case 1 :
daytext = "Monday";
break;
case 2 :
daytext = "Tuesday";
break;
case 3 :
daytext = "Wednesday";
break;
case 4 :
daytext = "Thursday";
break;
case 5 :
daytext = "Friday";
break;
case 6 :
daytext = "Saturday";
break;
}
switch (mm) {
case 0 :
mm = "January";
break;
case 1 :
mm = "February";
break;
case 2 :
mm = "March";
break;
case 3 :
mm = "April";
break;
case 4 :
mm = "May";
break;
case 5 :
mm = "June";
break;
case 6 :
mm = "July";
break;
case 7 :
mm = "August";
break;
case 8 :
mm = "September";
break;
case 9 :
mm = "October";
break;
case 10 :
mm = "November";
break;
case 11 :
mm = "December";
break;
}
textdate = (hr+":"+mnt+" - "+daytext+","+dd+" "+mm+" "+yyyy);
Convert Military Time To Standard Time
I need to convert a time that is being pulled in through an xml feed and it comes in military format (ie 1930) to a standard time display which in this case would be 7:30 pm. I did a quick search but didn't find anything on doing that so hopefully someone can help with that.
Countdown Time + Internet Time Server
Hi everyone. Im a noobie and trying to learn Flash and Actionscript.
I started with making some preloaders and advanced preloaders, now I want to learn to make a countdown to a specific date.
I have searched a lot after tutorials after a countdown but found some bugs.
I saw a countdown that was delay with 5 seconds. I mean, when I saw the time of my clock on the computer and the countdown on the site, it was delayed. I searched here and found this from a guy. I just copy his text and hope someone can tell me how to make it, or where to find the tutorial for AS3. (flash cs4) and that guy didnt get any help by the way...
Thanks a lot.
"I want to create a countdown timer which displays the same time for everybody in spite of their different time zones. I'd like to know how to get time and date from an Internet time server (such as time.windows.com, time.nist.gov, which is free to access) or, if not possible, how to get the time zone from the PC the SWF is running in."
HELP Site Plays Great The First Time, Not The Second Time
hi there,
I've got my site up and it plays great - the first time. The problem is, when you've visited the site once (and it's saved within your computers cookies) it will play slow when you return to it.
Can somebody please check it out and give me some ideas on how to keep this from happening?
Thanks very much!
artane
please click
Displaying The Complete Time And The Time Passed On A Flv
hello all,
i'm trying to get the lenght of a stream(flv) and display it. get the amount of time that has played on the stream and display that, it will look like this in the end :
01:32/09:45
has any one done this and what would be the best way to go about it? i already have a .asc file that grabs the stream.length and brings it back into flash in secs, but that's as far as i've gotton, and i want to go about this the right way. am i going to create a getTimer() object or is there a clientside script that will accurately display the stream.
thanks,
also, how would i go about trimming the extra characters off of the seconds?
Load Multiple Movies Time To Time...
Dear webmates :
I have created a flash which loads other flashes inside it, but I just can achieve to load one of them using the :
LoadMovie ("external_flash001.swf","loader");
But then I also that, after 10 seconds, this flash load a new "external_flash002.swf" , then after other 10 seconds another "external_flash003.swf"... and so on .. until the external_flash005.swf, and then restart again with "external_flash001.swf)...
Please I need urgent help on this issue... thanks in advance !
How To Calculate Time For Diffrent Time Zones
I have a simple clock that shows the current time using the get.Time command. My problem is this. I'm in the central time zone. So to calculate Pacific time I subtract 2 hours from hours like so
"hours = mydate.getHours() - 2 ;" So if it is 2pm it should be 12pm in the pacific. Doing my method will show that it is 12am when it is not. How can I fix this? Thanks in advance. Below is my code. I'm hoping that with a fix I can do the same for other time zones.
Attach Code
mydate = new Date();
seconds = mydate.getSeconds();
minutes = mydate.getMinutes();
hours = mydate.getHours()-2;
day = mydate.getDay();
date = mydate.getDate();
month = mydate.getMonth();
year = mydate.getFullYear();
if (hours>12) {
hours = hours-12;
ampm = "PM";
} else {
ampm = "AM";
}
if (hours == 0) {
hours = 12;
}
if (minutes<10) {
minutes = "0"+minutes;
}
if (seconds<10) {
seconds = "0"+seconds;
}
if (day==0){
day = "Sunday"
} else if (day==1){
day = "Monday"
} else if (day==2){
day = "Tuesday"
} else if (day==3){
day = "Wednesday"
} else if (day==4){
day = "Thursday"
} else if (day==5){
day = "Friday"
} else if (day==6){
day = "Saturday"
}
if (month==0){
month = "January"
} else if (month==1){
month = "February"
} else if (month==2){
month = "March"
} else if (month==3){
month = "April"
} else if (month==4){
month = "May"
} else if (month==5){
month = "June"
} else if (month==6){
month = "July"
} else if (month==7){
month = "August"
} else if (month==8){
month = "September"
} else if (month==9){
month = "October"
} else if (month==10){
month = "November"
} else if (month==11){
month = "December"
}
time = ((hours) + ":" + (minutes) + ":" + (seconds) + " " + (ampm));
datefinal = ((day) + " " + (date) + " " + (month) + " " + (year));
How To Calculate Time For Diffrent Time Zones
I have a simple clock that shows the current time using the get.Time command. My problem is this. I'm in the central time zone. So to calculate Pacific time I subtract 2 hours from hours like so
"hours = mydate.getHours() - 2 ;" So if it is 2pm it should be 12pm in the pacific. Doing my method will show that it is 12am when it is not. How can I fix this? Thanks in advance. Below is my code. I'm hoping that with a fix I can do the same for other time zones.
Attach Code
mydate = new Date();
seconds = mydate.getSeconds();
minutes = mydate.getMinutes();
hours = mydate.getHours()-2;
day = mydate.getDay();
date = mydate.getDate();
month = mydate.getMonth();
year = mydate.getFullYear();
if (hours>12) {
hours = hours-12;
ampm = "PM";
} else {
ampm = "AM";
}
if (hours == 0) {
hours = 12;
}
if (minutes<10) {
minutes = "0"+minutes;
}
if (seconds<10) {
seconds = "0"+seconds;
}
if (day==0){
day = "Sunday"
} else if (day==1){
day = "Monday"
} else if (day==2){
day = "Tuesday"
} else if (day==3){
day = "Wednesday"
} else if (day==4){
day = "Thursday"
} else if (day==5){
day = "Friday"
} else if (day==6){
day = "Saturday"
}
if (month==0){
month = "January"
} else if (month==1){
month = "February"
} else if (month==2){
month = "March"
} else if (month==3){
month = "April"
} else if (month==4){
month = "May"
} else if (month==5){
month = "June"
} else if (month==6){
month = "July"
} else if (month==7){
month = "August"
} else if (month==8){
month = "September"
} else if (month==9){
month = "October"
} else if (month==10){
month = "November"
} else if (month==11){
month = "December"
}
time = ((hours) + ":" + (minutes) + ":" + (seconds) + " " + (ampm));
datefinal = ((day) + " " + (date) + " " + (month) + " " + (year));
Chaanging Military Time To Regular Time
Hi,
I used this action script and tried changing the 12 to 24 and back and nothing changed:
onClipEvent (enterFrame) {
myTime = new Date();
nSeconds = myTime.getSeconds();
nMinutes = myTime.getMinutes();
nHours = myTime.getHours();
if (nHours>=12) {
ampm = "pm";
} else {
ampm = "am";
}
if (nHours>=13) {
nHours = nHours-12;
}
if (length(nMinutes) == 1) {
nMinutes = "0"+nMinutes;
}
if (length(nSeconds) == 1) {
nSeconds = "0"+nSeconds;
}
nTime = nHours+":"+nMinutes+":"+nSeconds+" "+ampm;
}
I want it on regular time. How?
[FMX] Obtaining The Server Time, Not Client Time?
Hi, does anyone know if it is possible to obtain the time (by functions similar to getSeconds) of the server the flash file is hosted on, instead of the client who is viewing the movie?
Thing is, I have a very simple clock that displays the time in New Zealand (where I will be going), but it only display the time correctly for GMT+1 right now. If a client from New Zealand or US connects, they will see the wrong time :/
Any way to fix this?
So right now i use:
Code:
newtime = timedate.getSeconds() + 3600*11;
timedate.setSeconds(newtime);
HELP Site Play Great 1st Time, Not 2nd Time
hi there,
I've got my site up and it plays great - the first time. The problem is, when you've visited the site once (and it's saved within your computers cookies) it will play slow when you return to it.
Can somebody please check it out and give me some ideas on how to keep this from happening?
Thanks very much!
artane
www.theco_kpitstore.com
(Think Rooster)
Wrong Time On The Time And Stamp Script
I found a nice script for my site. The problem is it gives the wrong time. Here is the code. What is wrong?
onClipEvent (load) {
days = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday');
months = new Array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');
timedate = new Date();
}
// This action actually calls out to the users system to grab the current date and time
onClipEvent (enterFrame) {
meridian = "AM";
hour = (timedate.getHours());
minutes = timedate.getMinutes();
seconds = timedate.getSeconds();
todaydate = timedate.getDate();
day = timedate.getDay();
dayname = days[day];
month = (timedate.getMonth()+1);
monthname = months[month-1];
year = timedate.getFullYear();
if (hour=12) {
meridian = "PM";
}
if (hour>12) {
hour = hour-12;
meridian = "PM";
}
if (length(minutes) == 1) {
minutes = "0"+minutes;
}
if (length(seconds) == 1) {
seconds = "0"+seconds;
}
currenttime = hour+":"+minutes+":"+seconds+" "+meridian;
currentdate = todaydate+"/"+month+"/"+year;
fulldate = dayname+", "+monthname+" "+todaydate+", "+year;
delete timedate;
timedate = new Date();
}
Here is the site it is on. Thank you. http://www.allstar-autosales.com
The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
AS3- Streaming FLV Elapsed Time:Total Time
Hey Ya all Flash genius'...
I've searched quite a lot and seem to not find a solution to my problem!
Can anyone please help with how I can display (using Dynamic Text) TOTAL TIME/ELAPSED TIME?
1. My FLV is streaming from FMS3
2. Using the NetStream and NetConnect method - I am not using the FLV component in CS3.
Thanks.
Flash Video Time/Total Time
Hello,
I'm trying to figure out how I can add a time counter below my flash video clip that shows the current time of the video clip (in minutes and seconds) and then next to that a slash (/) and the total running time of the video clip (also in minutes and seconds).
Does anyone know where I can find a tutorial for this?
Thanks
Time Time Time Time Errrr...
hi
im having a problem trying to get a timer working..
the problem is that i need to start a timer, but then reset it
when it reaches a certain amount.. i know how to start a timer
going, but cant seem to reset it back to zero...
any ideas how i can do this ?
Univeral Time And Time Zones
I would like to be able to give the time in different time zones in my Flash movie. But to do this I would have to reference Greenwich Time or UTC. Does anyone have any ideas how to do this?
Appreciate any help in advance!
Converting A Time To Local Time
Hi basically I have 16:30 etc sent to me for a server which is a string
I substr it so I get 16 and 30 in seperate vars
But want to convert 16:30 GMT to users local time zone.
I know I have to use UTC - but first I think I need to convert 16:30 into a millisecond format - is this the way to go?
Anyone got any suggestions
How Parse Time Out Of Date/time Value?
In my ActionScript, I am receiving a sting from XML that like this:
2006-03-06T15:30:00.0000000-07:00
How can I parse out just the time (i.e. 15:30)?
Thanks!
Ron
GMT Time Trying To Display Time Of China
Hi there this is what I have written so far to show the china GMT time but my brother who is currently in china says that the time is completely worng whereas I (in france shows perfectly.)
thank you.
Jules
---------- here is the script below -------------
mydate = new Date();
seconds = mydate.getUTCSeconds();
minutes = mydate.getUTCMinutes();
hours = mydate.getUTCHours() + 8;
day = mydate.getDay();
date = mydate.getDate();
month = mydate.getMonth();
year = mydate.getFullYear();
if (hours>24) {
hours = hours-24;
}
if (hours<9) {
sleepingornot = "Sorry we are sleeping drop a message!";
} else if (hours<18) {
sleepingornot = "We are at the office at the moment!";
} else if (hours<24) {
sleepingornot = "Sorry we have gone home!";
}
if (hours>12) {
hours = hours-12;
ampm = "PM";
} else {
ampm = "AM";
}
if (hours == 0) {
hours = 12;
}
if (minutes<10) {
minutes = "0"+minutes;
}
if (seconds<10) {
seconds = "0"+seconds;
}
How Do I Get The Time From An Internet Time Server?
I want to create a countdown timer which displays the same time for everybody in spite of their different time zones. I'd like to know how to get time and date from an Internet time server (such as time.nist.gov, which is free to access) or, if not possible, how to get the time zone from the PC the SWF is running in.
Any ideas?
Images Load First Time, But Not The Second Time - Help
I have a function that loads an array of images defined by an XML file. Depending on what "page" you are on, a different childnodes set of images loads... this works great - the first time they are called.
But... if you click on another 'page' calling the same function (or the same page for the secont time), nothing.
The image names will trace, but nothing is shown.
There is a createEmptyMovieClip and loadMovie to show the images.
For other content in the movie, we have placed "clearing" functions that would reset the variables to "" (empty string). But what about for loaded images/mc's? I have tried
removeMovieClip
unLoadMovie
However, the loading images function is a bit confusing and I might not be sure what arguments to pass to the "clearImages" function.
Any direction is appreciated!! really stuck here!
Thanks
Loadmovie: First Time Not Working, Second Time Does
Hi
I want to load a external movie (swf) into my current movie. My syntax:
loadMovie("movies/"+itemName+".swf","_root.popup.popup_bg.movieName" );
loadVariables("content/"+itemName+".txt","_root");
_root.popup.gotoAndPlay(2);
trace(_root.popup.popup_bg.movieName._y);
First line: Loading the movie into the instance
Second line: Loading some vars into my scene
third line: make the popup appear with an alpha tween
fourth line: proving the itemName is correct.
Problem:
First time running this script results in not showing my movieclip
Second time running this script everything works perfect.
Has anybody got any idea why my movie is not loading?
greetz, Tim
Total Time And Elapsed Time In SWF
Dear Friends
I just want to show Total time and elapsed time of a SWF in runtime.
If it it possible , than plz give me Action script or sample file for the same. ASAP
Regards
Loadmovie: First Time Not Working, Second Time Does
Hi
I want to load a external movie (swf) into my current movie. My syntax:
loadMovie("movies/"+itemName+".swf","_root.popup.popup_bg.movieName" );
loadVariables("content/"+itemName+".txt","_root");
_root.popup.gotoAndPlay(2);
trace(_root.popup.popup_bg.movieName._y);
First line: Loading the movie into the instance
Second line: Loading some vars into my scene
third line: make the popup appear with an alpha tween
fourth line: proving the itemName is correct.
Problem:
First time running this script results in not showing my movieclip
Second time running this script everything works perfect.
Has anybody got any idea why my movie is not loading?
greetz, Tim
:: HELP ::: About Call Function First Time, Y Dont Work ? Next Time Work
http://202.57.150.77:8083/index.html
c at product click particle mdf or hdf then c animation wasnt play at first time y not ?
Code:
_root.readDB();
_root.onData = function() {
_root.selectLang();
PlayAnimate();
};
Code:
function PlayAnimate() {
for (i=1; i<=6; i++) {
if (this["obj" + i].mystate==_root.lastKeyAccess) {
deepMc = deepMc + 1;
duplicateMovieClip("theAnimate", deepMc, deepMc + 100);
this[deepmc]._x = this["obj" + i].mcx;
this[deepmc]._y = this["obj" + i].mcy;
this[deepmc]._visible = true;
this[deepmc].gotoAndPlay(1);
this[deepmc].PName = _root.lastKeyAccess;
}
}
}
Swf In Swf File Appear Time By Time
Here is the code I'm working on. It's a counter basically and when I click to multiples of 5, I want to load a swf that stays on the stage. so when I click to 20, there'll be 4 little swf on the stage. How do I make it work?
FLA File Here
var counter = 0;
your_button.onPress = function() {
counter++;
if (counter%5 == 0) {
MovieClip.loadMovie("dance.swf")
// load the img file
// check "MovieClipLoader" and "MovieClip.loadMovie" method in help files
}
};
do I have to set x, y value to determine where the swf put on?
in this case, can I make every 5 number appear a swf, so when it's 10, it will load the second one next to it, and 15 load the 3rd one and so on
Get Time From Some Time Server
please help me :}, i want to get time from some time server (for digital clock on my page) and i dont know how to do that with AS and from what server i could make it ?
I am working with AS 2.0
sya
Time And Time Zones
Hello all,
I have a time zone map that I would like to make functional in Flash. I would like it to display time from each time zone. I don't know how to make flash go get GMT to base the other time zones off of. I live in the EST time zone, so I already know that is GMT -5:00. Any ideas as to how I can get GMT in flash?
NinTech
Local Time Of My Country And Local Time Visitor
Dear all,
For a client's website in Holland, I would like to display the current Dutch date and time and I want to show for instance American visitors their local time.
Could anyone help me by providing the code for the Dutch time (as I know how to display the local time of my visitors)?
Thank you very much!
Michiel Schenkius
What Time Is It?
How do I display a "realtime" clock embedded within flash. ...oh heres the catch..... it must be a clock with a big hand, little hand, second hand, etc...("a real clock - not digital") . If anyone has any ideas or input, please let me know.
Swf To Run On A Certain Time
is it possible for an swf file to run for a certain period of time? like for example 10 days only and then after 10 days it would direct to a certain page?
What Time Is It?
I have written what I think to be a simple script to give me the time. I have never noticed this problem before and seem to only effect this hour of the day. It is now 11PM and the time comes up as -1AM an suggestions why?
THe Time
how can i make a scrript that turn the total frames into the time left or the the total time of the total frames?
|