ActionScript 3.0 :: Accessing File Located On A Separately Mounted Volume (mac)

Oct 24, 2008

This is not web-based. It is a projector file running locally off my my hard drive and connecting to files on another server on my network.

I'm trying to link to this file through the following code:

loader.load(new URLRequest((path == null) ?
"file:///10.10.100.255/my_file.xml" : path));

(obviously that IP is not real)

but it can't see it. However, it works fine connecting locally.

Does URLRequest not work for finding files on another server?

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Control The Volume Of The 3 Objects Separately?

Sep 20, 2005

On frame 1 from the root I've the following script:

[Code]...

For some reason all three sound objects play at 5% of the volume (the volume that was set for "WhenTextAppears"). I want to controle the volume of the 3 objects seperatly,.... I thought the code above should do the trick but it doesnt.

View 1 Replies

ActionScript 2.0 :: Accessing Function Located In The Loading Movie?

Aug 19, 2007

I have a function to resize my stage which is located in the main movie. There is another movie which is loaded into the main movie and I want the loading movie to call the resize function which is located into the main movie. In short how can I access functions which are located on the main loading movie.

I have treid _level0.resize(); // Doesn't work
_level.parent.resize(); // Doesn't work

But at the same time there is a text field which I can easily update throught the loaded movie by

_level.my_text.text = "Anything"; // Does work

View 3 Replies

ActionScript 2.0 :: Load One Xml File To Swf File That Located In Different Servers?

Aug 21, 2008

i want to load one xml file to swf file that located in different servers...

like

[URL]

but i have only one xml file that update of those flashes..

how i can to do allowdomain to the xml file?

this is what i have and it's not work

Code:
System.security.allowDomain("www.studiomor.com");
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("http://studiomor.com/upload/google_AD.xml");

View 2 Replies

ActionScript 3.0 :: Class File Be Stored Separately And Accessed On A Website?

Mar 14, 2012

Is it possible to host a class file separate from everything else on a website where it can be edited when needed? For example, I'm thinking that in the Linkage section of the movieclip you would put the path to the location of the as file on the website, so [URL] <--well I guess without the ".as".

View 1 Replies

Media Server :: FMS Streaming From A Mounted Folder And Its Subfolders?

Jan 28, 2010

FMS Question about streaming from a mounted folder which has sub-folders: I have an FMS running with the following configuration:1. App named video ( duplicated as per instructions here: http://bit.ly/bgGRUI)2. VirtualDirectory set as follows[code]...

1. Player unable to play the video2. Server sees a hit but nothing streams ( see 0 bytes sreamed from log file).Since it is local, I am right now focusing on FMS, and avoiding - firewall issues ( I will have to open ports 1935, 1111 and 8134 eventually)- folder access issues ( same host: although I need to be able to mount remote folders eventually)

View 5 Replies

Media Server :: Play A FLV File Located In A Second FMS?

Jun 23, 2009

How to play a FLV file located in a second FMS not directly accessible by the flash client?

- I am publishing an audio stream from the flash client to a FMS;- This FMS then publishes the stream to a second FMS, which records the stream to a FLV;

How can I play in the client the FLV audio file that I recorded in the second FMS?

- The first FMS is accessible by the flash client, but the second FMS is only accessible by the first FMS.

View 1 Replies

ActionScript 3.0 :: GotoAndPlay Another .swf File Located In The Same Folder?

Apr 1, 2011

Im trying to write a function that used to work real wll in AS2

on(release){
loadMovie("name.swf", _root;
)
 
This script would load a swf movie located in the same folder as "the calling swf)
The calling movie "unloaded" and the loaded movie "name.swf" would load up by itself.
 
I have tried different functions in AS3 including

//Name of the button: back
back.addEventListener(mouseEvent.CLICK,mouseClick);
function mouseClick(event:MouseEvent):void {

[Code].....

View 8 Replies

Php :: Check Where Is Located Flash File Sending Request?

Apr 5, 2012

I have a flash file that is located on my website and I have a php file wich gets requests from flash file every 5 minutes. I want to be shure that flash file wich is sending request is located on my website and not somewhere else. How can I do it. Is there anything in PHPs global variables?

View 2 Replies

ActionScript 2.0 :: Play .wav File Located On The Client Side?

Jun 21, 2004

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).

View 5 Replies

ActionScript 3.0 :: Target An External File Located Up One Level

Feb 25, 2011

I was trying to upload an external .txt file which is located up one level from my .fla file but I couldn't make it work, this is what I have...

This code works just fine if I put my external .txt file in the same folder as my
.fla

var myRequest:URLRequest = new URLRequest("MaterialRef.txt");

but when I try something like... where the .txt file now is in a folder called "Materials" which is located up one level, it just doesn't work.

var myRequest:URLRequest = new URLRequest("../Materials/MaterialRef.txt");

View 6 Replies

ActionScript 2.0 :: Load 'sample_mc1' To A Movieclip Located In A External Swf File?

Aug 7, 2009

i know that:

sample_mc1.loadMovie("example.swf",1)
//will load "example.swf" into the current "sample_mc1" of the same swf file

however how can I load 'sample_mc1' to a movieclip located in a external swf file?

View 4 Replies

Flash :: Passing Arguments Into A Function Located In A Separate File?

Jun 24, 2011

I'm an AS3 noob who is trying trying to get more comfortable with passing arguments into functions.why when the following code is all in one AS3 file as seen below it works and draws the purple square...

package{
import flash.display.*;
public class Main extends Sprite{[code]............

Flash CS5 gives me an error message 1137 saying that it was expecting only 1 argument in the code line --> Fill(square_commands, square_coord);I need to pass the arguments square_commands and square_coord into the function in the second AS3 file?

View 2 Replies

ActionScript 3.0 :: Simple Volume Slider That Controls The Master Volume Of The Entire Swf?

Oct 6, 2009

does anyone have an example of a simple volume slider that controls the master volume of the entire swf?

View 1 Replies

Flash :: Volume Slider - Volume Doesn't Change Until Mouse Over?

Nov 21, 2009

I've created a small music player with a sliding volume control. I'm having trouble with the volume. Though it does control volume properly, if I set the initial volume to less than 100%, the volume always starts at 100% until I move my mouse over the player. At that point, the volume changes to whatever the initial volume is set to.Is this a flash bug, or am I missing something? Here is the affected code (code for other buttons/functions omitted for brevity):

var song_initvolume:Number = 100;
slider_1._x = groove_1._x + song_initvolume;
playSong(0,song_play);[code]....

I'd like to be able to set the volume at say 50%, but the above mentioned behavior happens each time.

View 2 Replies

Flash :: Reverse Sound Volume Math For Volume Slider?

Feb 1, 2010

I'm building a video player and am kinda stuck at the volume slider part. It's a YouTube style vertical slider, meaning if the slider is in the top position volume should be 100% and if the slider is dragged to the bottom position sound should be 0. Currently it's doing the opposite of what I want :(

Dragging the slider down will make the sound louder, while dragging up lowers it.

Here is my code below dealing with the volume slider.

[Code]....

The (-4) is an offset value so when you drag it all the way to turn it off, it's 0 and not 4. I need to reverse this somehow, so the traces above will swap... going down will make userVolume = 4 and going up will make it 30.

View 4 Replies

ActionScript 2.0 :: Auto Volume Down Of A Loaded Movie File

Aug 3, 2009

I have an mp3 player called "juke.swf" that loads into my root and plays music form an XML file. I have another movie that loads called "scene-3.swf that holds a small gallery of movies". is there any way to make "scene-1.swf" auto-mute or turn down the volume of "juke.swf" when it loads, Then auto turn it back up after I click to another movie?

View 3 Replies

ActionScript 3.0 :: Mp3 File In Main Timeline - Change Its Volume?

Nov 23, 2010

I Have  one Mp3 file in main timeline. how to change volume

View 1 Replies

Lower Sound File Volume During Video Play?

Jun 4, 2011

I have a Flash CS4 project with sound that starts to play in the first scene, set to event/loop so that it plays all through the entire time.
 
But I have a piece of video with audio in another scene and I would like to have the sound file playing at a lower volume while the video is playing, then get it to return to normal volume when the video is over.
 
I have no actionscript at this point. Just timeline animations, etc.

View 7 Replies

ActionScript 2.0 :: Auto Volume Down Of A Loaded Movie File?

Apr 26, 2011

I have an mp3 player called "juke.swf" that loads into my root and plays music form an XML file. I have another movie that loads called "scene-3.swf that holds a small gallery of movies". is there any way to make "scene-1.swf" auto-mute or turn down the volume of "juke.swf" when it loads, Then auto turn it back up after I click to another movie?

View 3 Replies

IDE :: Adding Skin To Video File - Volume Button

Jan 10, 2010

I am relatively new to Flash CS3. I need to create a video file add a skin and put a voice over or background music. I have done all of it but I have a problem with the skin. On the skin there is a volume button for the video. How can I mute or control the volume of the video? Just like in youtube for example. You can turn it up or down. What is the code for it? Because when I click on the button to mute ir or turn it down it doesn't do anything to the volume. I had a separate video and a song but I went to Windows Movie Maker and associated the song with the video so now it is a whole: video with a song. So basically I just want to know what I need to do in order to control the volume of the video.

View 1 Replies

Actionscript 3 :: Volume Controls - Volume On Or Off Through The Games?

Apr 12, 2012

I've got a serious of games which in turn load off a main main swf.I have mute and unmute buttons on the main menu and the same buttons in each game.When I unload/load a game I want the volume to stay as it is so they player doesn't have to keep turning the volume off. AudioOff is the button shown when the volume is off and AudioOn is the button shown when the volume is on.The code I've got now keeps the volume on or off through the games but the buttons aren't showing up correct with this code..

if (SoundVolume.volume == 1)
{
AudioOn.visible = false;[code].....

View 2 Replies

ActionScript 2.0 :: Volume Slides But No Volume Change?

Sep 10, 2011

I converted the slider bar and slider button to buttons. Then, I made the slider button into a movie clip.

Here is the code I placed while slider button was a button:

Code:
on (press) {
startDrag(this, false, left, top, right, bottom);
}

[Code]....

It seems right to me but I don't know. The movie button slides down the slider bar but it just doesn't affect the volume. Going to try to attach my FLA to offer better insight. Just tried to upload it and no matter if it's FLA or zipped FLA, it says it failed.

View 1 Replies

ActionScript 2.0 :: Load All Values Volume From A Texte File To An Array?

May 10, 2003

Here is the full code that i want to use.it is for synchronise a mouth with the value of sound ( in level)that doesn't work as indicated below.

onClipEvent (load) {
_global.testLoad = new Array()
gStartFrame = _root._currentFrame;
_global.valueSon = new LoadVars();

[coder]....

View 3 Replies

ActionScript 3.0 :: Mute/unmute The Volume For An Internal Aif Music File Using A Button?

Mar 9, 2009

I need the code to mute/unmute the volume for an internal aif music file using a button.

View 2 Replies

ActionScript 2.0 :: Get The Levels Of Volume Of Multiple Sound Frequencys From An Audio File?

Jan 9, 2005

How can I, in Flash, get the levels of volume (peak levels) of multiple sound frequencys from an audio file, so that flash would recognize them?

View 1 Replies

ActionScript 3.0 :: Add A Sound File To Project With Controls To Stop And Play And Volume Slider

Dec 6, 2009

I'm new to Actionscripting and I want to add a sound file to my project with controls to stop and play and a volume slider. I'm using this actionscript for the controls. It works but right now you need to click the play button for it to start. Is there a different way to write it so that the music starts playing when the scene starts, and then the user can stop or play it again and change the volume?[code]

View 3 Replies

CS3 Move Multiple Sprites Separately?

Sep 28, 2010

I have a function that adds a player to a sprite containerwhen that player is clicked a hit test is done on the tiles surrounding that player that it can move to and put into an array.all that works fine.my problem is after I add more than one player to the stage I can only move the latest addition when I use MapInfo.player.x = (hexagon_width * .25) + hexagon_x_position-90;I thought if I used getChildByName I might get around making a custom event.but I get an Error #1009: Cannot access a property or method of a null object reference. when I use the code below

trace(MapInfo.getPlayer);// =MapInfo.player.name
var targetisplayObject = MapInfo.player.getChildByName(MapInfo.getPlayer);
target.x = (hexagon_width * .25) + hexagon_x_position-90;

[code].....

View 1 Replies

ActionScript 3.0 :: Get Goldshare And Bank Value Separately

Oct 17, 2009

I want to be able to call 2 values from the mysql db Currently I only get the first one.Any order works.Now I tried to change the parameters in the flash file.I get the 2 values but they are the same.How would I get goldshare and the bank value seperately.[code]

View 3 Replies

ActionScript 3.0 :: Tweenlite To Add Tweens On A MC 'separately'?

Nov 20, 2010

Anybody knows if it's possible with tweenlite to add tweens on a MC 'seperately' like you can with caurina tweener? the MC will always need to move to X 300 , but depending on circumstances may also need to be tweened to Y or rotated or scaled or alpha'd or colored or filtered. And I also planned to test if it "succeeds" in applying FP10 rotationY to 180 (3D flip around axis) but if that fails applying scaleX to -1 (so it does a simple flip around axis instaed).... basically depending on how the user has set publish settings.

[Code]....

View 10 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved