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








Does UMT Really Work? How To Get Time Not Depend On Local Machine?


I've found the only advantage of using UMT: It adjusts timezone gaps to the date object. Is it possible to get real 'universal' time by action script? For example to synchronize the time of showing message for all visitors of a site.




ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)
Posted on: 04-03-2005, 05:06 PM


View Complete Forum Thread with Replies

Sponsored Links:

Display Time Of My Server And Not Local Machine
Dear AS Scripters,
Let me start digging:

I'm able to display time of my local machine. But this is not what I want to achieve. I wanna display time of my server.

How would I do this? Should I use the property getTimezoneOffset?

An example would serve better. Thanks in advance for the help.

Regards,
Sudatsun

View Replies !    View Related
Getting Hours From Your Local Machine And Going To Parts Of Site Based On Time
newDate = new Date();
myHour = newDate.getHours();
// If the hours number is less than 6 (am) and greater than 18 (6 PM) the mc goes to NightTime
if (((myHour)<6and(myHour)>18)) {
tellTarget ("_root.MainBG") {
gotoAndPlay("NightTime");
}
} else {
play();
}

this is the code I have in my mc. When the Time is before 6AM and after 6PM the mc is supposed to go to the frame labeled "NightTime" all the labeling is correct so it must be an error in the actionscript. I'm not an expert so can anyone help out?

View Replies !    View Related
Loading XML Work Fine On Local Machine But Not On Web
Hi,
I have a failrly simple estate agency site (flash ver. 6) with a property search facility that loads the property data into an XML object (code below).

The XML imports fine when testing it from my local machine (the XML is generated on the fly by A PHP script at:

http://www.langfordchase.com/export/...properties.php

When i upload it to the web server it comes up as zero properties imported.

i have tried saving the XML in the domain as an XML file but still no luck. The 'XML.onLoad' triggers and goes to the next part which should show the properties. It's almost as if it's timing out and importing nothing (but returning a success).

Any ideas? Any help greatly appreciated... the client is breathing down my next (and he hasn't brushed his teeth for a week )

James


house_data_xml = new XML();
house_data_xml.ignoreWhite = true;
house_data_xml.onLoad = function(success) {
if (success) {
totalHouses = house_data_xml.firstChild.childNodes.length;
houses = new Array();
for (i=0; i<=(totalHouses-1); i++) {
trace("processing house "+(i+1));
houses[i] = new Object();
houses[i].id = house_data_xml.firstChild.childNodes[i].childNodes[0].firstChild.nodeValue;
houses[i].reference = house_data_xml.firstChild.childNodes[i].childNodes[1].firstChild.nodeValue;
houses[i].selling_status = house_data_xml.firstChild.childNodes[i].childNodes[2].firstChild.nodeValue;
houses[i].selling_sell_type = house_data_xml.firstChild.childNodes[i].childNodes[3].firstChild.nodeValue;
houses[i].property_type = house_data_xml.firstChild.childNodes[i].childNodes[4].firstChild.nodeValue;
houses[i].bedrooms = house_data_xml.firstChild.childNodes[i].childNodes[5].firstChild.nodeValue;
houses[i].property_location = house_data_xml.firstChild.childNodes[i].childNodes[6].firstChild.nodeValue;
houses[i].shortdesc = house_data_xml.firstChild.childNodes[i].childNodes[7].firstChild.nodeValue;
houses[i].longdesc = house_data_xml.firstChild.childNodes[i].childNodes[8].firstChild.nodeValue;
houses[i].postcode = house_data_xml.firstChild.childNodes[i].childNodes[9].firstChild.nodeValue;
houses[i].bullet1 = house_data_xml.firstChild.childNodes[i].childNodes[10].firstChild.nodeValue;
houses[i].bullet2 = house_data_xml.firstChild.childNodes[i].childNodes[11].firstChild.nodeValue;
houses[i].bullet3 = house_data_xml.firstChild.childNodes[i].childNodes[12].firstChild.nodeValue;
houses[i].bullet4 = house_data_xml.firstChild.childNodes[i].childNodes[13].firstChild.nodeValue;
houses[i].bullet5 = house_data_xml.firstChild.childNodes[i].childNodes[14].firstChild.nodeValue;
houses[i].bullet6 = house_data_xml.firstChild.childNodes[i].childNodes[15].firstChild.nodeValue;
houses[i].asking_price = house_data_xml.firstChild.childNodes[i].childNodes[16].firstChild.nodeValue;
houses[i].main_image = house_data_xml.firstChild.childNodes[i].childNodes[17].firstChild.nodeValue;
houses[i].internal1 = house_data_xml.firstChild.childNodes[i].childNodes[18].firstChild.nodeValue;
houses[i].internal2 = house_data_xml.firstChild.childNodes[i].childNodes[19].firstChild.nodeValue;
houses[i].internal3 = house_data_xml.firstChild.childNodes[i].childNodes[20].firstChild.nodeValue;
houses[i].internal4 = house_data_xml.firstChild.childNodes[i].childNodes[21].firstChild.nodeValue;
houses[i].map = house_data_xml.firstChild.childNodes[i].childNodes[38].firstChild.nodeValue;
houses[i].brochure = house_data_xml.firstChild.childNodes[i].childNodes[39].firstChild.nodeValue;


}
trace("houses processed");
gotoAndPlay("dataLoaded");
} else {
trace("error");
stop();
}
};

house_data_xml.load("http://www.langfordchase.com/export/bluetouch/properties.php");
stop();

View Replies !    View Related
Save An MC As .GIF To Local Machine
Ok! I would like to know if there is any possible way to save a sertain MovieClip from my online .swf to any pic format, preferly .JPG, .GIF, .BMP to my local machine ?

Can this be done with AS so the user just hits a button, and the prearranged boundingbox get saved as a .GIF just the same way as it now PRINT the boundingbox with 1 line of code ?


Or, if you have any other way around this...userfriendly

View Replies !    View Related
Reading From Local Machine
Hi
Ok, so I am building an online game. The trouble is bandwidth, so I thought that by making the users download some of the images to they’re local machines I would save some bandwidth. The trouble is that I cannot access those images using loadMovie(); although the files are on the user’s computer I believed that since flash is a client based programming language it should be able to read from the user’s local Machine and input those files in the swf file.
So I am asking if there is any way to accomplish this(to make flash read from a local machine)?

DarkSoul666

View Replies !    View Related
Installing FMS On A Local Machine
Hi, I'm a newbie to FMS. I want to create a voice/video chat (currently working with AS2) and therefore need to install FMS. My provider doesn't have it installed on his machines and seems to have no intention of doing it either. My question is can it be installed on a home machine (kept running 24/7) and be used by people visiting the website voice/video chat I'm creating? If so, how do I go about doing it, with IP's and all?

Thanks,

Tatiana

View Replies !    View Related
Flash Save Local Machine
Is there any way to save info on the end users machine in flash similar to the way you can in director or is it more like the Java sandbox style. Thanks in advance.

View Replies !    View Related
Load Variables From Local Machine?
Hi
Can any one tell me when I can save txt file on any damm local hd drive then why I cant load them back?
----I have used these actions-----
fscommand("save","c:\mytxtfile.txt")

To get back the var:----
loabVariablesNum("c:\mytxtfile.txt",0)

I get the message "Error opening url"

Thanx if any one can solve this!

View Replies !    View Related
Quiz Results To A Local Machine
Hello I am extremely new to Actionscript, however I have created a basic 10 question quiz (no template just buttons that link to other frames) I think I understand how to get the scores collected to a dynamic text box, however my desire is to have each questions score post to a .txt file or some other updatable means. So lets say this is a test that 100 people are going to take on the same machine, I would like to be able to have the results and specifics (which questions did they get wrong)of each person separate. Is this possible? Thank you in advance

View Replies !    View Related
Help Disable Print For Local Machine
I'm creating a touchscreen kiosk for a client. (In projector format)

I need to bypass the print dialogue box and send the info straight to the printer.

I know this is not possible for regular web design.

But there must be a way to disable it on the local machine for the purpose of the kiosk.

Please help me hack this problem I'm on a deadline.


Thank you.

View Replies !    View Related
BytesTotal Only Works On Local Machine
I have made a preloader showing the progress of dynamically added images. The code works fine when i play the movie on local machine, but when i play the movie from the server bytesTotal is always 0. It even says 0 after the images has finished loading. Does anybody have any idea what may cause this problem. Why does it work on local machine, but not from the server?..

bytesLoaded works fine both on local machine and from the server

View Replies !    View Related
Uploading Image From Local Machine
Hi,

I need to give the user an option to upload an image from his machine and load it into a container clip allowing him to give it a effect..ie:rotate, move..

can anyone help me on this..

Thanks
Nameez

View Replies !    View Related
Update XML Via Form On Local Machine?
I have searched for messages relating to updating an XML document. Maybe I missed it, but what I need to do is update an XML document on a local machine. The XML is then pulled into Flash and a chart is displayed. I have found solutions relating to PHP, ASP, etc but I will not have access to any type of server. I will be creating a form where a user enters information and the chart is updated projected for an audience. An example of the form is at http://www.infosoftglobal.com/FusionCharts/LiveDemo.asp (though I will not have that many options in my form). I am not using FusionCharts, it is just an example. Is there a way to upate the XML on a local machine through a form? HTML form, Flash, or some other solution? Thank you for any help.

View Replies !    View Related
Flv Play Only On Local Machine Not On Server.
I am having problems with some updated files I created and don't know what I am doing wrong. It seems that I can't get any of the updates to work where the originals worked fine before I over wrote them. As far as I can remember (and I am new at this) I did everything in the same way as the first upload when they were working. Here are the links:

www.tracknet.org/welburn/test.htm
www.tracknet.org/welburn/index.htm

Any help you can give me would be great.

Thanks

View Replies !    View Related
Local Machine Data Integration
Here's a summary of what I want to do:
Create a flash app that runs locally on a pc that can read and write data from a data source. It is going to be used by myself and my employees to keep a running list of customers we have dealt with and be able to filter the data based on which employee worked with them, the date they came in, their name, etc. And once a record has been pulled up - be able to make real time changes to it - without using server scripting, because of corperate guidelines we can't put it online - its just for local use at our location. It doesn't have to be terribly complex, just to link to a data source, read/filter the customer contact data and ability to then save any changes and create new customers data to a local file.

So is there any way for flash to do this on a local machine? From everything in my own knowledge the answer is no, but I was hoping someone out there could brighten my day a little and say yes I can! I wanted to use flash because I love working with it. If its not possible to use flash, any direction on what would be reccommended to use for this would be so much appreciated!

View Replies !    View Related
Saving Video To Local Machine Using FMS
Is there a way to save a video file to the local users machine using FMS? How about take several video clips and appending them into one clip using FMS?

Thanks

View Replies !    View Related
Can't Connect To FMS From Local Network Machine
I was finally able to get fms running and streaming to a flash client on the same workstation yesterday. Now I'm trying to connect to that workstation from another flash client on another workstation but I'm not able to make any connection. Here's the code..

var nc:NetConnection = new NetConnection();
nc.connect("rtmp://192.168.20.117/video_tutorial");

I've also tried nc.connect("rtmp://192.168.20.117:1935/video_tutorial"); but I keep getting the status message "NetConnection.Connect.Failed".

The ip is the machine that has fms setup and running and both workstations are on the same network. I can ping the 117 machine but I can't connect via flash. Is there something else I need to do to get my client to connect to that? Thanks.

View Replies !    View Related
TotalBytes Works Only On Local Machine
I have made a preloader showing the progress of dynamically added images. The code works fine when i play the movie on local machine, but when i play the movie from the server bytesTotal is always 0. It even says 0 after the images has finished loading.

what i'm doing is basically: createEmptyMovieClip() , i then use a movieClipLoader to load jpeg into that empty movieclip. the movieClipLoader has a listener attached and with the listener i use the function onLoadProgress() to display bytesLoaded and bytesTotal

all of these things occur within one function..

bytesLoaded works fine both on local machine and from the server

View Replies !    View Related
Load Image From Local Machine
hi there,

long time lurker, first time poster
i wonder if it's possible to load an image to a flash movie from your local hard drive without uploading the image to the server?

eg:
loadMovie("C://yourImage.jpg");

it works fine locally, but once i upload it to the server, the image won't be loaded.

the reason is, i want to build a flash site that allow users to create an e-Card using their own image from local drive. i don't want users to upload anything to the server.


TIA

View Replies !    View Related
SharedObjects - Path On Local Machine
Ive developed two flash-apps that are virtually identical (its a e-learning-platform) that you run on the same local machine.

I dont want to change the names for all the SharedObjects that I have in the applications, so they are the same. And they get stored in root (because they are accessed from multiple swf-files), using the code (for instance):

_global.gl_TextPath = SharedObject.getLocal("gl_TextPath", "/");

The last "/" makes sure the gl_TextPath-variable gets stored in root.

The problem is that the two applications share the same shared objects with this solution, since they are called the same and stored in the same place.

So Id like to make two different directories in root so I can keep the same name for both applications´ shared objects.

But the code that I thought would solve this doesnt work. I tried these 4 solutions:
_global.gl_TextPath = SharedObject.getLocal("gl_TextPath", "/app1");
_global.gl_TextPath = SharedObject.getLocal("gl_TextPath", "/app1/");
_global.gl_TextPath = SharedObject.getLocal("gl_TextPath", "app1/");
_global.gl_TextPath = SharedObject.getLocal("gl_TextPath", "app1");
But none works.

How can I put them in different folders?

View Replies !    View Related
TotalBytes Works Only On Local Machine
I have made a preloader showing the progress of dynamically added images. The code works fine when i play the movie on local machine, but when i play the movie from the server bytesTotal is always 0. It even says 0 after the images has finished loading.

what i'm doing is basically: createEmptyMovieClip() , i then use a movieClipLoader to load jpeg into that empty movieclip. the movieClipLoader has a listener attached and with the listener i use the function onLoadProgress() to display bytesLoaded and bytesTotal

all of these things occur within one function..

bytesLoaded works fine both on local machine and from the server

View Replies !    View Related
Local Machine Save & Load
How do I save an XML file to the local machine?

And how do I Load that file?

I know how to do this off a server, but I don't know how to work off the local machine.

Thanks,

View Replies !    View Related
How To Write Text Files To Local Machine?
Howdi every1 how are you????

anyway what I basically want to do is what I said in the Subject field. How the hell do you write text files to a local machine (viewing web page through IE)?? I can manage it just through the stand alone player but not in a .html version.

thanx a million in advance.

View Replies !    View Related
LoadMovie With Query String On Local Machine...
Hey Guys,

I've been given a bit of a dog to work on. I'm upgrading a flash presentation that runs via an xml feed. I've added several dynamic flash graph generators external swfs through this data feed but can't seem to pass a query string to the flash presentation via this xml feed. This query string provides an alternate XML datasource for the graph generator.s

I would really like to be able to pass this query string as the current flash graph generators are running off a hardcoded xml filename and I would like to offer some flexibility. I've investigated further and the main presentation loads these extra "slides" with the loadMovie AS which should accept query strings but NOT locally. Is there a workaround to make loadMovie work with query strings locally? I can't run the presenation on a server!!

For example. This XML works locally with the flash presentation;

<slide>
<name>Chart 1</name>
<bullet>chart01.swf</bullet>
</slide>

But this doesn't work locally but does work when running off server;

<slide>
<name>Chart 1</name>
<bullet>chart01.swf?datasource=chart05.xml</bullet>
</slide>

My head hurts.

Thanks in advance for any advice. Even a straightforward "It won't work locally" will help.

Steven.

View Replies !    View Related
[MX] Passing Variables From SWF On Local Machine To SWF On Server
Hi guys,

I've a project whereby I need to pass variables in real time (or as close as possible) from a SWF on a local machine to a SWF online which is viewed by the general public - basically so the web viewers see whats happening in the local SWF. Is there anyway to do this without calling an external file each time?

Thanks,

- Mick

View Replies !    View Related
How To Browse The Files From Local Machine For Player?
hi,

I have started to learn action script. I am making one new mp3 player. Almost everythings are working fine. But i have some doubt,

"How to browse the files from local machine for player with out using net?"

My friend told that we have to use third party tool.

But I don't know which tool i have to use and how can i combine the third party tool with flash.


if anybody knows, clear my doubt


thank u verymuch
Sridhar

View Replies !    View Related
Saving Text File In Local Machine
Is there anyway to save files in txt format in the local machine using AS3.

its just for a small aplication for personal use, so clientside scripts.

View Replies !    View Related
How Do I Load A JPG From The Local Machine Into BitmapData Class?
Hi All,

I have some code below :

I use the linkage id of jpg's which are present in my library. Is there any way i can use jpg's from the local machine's C drive? Like BitmapData.loadBitmap("C:/xxx.jpg")??

I need to use the pixelDissolve effect and this is done by the BitMap class. And I can find only linkage id reference and no loading from path.



Regards
Roshan Kolar








Attach Code

import flash.display.BitmapData;
import flash.geom.Point;
var sourceBitmapData:BitmapData = BitmapData.loadBitmap("Water");
var myBitmapData:BitmapData = BitmapData.loadBitmap("Pen");
var _mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
_mc._x = 125;
_mc._y = 100;
_mc.attachBitmap(myBitmapData, _mc.getNextHighestDepth());
var nRandom:Number;
_mc.onPress = function() {
delete this.onPress;
nRandom = Math.floor(Math.random()*10);
this.onEnterFrame = xDissolve;
};
var nTotalDissolved:Number = 0;
var nTotalPixels:Number = myBitmapData.width*myBitmapData.height;
var nDissolving:Number = 20;
var zeroPoint:Point = new Point(0, 0);
function xDissolve() {
nRandom = myBitmapData.pixelDissolve(sourceBitmapData, myBitmapData.rectangle, zeroPoint, nRandom, nDissolving);
nTotalDissolved += nDissolving;
if (nTotalDissolved>=nTotalPixels) {
delete this.onEnterFrame;
sourceBitmapData.dispose();
}
nDissolving = Math.floor(nDissolving*1.1);
}

View Replies !    View Related
LoadMovie With Query String On Local Machine...
Hey Guys,

I've been given a bit of a dog to work on. I'm upgrading a flash presentation that runs via an xml feed. I've added several dynamic flash graph generators external swfs through this data feed but can't seem to pass a query string to the flash presentation via this xml feed. This query string provides an alternate XML datasource for the graph generator.s

I would really like to be able to pass this query string as the current flash graph generators are running off a hardcoded xml filename and I would like to offer some flexibility. I've investigated further and the main presentation loads these extra "slides" with the loadMovie AS which should accept query strings but NOT locally. Is there a workaround to make loadMovie work with query strings locally? I can't run the presenation on a server!!

For example. This XML works locally with the flash presentation;

<slide>
<name>Chart 1</name>
<bullet>chart01.swf</bullet>
</slide>

But this doesn't work locally but does work when running off server;

<slide>
<name>Chart 1</name>
<bullet>chart01.swf?datasource=chart05.xml</bullet>
</slide>

My head hurts.

Thanks in advance for any advice. Even a straightforward "It won't work locally" will help.

Steven.

View Replies !    View Related
Local Machine Vs Real Web Server Issues
i'm running into a flash and php issue.

in my flash movie i have 3 text fields
source: (type intput)
criteria: (type input)
result: (dynamic type)

and a button with the following code:


Actionscript Code:
on (release) {
    result = "Searching...";
    loadVariables ("search.php", this, "POST");
}


this is my search.php


PHP Code:
<?
$result = str_replace($criteria, "<b>$criteria</b>", $source);
print "&result=" . urlencode($result);
?>


ok...here is where i'm getting lost.

if i were to load the contents above from a "real" web server it works just fine.
if i were to load the contents above from a "local" server it does not work.

my apache server setup on my local windows machine is as follows:

Apache/1.3.41 (Win32)
PHP Version 5.2.6
MySQL 5.0.51a
phpMyAdmin - 2.11.6

but if i were to modify my search.php file like so:

PHP Code:
<?
$source = stripslashes($HTTP_POST_VARS['source']);
$criteria = stripslashes($HTTP_POST_VARS['criteria']);
$result = str_replace($criteria, "<b>$criteria</b>", $source);
echo "result=$result";
?>

...it works on my windows local apache server just fine.
are there any configurations that need to be done in order for my local machine to behave in the same manner as my real web server?

any help on how to achieve this will greatly be appreciated.
thank you in advance.

View Replies !    View Related
Local Machine Vs Real Web Server Issues
i'm running into a flash and php issue.

in my flash movie i have 3 text fields
source: (type intput)
criteria: (type input)
result: (dynamic type)

and a button with the following code:


PHP Code:





 on (release) {
    result = "Searching...";
    loadVariables ("search.php", this, "POST");









this is my search.php



PHP Code:





<?
$result = str_replace($criteria, "<b>$criteria</b>", $source);
print "&result=" . urlencode($result);
?>








ok...here is where i'm getting lost.

if i were to load the contents above from a "real" web server it works just fine.
if i were to load the contents above from a "local" server it does not work.

my apache server setup on my local windows machine is as follows:

Apache/1.3.41 (Win32)
PHP Version 5.2.6
MySQL 5.0.51a
phpMyAdmin - 2.11.6

but if i were to modify my search.php file like so:


PHP Code:





<?
$source = stripslashes($HTTP_POST_VARS['source']);
$criteria = stripslashes($HTTP_POST_VARS['criteria']);
$result = str_replace($criteria, "<b>$criteria</b>", $source);
echo "result=$result";
?>







...it works on my windows local apache server just fine.
are there any configurations that need to be done in order for my local machine to behave in the same manner as my real web server?

any help on how to achieve this will greatly be appreciated.
thank you in advance.

View Replies !    View Related
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

View Replies !    View Related
XML Flash MP3 Player Caching To Local User's Machine
Hi,
I want to use this Flash MP3 player http://www.flashstar.de/tutlist/index.php3?id=943 on my website to play my music compositions. It is a fantastic player, but it is caching the mp3 files to location "C:Documents and SettingsuserLocal SettingsTemporary Internet Files" on the user's machine.

Is it possible NOT to cache the mp3 files to the user's local machine...?

Pls let me know if there is any other flash xml mp3 player which has the same functionalities.

Please help, attached .fla file. thank you

pravyn

View Replies !    View Related
.swf News Ticker Works On Local Machine But Not On Server
Hello all!

I have a news ticker that I modelled after the kirupa tutorial that was given:
http://www.kirupa.com/developer/mx2004/newsticker.htm

When I run it on my local machine it works just fine the way I expect it to. However when I put it on my website, it does not work at all. I have another flash file (.swf) on my webpage which is just a simple countdown timer and that works just fine so I don't think this problem has anything to do with MIME types.

Here is the code I used to embed the .swf file onto my website:
<script type="text/javascript">
var so = new SWFObject("http://428the.calvin.hostingrails.com/XMLParser/sports_ticker1.swf", "headerAnimation", "390", "180", "0", "#FFFFFF");

so.addParam("quality", "high");
so.addParam("wmode", "transparent");
so.write("swfHeader");
</script>

This code is taken from kirupas source code.

I originally had used this code:
<object width="550" height="50">
<param name="movie" value="sports_ticker1.swf">
<param name="wmode" value="transparent">
<embed src="../XMLParser/sports_ticker1.swf" width="550" height="50" wmode="transparent">
</embed>
</object>

Neither of these worked. I just have no idea what I am doing wrong. I don't know if there is something I should be coding differently in my actionscript. I am very new to AS programming. Any ideas on how to get the .swf file to appear on my website would be great.

Thank you so much for any help. Take care.

View Replies !    View Related
Collada Model Shows On Local Machine, But Fails On Web
Hi Everyone,
I am fairly new to PaperVision3D, so bear with me. I've recently been contracted to display some models in Flash CS3, specifically collada (dae) format models for PaperVision3D. So, our modeler made me a textured sphere in maya and used some plug in to export to collada for me. I can then display the sphere with now problems, I even was able to add mouse / camera interaction, really neat stuff. PaperVision3D is sweet

The Problem: The swf builds fine on my local machine, I can double click either the compiled swf or the published html page and wha-la, works great! Now I upload the html and the associated files to my server and nothing displays... My swf is there, but the model never show up.

My Thoughts:
• Possibly a security issue? Maybe the swf isn't trusted?
• Bad model?

Feel free to download all of the associated files here:

http://www.scotspellman.com/files/CheckeredSphere.zip

Unzip and then Double Click on TestModel.html to see the spheres.

The exact same TestModel.html is being hosted here with all of the associated files:

http://www.scotspellman.com/Spheres/TestModel.html

Notice how none of the spheres display.

Please help! Any help would be greatly appreciated. Even a link to a thread on this subject would be great. I'm stuck

Thanks in advance,

~Scot

View Replies !    View Related
XML Flash MP3 Player Caching To Local User's Machine
Hi,
I want to use this Flash MP3 player http://www.flashstar.de/tutlist/index.php3?id=943 on my website to play my music compositions. It is a fantastic player, but it is caching the mp3 files to location "C:Documents and SettingsuserLocal SettingsTemporary Internet Files" on the user's machine.

Is it possible NOT to cache the mp3 files to the user's local machine...?

Pls let me know if there is any other flash xml mp3 player which has the same functionalities.

Please help, attached .fla file. thank you

pravyn

View Replies !    View Related
Externally Loaded Sound Works On Local Machine, But Not Online.
I'm using loadSound to load in external MP3 files and they load and sound great on the local machine but don't work when I upload the files to the web. I'm pretty stumped. The MP3 files are only like 10k and 60k so it can't be a size issue (I'm on a T1 line here at work too).

Here is the site:
http://www.littlefenris.com/v2/

Basically when you walk close to the fire you should hear the fire crackling and it will get louder as you get even closer. Everything works on my PC, just not online.

Any ideas what the issue could be?

Here's the AS code for the fire:


ActionScript Code:
var campFireSFX:Sound = new Sound();//CAMPFIRE SOUND_root.campFireSound_mc.onEnterFrame = function() {    fireXDist = Math.round(this._x-fenris_mc._x);    fireYDist = Math.round(this._y-fenris_mc._y);    campFireDistance = Math.round(Math.sqrt((fireXDist*fireXDist)+(fireYDist*fireYDist)));    if (campFireDistance<200) {        if (breakIt != true) {            campFireSFX.start(0, 9999);            breakIt = true;        }    } else {        breakIt = false;        campFireSFX.stop();    }    campFireSFX.setVolume((maxVolume-campFireDistance)/2);};campFireSFX.loadSound("/sounds/319524_CampFire.mp3");

View Replies !    View Related
Help With Loading Variables From External Text File On Local Machine.
Hi guys,

I am a relative newcomer to Flash MX and although I can solve most probs that i come across, can take considerable amount of time doing so.

Therefore some help with the following would be great:

I am trying to load variables and their values from external text file on my local machine into a Flash movie. I am currently experimenting with the LoadVar object instead of the XML object.

I have the following code so far:

myLoadVars = "new LoadVars()";
myLoadVars.load("variables.txt");

where variables.txt is the external text file.

Some questions:
1. Have i referenced the text file correctly?
2. What format/syntax does the text file need to be in?
3. How do I use an event handler to access the variable values in the Flash movie?

Many thanks for any help that I receive.

View Replies !    View Related
Can Flash Store Data In Flat File On User's Local Machine?
I am developing a CD ROm training piece and need to know if it's at all possible for Flash to store data on the user's machine in a flat comma delimited file without the use of any server side languages?

I need to store a user record with about 5 fields. The user would pop the CD in, take the lesson and, ideally the responses from the lesson would be stored in a local text file.

Is that possible? If so, how?

Thanks

View Replies !    View Related
Can U Get Time But Not From Users Machine?
I am doing a clock, with second hand, minute hand etc. for my site, but i dont want the time to display the time that is shown in the bottom right hand corner of evry1's screen, bvoz, well, evry1's time is differnt, by a few minutes few seconds etc. I want evry 2 view the same time.

Im using Flash 5, but have flash mx2004pro on my comp.

Is it possible 2 get the time from the internet ie. 'internet time'?? or something like that?

This bugs me



jag

View Replies !    View Related
Etsy.com Time Machine Effect.
I visit the the site etsy.com yesterday.

the links:
http://www.etsy.com/time_machine.php#goods

time machine ,It's cool.

who can talk about how did they do?

View Replies !    View Related
Etsy's Time Machine And Developer Requirements
http://www.etsy.com/time_machine.php

How much Flash/Actionscript developers would be needed to implement something like this in a week?

View Replies !    View Related
Time Machine - Multi-document Viewer
I'm trying to create a "time machine" for a website about Los Angeles. If it works, the user would be able to navigate a large document about events in LA's history. Bad news is, I'm a relative beginner at Flash.

For the finished version, I'd like the user to see a TV-like console. On the TV's screen is the content of the document(s). Below is a (editable?) readout showing the date, and a set of dials -- or maybe something more akin to the DeLorean's readout in "Back to the Future".

The user would use the dials to slide through the dates, or enter in a specific date they're interested in going to using the readout.

For the initial version, I just want to be able to click through the document(s). I picture splitting up my original doc into several smaller bites, and each click would call up the new document into Flash. Problem is, I don't know how to change the document being called.

Is this reasonable? Am I foolish to try if I don't know how to do this part?

Thank you TONS for any help you can give!
Joe

View Replies !    View Related
Time Machine - Multi-document Viewer
I'm trying to create a "time machine" for a website about Los Angeles. If it works, the user would be able to navigate a large document about events in LA's history. Bad news is, I'm a relative beginner at Flash.

For the finished version, I'd like the user to see a TV-like console. On the TV's screen is the content of the document(s). Below is a (editable?) readout showing the date, and a set of dials -- or maybe something more akin to the DeLorean's readout in "Back to the Future".

The user would use the dials to slide through the dates, or enter in a specific date they're interested in going to using the readout.

For the initial version, I just want to be able to click through the document(s). I picture splitting up my original doc into several smaller bites, and each click would call up the new document into Flash. Problem is, I don't know how to change the document being called.

Is this reasonable? Am I foolish to try if I don't know how to do this part?

Thank you TONS for any help you can give!
Joe

View Replies !    View Related
Does Flash 8 Work On A 64 Bit Machine ?
Does flash 8 work on a 64 bit machine ?

View Replies !    View Related
[mx] Dynamic Text On WWW Not Visible (visible On Local Machine)
Thank you for reading this. I hope you can help me.

I have an mp3 player (learned from the Golden Mean) that works great. It loads text from an xml file that displays the track name (list of tracks available from xml file) and gets the track path. I've successfully edited it to now display lyrics/song notes as well. These visual displays are listBoxes with scroll bars. It also displays song length and current position (h/m/s) in dynamic text boxes.

I've edited the source and have a small compact player, a single player (one song only, if you will), that reads the xml file and displays the song length and current position, plays the song, but I'm not happy with the display fo the track title. I don't need a scroll bar for a single song, and I can't get rid of it.

What I am trying to do is load the song title from either the xml file or a simple text file and display in a dynamic text window. I've done it, tested the movie, and published the movie. These all work great. I can see everything in the swf by itself, and I can see everything when I call the html that has the swf embeded. I upload it to our intranet server and everything works as expected except the song title in the Dynamic Text box: I get nothing. Song plays, position and duration show fine.

I have done a search here in the forum and come up with a few possible solutions, none of which work for my situation:Paths correct? (yes, everything is where is should be relative to the swf file - in the same directory)
Mime type (server servers swf - the mp3 player works except the title)
Embed font (yes, I have embeded outline for all)
Font type is the same as the currently working duration/position and larger movie's title
I am using the same machine to view the file locally and the remote file (do I have to code multiple files for different platforms???)
Failure is consistent with every viewing machine available to me: Windows (XP, 2000), Fedora (core 1 & core 4), Redhat 9 and cross browser: Opera 8, Netscape 7.1, Firefox 1.0.4, Explorer 5 & 6, Mozilla 1.0.

I've been trying without success to google answers, and searching multiple fora. I thank you in advance for any help you might offer,

JW

View Replies !    View Related
:: 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;
}
}
}

View Replies !    View Related
[CS3] AS2.0 What The? Corrupt Hidden Work File? Ghost In The Machine?
Okay, I'm stumped...any help greatly appreciated!

I was doing a website with semitransparent dropdowns, etc...Using Flash CS3, but ActionScript2.0 for Flash Player 8 compatibility.

I had everything working so far; then I decided to write a more efficient function to evaluate which navigation tab (if any) the mouse is over, so the appropriate actions can occur.

The new function didn't quite work...nothing out of the ordinary there!...but then I tried throwing a trace statement into various places in the code, just to test things...and it didn't display anything, even when placed before the function call. I was using just a simple statement like:

trace ("Foo"); (we'll ignore the obscenities I started to use later...)

I tried placing it various places, and checking with the debugger that the code was actually being stepped through. It was, but the trace method just wasn't working.

Just to be sure, I created a new file, with the single statement: trace("Foo");...it worked fine, displaying "Foo" in the Output panel.

So then, bit by bit, I removed every single line of code from the problem .fla file...no "include" or import statements, no custom classes, no ActionScript anywhere...except the single trace statement...and the trace statement wouldn't work! I even removed every layer, recreated the Actions layer with a new one containing the trace statement...nada. I also deleted the compiled .swf file, just in case, and tried the trace statement on different frames, etc...no luck. Also tried re-saving the .fla file with a different name, in a different location, etc.

What gives?!?? Is there some kind of crazy corruption hidden somewhere? Are there some kind of temporary compiled files that are hidden? It occurs to me that hopefully I can go back to the last working version, but this is bizarre, and seems like something I should know the answer to.

Anybody know what could be causing this?

Thanks!

Bradford

View Replies !    View Related
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

View Replies !    View Related
Buttons Disappear After Loading From Xml Online But Work Fine On Machine
i am using flash 8 professional and making my portfolio site using xml with flash. when you click the red buttons on the right, thumbnails appear on the left (and when you click those, more thumbnails appear, and then you click those and the image appears.) on my machine it works properly, BUT when i upload it, the thumbnails appear and then erase themselves (all except the first two). it's inconsistent and totally weird. i changed some of the code, tried messing with the publishing settings, and re-uploaded and nothing changed. a friend who works at an actionscript company said it doenst make sense that it works differently on my machine than online. she also confirmed that the way i embedded the swf in the html is correct.

has anyone had this problem? know how to fix it?

can anyone help me?? here is a link to the uploaded swf so you can see it improperly behaving:
http://pankhury.com/aaank/aaanktest.html

here is a zip with the files:
http://pankhury.com/aaank/priyankasHell.zip

would really appreciate if anyone can help! thanks!

View Replies !    View Related
Buttons Disappear After Loading From Xml Online But Work Fine On Machine
i am using flash 8 professional and making my portfolio site using xml with flash. when you click the red buttons on the right, thumbnails appear on the left (and when you click those, more thumbnails appear, and then you click those and the image appears.) on my machine it works properly, BUT when i upload it, the thumbnails appear and then erase themselves (all except the first two). it's inconsistent and totally weird. i changed some of the code, tried messing with the publishing settings, and re-uploaded and nothing changed. a friend who works at an actionscript company said it doenst make sense that it works differently on my machine than online. she also confirmed that the way i embedded the swf in the html is correct.

has anyone had this problem? know how to fix it?

can anyone help me?? here is a link to the uploaded swf so you can see it improperly behaving:
http://pankhury.com/aaank/aaanktest.html

here is a zip with the files:
http://pankhury.com/aaank/priyankasHell.zip

would really appreciate if anyone can help! thanks!

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved