Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Loading External SWF In Another Folder


I have a movie (movie1) which needs to open another movie(movie2) which is in a different folder. so what action do i give the button in movie1 to open movie2???

Or

How do i load an external movie in the same folder

Thanks

J




FlashKit > Flash Help > Flash MX
Posted on: 07-22-2005, 07:03 AM


View Complete Forum Thread with Replies

Sponsored Links:

External Loading From Folder
I have a gallery that is set up pulling external images that are name in an Array inside a function - is there a way that i can access a folder for each different gallery that needs to be setup instead of creating several different functions that basically do the same thing?

here is the code i am using now. Any suggestions on this or maybe a better way to go about this entirely



ActionScript Code:
function thumbs () {
    //trace ("thumbs");
   

    picsArray = ["printImages/cffinside.jpg","printImages/cffCover.jpg"];
    var pLength = picsArray.length;
   
    //trace(pLength);
    //trace (picsArray);
   
    loadMovie(picsArray[0],names)
   
    for (var i = 0; i < pLength; i++) {
       
        var names = "prThumb"+i+"_mc";
        var ySpace = 30;
        var xSpace = 30;
        var yScale = 10
        var xScale = 10
       
        var y = i*ySpace
        var x = i*xSpace
       
        intPort_mc.attachMovie("prThumb",names,i);
       
        intPort_mc[names]._y = y;
        intPort_mc[names]._x = x;
        intPort_mc[names]._yscale = yScale
        intPort_mc[names]._xscale = xScale
       
       
        intPort_mc[names].test_txt.text = "go";
        _root.intPort_mc[names].loadMovie(picsArray[i]);
       
        //trace (names);

View Replies !    View Related
Loading External Swfs In Folder...?
Is the coding any different for loading external content if it is in a folder on the server or not? I have 3 files to load externally from the main page, and these 3 are in a folder on the server called "external". Do I have to have code different than:
code: on (release) {
unloadMovie(emptyMC);
loadMovie("swfToLoad.swf", emptyMC);
}

On the buttons?

Please help.

View Replies !    View Related
Loading Sub-folder .swf But Now It Can't Find External Ref Jpgs. HELP
I have an app that "loadmovies" a slideshow.swf in a sub-folder. THis sub-folder also contains an xml file and numbered jpgs.

But when I run the main app, and click on the button to load the sub SWF files, the images do not appear. I assume it is a directory issue.

But if I run the slideshow.swf directly from it's folder, the images appear fine.

I am using the xml_photogallery from this site for the main actionscript, is there something I can change here to point to the jpgs path? (If I add the "subfolder/" in the xml it doesn't seem to help)

Ron R.

View Replies !    View Related
Loading Sub-folder .swf But Now It Can't Find External Ref Jpgs. HELP
I have an app that "loadmovies" a slideshow.swf in a sub-folder. THis sub-folder also contains an xml file and numbered jpgs.

But when I run the main app, and click on the button to load the sub SWF files, the images do not appear. I assume it is a directory issue.

But if I run the slideshow.swf directly from it's folder, the images appear fine.

I am using the xml_photogallery from this site for the main actionscript, is there something I can change here to point to the jpgs path? (If I add the "subfolder/" in the xml it doesn't seem to help)

Ron R.

View Replies !    View Related
Loading Images From An External Folder/Preloaders And Testing Help
Hi,

Just a quick question, haven't looked at Flash for a few years now and am trying to finish off a website for my business that I started but never finished.

I have always had the problem with loading in external images dynamically and getting them to work with a preloader. Now I think my problem is that I never upload the swf to the internet to test and from what I know to test dynamic anything in Flash it must be uploaded to the net?

Now my question is this, as I haven't had anything to do with Flash and its progession for quite some time, has this changed, ie. do I still have to upload my files onto the net to test, or does the new Flash 8.0 let you test it without having to put it on the net (if so I will get Flash 8.0)...

... or is there any software that will test my Flash file without having to put it up on the net everytime.

I am loading images in dynamically into an external SWF, I am using a preloader and a mask for each image.

Also if I do have to load it up onto the net each time I make a change, what is the best procedure. I have to delete my temp net files each time I do the test don't I?

Any advise would be appreciated.

WB

View Replies !    View Related
Simple Question..Loading An External Swf Located In A Sub Folder.
Up till now I've had all my swfs in the same folder, but as my site expands it is getting messy so I'd like to start making sub-folders...

How do you load an external swf in to a main swf, that is locating in a sub directory.

I've tried this as command for loading an swf located in a folder called "fig":

container.loadMovie("fig/pics.swf");

but I keep coming up with errors. I think the answer is some simple dos pathway...but I'm stuck.

One caveat...I would like my main swf to function locally, or I would have just targeted the external swf to a online....OR is this the only way to do it?

Thanks in advance.

View Replies !    View Related
Loading Movies Photos And Music From External Folder
Hi,

~Introduction~
I am making a video player and to make my flash look better and more editable i want to load it from folders inside a folder: MyVideoPlayer(example)->Photos-> and there are all the photos.

~Problem~
I want to load them so their names appear on the list (of videos music or photos) depending on which music, video or photos are oh those different folders.

Thanx for you help
Tell me if you can't understand something!

View Replies !    View Related
Problems Loading External Swfs When The Html File Isn't In The Same Folder
I'm having Problems loading external swfs.

In the main folder where my index file resides, I have online.htm. Online.htm has a flash file (thumbnails.swf) that resides in a folder titled video.

In the video folder, there are swfs that are loaded into thumbnail.swf

If I open up thumbnail.swf by itself, it loads the swfs just fine.

When I had online.htm in the video folder, it worked as well. I am not able to keep the htm file in the folder, it must reside in the root directory because of a secure login I am using.

When online.htm is in the root directory, the thumbnail.swf file shows up, but the buttons stop working.

Here is the code that is on the buttons:


Code:
on (press) {
loadMovie("15.swf","_level1");
}
Like I said, that code works fine when I open up thumbnails.swf by itsself, its broken when I have thumbnails.swf embedded in html and I move the html file outside of the video directory.

I had thought I had a workaround. I had a redirect that was protected by the login, and then it would redirect to the online.htm when it was in the video folder. It sort of worked, but not perfectly.

Is there something I can do to the code to make it work perfectly, or is there no hope for this to work, and I have to find some other login script?

View Replies !    View Related
Loading Movies From A Folder Located In Root Folder?
hello.

I want to organize my root folder on the server better. How would I write the code to load a movie that is located in a folder called slideshow, for example? Basically, how do I target that movie located in root/slideshow/...
I hope you understand.

View Replies !    View Related
External Swf From Different Folder
I can only figure out how to load an external swf into an mc if they are in the same folder. I can do it that way if I have to, but it is an organizational nightmare to have a couple of hundred swfs to sort through. There must be a way to load from a different folder on my site? Using MX.

View Replies !    View Related
Load Jpg From External Folder
How do i call an image from a folder outside of flash into flash and place it into a certain area on the screen with a fade in

I would really appriciate anybodies help

View Replies !    View Related
Positioning Swf From An External Folder.
I am working on a project that requires that I load swf's from various external folders. The problem is that the swf's load to the upper left hand corner of the page (the default in Flash) but this covers the menu and obviously prevents further navigation.

The last thing I tried was

on (release) {

loadMovieNum("demo/load.swf", 50);

load.swf._x = 200;

load.swf._y = 200;

}

attached to the navigation buttons. It failed to change the position.

I will not have control over the fexternal folders as someone else is publishing those. I am just the designer.

View Replies !    View Related
Reading External Folder For .PDF Links
I have built a marketing cd for my work. Everything in it uses static information. However, I have to have one dynamic action. On clicking our "special services" button I need to load in links to .PDF documents located in a folder in the same folder as my flash.

That is to say, I have 10 PDF documents that can be taken in and out of the folder as specified by my boss. When a person opens up the main flash movie and clicks "Special Services" he would like those 10 .PDF documents to have there own links in the main flash.

Does this make sense? If so, is it possible? I have found some stuff in flashkit that comes close, but what I have found doesn't actually help.

Basically, it needs to be simple for them to change out the .PDF documents and have them successfully linked in the flash movie.

thanks in advance
Timech

View Replies !    View Related
Folder Locations Of External Files
Hi folks

Does anyone know if there is a way (actionscripting or whatever) to make the relative location of folders specific to the curently movie clip loaded and not the original (parent)

i.e I want to use a projector file "load.exe"which will load "shape.swf" which in turn uses loadmovieclip to load JPGs (numbered 1-30 from a subfolder called EMB).
I want to duplicate the FLA/SWF, directories and images and utilise the same code, so that it only ever looks in the subdirectory of its location, not the parent "load.exe".
I then just change the images in each subfolder so they will change depending where the "shape.swf" was loaded from. this will allow me to have how ever many subdirectories but still always using the 1 FLA and its code. So far the only way I can achieve this is to load the movie's HTMLfile via HTML, but really want to use the "load.exe" without having to make a new FLA for each subdirectory.

Hope that makes sense...i do waffle on sometimes..

regards

View Replies !    View Related
Online External Movie In Folder
F8 - Things were fine when calling up external movies on my computer during testing when the SWFs were in a folder /images and the main swf 1 folder up.
But when I test online the movies don't load, I did put everything in 1 folder and it works, but would like all the SWFs in a separate folder.

I'm loading into blank mcs and levels like:

loadMovie("movies/C1.swf", "mc_Blank1");

this works locally but not online.


Thanks

View Replies !    View Related
Printing Photos From An External Folder
Hello Everybody,

I have a movie clip in my Stage which contains a photo (or bitmap, or whatever), how can I tell flash to print that photo using the right button of the mouse? The photo can be located in an external folder, or in the library. Actually, which location would be easier?

Cheers,

Eduardo

View Replies !    View Related
Preloading A Folder Of External Images
I have a really annoying slide show that shows pairs of before and after pictures. What I need is to be able to preload a folder of images and then load those images into movieClip holders. I have no idea how to get the images to preload.

To be honest the whole thing is a mess. What I really wanted is a slide show that has pairs of images that fade from before to after. With buttons along the bottom that take you to the next pair of images. AND have all the images loaded in from an XML document. Bonus to anyone who can give me a hint on that one.

Really i would settle how to preload the images while the preloader is going. And then loading the first pair of slides.

Here is the in-progress version. http://www.mediamaxphotography.com/m...com/aerial.php
Attached is the fla.

View Replies !    View Related
Load Pictures From External Folder?
I have a gallery that uses a cool transition effect. My problem is is that the actionscript is built to work with the images included inside the swf. This is bad because if there's too many pictures the swf will become bloated and that's not cool. Therefor I've been trying (and failing) to have this actionscript work but load the images from a external folder (or dynamically as some might say).

and after numerous tries and i can't upload the fla. if you want to take a stab at this i can e-mail the fla.
iwemer@telus.net

sample site is: www.bentforhell.com

View Replies !    View Related
Image Slideshow From External Folder
I realy need only image slideshow of pictures from external folder ?

so anytime i update a image there it will show in flash

-- i dont require any xml or flashvars
-- so user just update images in folder & flash will read from there

any ideas or source where can i get this..

its urgent

regards,
Neeraj

View Replies !    View Related
Show Jpeg From External Folder
I am attempting to show jpegs in my flash piece from an external folder, but for some reason the image is not showing up.

Here is what I have:


ActionScript Code:
var path = "../_images/platform/";
var tyeshia = path+"sr_baracz_1.jpg";
 
function showJPG() {
    //set image position
    image1._x = 73.5;
    image1._y = 20;
    //load image
    image1.loadMovie(tyeshia);
}
this.showJPG();
stop();


The path points to the correct folder and when I test the flash movie, I do not receive an output error.

Do I need to preload the image first? If so, may someone be so kind to show me how I can preload my jpeg?

Thanks

View Replies !    View Related
Search Contents Of External Folder
Hi

I'm loading a whole lot of images from a folder using a loop of loadMovie.

Can anyone tell me if there's a way that i can find out how many images are in my folder BEFORE i load them all?

Thanks

Nick

View Replies !    View Related
Loading From Folder
I have created a sliding thumbnail viewer for a slideshow in flash, however I would like to load the thumbnails from a folder so that when the images in the folder change the flash file is updated.
At the moment I have the thumbnails as buttons contained in a movieclip, allowing me to click the thumbnail to load up the fullsize image in the slideshow. Can I load the images from a folder with this set up?

View Replies !    View Related
[F8] Loading .swf From Sub Folder
I am loading a photo gallery into the main page with this script.
_root.emptyMain.loadMovie("fauxfinishes.swf");

This works fine until I try to load a file from a file other than the root file. Lets call it:

newMovie/gallery1.swf.

How can I call a file from a subFolder?

Thanks

View Replies !    View Related
Loading Swf Which Is Not In The Same Folder?
Hi I have an .exe file with 2 buttons. When a button is pressed I want it to load another .swf file. But this .swf is not kept in the same folder. I think i need to add '' or '/' . At present I have

on (release) {
loadMovie("DIY.swf", "blank");
}
But it won't work as DIY.swf is kept in the folder called game1

Can this work? Can i make it open a swf file which is not in the same folder?
Cheer
Lesley

View Replies !    View Related
Loading Swf Which Is Not In The Same Folder?
Hi I have an .exe file with 2 buttons. When a button is pressed I want it to load another .swf file. But this .swf is not kept in the same folder. I think i need to add '' or '/' . At present I have

on (release) {
loadMovie("DIY.swf", "blank");
}
But it won't work as DIY.swf is kept in the folder called game1

Can this work? Can i make it open a swf file which is not in the same folder?
Cheer
Lesley

View Replies !    View Related
Using External Text File Outside The Movie Folder
is it possiblw to use an external text file from somwhere else on the server.. I can't seem to get it to work, it will only let me include a file that is in the same folder as the SWF file... HELP!!!!!!!!

View Replies !    View Related
Load Images In To Flash Through An External Folder
Hi i'm really stuck in this pls help me out......
is there a possibility where i can load external images which are there in a folder in to flash and run as a loop with a time break.

pls let me know the cording or what ever the possible way to get this thing done.

Thanks
pls mail me if possible --- dimuth@jkcs.slt.lk

Dimuth

View Replies !    View Related
I Want My Flash Doc. To Upload An Image From An External Folder...
Basically, I want to be able to have a folder with images named 1-9. And my flash document to load them in the blank picture spaces I have set, so I can simply just upload new photos to that folder rather than edit the photos in the actual macromedia flash program.
Any suggestions?
I want to do this because I want to make a photo web site with 1000's of pictures, with the easy of just highlighting a large group and dragging them in a folder where flash will pull them from.

View Replies !    View Related
External Load ALL Fies In A Folder (no List)
Hi,
I am having this folder (samples) having many SWF files inside it that I would like to load externally from main.swf. Those SWF files will not always be the same, some might get added, some deleted OUTSIDE main.swf

main.swf -|- ..
|- samples

I have 2 questions:

1) How can I build a list of all file names in folder 'samples'? I am not aware of a Flash function that can scan a folder and return existing file names inside.

2) Is it possible to have movies with transparency when loaded externally? Because I don't know how to create a Flash movie with no background (equivalent to Photoshop's New/Transparent background)

I am counting on your help. Thanks.

View Replies !    View Related
Loading Images From A Folder
I want to have a folder with images labeled 1 through 10 lets say. I want to be able to load the first image and then when someone clicks on the next image button the next image would be loaded. This way I can change the images in the folder and never have to change the flash file.

How can I...
-->have one day 10 images in this folder and the next day 20?
-->use the same movie click that when someone clicks on the next button the current picture would change alpha to zero and the next picture would alpha from zero to 100.

Thanks in advance.

Flash Ghost

View Replies !    View Related
Loading Images From A Folder
am using Flash MX ....

creating a slide show & want a script 2 load images dynamically from a folder .... with next & previous button 2 cahnge those images ...

can any1 provide me the script ?

View Replies !    View Related
Loading All Files In A Folder
How would you load all the files in a folder into as3 without knowing the specific names? I plan to load a bunch of xml files but the names will not be in order.

View Replies !    View Related
Loading Images From A Folder
Hi Guys,

I'm putting together a photo type flipper, similar to the image file browser in the new Mac operating system. I haven't decided whether to have the images load via XML or directly code the image names into the actionscript using loadMovie.
What I"m wondering is whether the loading the images via XML will slow the animation down compared to directly coding the image names into the AS.
Note: This will be run locally (not on the web).

Thank, Wayne

View Replies !    View Related
Loading Images From Folder
Hello everyone. After some fantastic help from bloodstyle I'm happily making and using arrays. Here is a clipping of code from one such file.

However, the next phase is to load a series of images in a folder into the array instead of replicating a movieClip 70 times. Could anyone point me in the right direction?

Regards, A.


ActionScript Code:
import caurina.transitions.*;
import flash.display.*;
import flash.events.*;

var topArray:Array = new Array();
var botArray:Array = new Array();

for(var j:int=0;j<35;j++) {
    var mcTop:topButton = new topButton;
        mcTop.x = j*mcTop.width / 2.8 + 75;
            mcTop.y = 450;
            mcTop.scaleX = 0.3;
            mcTop.scaleY = 0.3;
                mcTop.addEventListener(MouseEvent.MOUSE_OVER, topReveal);
                    mcTop.addEventListener(MouseEvent.MOUSE_OUT, topHide);
                        addChild(mcTop);
                           
// if you want them in an array just push them in
                        topArray.push(mcTop);
                   
                   
}

function topReveal (event:MouseEvent):void {
         Tweener.addTween (event.currentTarget, {y:450, scaleX:1, scaleY:1, time:0.2,  transition:"easeInOutQuad"});
}

function topHide (event:MouseEvent):void {
         Tweener.addTween (event.currentTarget, {y:450, scaleX:0.3, scaleY:0.3, time:1,  transition:"easeInOutQuad"});
}

View Replies !    View Related
Loading Images From Folder
Hello, I have this script(below) that loads my thumbs into a container and It works no problem. But each image has to be made into a movieclip and stored in the library. I've tried to figure out how to load the thumbs from a folder in the same folder as my fla but failed every time. Does anyone have suggestions?


ActionScript Code:
this.createEmptyMovieClip("container", 1);
var imagesNumber:Number = 9;
for (i=1; i<=imagesNumber; i++) {
container.attachMovie("thumb"+i,"thumb"+i+"_mc",i);
myThumb_mc = container["thumb"+i+"_mc"];
myThumb_mc._x = (i-1)*myThumb_mc._width;
myThumb_mc._y = (Stage.height-myThumb_mc._height)/2

View Replies !    View Related
Re .Loading .swfs From A Folder
I am trying to use Load Movie and LoadMovieNum to load some .swfs
into a new .swf.But as the .swfs that are being loaded are part of an array
I am trying to set up a structure whereby you have a single folder that contains all of the .swfs that need to be loaded into the movie and what I am looking for is a simple script which can access this folder and load all of the movies that are in it ,into the main time line or into an EmptyMovieClip.
The folder name that contains these .swfs should be called "swf_files".
The script that I am looking for should be able to access "swf_files" and load everything that is in it into the new clip.I do not want to use a .txt file and do not want to use xml but only to use actionscript to acheive this so that
it could all be contained in one script.Does anyone know if this is possible to acheive and can anyone help me
Goof

View Replies !    View Related
Loading Thumbnails From Folder
I have created a sliding thumbnail viewer for a slideshow in flash, however I would like to load the thumbnails from a folder so that when the images in the folder change the flash file is updated.
At the moment I have the thumbnails as buttons contained in a movieclip, allowing me to click the thumbnail to load up the fullsize image in the slideshow. Can I load the images from a folder with this set up?
I would have uploaded the file for you to see, but its too big so the forum won't let me.

View Replies !    View Related
Loading Images From Folder, XML
Instead of plugging the paths to each individual jpg or gif into the XML.

How would I get flash to load every jpg within a folder without considering the technical stuff.

View Replies !    View Related
Loading Thumbnails From Folder
I have created a sliding thumbnail viewer for a slideshow in flash, however I would like to load the thumbnails from a folder so that when the images in the folder change the flash file is updated.
At the moment I have the thumbnails as buttons contained in a movieclip, allowing me to click the thumbnail to load up the fullsize image in the slideshow. Can I load the images from a folder with this set up?
I would have uploaded the file for you to see, but its too big so the forum won't let me.

View Replies !    View Related
Loading MP3's Randomly From A Folder
Hello,

OK, I have, let's say, 5 MP3 files resting in a folder on my server /mp3. Now, using a media player I have setup in flash, I would like at least the first song to be picked randomly upon entrance to the site. I would also like it to have the standards:

-- play after 20% loading complete
-- volume slider - know how to do this
-- stop & NEXT buttons - know how to do the stop, but what about the
NEXT?

I didn't find any information on how to do this, so I had to post! Please help!

View Replies !    View Related
External Actionscript Folder Issue Via Edit>preferences>...
Hello. So I've downloaded the Flash CS4 Trial while I wait for my boss to by me the serial, and I have to go into an old banner that I used mc_tween2.as to create. I store my external actionscript like this and caurina in a folder on my desktop named actionscript.
So, to link up I go to edit>preferences>actionscript> Language>Actionscript 2.0 Settings and create new Classpath that leads to this folder. Sounds right, no?
But when I publish, flash can't find mc_tween2.as! It works fine if I put mc_tween2.as in the same folder as the project, so I know it's not following the path correctly, or I'm not understanding what I'm doing, even though it worked fine in CS3.
Anyone?
Thanks, Jason.

View Replies !    View Related
Loading Images Dynamically From Folder
Hi guys,
I need to know how to load images into a Flash MX file dynamically. The images are in a folder and they are updated with new images periodically...
Can anyone please help me out ?

Thanks and Regards
Sudhindra

View Replies !    View Related
Swf Not Loading Xml File When Accessed From Other Folder
Hi there - I have an swf that loads in an swf banner and an xml file and produces a menu.

On that menu, when you click a link, another html page loads in a subfolder with the same swf embedded (Using ../ as the src), but a PARAM tells the swf to look at the next level down in the xml to produce another menu.

If the html files are all on the same folder level, the swf works fine. But as soon as the browser jumps into a subfolder and the next html file tries to access the swf, the swf loads, but does not load in the swf banner nor the xml file.

As this xml file is quite large, I want to organise all of the html files into seperate folders but still have them all reference the one primary swf at the folder root, otherwise the idea of having one swf do everything is pointless.

Please help!

regards

frank

View Replies !    View Related
Dynamic Loading Of All Images In A Folder
------Flash MX 2004 Pro------
Is there a simple(?) way to auto- and dynamicaly load all images in a specific folder with, for example, your holliday images. My images names are auto generated by my digital camera and looks like this:

IMG_0134.JPG
IMG_0135.JPG
IMG_0142.JPG
IMG_0144.JPG

The best thing would be if some code could load all images in a folder irrespective of the file names (my_image_1a.jpg, myCat.jpg, IMG_0134.jpg, IMG_04.jpg etc.)

Please help me. I don't want to manualy write a long list, xml or similar

Thanx

View Replies !    View Related
Loading Random Images From A Folder
Hi All,

I have a little Flash header and each time it loads I want it to load one of six images randomly, onto the stage as a background... The images will be sitting in a folder in the same directory as the Flash file so they can easily be updated, anyone ever done this? Some opinions would be much appreciated!

View Replies !    View Related
Loading Multiple Files From A Folder
here again,
i m designing a flash AS3 MP3 player. almost done just stuck in exporting content from a whole folder. i know its not simply possible to explore folders in flash but if its possible with some other cheats or migthbe with ADOBE AIR. As far as possible i m goin to make it web Based and last choice is to make a desktop application. so ADOBE AIR is a second choice but still if u know doin it in AIR then i would be extremely grateful.

better if u show me some way that would work in SWF and not require any backend like PHP....
i dont know PHP and have no interest in learning it.

thanks in advance...

View Replies !    View Related
Loading The Amount Of Items In Folder?
Lets say I specify a folder, "/Pictures" - is there anyway for flash to return a value of all the items (which will be only .jpgs) in this folder?

View Replies !    View Related
Loading Random Images From A Folder
Hi All,

I have a little Flash header and each time it loads I want it to load one of six images randomly, onto the stage as a background... The images will be sitting in a folder in the same directory as the Flash file so they can easily be updated, anyone ever done this? Some opinions would be much appreciated!

View Replies !    View Related
Loading Random Images From A Folder
Hi All,

I have a little Flash header and each time it loads I want it to load one of six images randomly, onto the stage as a background... The images will be sitting in a folder in the same directory as the Flash file so they can easily be updated, anyone ever done this? Some opinions would be much appreciated!

View Replies !    View Related
Loading Random Images From A Folder
Hi All,

I have a little Flash header and each time it loads I want it to load one of six images randomly, onto the stage as a background... The images will be sitting in a folder in the same directory as the Flash file so they can easily be updated, anyone ever done this? Some opinions would be much appreciated!

View Replies !    View Related
Loading All JPGs In A Folder W/o Knowing Their Names
Greetings All.
I'm making a gallery, and am trying to load all of the .jpgs in a specified folder into their own blank mcs using loadMovie()... but don't know if there is a way to do it w/o knowing their names...

obviously if i named them 1.jpg, 2.jpg, 3.jpg, etc... i could do a for() statement then put loadMovie(n+'.jpg', etc...) in there... but i don't want to have to rename all of the jpgs all of the time...

is there a way i can easily load them all into their own mcs (which i'm dynamically creating at runtime, without knowing their names? The respective folders will only contain .jpg images...

TIA.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved