how to change the default location that comes up when saving a new flash file.
For some reason, when I go to save a .as file that i've created in flash it choose some deeply buried folder from a project I haven't worked on in ages. I have no idea how it got set up to do that, but if possible I would love to have it default to the last location I saved a file.
Code: _xml = <xml><test>data</test></xml>; var ba:ByteArray = new ByteArray(); ba.writeUTFBytes(_xml); var fr:FileReference = new FileReference(); fr.save(ba, "1.xml");
According to flashmediaserver_3.5_config_admin.pdf (FMS 3.5.3), FMS determines the correct directory to use for streams in the following order: Virtual directory (as specified in <VirtualDirectory>) Storage directory (as specified in <storageDir>) Default location (the streams folder in the application directory)
So I created a folder called streams in C:Program FilesAdobeFlash Media Server 3.5applicationsvod. I thought this folder would be the default location for the sample application vod. I did not change any configuration settings for the application vod. Everything was set by the FMS 3.5.3 installer. I copied sample.flv into C:Program FilesAdobeFlash Media Server 3.5applicationsvodstreams and renamed it to sample6.flv. rtmp://{fms ip}/vod/sample6.flv d Did not play in the sample video player installed by FMS 3.5.3. Is this a bug or the default location "streams" folder is simply not "default", you have to set it somewhere in XML?
This isn't strictly a Flash-specific problem but I didn't really know the proper place to post so I went here.At any rate, we are trying to figure out how to remap Adobe's default preference folder to a non-local location.Does anyone know if there is some way to remap the Adobe preferences from the default location of "C:Documents and Settings\ %currentuser% Application DataAdobe" to something else, say "H:Adobe"?
I created a simple button that displays an error messeage: "error opening 'url" when I test the movie, but does play and opens in browser after publishing. However, it won't open in the browser in a different location. I pasted the html code in a web page but it doesn't work there nor opens in the browser in a differnet location from where it was originally published and saved. Why is that?
I am trying to save user location in a course. I am looking for the a simple way for a new Flash CS4 and Actionscript 3 user. The program will be copied to the users hard drive. I am creating a course that has 3 topics each with about 8 sections. The user can go to any of the topics in order and when they complete can do a final assessment. I am looking for a simple way to keep track if the user has finished any of the topics, then to keep track of where they are in a section, so when they return to the program they can pick up where they left off. Also, wondered if their is a next label command like the nextScene command?
I got Adobe Creative Suite 5.5, and all the projects in company are made in 5.0. And i can't simply save by ctrl+s because Flash (thats concrete program i am asking about) want to save in 5.5. So every time i have to push file-> save as-> change from 5.5 to 5.0. I was trying to find somewhere, where to change it, but i didnt manage to.
I wanted to create a flash application like this [URL] but the only difference is I want to save my image into the default folder with different names. I don't need for prompting to save the image but instead it will automatically saved in the default folder when you click the save icon. Here's the link I followed for the sample link above [URL]
Is there a way to set a default extension when saving an image using FileReference save method?
Code: var fileReference:FileReference = new FileReference(); fileReference.save( pngData, "image.png" );
If windows is set to "hide known file extensions", only image without extension will be displayed in save dialog. File type is "*.*". Some of my users hat the great idea to add .jpg extension in filename, because they couldn't see one. So file was saved broken as image.jpg.
I need to change the default location of VOD media files from opt/adobe/fms/applications/vod/media.what I did:1. Created a dir test under default "media" dir2. Placed my f4v files inside "test" dir3. Modified applications.xml as follows:
How do we save file locally in Flash (ActionScript 3) without displaying dialog. I know we can use the following code to save file locally but it prompts Save dialog. I don't want this dialog while saving file locally.
I want to know the 'file path' when an user selects a file from 'any location' on his hard disk. I like to know is it possible to fetch the entire file URL instead of the file name alone?
Code: var fileRef= new FileReference(); fileRef.addListener(mylistener); mylistener.onOpen = function(file){ [Code]....
All I'm trying to do is load an external .swf file into a precise location on the stage of my existing Flash file. I've spent an hour and a half on this site search and found nothing. What do I add to my loadMovie command to place the file at specific x,y coordinates?
I have FMS 3.5 (Streaming Server) installed, and I am trying to have it render media from locations other than default. Here is my setup.
[Code]...
Basically I am trying to render media specific to different departments (test,test1). So "Department Test" media files are under [E:ContentFMSapplicationsvod est] and "Department Test1" media files are under [E:ContentFMSapplicationsvod est1]
how to change the default main swf file when you package an AIR application? I've used obfuscation manually on a swf and I would like that to be the main swf for AIR.
I can include the modifided swf into AIR but cannot set it to the default swf. Should I just make the default swf as a swfloader class? and just include the modifided inside?
I am trying to make an object tween from its starting location to the location of a mouse click. I have a script, but it has a very annoying ease to it.I would LIKE the object to mantain a certain speed during while traveling from its starting location to the mouse click location.
Is there a way in as3 to trace out the swf file's location. I.E. if the swf is located at C:/documents and settings/Desktop/folder1 How do I get the swf to return that path?
I'd like to add an item to a particular location in an XML file. Location of parent node is given by string variable "itemtoaddto" and the XML file is given by "myXML":
Ive just made a "browse" button with FileReference and it works well, now Im trying to "catch" the location of the file that you select and put it on an input text.
[Code]...
So far Ive tried with that code and works but ".name" only display the name and the extension of the file, and I need the full location.
step1- I got an xml that is locally loaded(works fine) step2- the content goes into a datagrid that is displayed (works fine) step3- In AS3 I dynamically add some lines to this xml file(works fine) step4- I save it locally (works fine) step5-and want the datagrid to be updated..(works not-so-well)
So, in step 4, the data is saved into the xml file, but in order to finish the save, the user has to click on the "Save as" windows in order to have the file updated of course.. and that's where's my problem, how can i tell flash to wait till the user actually saves the file, before reload the xml file in the datagrid ? here's the code :
When i save the file as an .swf file to view it in my browser the video gets really big (sized the flash document 250x240 px) . How can i easily control my flash video sizes?
another thing: When im doing a video and work with things that are outside of my white document (in the gray area) for instance things that are to be faded into the document and so on. These things also show up in outside of my video when i view it in my browser.