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




[FLASH 8] Image Loaders In Loaded Movies



Hello. Long time listener, first time caller... Got a site in development at: http://www.anman.net/tpi/tpi_flash_site2.html (p.s. it wasn't my idea to have an intro movie...) Anyway, if you click on "events&entertainment" a new movie is loaded on lvl 53. It's a thumbnailed image gallery that loads external images into an empty movie clip. Works great! The progressBar shows the proper info and disappears when the image is loaded. That's not the problem. Now, click on "corporatecommunications". It loads a movie in lvl 54, unloads lvl 53 - the gallery is the same code, but it doesn't work!!!! It's driving me up the wall. Reload the site and click on "corporatecommunications". Works great! Now, click "events&entertainment". Doesn't work! Here is the code for the "events&entertainment" movie gallery functionality. The "corporatecommunications" galley uses the same code, but replaces the "ee" with "cc" in the variable, functions, etc... If you look at the swf's individually, they work fine! http://www.anman.net/tpi/tpi_cc2.swfhttp://www.anman.net/tpi/tpi_eande2.swfhttp://www.anman.net/tpi/tpi_au.swf
Code:
// Create a variable to hold the image location information var imageNowee:String;imageNowee = "images/toby06a.jpg"; // Function to make sure 'iHoldee' (the empty movie clip) is sized properly iHoldee.loadMovie("images/toby06a.jpg"); // Load initial image into 'iHoldee' iHoldee.loadMovie("images/toby06a.jpg"); //----------------------------------------------------------------- /*Each button contains a function. This is one of them. The rest are the same except for the image name. The function checks to see if the current image is the same one as the button calls for. It does this via the 'imageNowee' variable. If it is different, the progressBar 'pBaree' is set to polled and visible and the image is loaded. Then the variable 'imageNowee' variable is set. */ eePicGrid.butnA.onRelease = function() { if (imageNowee != "images/toby06a.jpg") { iHoldeeSize(); pBaree.mode = "polled"; pBaree._visible = true; iHoldee.loadMovie("images/toby06a.jpg"); imageNowee = "images/toby06a.jpg"; }}; //----------------------------------------------------------------- /* Event listener stuff I'm not terribly familiar with. Basically as I understand it, this checks the progressBar to see if an image is finished loading, sets the progressBar to 0, and makes it invisible. */pBareeListener = new Object();pBareeListener = function (eeeventObject) { pBaree.mode = "manual"; pBaree.setProgress(0, 100); pBaree._visible = false; iHoldeeSize();};pBaree.addEventListener("complete", pBareeListener);stop();
<Any help would be... ...helpful. thanks!



KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 01-12-2007, 05:18 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Scrollers And Image Loaders (Flash MX)
good day to you all,

i have been stuck on a problem for a couple of days, which is as follows.

I am trying to use an Non-Button Scroller(as used in Adam Lems example on this site) in conjuction with the load images sample that comes with MX. I want the scroller images to be used as buttons to select the image in the loader. I have tried every piece of code i know to get the buttons (thumnails) in the scroller to change the images in the main loader.Could anyone tell me whether this idea is possable and how i might go about it.

Thanks for any ideas.

Problems With Flash Image Loaders
I was interested in seeing if anyone could help me with a problem I have with a flash image loader.

I am using flash to display news information for a sporting club through the use of xml. Now attached in the xml file is a link to an external image (located somewhere on the web - the entire URL is present) which I have used an image loader to load it into. These images (which are 348*196 pixels normally) are reduced to a smaller size by the image loader (90*51.9 pixels), and then when the button above it is clicked, the image is then loaded into a larger image loader at its original size. I have 6 of these smaller image loaders, each with a different picture.

Now occasionally (and more frequently on the user end) some of the images for the smaller image loader's are not reduced, and appear as their normal large size and tend to sit on top of one another. However, when the page is refreshed, no problems occur, and all the images appear as they should.

The scaleContent parameter of the image loader is set to true so i have no idea of why this is happening. Would it be to do with the loading of the images into the flash file, or is it something to do with how I am doing it.

Are you able to help?

Below is the code to print the information to the flash file. If you are able to help i would really appreciate this. I am able to provide more information if necessary.


function printdata() {
//news_details[i][0] - article id
//news_details[i][1] - article title
//news_details[i][2] - article newsDesc
//news_details[i][3] - article image
//news_details[i][4] - article link

_root.imgLoaderArt1.contentPath=news_details[0][3]; //image news article 1
//imgLoaderArt1.load();
_root.imgLoaderArt2.contentPath=news_details[1][3]; //image news article 2
//imgLoaderArt2.load();
_root.imgLoaderArt3.contentPath=news_details[2][3]; //image news article 3
//imgLoaderArt3.load();
_root.imgLoaderArt4.contentPath=news_details[3][3]; //image news article 4
//imgLoaderArt4.load();
_root.imgLoaderArt5.contentPath=news_details[4][3]; //image news article 5
//imgLoaderArt5.load();
_root.imgLoaderArt6.contentPath=news_details[5][3]; //image news article 6
//imgLoaderArt6.load();

news_1_title.text=news_details[0][1]; //news article 1 title
news_2_title.text=news_details[1][1]; //news article 2 title
news_3_title.text=news_details[2][1]; //news article 3 title
news_4_title.text=news_details[3][1]; //news article 4 title
news_5_title.text=news_details[4][1]; //news article 5 title
news_6_title.text=news_details[5][1]; //news article 6 title

news_1_desc=news_details[0][2]; //news article 1 newsDesc
news_2_desc=news_details[1][2]; //news article 2 newsDesc
news_3_desc=news_details[2][2]; //news article 3 newsDesc
news_4_desc=news_details[3][2]; //news article 4 newsDesc
news_5_desc=news_details[4][2]; //news article 5 newsDesc
news_6_desc=news_details[5][2]; //news article 6 newsDesc

news_1_link=news_details[0][4]; //news article 1 link
news_2_link=news_details[1][4]; //news article 2 link
news_3_link=news_details[2][4]; //news article 3 link
news_4_link=news_details[3][4]; //news article 4 link
news_5_link=news_details[4][4]; //news article 5 link
news_6_link=news_details[5][4]; //news article 6 link

article_Title.text=news_1_title.text;
article_Description.text=news_1_desc;
_root.imgLoaderMain.contentPath=imgLoaderArt1.cont entPath;
newsButtMainURL=news_1_link;
}

[MX04] Problems With Flash Image Loaders
I was interested in seeing if anyone could help me with a problem I have with a flash image loader.

I am using flash to display news information for a sporting club through the use of xml. Now attached in the xml file is a link to an external image (located somewhere on the web - the entire URL is present) which I have used an image loader to load it into. These images (which are 348*196 pixels normally) are reduced to a smaller size by the image loader (90*51.9 pixels), and then when the button above it is clicked, the image is then loaded into a larger image loader at its original size. I have 6 of these smaller image loaders, each with a different picture.

Now occasionally (and more frequently on the user end) some of the images for the smaller image loader's are not reduced, and appear as their normal large size and tend to sit on top of one another. However, when the page is refreshed, no problems occur, and all the images appear as they should.

The scaleContent parameter of the image loader is set to true so i have no idea of why this is happening. Would it be to do with the loading of the images into the flash file, or is it something to do with how I am doing it.

Are you able to help?

Below is the code to print the information to the flash file. If you are able to help i would really appreciate this. I am able to provide more information if necessary.


function printdata() {
//news_details[i][0] - article id
//news_details[i][1] - article title
//news_details[i][2] - article newsDesc
//news_details[i][3] - article image
//news_details[i][4] - article link

_root.imgLoaderArt1.contentPath=news_details[0][3]; //image news article 1
//imgLoaderArt1.load();
_root.imgLoaderArt2.contentPath=news_details[1][3]; //image news article 2
//imgLoaderArt2.load();
_root.imgLoaderArt3.contentPath=news_details[2][3]; //image news article 3
//imgLoaderArt3.load();
_root.imgLoaderArt4.contentPath=news_details[3][3]; //image news article 4
//imgLoaderArt4.load();
_root.imgLoaderArt5.contentPath=news_details[4][3]; //image news article 5
//imgLoaderArt5.load();
_root.imgLoaderArt6.contentPath=news_details[5][3]; //image news article 6
//imgLoaderArt6.load();

news_1_title.text=news_details[0][1]; //news article 1 title
news_2_title.text=news_details[1][1]; //news article 2 title
news_3_title.text=news_details[2][1]; //news article 3 title
news_4_title.text=news_details[3][1]; //news article 4 title
news_5_title.text=news_details[4][1]; //news article 5 title
news_6_title.text=news_details[5][1]; //news article 6 title

news_1_desc=news_details[0][2]; //news article 1 newsDesc
news_2_desc=news_details[1][2]; //news article 2 newsDesc
news_3_desc=news_details[2][2]; //news article 3 newsDesc
news_4_desc=news_details[3][2]; //news article 4 newsDesc
news_5_desc=news_details[4][2]; //news article 5 newsDesc
news_6_desc=news_details[5][2]; //news article 6 newsDesc

news_1_link=news_details[0][4]; //news article 1 link
news_2_link=news_details[1][4]; //news article 2 link
news_3_link=news_details[2][4]; //news article 3 link
news_4_link=news_details[3][4]; //news article 4 link
news_5_link=news_details[4][4]; //news article 5 link
news_6_link=news_details[5][4]; //news article 6 link

article_Title.text=news_1_title.text;
article_Description.text=news_1_desc;
_root.imgLoaderMain.contentPath=imgLoaderArt1.cont entPath;
newsButtMainURL=news_1_link;
}

Duplicate Loaded 'JPEG Movies': No Image Replication?
Hi! My script to create duplication of movies (that are jpgs loaded) was supposed to work, but it seems that
flash doesn't like me :
I was thinking of doing (something like):

Code:
_root.createEmptyMovieClip("x", 1);
_root.x.createEmptyMovieClip("x", 1);
_root.x.x.loadMovie("x.jpg");
then, a few frames later (to assure the load)

Code:
stop();
_root.x.duplicateMovieClip("x2", 100);
_root.x2._x = 400;
_root.x2._y = 400;
but it doesn't duplicate the image : if we

Code:
trace(_root.x2);
it's there, but

Code:
trace(_root.x2._width)
traces 0 : Did anyone already done this? Or know how to?

Thanks!
Leo Lima

[F8] Getting Total Percent Loaded From Multiple Loaders
Hi. I'm trying to get a total percent loaded from multiple loader components. For example, I have 17 loaders that make up a ceiling. When I call a function each space's contentPath is changed and they all start loading the new content. The percent I'm trying to get expressed in my pseudo equation: (All17Loaders.getBytesLoaded/All17Loaders.getBytesTotal). I want the percent of the ceiling that is loaded. Ok, clear enough

I am currently getting the percent just the way I said, dividing the bytes loaded of all loaders by the the total bytes of all the loaders. This is messy, and doesn't work well. What's the best way to do this? Maybe using some kind of listener? Any input is appreciated, I just need a bump in the right direction. Thanks in advance!

My ugly code:

Code:
onEnterFrame = function(){
previewTotal = (previewWindow.a1.getBytesTotal()+previewWindow.a2.getBytesTotal()+previewWindow.a3.getBytesTotal()+previewWindow.a4.getBytesTotal()+previewWindow.a5.getBytesTotal()+previewWindow.b1.getBytesTotal()+previewWindow.b2.getBytesTotal()+previewWindow.b3.getBytesTotal()+previewWindow.b4.getBytesTotal()+previewWindow.b5.getBytesTotal()+previewWindow.c1.getBytesTotal()+previewWindow.c2.getBytesTotal()+previewWindow.c3.getBytesTotal()+previewWindow.c4.getBytesTotal()+previewWindow.c5.getBytesTotal()+previewWindow.d4.getBytesTotal()+previewWindow.d5.getBytesTotal());
previewLoaded = (previewWindow.a1.getBytesLoaded()+previewWindow.a2.getBytesLoaded()+previewWindow.a3.getBytesLoaded()+previewWindow.a4.getBytesLoaded()+previewWindow.a5.getBytesLoaded()+previewWindow.b1.getBytesLoaded()+previewWindow.b2.getBytesLoaded()+previewWindow.b3.getBytesLoaded()+previewWindow.b4.getBytesLoaded()+previewWindow.b5.getBytesLoaded()+previewWindow.c1.getBytesLoaded()+previewWindow.c2.getBytesLoaded()+previewWindow.c3.getBytesLoaded()+previewWindow.c4.getBytesLoaded()+previewWindow.c5.getBytesLoaded()+previewWindow.d4.getBytesLoaded()+previewWindow.d5.getBytesLoaded());
previewPercent = Math.ceil((previewLoaded/previewTotal)*100);
trace(previewPercent);
}

[CS3] Dual Image Loaders
I have two loader components, each with their own preloader bar, loading image slideshows from separate xml files. I've got the slideshows to work, but only the first loader component preloader bar works. Also, I've tried to add an Alpha fade transition to the onEnterFrame event, but I'm not getting the syntax correct. I've attached a zip file of the project. If anyone knows the correct way to implement this, I will greatly appreciate your comments. Thanks!

Internet Explorer And Image Loaders
what's with internet explorer not loading images correctly in the image loaders? i can get my flash movies to work fine in Mozilla, but when i try IE, all my thumbnail images load full size....scalecontent is set to true.....what am i missing.

for example go to http://www.foldedmap.com ....click "recent"

[F8] Showing Individual Image Loaders
I want to create a file that loads a range of images as determined by an xml file that will show a loader for each image as it loads.

What to see a working example?
http://www.joshuadavis.com

Any ideas on the creation of the loader for the files, I can create a loader for a swf but to create one that works for a dynamicly loaded jpeg it another thing that I'm not really sure where to start.

Preloaders With Dynamic Image Loaders.
I am pretty new to flash and actionscript so pardon my syntax and logic.

I am trying to create a flash movie that will preload a dynamic number of images and fade them in and out. Sounds easy enough.... However I cannot get the preloader to work.

Frame 1:
I have a flash movie that goes out with the loadvars function to get a dynamic number of paths for images from an asp page.

The asp page returns the variable maximages to tell how many images will be loaded and then imagepathx x being 1 - maximages.

From there a string array is created to store the imagepaths and the appropriate number of loader controls are initiated and defined.

imagepath = new Array();
for (var i = 1; i<=MyPicVars.maximages; i++)
{
createClassObject(mx.controls.Loader,"loader"+i,i, {_width:380 ,_height:275,_x:0,_y:0});
imagepath[i] = "http://intranet/testsite/splashpics/"+eval("MyPicVars.imagepath"+i);
eval("loader"+i).contentPath=imagepath[i];
eval("loader"+i)._alpha=0;
}

Frame 2:
Frame 2 starts the actual preloader scripting.
Most simple preloaders I've seen use the getBytesTotal and getBytesLoaded functions. However, this doesn't include the loader controls I just put images into.

So I've tried to define a variable to hold the max bytes for all the loader controls as I set the .contentPath. However, when I set it there the bytes are undefined. It's not until a few seconds (maybe 2-3 frames) that I can get the bytes. What is the best method of working around this? With the bytes I can then calculate the percentage loaded and update the loader bar as well.

The fla can be downloaded here.

Thanks!
-Dave-

Internet Explorer And Image Loaders
what's with internet explorer not loading images correctly in the image loaders? i can get my flash movies to work fine in Mozilla, but when i try IE, all my thumbnail images load full size....scalecontent is set to true.....what am i missing.

for example go to http://www.foldedmap.com ....click "recent"

Loaded External Image Question: Use Default Image If Loaded Image Not Found?
Hello,

I use the following code to load an external logo into a Flash Movie.

Quote:




var myRequest:URLRequest=new URLRequest(logoPath);
var loader:Loader = new Loader();
loader.load(myRequest);
holder_mc.addChild(loader);




What if the logo file is not find? I wish that if the logo is not found, another default logo will be used, i.e.

if (logoPath is here) {
var myRequest:URLRequest=new URLRequest(logoPath);
} else (logoPath is not here) {
var myRequest:URLRequest=new URLRequest("defaultlogo.png");
}

How can I do that?

Thanks and best regards

Alex

Security In Loaded Mp3 And Flv In Flash Movies
Hi everyone,

This is a big problem i'm having right now. The thing is that i developed a flash dynamic mp3 and flv player, that load the data of the media to reproduce from a xml file, in order to allow multiple definitions of media files to play. To play the media files (mp3 and flv), i used the Media Playback component. Everything works fine at this point, but the mp3 and the flv files are saved in the temporally internet files of the visitors computer(ie, netscape, safari, etc), so the question is: how to avoid that the media files (flv and mp3)played and loaded dynamically in the flash movie be saved in the temporally internet files in the visitors computer? This is a important thing, because the visitors can access the media file and manipulate to their convenience.

The other big problem related to the above is that the server host doesn´t use server side scripting of any kind.

Thanks in advance for the help provide!!!

Ealonso,

3 Flash Movies Loaded In Another At The Same Time
I wanted to amke a Homepage completely in flash so I made some design elements for my site... a headline with fading effects some buttons and one with the content

so now I wanted to create a fourth flash with the following commands:

_root.createEmptyMovieClip("head", 1);
loadMovie("headline.swf", "head");
head._x = 1 ;
head._y = 1 ;
_root.createEmptyMovieClip("control", 1);
loadMovie("buttons.swf", "control");
control._x = 1 ;
control._y = 121 ;
_root.createEmptyMovieClip("content", 1);
loadMovie("content.swf", "content");
content._x = 1 ;
content._y = 181 ;

now my problem is there is none of the three flash's showing up... it only works if I load only 1 :(

Flash 2004 MX - Duplicating Loaded In Movies
Hi,

I'm still using the older MX, but Im curious about the 2004 version, does it allow you now to duplicate loaded in, movie clips? because the older MX did not, and obviously this would have a huge impact on game making with Flash (if anyone at macromedia is listening!)

thanks
boombanguk

Testing Loaded In Movies In 56k Mode Within Flash
Hi Chaps

If you've got a flash movie, you can debug it in 56k mode when you preview the movie.

However, if you have movie which you load into a parent movie, it loads instantly when in 56k debug mode.

Is this a common problem? any way around it so I can debug both the parent movie and loaded in movie at 56k?

(without trying it on a 56k modem :-) )

Thanks

Positioning Externally Loaded Movies In Flash 5
Hi, posted this previously to little avail....

I'm having problems, positioning movies that have been loaded in externally, I've looked at it over and over and still no joy, I'm using the following code:

loadMovieNum("externals/level1.swf", 2);
_level2._x = 500;
_level2._y = 500;

I gather I need to ensure the movie is loaded before I can position it - how does one check for this ?

I am still learning so it's all rather new.

Many thanks in advance...

tom

Positioning Externally Loaded Movies In Flash 5
Hi,

I'm having problems, positioning movies that have been loaded in externally, I've looked at it over and over and still no joy, I'm using the following code:

loadMovieNum("externals/level1.swf", 2);
_level2._x = 500;
_level2._y = 500;

Is this wrong ?

Many thanks in advance...

tom

How Do U Make The Percentage Loaded In The Begginin Of Flash Movies
u know the 56% loaded...etc...how do i make one of those? i jsut need a simple one...i mean, really really simple.

Interacting With Movies Loaded Using The Loader Component (Flash 8)
Hi All

I've recently upgraded from Flash 5 to Flash 8, and am looking into the built in components. I have a question regarding the loader component which I can't seem to find an answer or 'how to' to.

If I use the loader component to load a SWF, can I control the main movie the SWF has been loaded into from the SWF, and vice versa?

As an example, if I loaded movieclip.swf onto a layer of a movie, can I put a button in movieclip.swf that will 'nextFrame' the main movie?

At this stage I've just set the content path parameter of the component to the SWF I'm loading while I follow the various help docs and tutorials to see what the component can do. I've seen setting up a listener, etc. for progress bars and all that jazz, but I seem to hit a wall when it comes to interacting with the movie once it's actually loaded.

I can see the potential applications of using it to load JPG's (for example), or any content smaller (dimension wise) than the main movie, but it doesn't look like there's a way to interact with the content once it's been loaded using the component.

I've trawled the help and various tutorials, but they all seem to focus on how to use the loader component to just load things, but don't seem to mention what you can/can't do once it's finished loading and contained within this component!

Anyone know how to interact, or if you can at all?

Setting Size Of Dynamically Loaded Flash Movies.
I was wondering if I could define a size for a dynamically loaded flash movie. So far here's what I have so far to load the movie:

loadMovie("objects/lefthand.swf", "lefthand");

The movie appears, but it's too small and I'm trying to get it to match the size of an existing png that I'd like to replace with the movie in order to reduce the main flash movie filesize.

Setting Size Of Dynamically Loaded Flash Movies.
I was wondering if I could define a size for a dynamically loaded flash movie. So far here's what I have so far to load the movie:

loadMovie("objects/lefthand.swf", "lefthand");

The movie appears, but it's too small and I'm trying to get it to match the size of an existing png that I'd like to replace with the movie in order to reduce the main flash movie filesize.

Programming 2 Flash Movies On Same Page To Play Only When Both Are Fully Loaded
I have two Flash movies on the same webpage (http://www.affinityfilms.com/WillowTreeHomepage2.html). How do I program them to only begin playing when both are fully loaded?

Right now, they only play correctly when both are already loaded in the cache.

Recordset, Links To Flash Movies With Dynamically Loaded Content
I am building an inventory page. The item name and image name will come from a database, and this will serve as a link to the product detail page. I have retrieved the info from an asp page and loaded them into flash no problem. The question is this:

How do you loop through the items in a "recordset", displaying each row in a clip or other object that can act as a button that links to another clip. The number of items will be changing day to day so I never know how many until polling the database.

Loading/unloading Movies In Loaded Movies :|
Yeah, I know that sounds confusing. Lemme explain:


- interface.swf it's my main movie;
- interface.swf load section1.swf in a specific container called containerMC (duh! );
- section1.swf load other movie, section1a.swf;
- I need a button in section1.swf that load section3.swf in the same main container (containerMC in interface.swf), unloading section1.swf and section1a.swf.

Well... I need some tips about the action of my 'overloaded' button

Sorry about my english

[]'s
Edu

Array Of Movie Loaders/array Of Image Files
Alright. I'm fairly new to Actionscripting, so if we can somewhat lame out the tech talk to mild to medium I'd appreciate it. what I am trying to do is create an swf movie that will interact with a PHP script. first lets start with saying the PHP script reads the directory that it is currently in and filters out any file that is not a GIF,PNG, or JPG and then it suffes all of this into a URL encoded string and the directory path ,such as :

?pictures=image1+image2+image3+image4&path=http://servername/directoryPath

now i have flash load the variables "pictures" and split the images and stuff those into an array and the directory path of course stays in its own seperate variable. ive gotten this far with no problems.

so what im trying to do now with this info is create a bit of a slide show. I want to take the array of pictures and load those into an empty movie clip displaying each picture consecutively. Ive made several attempts but no such luck. Ive tried to use a for() loop to cycle through the array of pictures loading them into the empty clip. im still very new and rather lost with these objects and class use i. Im sure im probably not using a listener of somesort that i need and what not. I am sorry i am probably not giving enough info for all this. the whole idea of this clip is to be able to display an indefinite amount pictures , so the flash player will not know ahead of time how many pictures till the php script has sent all the names of what is in the directory. this movie needs to be able to dynamically load any images that are in that directory.so any suggestions on what i can do with an array an an empty clip? thank you to anyone who can make suggesions.

Setup Loaded Movies To Work Loaded Or Standalone
Hi Guys

How do I get a movie to work as a standalone movie - when i'm building it - and also work as a loaded movie in a parent movie that loadMovie or loadMovieNum this movie.

It just get annoying having to always change paths after I finish building my sub-movies because half the time I get it wrong - it might take me a couple of hours to get the move working as a standalone, but then i can take more hours to get it working as loaded.

any ideas??

thx

Controlling Loaded Movies That Arent Quite Loaded Yet
Hello everyone. I am having an issue with loading an swf into an MC and having it go to a specific frame. The problem is I have one long on (press) thing going on where on press approx. 15 things happen like unloading movies loading movies etc.. The path I am using is correct I think the problem is the movie hasnt loaded yet by the time this line in the acionscript is hit. So it's like I am asking it to play a frame in a movie that hasnt loaded yet. I cant really think of a solution to this and was hoping someone here could. I thank anyone in advance for their help. I was thinking an if frame loaded thing but I really just dont know.

Is It Possible To Change Levels Of Loaded Movies Once They Are Loaded?
once i load and external movie to designated level, is it possible to then change it's level after it is loaded.

Manipulating Loaded Movies Before They Are Fully Loaded
Is there any way to manipulate a movie, e.g. play, stop, roll over etc. that has been loaded using loadMovie or loadMovieNum BEFORE it is fully loaded? From the LOADING movie that is. Not the LOADED movie...
If so. How?

Can I Preload .SWF Movies For Use Later In Other Not Yet Loaded .SWF Movies?
Hello World!!!

What I creating is a web site consisting of many .SWF files, each of which loads over the last @ _level0. The first SWF file consists of three scenes, a preloader an intro and the main movie. Once the main movie has loaded you can click links to the next pages. The following pages show a preloader and then load. This seams to work fine because each page is quite small. This is where I get greedy. What I want to do is preload four movies, say during the intro of the first .SWF file that are not seen just loaded into the computers cache, so they will work instantly when another .SWF file is loaded.

Also, If you know how to do the above. How can I target a frame in another movie when it has not loaded yet?

Thank you all for any help in advance.

Rachel.

Loading All Movies, Even Movies To Be Loaded
hi guys.. how do u do that?

see, i have a main movie and the other movies are called later on byu loadMovie, but they have their separate loading times. what if i want to load it all in one go?

can any1 help me?

Loading Movies On Top Of Loaded Movies
I'm trying to load a movie on top of a loaded movie. For Example:
I have an interface with 4 buttons on it. Each button loads an external swf above the buttons. The loaded movies fade in on top of the lower level. I want it so that when you click button 1, it loads "movie01" and then if you click button 2 it loads (fading in) "movie02" on top of "movie01". Instead, it unloads "movie01" first, then loads "movie 02". I want it to look like the movies fade in on top of each other no matter what order you press the buttons.

I have them all loading in at level 1, is that my problem?

Flash Loaders.
How do you make flash loaders? I hate people seeing the first scene of my movie before it has a chance to load.

Also, can you tell me how to make an interactive button? Like it says Play and it plays the movie?

Pre-loaders In Flash
How do I make a pre-loader in Flash MX. I really don't know how to make one period. Can someone help me?

Flash Loaders
What size swiff warrants a preloader animation (200K, 1MB)? I know the
users machine determines how fast it loads, but as a general rule of thumb
if it is over _____ KB you shold probably have a preloader.

Problems With Pre Loaders And Flash 5
I downloaded a preloader from this site, and then i tried to import it in flash 5!But it always said something about the format!Am I doing something wrong???????????Please answer my question of how to add a preloader in flash 5!

First of all I downloaded it from here
http://www.flashkit.com/movies/Scrip...-147/index.php

It says its a fla format!When I try to import in Flash 5, it says
flash doesnt reconize the format!!!!!!Please help me, I am doing big movies, and I cant hang them without pre loaders!!!!!!!!!!!!!!!

Flash 8 Help: Loaders (not Preloaders)
Okay, so I'm completely messed up with the loader thing. It works inside file cabin, even though flash says there are errors, and then it doesn't work on myspace.

here is the url:

URL

here is what flash tells me:


**Error** Symbol=friends_btn, layer=Layer 1, frame=1:Line 1: Mouse events are permitted only for button instances
on(release){

**Error** Symbol=blogs_btn, layer=Layer 1, frame=1:Line 1: Mouse events are permitted only for button instances
on(release){

**Error** Symbol=contact_btn, layer=Layer 1, frame=1:Line 1: Mouse events are permitted only for button instances
on(release){

Total ActionScript Errors: 3 Reported Errors: 3


and it's up on myspace here
I think I understand the loader, but when I mix it with a profile, it loses me.

Thanks for any help in advance.

Dynamically Checking Image Loaded Into Flash?
Hi everyone

Does anyone know a good tutorial to load in an external jpg into Flash where actionscript has to check the time/date of the image in the folder with the one in flash and update it if it's a newer image?

Your help is really appreciated :)

Flash Gallery That Resizes The Image Before It Gets Loaded
Flash Gallery that resizes the image before it gets loaded? A tut, or just help?
Anyhelp appreciated.

Dynamic Loaders In Flash Document...
Hi all, hope everyones ok.

Im currently creating a dynamic flash movie that connects with XML, i have the movie connected with the XML file and I am successfully pulling information in to dynamic text boxes that I have made in the actionscript with a for loop. (As shown below)


Code:
Status=scorer.childNodes[0].childNodes[1].childNodes[0].childNodes.length-1;

var MCMovie = _root.createEmptyMovieClip("MCMovie", 10);
var object

for(i=0;i<Status;i++)
{
object = MCMovie.createTextField("sampleText"+i, i, 100.6, 20*i, 90.0, 18.0);
object.text = "Status: " + scorer.childNodes[0].childNodes[1].childNodes[0].childNodes[i].childNodes[0].firstChild;

}
I was wondering if it is possible to create an image loader component dynamically as well.

something like:

For Loop
{
Create imageloder . contentPath = "Blah Blah"
}

I'm really not sure so any help would be appreciated... i'll be on here all day so please if ive explained anything stupidly dont hesitate to ask. ~

Thank you

Flash Website. Loaders How Does It Work?
Hi,



This is my first post & I wanna know about this website : http://www.jbr.ae
its made in many flash .swf files in one page but uses one loader to load all of these files.

How does this work?

AS2 - Image Smoothing In Flash 8 Using Dynamically Loaded Images
I have a flash slideshow widget I've developed in Flash 8.. it pulls in images from a folder and text via xml. Unless I use images which are 2000x2000+ resolution and 150+ dpi when they zoom in/out in the movie they are really shaky. I have a feeling this has to do with image smoothing in flash 8.

Can anyone help me fix this? I'll pay.

You can reach me at amh@1dawg.com & ill send u the source so u can take a look.

Here are some links I found:

http://www.kaourantin.net/2005/12/dy...maps-with.html

http://www.flepstudio.org/forum/tuto...istortion.html

Thanks.

Austin

Getting Loaded Movies To Stop When Loaded
I'm going nuts trying to figure this out!!

I'm obviously a newbie, and I haven't got a clue how to get these things to work. I have a very simple blank movie, which I'm using as an Intranet banner, and I have 2 very simple movies loading into it. I want the movie to stop once the second movie is loaded. I'm sure this is very simple, but I can't figure it out!

Can anyone help me please?

Thanks,

allison

Loading Movieclipswith Loaders Into A Flash Movie?
I built a flash menu and I tried to make a picture load when a button was pressed. I did that in a scroolpane, it loaded the swf containing the picture with a loader but the when the movie was trying to load the menu when to the start instead of the movieclip.

what do i have to change or do

Loading Movieclipswith Loaders Into A Flash Movie?
I built a flash menu and I tried to make a picture load when a button was pressed. I did that in a scroolpane, it loaded the swf containing the picture with a loader but the when the movie was trying to load the menu when to the start instead of the movieclip.

what do i have to change or do

'Highlight'/'rollover' Effect For Thumbnail Image Loaded Into Flash?
Hello,

I load my thumbnail into flash this way:

Code:
material.holder.loadMovie("material.png")
material.holder._xscale = 75;
material.holder._yscale = 75;
how can i make it so when the user rollsover the image loaded, it darkens to appear highlighted?

Is this possible with actionscript?

'Highlight'/'rollover' Effect For Thumbnail Image Loaded Into Flash?
Hello,

I load my thumbnail into flash this way:


Code:
material.holder.loadMovie("material.png")
material.holder._xscale = 75;
material.holder._yscale = 75;
how can i make it so when the user rollsover the image loaded, it darkens to appear highlighted?

Is this possible with actionscript?

Mx2004 Cuts Loaded Image Borders - Image Format Problem?
hi mates

i know i didnt post here quite a long time (wasnt programming quite a long time too), and since i know this forum to be very helpful, i am back with one irritating problem.

i have some jpgs, all contents seem to be ok, and wanna load and rescale them (rescaling would work, thats not the problem). it seems my pictures have some format error, but i cant find it

they dont seem to get displayed completely. or better, their contents dont. that means, the content is displayed in a certain area, but not outside of it, although the image is fully loaded (at least getBytesTotal tells me so). i made a small file to test the picture loading, and it shows the same error as my real clip does.

- no, theres no mask applied
- no, the jpgs are no progressive types
- yes, i tried using baseline optimization, standard baseline, and different compressions.
- yes, when displaying the jpgs with any other tool than
- when inserting one of the pics to the stage in developing and then exporting it being inside the swf, it is displayed correctly
- btw, the pics are quite big (about 3000*2000px/300-700kB) for being able to zoom.

another issue i am noticing is that some areas inside the displayed area of the jpg are not displayed instantly when the jpg is displayed, and fadein (alpha) effects of other clips in front of these areas cause much more cpu load than they should.

anyone ever seen this problem? or anyone having an idea how to solve this one?

thx for reading, greets

self

Copying Loaded Image Bitmap Data To Another Image Loader
Hi,

I have an app where the user uploads an image into an image loader component. I am trying to figure out how to copy the bitmap data from that loaded image into another image loader component.

Could someone steer me in the right direction? I was looking at bitmap clone and copypixels though haven't figured out how to get this to work yet.

Thanks,

Dan

Copyright © 2005-08 www.BigResource.com, All rights reserved