Saving Data Into A Text File (client Side)
Hi,
is possible to save data contained into a DataGrid into a text file on the client machine?
Thanks
ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 05-12-2006, 09:50 AM
View Complete Forum Thread with Replies
Sponsored Links:
Read Server Side File From Client Side
Hello all,
i m using Influxis server.I have used these lines of code to create text file at server side:->
var myFile = new File("log_file.txt");
if(myFile.exists) myFile.open("text", "append");
else myFile.open("text", "create");
myFile.writeln("Hello world!");
above code is working fine but i want to download this "log_file.txt" file at client side.How can i do this?
Plese help me on this issue
View Replies !
View Related
Outputting/saving Data To A Text File
Hi all
i've done a quick search but not had much luck
Is it possible for a CD based flash appplication to create a text file on the users hard drive in which to store session data of sorts, which it can later retrieve/modify? Would PHP, despite being a server side language, have any use here? Can anyone point me to some tutorials?
cheers
View Replies !
View Related
Server/Client-side File Communication Problem
Within my program, I'm simply using a callback method from my clientside in order to retrieve the value of a string from a function from within the server side (main.asc). However, it seems as if not only does this not perform but the server side (main.asc) isn't even being seen/"processed" at all due to the fact that none of the trace statements even appear (like methods as .onAppStart, etc.) in the output. Could anyone help me out here?
Client-Side:
Code:
package
{
import flash.display.Sprite;
import flash.display.MovieClip;
import flash.events.NetStatusEvent;
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.media.Camera;
import flash.media.Microphone;
import flash.media.Video;
import flash.net.Responder;
import fl.controls.Button;
import fl.controls.TextInput;
import flash.events.SyncEvent;
import flash.events.MouseEvent;
import flash.net.SharedObject;
import flash.net.URLRequest;
import flash.net.navigateToURL;
import fl.controls.TextArea;
import flash.events.FocusEvent;
import fl.events.ComponentEvent;
import flash.net.ObjectEncoding;
public class CommunicationSuite extends Sprite
{
private var netOut:NetStream;
private var netIn:NetStream;
private var nc:NetConnection;
private var videoOut:Video;
private var videoIn:Video;
private var myStream:String;
private var clientStream:String;
private var goodConnection:Boolean;
private var mic:Microphone;
private var cam:Camera;
private var responder:Responder;
private var rtmpNow:String;
private var button:Button;
private var webSO:SharedObject;
private var textInput:TextInput;
private var webURL:String;
private var webRequest:URLRequest;
private var chatButton:Button;
private var textSO:SharedObject;
private var textArea:TextArea;
private var chatInput:TextInput;
private var chatName:TextInput;
private var catchKey:Boolean;
private var noName:Boolean;
public function CommunicationSuite()
{
NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;
rtmpNow = "rtmp:/commSuite";
nc = new NetConnection;
nc.connect(rtmpNow);
nc.addEventListener (NetStatusEvent.NET_STATUS,getConnected);
nc.addEventListener (NetStatusEvent.NET_STATUS,getStream);
btnSite.addEventListener (MouseEvent.CLICK,showSite);
inputChat.addEventListener (ComponentEvent.ENTER,checkKey);
btnChat.label="Send Message";
btnChat.addEventListener (MouseEvent.CLICK,sendMsg);
inputName.text="<Enter Name>";
inputName.addEventListener (FocusEvent.FOCUS_IN,cleanName);
}
public function getConnected(e:NetStatusEvent)
{
goodConnection = e.info.code == "NetConnection.Connect.Success";
if(goodConnection)
{
webSO=SharedObject.getRemote("website",nc.uri,false);
webSO.connect (nc);
webSO.addEventListener (SyncEvent.SYNC,checkSite);
textSO=SharedObject.getRemote("test",nc.uri,false);
textSO.connect (nc);
textSO.addEventListener (SyncEvent.SYNC,checkChat);
}
else
{
trace("Connection Not Established");
}
}
public function checkSite(object:SyncEvent):void
{
for (var count:uint; count<object.changeList.length; count++)
{
switch (object.changeList[count].code)
{
case "clear" :
break;
case "success" :
trace (webSO.data.website);
break;
case "change" :
webRequest=new URLRequest(webSO.data.website);
navigateToURL (webRequest,"_blank");
break;
}
}
}
public function checkChat(object:SyncEvent):void
{
for (var count:uint; count<object.changeList.length; count++)
{
switch (object.changeList[count].code)
{
case "clear" :
break;
case "success" :
break;
case "change" :
areaChat.appendText (textSO.data.userText + "
");
break;
}
}
}
private function cleanName (object:FocusEvent):void
{
inputName.text="";
}
private function sendMsg (e:MouseEvent):void
{
noName=(inputName.text=="<Enter Name>" || inputName.text=="");
if (noName)
{
textArea.appendText ("You must enter a name
");
}
else
{
textSO.setProperty ("userText",inputName.text +": "+ inputChat.text);
areaChat.appendText (inputName.text +": "+ inputChat.text + "
");
inputChat.text="";
}
}
private function checkKey (e:ComponentEvent):void
{
noName=(inputName.text=="<Enter Name>" || inputName.text=="");
if (noName)
{
textArea.appendText ("You must enter a name
");
}
else
{
textSO.setProperty ("userText",inputName.text +": "+ inputChat.text);
areaChat.appendText (inputName.text +": "+ inputChat.text + "
");
inputChat.text="";
}
}
private function showSite (evt:MouseEvent):void
{
webSO.setProperty ("website", "http://"+ inputSite.text);
}
private function getStream (e:NetStatusEvent):void
{
goodConnection=e.info.code == "NetConnection.Connect.Success";
trace(goodConnection);
if (goodConnection)
{
responder=new Responder(streamNow);
nc.call ("streamSelect",responder);
}
}
private function streamNow (streamSelect:String):void
{
cam=Camera.getCamera();
cam.setMode(640, 480,15);
cam.setQuality(0,85);
cam.setKeyFrameInterval(15);
mic = Microphone.getMicrophone();
mic.rate=22;
mic.setSilenceLevel(12,1000);
videoOut=new Video(134,134);
addChild(videoOut);
videoOut.x=38;
videoOut.y=53;
videoIn=new Video(134,134);
addChild(videoIn);
videoIn.x=204;
videoIn.y=51;
switch (streamSelect)
{
case "left" :
myStream="left";
clientStream="right";
break;
case "right" :
myStream="right";
clientStream="left";
break;
}
netOut=new NetStream(nc);
netOut.attachAudio (mic);
netOut.attachCamera (cam);
videoOut.attachCamera (cam);
netOut.publish (myStream, "live");
netIn=new NetStream(nc);
videoIn.attachNetStream (netIn);
netIn.play (clientStream);
}
}
}
Server-Side:
Code:
load("netservices.asc");
vidStreams=["right","left"];
application.onAppStart = function()
{
trace("The duce is out of the deck");
}
application.onConnect = function(currentClient)
{
if (vidStreams.length <= 0)
{
application.rejectConnection(currentClient);
}
currentClient.cliNow=vidStreams.pop();
application.acceptConnection(currentClient);
currentClient.streamSelect = function()
{
trace("Stream "+currentClient.cliNow+" used");
return currentClient.cliNow;
}
}
application.onDisconnect = function(currentClient)
{
vidStreams.push(currentClient.cliNow);
}
View Replies !
View Related
Can Actionscript Play .wav File Located On The Client Side?
Dear gurus and members,
I am newbie in Flash MX 2004 and Actionscript. Hope that someone out there would share some knowledge and expertise in these areas. I would like to know whether is it possible that Actionscript play .wav files that are stored on the client side? If yes, how? Otherwise, what are the alternatives to enable playback of wave files on the user's computer? I plan to create a button that will playback pre-recorded speech(mp3 format stored in the server) as well as user recorded speech (.wav format stored on the client side after user recorded the speech). How can I do so? I would want to make it away that it appears like a Q&A conversation session between the computer (mp3) and user (recorded wave). Any suggestions or ideas are highly appreciated. Hope to hear some reply soon.
Thanks in advance,
Janice
View Replies !
View Related
Can Actionscript Play .wav File Located On The Client Side?
Dear gurus and members,
I am newbie in Flash MX 2004 and Actionscript. Hope that someone out there would share some knowledge and expertise in these areas. I would like to know whether is it possible that Actionscript play .wav files that are stored on the client side? If yes, how? Otherwise, what are the alternatives to enable playback of wave files on the user's computer? I plan to create a button that will playback pre-recorded speech(mp3 format stored in the server) as well as user recorded speech (.wav format stored on the client side after user recorded the speech). How can I do so? I would want to make it away that it appears like a Q&A conversation session between the computer (mp3) and user (recorded wave). Any suggestions or ideas are highly appreciated. Hope to hear some reply soon.
Thanks in advance,
Janice
View Replies !
View Related
Client Side Text Editing
All new clients are asking to be able to edit text on their sites. I haven't a clue how to set something like this up. I've heard a lot about PHP but I can't find anything that helps me figure out how to do this. HELP! Please! I have 5 sites I'm building right now in which the client intends to be able to update some portion(s) of their site. I use Flash MX 2004 and Dreamweaver MX 2004 to build my sites on Mac OS X.
I'm fortunate enough to be busy but I'm so busy that I don't have enough time to try to learn this stuff or find out where and how to learn it. I'd appreciate any resource someone knows about! Thanks!
View Replies !
View Related
SSAS - Call A Client Side Function From Server Side
Hi all!
I have a problem...
I'm working with FMS and AS3, and i need to call a client side function from a 'server side action script' code and pass through a parameter to the client side function.
To specify the problem:
The application im trying to create is a video communication tool.
The user connects to the server, on the server side the application.onConnect() function runs.
The client gets an id on the server side and i have to pass this 'clientId' through to a client side function, (it needs the clientId parameter) which is sorting the streams.(like this function setStream(clientId){}) The 'clientId' is needed to identify the stream that is captured by the users camera.
Have to visualize 5 streams (5 user connects and sends streams) on each application instance, and i have to know which stream belongs to which user.
For example: I dont want to visualize John to his stream, instead of the other four streams.
I tried with client.call() but it didnt work.
Could anybody please help me, about how to pass variable data and call a client side function from the server side, or how to solve this problem?
Thx a lot!
Malk
View Replies !
View Related
Saving Data And Loading Data From A .txt File...
Hi,
I know there's a way to do it but i just couldn't get the right tutorial around..
I have read through Shared Objects but i couldn't get it work...
I just have to save my data, maybe array into .txt file and later on
retrieve from the same .txt file...
Anyone here have an example or some source code so i can have reference on it?
Thanks for the help provided....
Regards,
Lacus
View Replies !
View Related
Saving Data To A File
i've been loading my variables (using LoadVars) from a .txt file and am now faced with the problem of saving the variables back to the .txt file (on the server). I have 2 questions:
1: when converting my arrays back to strings, I have just used the .join(",") command, is this correct or do I need to then define it as a string?
2: what is the easiest way of saving the file? I have a .php script that I could utilise but im not familiar with the language.
View Replies !
View Related
Saving Data To XML File
I can read data from an XML file and show the data in Flash but I don't know how to save the dave to an XML file.
Actually I have two input box in Flash called:
"Name" and "Email"
and I want if users fill their name and Email id and press on the Submit button, their name and email id save in an XML file.
Is their any tutorial for this.
Please let me know.
Thanks in Advance
View Replies !
View Related
Saving Data In External File
I have been able to upload data from a .txt file to flash exe but can i save the data from exe to an external file (preferably .txt file). I am using Flash4 is it possible in Flash4 or Flash5?. Please Help and thanks for your sugesstions.
View Replies !
View Related
Making A Survey And Saving The Data To A File?
hello,
i'm quite new to flash and especially flash cs3,
i've made a simple survey and i've figured out how to load data from a text file, but what i need now is a way for the results of the survey to be stored...*for instance to a text file* and then i want it to use the data and somehow display it, with a simple bar graph and percentages for instance...
but i have no idea how to do all that...can someone please help?
is it too hard to do? because my project is urgent, if its WAY too difficult then i'll have to drop the survey all together...
*thanks in advance everyone*
View Replies !
View Related
Loading And Saving Data From External File
http://www.kirupa.com/developer/mx/externaldata.htmi saw this tutorial in this website. But i am just wondering what if i have more than 1 records, how do i load it from the text file, and how do i save multiple records into the text file ? can anyone provide a simple guide to teach me how to do it ?? thanks a lot ~~
View Replies !
View Related
Loading And Saving Data From External File
http://www.kirupa.com/developer/mx/externaldata.htmi saw this tutorial in this website. But i am just wondering what if i have more than 1 records, how do i load it from the text file, and how do i save multiple records into the text file ? can anyone provide a simple guide to teach me how to do it ?? thanks a lot ~~
View Replies !
View Related
Client-side-bug
Hi there,
We've created a website, but there's one problem with it. The only person who's let us know there are problems with it is the client himself. He says he has to load the site several times before it works effectively... .
I wanted to ask everyone who reads this tread to go and check
http://www.ypu.org/jvh/changes
and let me know if you encounter these problems, and perhaps a solution. The main thing for me is now to know if the problem is by the client, or something else.
I've created it in Flash MX and Dreamweaver MX, exported it like flash 5, and the client is watching it with a pc and IE 5.0
Greetings
Robin
please do this, it won't take you long, and it would mean a world of difference for me...
View Replies !
View Related
Get Client Side URL In Flash
Hello,
I have created several widgets which users embed on external sites,
myspace, etc. I want to request what URL they have the widget embedded
on so I can track where the widgets are (i.e. www.yourplace.com/maggy)
and how many page views to that external widget. I would then post
that data to a db from inside flash via getURL.
Since the widget is embedded externally, I cannot pass server side
flash vars.
In what ways can I request the address bar location/URL from these
external sites?
Thanks,
Darren
View Replies !
View Related
Loading Client-side XML
I am working on a Flash application that is downloaded from a server to multiple client machines in a controlled network. The client machines have a local XML file. I want to be able to load that XML into the Flash app, but security settings are getting in the way.
It looks like using either System.security.allowDomain or a crossdomain.xml file will do the trick, but how do I specify the client machine as the allowed domain? Do I call it "C:" or "localhost"?
This is for Flash Player 7. Thanks!
View Replies !
View Related
AIR Client-side PDF Generation With Air?
Hi
Does anyone know of anyway to generate a PDF within an Air application?
I do not want to use a server-side, because the client might not be connected to the Internet. I would imagine that this would be impossible with Air alone, so any other innovative options to get it going client side? I am thinking this can be done with Java, but then my issue there is that I don't want the client to have to download a huge 60MB Java files just to get that going.....
Any other thoughts or has anyone attempted to do this (or something similar) before with Air?
Thanks
View Replies !
View Related
AS And Client-side Files
As far as I know it's not possible for AS to load a swf file from the users machine... but if this file was in the users internet cache would it load up as though the user had already seen it with the browser?
In other words... if someone had a copy of a site intro (swf) and had already placed it in their cache before visiting the site, would they have to wait for it to load again or would the browser just read it from the cache?
Hope that makes sense!
View Replies !
View Related
Form Validation - Client Side
hi,
does anyone know how to set up a form validation within a flash file (client side)?
ie - if they dont' fill in a field, a little error comes up (eg when they press submit) telling them that a field hasn't been filled in.
is there a way to do it? gees i hope so :-))
sera
View Replies !
View Related
Client Side Image Load?
MX newbie questions:
Can MX load images that a user browses to?
Then can the MX player (v. 6) load those images into the player?
Finally, can those images be sent to a server via middlewear? (ASP/JSP...)
thanks!
sprout
View Replies !
View Related
Client-side Flash Forms. Are They Possible?
Hello,
Does anybody know if you can create forms in Flash which do not require server-side scripting (i.e. you do not need to be connected to the web) and on submit they create an external file which holds the data like a .txt file or something.
One of our clients wants us to create a CD with a Flash form on it that saves the data on the desktop, and does not require an internet connection.
Is this possible?
Ollie
View Replies !
View Related
Can Actionscript Run Client Side OCX/Dlls?
Dear gurus/members,
I am a newbie in actionscript. I would like to know whether its possible for actionscript 1.0 to run OCX/Dll file that is located on the user's computer. I have a flash button on my website that is supposed to run an application(installed on user's computer) once the user clicks it. I was hoping that the actionscript can call ocx/dll from user's computer(saved along with the application installed). The OCX/dll will check if the application exists on the user's computer. If yes, it will launch the application. Otherwise, it will request user to download the installer.
My question is whether can actionscript call ocx/dll file? Any suggestions or ideas are highly appreciated. Looking forward to your reply soon.
Thanks in advance,
Janice
View Replies !
View Related
Audio Capture (client Side)
Hi , i heard somewhere that there is a client side plugin that enables audio capture via a flash interface. I'm sceptical but i though i'd ask if anyone has heard about this? I've been advised that if i want to record client side audio i'd have to use Director. Any one have any info or experience on this?
View Replies !
View Related
Client-Side Flash And Java
We are students developing a game using Flash MX Professional that uses a Flash interface and Java code. Right now we are using Flash Remoting to provide the interface, but this requires the client to connect over the Internet to our server in order to play what is, essentially, a single-player game.
I am desperately looking for a way, any way, to allow us to allow us to create a package with both the Flash and the Java which, when installed, allows the Flash to access the Java methods locally, so that they do not need a server.
Despite intonations from experts that "it can be done" we have not found anything that allows us to do this. Everything we look into leads back to Flash Remoting which assumes the presence of the server-side.
Right now, our only option seems to be to recode the entire game in Java and ditch the Flash entirely. Is this accurate or is there something we are missing?
View Replies !
View Related
Flash Client Side Detection
This may be simple but i can't manage it to work. I've tried the built in detection in flash 8 but it doesn't work, maybe i placed the code wrongly i don't know.
Now i was reading the flash detection kit and the method that i think is more robust is the client side detection script but i don't know how to implement it in my site.
I have the index.html with a table and the correspondent .swf, but what do i do to the "ClientSideDetection.html" and the "example.swf" that flash detection kit provides?! Do i have to copy the code into my index.html file? If yes, where do i paste it? I don't understand this, please help me out in this one, because i know it has to be simple i just can't see it right now...
Thanks in advance!
View Replies !
View Related
Client Side Audio Recording
FMS allows audio/video broadcasting. But, is it possible to use flash to record audio on client side (preferable in mp3 format, but not necessary) , then later upload to the server? It is useful because using server recording wastes bandwidth if user needs to rerecord many times before publish of his final version.
Any input is appreciated!
View Replies !
View Related
Preventing Client-Side Caching
I need to prevent client-side caching for all resource files within a directory.
Flex Help states that I need to set the headers to:
Code:
// Set Cache-Control to no-cache.
response.setHeader("Cache-Control", "no-cache");
// Prevent proxy caching.
response.setHeader("Pragma", "no-cache");
// Set expiration date to a date in the past.
response.setDateHeader("Expires", 946080000000L); //Approx Jan 1, 2000
// Force always modified.
response.header("Last-Modified", new Date());
How do I do this? Which file to I add this code to?
View Replies !
View Related
A Client Side Video From AVPresence
Hi there,
I have a problem here,
I have some AVPresence components and they work well, the problem is here that I want to have a simple client side Video on my stage with a dropdown list showing the online users, I want to give the user the ability to select from the list and then the video of selected person which is on his AVPresence shows on the video I added on the stage as well(only for the client)
Does any one can help me, please?
I'm in real danger
View Replies !
View Related
Server Side Code Into Client
Hello,
I am useing this code:
bob_so.setPropetry(IDname + "_id" , yourId)
AND ALSO
gettingId = bob_so.getProperty(IDname + "_id")
But im not sure how i could recreate this on the client side scripting? I need to be able to get the name from a var and tag a string to the start or the end of it to, Any help would be great.
I am not near my computer at the moment, so and errors that i have made to the above code is just in this post and is just for example.
Thanx in advance
solex
View Replies !
View Related
Loading Client-Side Resources
Hi,
I want my movie to load client-side resources previously installed on the users PC (like JPGs, MP3s, even SWFs), into my server-side movie. It's this possible? If yes, do I have to do any sandbox tweeking or any of this? I am thinking of using loadvars or something similar, if you have any suggestion on this it's welcomed.
Thanks, Chris
View Replies !
View Related
Client-side Default To Low Quality
Hi all,
I have a very slow computer (700 Mhz PIII with 358 MB ram). There are certain videos and applets that almost crash my computer upon loading in to Firefox, but run very smoothly when I set the Quality setting on the right click menu to "low".
What I'd like to do is force any SWF that loads in a Web Browser to use the "low" quality setting, whether the SWF author likes it or not. Any SWF that loads must, must, use the "low" quality setting whether that setting is available on the menu or not.
Is this possible? If not, it absolutely should be for slower computers.
TIA
Edited: 10/02/2008 at 09:40:13 PM by bugmenow
View Replies !
View Related
Loading Client-Side Resources
Hi,
I want my movie to load client-side resources previously installed on the users PC, into my server-side movie. It's this possible? If yes, do I have to do any sandbox tweeking or any of this? I am thinking of using loadvars or something similar, if you have any suggestion on this it's welcomed.
Thanks, Chris
View Replies !
View Related
Client Side Audio Recording Possible?
FMS allows audio/video broadcasting. But, is it possible to use flash to record audio on client side (preferable in mp3 format, but not necessary) , then later upload to the server? It is useful because using server recording wastes bandwidth if user needs to rerecord many times before publish of his final version.
Any input is appreciated!
View Replies !
View Related
Client-Side Cache Question
Let's say I have a FLV that "lives" on a server, and I serve it up through, say, Ruby. The Ruby script takes care of obtaining the FLV from the filesystem and renders it to the browser.
Inside my client-side SWF, my code to connect to the Ruby application and get the FLV may look like this:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
tvid.attachVideo(ns);
ns.setBufferTime(2);
statusID = setInterval(videoStatus, 200);
ns.onStatus = function(info) {
trace(info.code);
if(info.code == "NetStream.Buffer.Full") {
bufferClip._visible = false;
ending = false;
clearInterval( statusID );
statusID = setInterval(videoStatus, 200);
}
if(info.code == "NetStream.Buffer.Empty") {
if ( !ending ) {
bufferClip._visible = true;
}
}
if(info.code == "NetStream.Play.Stop") {
bufferClip._visible = false;
//ending = true;
}
if(info.code == "NetStream.Play.Start") {
ending = false;
}
if(info.code == "NetStream.Buffer.Flush") {
ending = true;
}
}
//Play it
ns.play("
View Replies !
View Related
Client-side Drawing In FlashMX
Is there a way to allow the client to draw freely. I just need to capture one continous line, curves and all, not just straight lines. How do i do this? If you know of a good tutorial on it, that works too...
Thanks guys...
:arciess
View Replies !
View Related
Progressive FLV's / Client Side Caching
Hey All, I'm running into a strange issue when downloading FLV's. The FLV's are not being cached on the client side.
What I'm doing is preloading FLV's, using a URLLoading and downloading it as binary format. When I go to play the FLV's in a FLVPlayback, they re-download. This is strange, shouldn't they be being cached on the client side? I am downloading them progressively.
The strange thing is that at one point they were being cached correctly, but now they re-download.
The thing that bothers me is that when I do bandwidth throttling to make sure everything will play smooth, they don't play smooth because they are re-downloading when they shouldn't be..
any ideas?
Thanks
View Replies !
View Related
Flash Client-side Web Server
Hey There.
I've never used Flash, but I'm investigating some ideas to do with image processing on the client side.
Basically we're implementing a website using AJAX. We're doing a lot of image stretches. Currently, we're using Javascript (well DOM) to do the stretch, but it looks like crap. There's NO antialiasing.
So is there a way to do the following:
1. Have Flash load an image from a URL
2. Flash stretches the image to a size indicated by javascript
3. Flash makes the stretched image available to javascript.
My idea was that Flash acts as a proxy. That is, Javascript 'connects' to a Flash webserver (which is on the clientside) and downloads the image it wants from it. When really, Flash is contacting the real location of the image, stretching the image and then serving it up.
If someone could point me to some documentation that discusses an interface between Flash and Javascript that would be great! Any other ideas or thoughts or whatever would also be appreciated. Even if it doesn't involve Flash!
Thanks.
Jamie Chong
Vancouver, Canada.
View Replies !
View Related
Drawing Lines And Shapes On Client Side
HI,
I really need to know how make a movie so that the user can draw lines, circles and rectangles. I have seen it on a website but don't quite know how they did it. Any help will be appreciated.
I'm making a module for kinds which will teach them how to draw. I will have a tool bar just like in flash(not exactly) and kinds can click on the tools like rectangle and draw them.
Thanks
View Replies !
View Related
Client Side Array (directory Index)
I got sick and tired of my friggin alarm clock with it's annoying sound, so I made my own alarm clock in FlashMX. When the alarm time matches the current time it plays a .mp3 file looped 999 times. Now I have not been able to find out how to play an .mp3 file unless it's in the library and "exported for actionscript". What I would like for this alarm clock to do is somehow (preferrably in an array) look in a client side directory (D:My Music) and pick a random music file and play it (without having to load all the files in the library). Basically using FlashMX's ability to remote load .mp3 files off a server, but instead them being on a home computer. Since this folder has roughly 151 files in it, I'd rather it count them, load that number into an array and pick/play a random music file as the alarm. Is this possible?
View Replies !
View Related
|