ActionScript 3.0 :: Can't Run Swf File From A Folder
Oct 20, 2010On 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 RepliesOn 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 Repliesi 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.
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]...
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 RepliesCan I do this in AS3?
(1) add the caurina folder to the folder
(2) add Thumbnail.as to the folder
(3) add
[Code]....
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]...
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 RepliesI 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].....
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?
is it possible to open a folder or file by using AS3?
View 6 RepliesI 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 RepliesI 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 RepliesI 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 Repliessome 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 Repliesi 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...
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]....
i am using this xml scheme, i wonder if anyone can tell me how to target only the last <file> in each <folder>?
[Code]....
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");
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]........
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 RepliesI 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 RepliesIm 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].....
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.
I'm looking for an easy to use (free) "module" that can upload multiple files / folders.
It must:
Support image files
be user-friendly
be customizable
It may be written in:
RoR (Ruby On Rails)
Java
Flash
I have an image slideshow program working right now and it takes in a folder of a hard coded in number of images. I would like to change this so that it can take in a folder and will display all of them no matter the number. Is there a way to do this in flash? I'm thinking something like the foreach loop in perl or other scripting language. It is possible to store then number of images in a text file but I also don't know how to read that in flash either. I'm working in actionscript 3.
View 2 RepliesDoes 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 RepliesI try to open pdfs or folders (in finder/explorer) triggered by a mouse click in an swf application running in flash player. opening a pdf via urlRequest and navigateToUrl() always opens the browser.
I read about this solution with fscommand: http://www.artfans.info/open-pdf-file-from-flash-using-fscommand/
seems then we had to write shell scripts for mac and pc...? doesnīt sound perfect. the swf is executed on cd rom. so i think we canīt use an air application and the classes of the air framework (File
I have a swf and i want to click a button and for it to open a "save as" box (or something similar) and save a designated file to a location of my choice.
Basically it would be creating a copy of this file to a new location.
I am trying to detect whether a movie has been loaded properly via the "loadMovie" method. Another option is somehow getting a boolean value telling me whether or not a file exists in a specific folder... or whether a url exists. Basically, I want to be able to know whether or not a client has added a photo to the gallery folder on the server.
View 0 Repliesi 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