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
Adobe > Flash Media Server
Posted on: 07/01/2008 04:35:50 PM
View Complete Forum Thread with Replies
Sponsored Links:
Installing .swf Files To A Users Machine
Hi,
I am investigating installers. I basically need to run an installer that will place .swf, .html and .mp3 files on a user's machine. An installer is needed because additional files can/will be added later that are all dependent on the original file structure. Does anybody know of the best option to achieve this? I am looking for both Windows and Mac OS9+ support. I know people can download and place the files in a specific directory, but that opens up the chance for errors and all files will need to work together.
TIA,
Colin
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
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
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
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
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
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
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
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
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
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
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
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
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
[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
Local Runtime Sharing? Local External AttachMovie?
I've been trying and searching through the forums but I think I am searching for the wrong keywords.
Is there ANY way of setting it up so that I can use attachMovie/removeMovieClip on external swf's? I've found these runtime sharing options but I am unable to make much sense of them. What I am creating is something that would always be run locally on a machine and not up on the web.
I want to use this one main 'engine' type of file that loads heaps of different movies into it. All of them swf's. Of course I realise that I could do things the loadMovie way, but it seems in this case like an option not really suitable for what I want to do.
Thanks for any tips
View Replies !
View Related
Launching A Local Html File From Local Swf ( Flash 8.)
Hello everyone i am having a problem launching a local html file from my swf. i have a button called print that when clicked it is supposed to open the local html file and print out the content. this is the code i used on the button
on (release){
getURL("folder/folder/file.htm","_self");
}
i also tried scripting it on the time line when that didn't work.
any ideas?
Thanks,
kool
View Replies !
View Related
User Defines Local Image And Add It To A Local Swf(CD) ?
I have to run flash (swf) locally, which in my case means a CD.
What I want to do is allow the user to have a browse (local) function and pick an image from his hard disk and use that image to see a flash movie (swf) with his/her selected image in it!
Then after the user watched the movie with his/her photo on it, the user should be able to send this movie in a site(upload it). then naturally the user should be able to see it online at that site as well!
So my questions are how to have a browse function that puts the selected image somewhere I would like it to and then use this image in a flash movie (that will be a game with the photo on it).
And I guess then to send it online I do not really have to publish a new swf with the image in it, I can send seperately the swf (game) and the image file to the server through php? Did i get that right?
So far I know flash 8 has a new class for browsing, but how do I take a file selected from a user locally and use it in the movie again locally? load variable can do that but I should know the name of the file selected and also be possible to even select a local file??
Basically it is for educational movie. It will run from a CD. there will be many interactive exercices. At the end of the section there will be one game that in order to make it more personal I want to allow the users to add their photo at the game. So far everything should take place locally. Then if the user desires should be able to send in a specific site the movie he/she just watched(which means with their photo in it).
ANy ideas how I do that.
Even general ideas will help!
Thank you
View Replies !
View Related
Problem With Local File And Local Link
Hi to everybody,
I have installed a new version of flash player (9,0,28,0) and when I open a local file like:
c: estindex.html
When I click into some link that point to some local file like as:
c: est est.htm
I don't obtain nothing the page still remain index.html.
If i put the test directory into some server everithing working fine.
I have tried to change some machine and i have tried some old flash file but still the same!
How can solve it without upload all file everytime into some web server and without install some local web server?
Thanks in advance to everybody for any tips and sorry for my bad english!
John
View Replies !
View Related
How Can I Get A Local Path Of The Local Disk With Swf
Since FileReference.download() doesn't download multiple files, I want to download files with php ftp_get by FTP.
I need to pass the local path of the local disk where I can download the files from a remote serveur. How can I get a prompt to have a user choose a folder on his computor (local disk), if any way possible?
View Replies !
View Related
Machine
hi guys have any of yous seen a ready made animation in flash of a machine of some sort? with stuff going in one side and comming out as something different at the other side? (bit hard to explain)
thanks
View Replies !
View Related
Installing AIR App From CD ROM
I need to distribute and install an AIR application from a CD ROM.
I need to detect Flash Player and Acrobat Reader and install as needed.
Has anyone had any experience with doing this or can anyone suggest some 'Installer Software' that might handle these tasks.
Cheers
View Replies !
View Related
Installing
I have my original disc's for Flash 5 and the Flash MX upgrade. I do not have the codes anymore so I cannot install them on my upgraded machine. I was a registered user with Macromedia, but here I can't seem to get an answer. Are my disc's worthless now? I wanted to play around some before deciding to purchase the newest version of Flash.
View Replies !
View Related
Machine Gun Snowball
I'm making a snowball game where the gun fires multiple snowballs when the mouse moves.
the fired snowballs have to track the mouse when the mouse moves any ideas on code to use for this???
cheers
spod
View Replies !
View Related
|