ActionScript 3.0 :: Accessing An Access-restricted Folder In Server?
Jan 14, 2012
Does anybody know how to make a folder inaccessible by direct address yet accessible to a flash file within that domain? Consider the following scenario.[URL]
View 9 Replies
Similar Posts:
Aug 18, 2009
I did an application here to record the user's webcam and store an .FLV at my applications folder. That's ok. But I want to retrive this .FLV using HTTP mode, to load the .FLV progressively, not by streaming. Got it? For example, if I record a user webcam called "myWebcam": myVideoClass.load("[URL]");
Using http (progressively), not rtmpt (streaming). There is some way to do that? Or to move the file from applications folder to webroot?
View 1 Replies
Mar 22, 2012
This is specific url blocking.
function pageDomainCheckInit(event:Event):void {
var url:String=stage.loaderInfo.url;
var urlBeginninng:Number=url.indexOf(://)+3;
var urlTermination:Number=url.indexOf(/,urlBeginninng);
var pageDomain:String=url.substring(urlBeginninng,urlTermination);
[Code] .....
View 9 Replies
Apr 18, 2010
How do I specify files to be accessed only in a specific folder via a crossdomain?
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "[URL]">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="[URL]"/>
<allow-access-from domain="*.newdomain.com" secure="true" />
</cross-domain-policy>
View 3 Replies
Nov 6, 2011
Tested versions:
4.5.
Our problem is: When we used Flash Media Developer Server 4.5 (Trial), we can use Share folder. However, when we bought Streaming Server and deployed with same file structure, we can't use Share folder but Local folder only.
Is there any limitation of using Share folder in Streaming Server?
Configuration:
It's standard. we set fms.ini in Windows.
i.e., VOD_DIR = C:Program FilesAdobeFlash Media Server 4.5applicationsvodmedia
View 1 Replies
Mar 25, 2012
Create a new folder named AudioStreams at C:Program FilesAdobeFlash Media Server 4.5applications. Open the AudioStreams folder and add a new folder named streams. Inside this folder place a new folder named _definst_ and copy the four audio files in the Exercise to the _definst_ folder. I am confused when should we create definst folder and when C:Program FilesAdobeFlash Media Server 4.5applicationslivemedia folder?
View 4 Replies
Apr 22, 2011
I am using AIR to make a little installer. How would I go accessing a file in there application data folder for all platforms? When trying to access it directly it works just file.
[Code]....
View 2 Replies
Jul 12, 2009
Creating a dynamic scroll panel using two objects from my library and accessing images from a folder using some basic XML. The ScrollPanel loads fine, the 6 instances of the empty movieclip holders load. The function that traces the instance of the movieClip names is working. My trouble is accessing the instances of the movies to load the loaders in order to view the jpgs called from the folder. I receive an "access of undefined property" message if I type thumbLoad0.addChild(pic1ldr); etc, which you will see at the very bottom.
[Code]...
View 1 Replies
Mar 24, 2010
I dont know if its the right forum for my post or not. But I need to ask if there is anyway to show the folder structure of a clients PC in flash when the user clicks on a browse button in a web site just like the one below? I googled for a "Multiple File Uploader using flash" but what I found there is that an open file window opens and we are able to select multiple files from it. I could not found anything like below. So my question is that whether we will be able toshow all the folder structure or not?
View 2 Replies
Dec 18, 2006
I have a text file in a folder in E Drive.how to reach to that folder and read the file..
View 1 Replies
Jul 31, 2010
Due to reasons beyond my control, I need to be able to open an xml file located in a different folder on the same branch of the tree on a Windows client. The paths for the files are known; see example below.
Source Folder/File - D:mediasourcemovie.swf
Data Folder/FIle - D:mediadatadata.xml
Source Folder - This is the folder & file where the swf is located & executed from.Data Folder/File - This is the folder & file for the XML data file.How would I reference the XML data file path in AS2 to be executed by my source SWF?
i.e. - dataXML_xml.load("D:mediadatadata.xml");
View 2 Replies
Mar 29, 2010
I've got various flash files stored on my server. For this example - here is the directory structure:
Files > Example >
-> example.swf
-> example.xml
So then on a separate webpage stored in the root of my server.. I'm embedding the flash.
<param name="movie" value="[URL]">
Now the issue comes. Because the .swf is trying to access example.xml ... which is NOT stored in the root directory.
View 3 Replies
Oct 24, 2011
I have a flash player which play mp3 files from xml. at now mp3 files are downloadable with software like internet download manager. if i move mp3 files to out of www and change xml location attribute to '../mp3filename.mp3' player can not play mp3. my question are
1) flash file can access files out of root folder
2) what is best way to protect files from download?
View 2 Replies
Oct 7, 2009
I am having problems accessing my xml on the server. On my local drive, it works fine. As soon as I load it on my site, it no longer pulls the xml rss feed.
Here is the working example, to get it to work, I had to copy the feed into an xml file, and place it in my fla root folder[code]...
View 3 Replies
Mar 20, 2010
When I compiled the following code I had some problem.[code]...
View 12 Replies
Jul 23, 2009
how to know the folder as write permission in air application..in my application i am saving txt file in folder,so that i need to test that folder as write permission...
var file:File = File.desktopDirectory.resolvePath("TxtFolder/DataFile.txt"); i need to check "TxtFolder" has write permission...? before saving the file(DataFile.txt)..how can i do it in flex Air as3
View 3 Replies
Mar 20, 2010
When I compiled the following code I had some problem.
private var image_loader:URLLoader;
public function loadImageData():void {
image_loader=new URLLoader(new URLRequest("studentphotosBlue hills.jpg"));
[code].....
View 8 Replies
Feb 5, 2009
Can I do this in AS3?
(1) add the caurina folder to the folder
(2) add Thumbnail.as to the folder
(3) add
[Code]....
View 1 Replies
Jul 14, 2011
I am using a local computer and will only be running the flash app on locals. I want users to have access to a gallery which I built with xml and to be able to add to the gallery. I thought I could do it with an append child to the xml but flash cant write to file. I was going to use filereference and then save the file in the flash folder and add the new object to the xml file, but this is the wrong route.
View 1 Replies
May 31, 2011
when i publish my swf file from Adobe flash that time swf conneted to the server.but when i publish from my folder that time its not connected..
View 1 Replies
Jul 17, 2010
i finished air application and it is need a local permission for the installed folder ( C:Program FilesAppName ) as i am generate xml ( desktopFileStream.writeUTFBytes(newXMLStr); ) from the application and its need local permission.first time i run the application i got ( error 3001 indicates a file or directory permissions issue ); when adjusted the permission for the current user ( manually ) to fullcontrol, its work great and perfect. how to give my application folder FullControl access by code ( AS3Flash )? as i can't ask each user to give my app folder manual permission.
View 5 Replies
Mar 30, 2010
I've setup a simple DVR player using the DVRCast application and Adobe FLVPlayback 2.5 from Adobe tools. I'm able to use it to play a recorded live stream which is recorded by Flash Media Live Encoder.
I'm wandering if I can now use the DVR player to play a video within the vod application?
To start with I just want to copy the f4v file created by Live Encoder to the vod directory and then use the DVR player to play it.
View 4 Replies
Mar 22, 2011
I am building an application which runs on a user's local machine, but I want it to be able to update itself by downloading files from an FTP server. Can anyone recommend a good starting point for accomplishing this? An actionscript class or a utility / plugin or something?
View 2 Replies
Mar 14, 2004
What I'm trying to do is simple but I just can't seem to find a clear answer on how to accomplish this. I've loaded jpegs into my main movie before, but I've always created swf files of the jpegs with its own independent preloader on the first frame of the swf. This seems to work fine but it does get quite tedious having to create all of these swf's. I would like to beable to have a folder present on the server where I can just through in some random jpegs and the main movie will then show and hide a preloading bar showing the progression of the jpeg that is loading.
View 14 Replies
Jun 23, 2009
I tried to use the following to rename and move a flv file to a different folder but it doesn't work.....I tried several combinations but can't seem to figure out how to do it.
fileObject3 = new File("streams/"+insID+"/"+stream+".flv"); fileObject3.renameTo("streams"/"adName"/"+adName+".flv");
View 3 Replies
Jul 31, 2009
Is it possible to stream from a folder other than the root streams folder...I want to stream from......... streams/user1/test.flv
View 1 Replies
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
Mar 30, 2010
I have my server configured so that the installation is on c:, and the media files are on d:.To begin with I tested the streaming files in the original installation location and this worked.I've have now moved the vod folder - D:applications:, and updated the FMS.ini file to accordingly look for the applications folder on the D: and restarted the server.The Administration console is correctly identifying the VOD and LIVE applications in the new location, but all the streams have stopped working
View 5 Replies
Jul 20, 2010
I've got Flash Media Server 3.5 up and running on a development server and now want to start customizing the install.
The first thing I want to do is to move the applications folder to a remote server/NAS. This is a failsafe so that if for some reason the Flash Media Server goes kaput all the flv files aren't wiped as well.
Can I configure Flash Media Server so that the applications folder points to a remote network drive (via UNC paths) without causing any permissions problems? How do I do this?
View 5 Replies
Apr 10, 2007
I need to create a tool which allows the users to apply a wide range of fonts to their text. The fonts may or may not be present on the user's system. I know how to embed fonts, but the problem is that I will have to import every font to my library and set their linkage properties. that will get very cumbersome. Instead, is there any way to dynamically load fonts from a folder on the server into the flash file? Or is there a better way to achieve what i need?
View 4 Replies