ActionScript 2.0 :: LoadMovie .swf From Another Folder?

Dec 4, 2009

I'm having a problem loading a external.swf from another folder outside of my main.swf. This external.swf is being loaded into a empty.swf movie clip. It works when the external.swf and the main.swf are in the same folder, but when i place the external.swf into a images/folder and change the action toloadMovie ("images/external.swf", "main"); it no longer works. Did i target it wrong?

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Possible Loadmovie From A Folder Within The Main Folder?

May 29, 2009

Is it possible to loadMovie into the main movie when the swf is not located in the same folder that the main swf is locatedThis is the script that works when I am loading the swf from the same folder as the main swf,

this.createEmptyMovieClip("empty_mc", 1);
empty_mc.loadMovie("pageflip_loader.swf");this.cre ateEmptyMovieClip("empty_mc", 1);
empty_mc.loadMovie("pageflip_loader.swf");

[code].....

View 3 Replies

ActionScript 3.0 :: Add The Caurina Folder To The Folder - Thumbnail.as To The Folder

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

Flash :: Professional - If Try To Move The Folder Or Rename The Folder Movie Stops Working

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

Flex :: Flash Loader Demands Library Files In Folder Other Than Folder Where Main Project File Is?

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

Get Flash To Open A Folder On The CD So The Viewer Can Pick From What Is In Side The Folder?

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

Actionscript 3 :: List Folder Contents - Get File Names In Folder?

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

Flex :: Copy DB File From AIR Bindebug Folder To Any Folder Programatically?

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

Professional :: Make Path From Images Folder To Swf Folder?

Apr 28, 2010

I am using Flash CS3 and Actionscript 2.0.I want to make a photo.jpg that is in my images folder load into a swf that is in a swf folder. It works fine when I have the photo.jpg in the same folder as the swf. But it does not work when I have the photo.jpg in a different folder. What must I do to the AS2 to make this happen? Here is the path: mcLoader.loadClip("swf/images/photo1.jpg",mcHolder);

View 11 Replies

ActionScript 3.0 :: Import Class From Folder Outside Root Folder?

Sep 26, 2009

How do I import a class that resides outside the root folder of a fla file?

From root I should go back two folders to get the classes I want, which by the way is TweenMax. I don't want to copy these classes to every website's folder.

View 5 Replies

ActionScript 3.0 :: XML Variable - Get The Folder Name (xml.folder.@name) Based On The Imagem Variable Content With The Command

Sep 13, 2009

I have a xml variable with:

[Code]...

I'm trying to get the folder name (xml.folder.@name) based on the imagem variable content with the command: example: folderfile = beach.jpg (dir should be vacation) Quote: dir = xml.folder.(xml.folder.files.imagem == folderfile).@name;

View 3 Replies

Media Server :: Create Streamsdefinst Folder And Media Folder?

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

Get Page To Load When It Is In Another Folder?

Dec 30, 2010

.My index page is in the folder"New web site".I have a flash button on my index page with the address of on (release)

{
getURL("F:New web siteAdobe Web Gallerygallery.html", "_top");
}

dosen't work.How do I get the gallery page to load when its in another folder?

View 2 Replies

Does Flv Have To Be In Same Root Folder As Swf File

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

Changing The Depth Of A Folder?

Nov 13, 2009

I have a movie clip that has about 20 layers that make up four different groups. (Five of the layers work together)Any one of the four groups has to come to the front of the others at any time.Is there an easiesh way to swap depths of these groups?EG. Can you swap a folders depth for example?

View 1 Replies

ActionScript 3.0 :: Can't Run Swf File From A Folder

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

Flash :: Swf - Add A Folder Of Pictures To App?

Jun 21, 2011

I have a flash app (deployed as Air or regular app for iOS) which displays pictures.

It has to work offline, so I need to bundle my pictures with the flash app. I wrote a script to download all pics from my server to a specific folder before deploying the flash app. Currently, I remove all existing pictures from the FLA and add the new ones, but I was wondering whether there is a way to define a system folder for flash and it will take whatever exists there during the deployment process?

So basically all I'll have to do will be to run my script (to update the folder with the new pics) and recompile the FLA.

View 1 Replies

ActionScript 2.0 :: Can SWF 'get' Name Of Folder It Is Contained In?

Dec 13, 2006

Is it possible for an SWF to detect the name of the folder that it resides in at runtime? And then pass that folder name as a variable to a function? If this is possible, would someone point me in the right direction as to how to do it?

View 8 Replies

ActionScript 3.0 :: Loading SWF From Different Folder?

Sep 14, 2009

Trying to load a swf from a different folder. I think I'm botching the syntax somehow.

Main fla Path
DH/WEBSITE/DH_MAIN.swf
Imported swf Path
DH/GALLERY/DH_GALLERY.swf
Getting Error: Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

ActionScript Code:

var file:URLRequest = new URLRequest("../GALLERY/DH_GALLERY.swf");
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, fileLoaded);
loader.load(file);

[code]....

View 8 Replies

ActionScript 3.0 :: Specifying Source Folder Instead Of Specifying RSL?

Oct 30, 2011

What would be the differenceif instead of ,=> specifying a bunch of code, present at a separate location of my hard-disk as RSL ( runtime shared library),=> I specify it just as another source folder

View 7 Replies

Generate Swf From A Folder Of Images?

Jul 1, 2009

I have a slight issue generating a swf using the flash IDE. I can import c300 images via the 'Import To Stage' option but then the program crashes and dies as it runs out of memory.

Is there a way to create a swf by reading a folder of images? PHP is a possibility but the swf capabilities are limited.

View 1 Replies

ActionScript 2.0 :: Get Files From Folder?

Sep 29, 2006

I'm making a desktop application and I need to get all of the file from in certain folder. Is this possible in AS? IE, I need to get the name of and import every file in the folder C://documents and settings/my pics.

View 1 Replies

ActionScript 2.0 :: Load A Swf From A Folder?

Nov 3, 2006

Is there a way to load up an external swf from a folder that the parent is not in?

View 3 Replies

ActionScript 2.0 :: Classes In The First Run Folder?

Nov 5, 2007

I made a folder structure in my First Run/Classes folder, /com/myclasses/

within that folder I have my Pulse.as class.

so the final path is First Run/Classes/com/myclasses/Pulse.as

but when trying to import it, i get the following:

The class being compiled, 'Pulse', does not match the class that was imported

i'm importing the class with import com.myclasses.Pulse;

View 2 Replies

ActionScript 2.0 :: Loading Swf's From Another Folder?

Nov 29, 2009

Start.swf has nothing in it but this AS in second frame: oadMovieNum("Resources/Game.swf",;In the folder "Resources" are all my swf movies including "Game.swf", which opens fine from the AS above.However, when clicking on a button in the Game.swf to open another swf, none of the other swfs open. All the other swfs are also in the Resources folder.Here's the code for one of the buttons in the Game.swf:

on (release) {
loadMovieNum("Menu.swf", 0);
}

[code]....

View 8 Replies

Flash (with Xml Images) Loads Only From Within Folder?

Apr 25, 2009

I'm not sure what's going on...basically, I have a flash file that loads images from a xml file and this works fine without any problems. But when I try to load the swf file into html, the images only load if the html file is in the same folder as the swf.I'm not sure if this is related to a problem with the xml link in the swf file or something else... this is how the xml is being called from the swf:

Code:
xmlData = new XML();
xmlData.ignoreWhite = true;

[code]....

View 1 Replies

ActionScript 3.0 :: Linked Folder Between Two Projects?

Jul 27, 2009

currently using flex builder 3. I am having trouble setting up linked folders between 2 of my projects.Basically I have a project for a Map Editor, and a project for the Tile Game. I want to share the map folder between the two projects but I keep getting package errors and I don't know how I should nest the folders/projects or where to put the maps or how to import classes from these linked folders.The project folders are currently arranged like this....Flex/Game...Flex/MapEditora maps folder needs to be shared between the two projects

View 1 Replies

ActionScript 3.0 :: Import Class From Another Folder?

Nov 9, 2009

i am using FlashDevelop and have created a project called NavBar.I have created a few folders,1 of which is called app which contains another called gui but within this has a document class called NavigationBar.as.Now,i've created a Main.as file which resides undeaneath the src folder and what i am trying to do is import the NavigationBar.as in my Main.as file. However, every time i type app and do the'.'and press enter i get,flash. system.ApplicationDomain.,how can i make AS aware of my class file, Navigati
onBar.as in app > gui > NavigationBar.as and any document class file for that matter?

1 other thing is that in my Navigationbar.as file i did the following..
package app.gui
{
// rest of code skipt
}

but when i build it i get the following error: C:UsersvistaDocumentsFlashDevelopProjectsNavB arappguiNavigationBar.as: Error: A file found in a source-path must have the same package structure '', as the definition's package, 'app.gui'.how can i also sort this out?

View 8 Replies

ActionScript 3.0 :: Preloader For Multiple SWF In Every Folder

Dec 12, 2009

I have 5 page to load and I want them to load all at the same time. The address (not real) of the pages could be: [URL]s. In each folder, there's a index.html that have a swf called main.swf in it. So for example, if someone writes [URL] I want a preloader to start and load the 5 main.swf in the 5 folders and when it's done, it should play the main.swf of the address written (in this example contact).

So in this example I imagine I would have a preloader.swf in every folder, since I want to be sure that the user will preload the entire website whatever the way he uses to enter it (from index-from sitemap-from direct address or bookmark). And my last concern is that I want to be sure that once the loading (for all the pages) have been executed, when the user enters the other pages they won't see the preloader or it will take less than 1 sec to go trough it.

View 1 Replies

ActionScript 3.0 :: Detect How Many Elements In A Folder

Apr 30, 2010

knows the AS o the code to detect "how many elements are in a folder"?I made a great photo gallery with a two buttons next and prev, and a preloaded photo. It works fine but i want to optimisize this script...

I fixe the number of photos present in my folder manualy for exemple 15. When pushing next button my var increase +1 , and when my var=15 then i put it in var=1 to start again from the begining.I would like my script detect automaticly how many photos are in my folder, in my case: 15...

View 3 Replies







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