Actionscript 3 :: Flex File.browseForDirectory Start Folder
Mar 17, 2012
I'm using the file.browseForDirectory() method to make the user browse his computer and choose a folder. It's all perfect since here. But what if I want the dialog box to already show a specific folder opened at pop up?
View 1 Replies
Similar Posts:
Jul 29, 2010
i have situation in which i have some library projects, say
"DataProcessors","Lib2"
, included in my lets say "MainProject" (a web project) placed on directory
"E:in-debugMainProject.swf"
, when i build the project it automatically place all the libs .swf in its "E:in-debug" folder, but when i debug or run the project it it gives loading error that
"E:DataProcessors.swf"
not found but i have those lib files on
"E:in-debugDataProcessors.swf"..
what could be the possible errors.
View 1 Replies
Dec 2, 2011
I have a db file Resided in Flex Air Bindebug Folder,Here i want to Move/save this db File at another location let say In mydocument/or any Folder, I am not able to do it's programatically.
View 2 Replies
Apr 13, 2012
I AM USING AIR FOR ANDROID. I want to get all the jpg's (or Mp3's) in a folder of an external folder ... that will be stored on the users PHONE with included in the APP.
How can I do that from FLASH using Action-script 3?[code]...
View 2 Replies
Apr 6, 2011
Does anyone know of a method or strategy through which a shortcut can be created through Flex for the various platforms? I've been examining the various flash.filesystem.File methods but did not notice anything that seemed noteworthy.
View 1 Replies
Nov 13, 2011
I am trying to develop one simple application using Java, Flex and Blazeds. I am using Flash builder 4.5, blazeds 4 and JBoss 6.I have created 'Dynamic Web' application in Eclipse, added blazeds related file in WEB-INF/lib and in WEB-INF/flex folder. I have deployed this web application in JBoss using Eclipse, so this application is getting deployed in war file.Then I tried to create new 'Flex Project' using flash builder 4.5 and I am stuck in 2nd step where we have to configure Root Folder, Root URL and Context Root.As my java web application is deployed in war, there's no folder to which I can set Root Folder.
View 1 Replies
Oct 27, 2009
I want to use vkontakte's new wrapper feature, that enhances your application abilities by running under SWF wrapper. This is a sample application that uses this mechanism. It uses pure action script to display it's contents rather than an mx:Application.
Using the wrapper on my mx:Application failed due to the following error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers::FocusManager/activate()[C:autobuildgalagaframeworksprojectsframeworksrcmxmanagersFocusManager.as:702]
at mx.managers::SystemManager/activateForm()[C:autobuildgalagaframeworksprojectsframeworksrcmxmanagersSystemManager.as:2493]
at mx.managers::SystemManager/activate()
[Code]...
Unfortunately - it also failed, and the question remains, how to start Application from a simple AS file?
View 2 Replies
Jul 22, 2009
I've got a configuration xml file that I need to parse for values before a flex application loads. I've created a static class that allows for the values in the xml config file to be retrieved. I'm initializing this class when the application first loads but as the xml file is loaded with a Loader class that loads a synchronously the class is being asked for values before the xml file is actually loaded - so it is throwing a error. Is there a way to load this xml file synchronously. We cannot embed the file as a class variable as we need to be able to change the values remotely.
View 5 Replies
Mar 25, 2010
I need to figure out the size of a remote file before I download it.And I know that in local place this can be done as follows
var _filePath:String = "X:/save/abc.exe";
var file:File = new File(_filePath);
if (file.size > 1000)
[code]....
But when I tried a remote file like
var _filePath:String = "http://www.aaa.com/webfile.exe";
It didn't work.And how can I get the size of a remote file before I use
var _downLoadPath:String = "http://www.aaa.com/webfile.exe";
View 2 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
Sep 29, 2009
When I use swfobject (or, for that matter, publish from Flash)...if my HTML file is in the same folder as my Flash .swf (called "bin")...the flash file displays as a blank white page. I can tell the .swf is on the page, because when I right-click I see the flash context menu...however, the swf is blank. So the path isn't written incorrectly.If I move the HTML file inside the "bin" folder and change the path from "bin/myFile.swf" to "myFile.swf" everything works again...what gives?I think it might have something to do with using the Loader class...I am using loaders to loader external .jpeg files. But I don't know what to do about this other than to keep my HTML files in my "bin" folder which is a bit of a pain.
[code]...
View 2 Replies
Jan 6, 2010
what I'm trying to do is make a preloader that will preload about 20 external SWF files before it lets you get to my main file. I want to do this because my main file needs the SWFs to be ready to go once its done loading. I have looked around and i found a few ways to do this with the "if (loadedBytes>=totalBytes)" and the code loops back till the files are done loading... this would be just what i need but i cant seem to get it to work. the file just seems to start loading my files but does not loop and just runs the time-line even once i state what frames i want it to loop.
View 6 Replies
Jul 27, 2009
i have uploaded a simple 1 page website with the flash video sitting outside of the root folder of the site itself. i have pointed the flv playback components to the video and published it and uploaded it but the video does not appear on the pages.
View 1 Replies
Oct 20, 2010
On my PC I cant run swf file from a folder if I click on it as I get an error (no program asscoiated with this ). On my laptop it works fine.Both have flash installed.
View 3 Replies
Aug 3, 2011
I ve got this xml file called "icon.xml" saved in the same folder of my flash file:
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
[code].....
View 3 Replies
Jul 12, 2010
So I've created an xml slideshow using Flash Slideshow maker pro, because its very fast and versatile and I need to update my galleries frequently. I'm trying to load it into my flash site using the following AS3 script:
var Xpos:Number = 20;
var Ypos:Number = 20;
var swf:MovieClip;
[Code]....
and when I do that, it seems to be unable to read the xml file anymore and I get a "load fail" message.
On looking at the error message, its trying to call the xml file from the same folder that the site is saved in. How do i tell it to get the xml file from a different folder?
View 4 Replies
Jun 15, 2009
is it possible to open a folder or file by using AS3?
View 6 Replies
Jul 20, 2011
I usually work with many AS files in the same folder and it is easy to address those files to each other. But I now have a sub folder inside the name folder which stores most of my files; and there is another as file inside that sub folder. How can I change variables of the AS file(inside the sub folder) from the AS files from the main folder and vice verses.
View 1 Replies
Aug 1, 2011
I need to make a Windows application in which, at loading time, I need to play a Flash (.swf) file in WebBrowser. But I can play the Flash file directly from hard disk to WebBrowser control. Here I need to play the .swf file in the Resources folder and load it in WebBrowser control.
View 2 Replies
Feb 25, 2010
I load a swf movie from a folder from my desktop. as i want organize my movie into 1 main root folder(main folder) and smaller folders inside the main folder so i can organize my files .
View 2 Replies
Dec 25, 2010
some games that each one loads it's on data from xml file placed in the same folder with swf. now i want to load these swfs in a main loader swf, but the problem is games try to load xml relative to loader swf location. is it possible to isolate game swfs to prevent this?
View 2 Replies
Nov 24, 2009
i have a script that load pics (named as "1.jpg" "2.jpg" "3.jpg" ...) in a movieclip. to load pic i use a variable
+[i]+.jpg
and so with i++ i load others pics.. but i need a way to restart "i" if there aren't no more pictures...
View 1 Replies
Jul 7, 2004
if the fla.file and the sun.swf is in different folderhe fla.file is in C:Documents and Settingsstudentthe sun.swf is in C:Documents and Settingsstudentexamplewhat should i type on the parameter.i dun understand the file:///
this my script
*************
on (release) {
[code]....
View 3 Replies
Mar 30, 2006
i am using this xml scheme, i wonder if anyone can tell me how to target only the last <file> in each <folder>?
[Code]....
View 2 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
Jul 7, 2004
if the fla.file and the sun.swf is in different folderthe fla.file is in C:Documents and Settingsstudentthe sun.swf is in C:Documents and Settingsstudentexamplewhat should i type on the parameter.i dun understand the file:///
this my script
*************
on (release) {
this.fung_mc.loadMovie("sun.swf");
[code]........
View 3 Replies
Mar 31, 2010
i am trying to create a flash movie for my browser page. i am able to import and export the movie just fine, the problem comes after i export the movie. As long as i leave the flash file in the folder it was created in things work great. If i try to move the folder or rename the folder it stops working. It acts like it cant find the flv file i created the flash with. if i rename or move the folder back where it was created things work fine.
View 2 Replies
Aug 31, 2009
I am creating an autorun exe file. Basically the CD is filled with markering materials. What I need to know is how to get Flash to open a folder on the CD so the viewer can pick from what is in side the folder.
View 4 Replies
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
Aug 17, 2011
I prepared a project and i can published it without any error.Action folder includes actionscript files.But when i decompile the swf file there isn't action folder and actionscript files are missing.
NOTE : On CS4 I didn't face a problem like this and i could see Action folder when i decompile the swf file.
View 6 Replies