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




Check To See If External Jpgs Have Loaded



I'm making a simple slideshow for a photographer, and I'd like to make it simple for her to maintain - basically uploading thumbnails & full sized photos into directories, then having the swf do the rest.

I know how to load external assets with loadmovie, and it works fine - other than the fact that it loads the images as it enters the frame the clip is on.

Is there a way to have flash pre-load these assets, or check to see if they have loaded?



FlashKit > Flash Help > Flash ActionScript
Posted on: 01-25-2006, 07:37 PM


View Complete Forum Thread with Replies

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

Possible To Check Size Of External .jpgs?
Is it possible to check the width and height of external jpegs?

I'm making a slide show mechanism that will take any photos in a folder and turn them into a slideshow.

As3 Loaded External Jpgs
developing a ui in flash for photo gallery which I am loading into dreamweaver.
using as3 in flash to load external photo files so not all having to download on opening.
have had no problem in dreamweaver with swfs with embedded jpgs.
ui comes up in dreamweaver but not external files. even though when I open swf movie or the flash created html of same file, on its own, no prob.
anyone run across this problem, jpgs are in same file as flash media, also dropped them into image file just in case that might work---no go
any ideas ?

Checking If External JPGs Have Loaded
hey people,

Ive got a script which takes external jpg images from a folder and loads them into a movieclip.

I want to know how can i, if possible, check to see if the images have been loaded.

I want to have a dynamic text field that says "loading" if a jpg is being loaded and "end of gallery" after the last image is displayed.

thanks

Problems With Loaded External Jpgs
i followed the kirupa tutorial on building an external image loader, and modified it to work with back/next buttons to load a range of images. everything works fine, but the problem is after a few cycles through the images, the site starts to lag. i believe the cause is a stack of images that grows as they are loaded. i have been trying to use removeChild and removeChildAt the previous image when the new image is loaded, but cannot get it to work. any help would be greatly appreciated.



Code:
var imageLoader:Loader;
var imageNumber:Number=1;
var imageCount:Number=14;

function loadImage(url:String):void {
// Set properties on my Loader object
imageLoader = new Loader();
imageLoader.load(new URLRequest(url));
imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
}

loadImage("stills/still"+imageNumber+".jpg");

function imageLoaded(e:Event):void {
// Load Image
imageHolder.addChild(imageLoader);
}


function prevImage(evt:MouseEvent):void {
if (imageNumber==1) {
imageNumber=imageCount;
loadImage("stills/still"+imageNumber+".jpg");
} else {
imageNumber--;
loadImage("stills/still"+imageNumber+".jpg");
}
}

function nextImage(evt:MouseEvent):void {
if (imageNumber==imageCount) {
imageNumber=1;
loadImage("stills/still"+imageNumber+".jpg");
} else {
imageNumber++;
loadImage("stills/still"+imageNumber+".jpg");
}
}

prev_btn.addEventListener(MouseEvent.CLICK, prevImage);
next_btn.addEventListener(MouseEvent.CLICK, nextImage);

Detection Of External Loaded Jpgs/swfs?
Hi,
I need some help for the following matter:
There are severall buttons in my scenes, each with an instanceName like button1, button2, button3...and so on. To asign specific external jpgs to my buttons, i used this function:

Code:
--------------------------------------------------------------------------------
Movieclip.prototype.imageLoad = function() {
for (i = 1; i< 10; i++){
if (_root.MCbuttons["button"+i].hitTest(_root._xmouse, _root._ymouse, true)) {
loadMovie("images/myPic"+i+".jpg","_root.MCimageholder");
}
}
};
--------------------------------------------------------------------------------
So far, everything works fine.
Now i want to popup a larger version of the loaded jpg when clicking on it, but how can i detect which picture is loaded in the MCimageholder to open the respective XL-version of it?

Thanks ahead for your help!

ohara

Check If External Swf. Is Loaded
I'm using this to load external images as background on different frames.

loadMovie("flash/images/back1.swf", "_root.loader");

Frame 1-8 have back1.swf as background.
Frame 9-12 have back2.swf as background.

I don't want to load the swf. all the time I'm in a different frame, I want to be able to check that if I'm in Frame 2 and back1.swf is loaded not to load it again.
However if I jump to frame 10 It needs to load back2.swf.

Thanks.

Check Loaded External
what code do i use to stay on one frame til an external jpg file has loaded on another frame?

Check If An External Swf Has Been Loaded
Hi all!

I use loadMovie() function to load external swf files when the user clicks on some button. But the swfs load every time the user clicks on the button. How can I check if a swf has been loaded so the user does not have to wait for the file to load again?

Thank you! Any help precious!

Preloader Check For External Text Loaded?
'ello boardsters...

somebody told me how to do this ages ago, but, typically, i never made a note of it as it only came up in relation to something else...

so i will ask again!

i have a flash movie into which an external text file is loaded- how would I make my preloader check to see if the external text is loaded before going to the 'play' frame?

cheers for any help, m'dears!
louise

How Can I Check If External Text File Is Loaded?
OK here's the deal. I have a text file with several variables, which I load on the first frame after the preloader. Everything works fine on my DSL connection. However, my client is dialing up at 24K (!) and the text doesn't show up for him unless he goes to another section and then returns.
So I figure the text hasn't had time to load. I'm loading the text variables into a movieclip, and I tried to preload it with mc.getBytesLoaded, but it doesn't seem to work with text files. I've tried everything I can think of, and it's still not working for him.

Also, further down the line I am loading HTML formatted text from the same file and it seems to choke the player. Has anyone else had this problem? Any help would be greatly appreciated, as this is set to go live very soon.............

Thanks in Advance

Making Flash Check That External Swfs Have Loaded?
hi all,
Whats the best way to make flash check if an external swf has loaded, and if not 'encourge it'? Im thinking some MC loop or something?

any thoughts v.appreciated

danny

Any1 Knows How To Check If A Variable/an External File Is Loaded ?
myVar = loadVariablesNum("myExternal.txt", 0);

if (myVar ==true) {
trace("correct");
}

The above was tested but not successful, please help !

I also tried the include statement but failed 2

#include "myScript.as"

if ((#include "myScript.as")==true) {
trace("correct");
}

What I am doing is to check if an external file is attached to my flash file !

Check If Jpgs Are Progressive Or Not ?
Hi,

I just wondered , is there some undocumented Flash feature which let's you check if a jpg is progressive or not, so you can cancel a load if it's progressive ????

Or not as good, is there a way to know the jpg is progressive within Flash , once it is loaded ??

I know it can be done with ASP or other scripting languages, but being able to do it in Flash would be much simpler!

On the other hand , if anyone has some ASP-code wich checks this, please let me know ( only scripts , not a component , since I have no privelege to install custom components on my server )

thx

Loading Jpgs Check Status?
i'm creating a site where i'm loading up to 15 jpgs
into the parent movie with the loadMovie actions.

it works all fine on my local harddisk, but as soon
as i test it from a server on a 56 kps connection,
the whole thing seems to fall apart.

i suspect that flash tries to load all those jpgs at about
the same time, and just bogs down.

is there any way of checking if "one" jpg has loaded
succesfully in flash mx?

this way i could load them one by one....

Reseting The Dynamic Jpgs And Check On Error.
hey guy need help again.
i have this on my button :
on(release){

this._parent.loadImages(this._parent,this._parent. text1.text);
}
this will load the image that is key in the text field.
any idea i can check an error here like:
if i key in the wrong file name i will get a text say "wrong file name.!"
else if correct file name, load the jpgs..

i have this on my reset button:
on(release){
this._parent.text1.text= "";

}
it will reset wht i wrote on the text field.
but i still need to unload all the pics i have uploaded.

any ideas???
thanks..

Jpgs Are Not Loaded From The Net...
Hi.
I am working on an Fotogallery and offline it is working fine, but when online the fotos are not loaded.
I traced the URL used and tried it directly, and it is correct. But somehow it doesnt work.

I could need some help.

Thanks in advance
____________________
Jan

~~it can't always rain~~

Information About Loaded Jpgs
hi all,

is there any chance to get infos about the loaded jpg, e.g. height and width and so on?

Dont know how to get those infos...


Please help me someone!


Thanks

manuel

Preloading Loaded Jpgs
Hi all..

I'd like to discuss the matter of loaded jpgs in Flash MX with the experts.
In fact many problems arise when we try to preload those things.
please if you have a brilliant idea about this let us know.

best regards..
m.Saleh

Dynamically Loaded Jpgs
I have read the threads about loading jpgs dynamically, and they have been very helpful. Now I have written code so it loads the jpg's when I run the swf on my Mac, and everything works fine. But I posted it to the website and it doesn't work when I try to view it from there. The main swf loads but when I click on the thumbnail to spawn the full size jpg, everything works as it should except it doesn;t load the jpg. I ensured that I put the jpg's in the same directory as the source swf.

Any thought would be greatly appreciated.


Brian

If you want to view it, go under the 'women' section, then click on any of the 4 thumbnails...
http://www.brianschnapp.com/nonnino/

Is It Just Me Or Are Loaded Jpgs And Movies....
never in the place where you put the empty mc? Just checkign to see if I'm the only one having this problem

Duplicating Already Loaded JPGs
I loaded a JPG into a movieclip using LoadMovie


Now I have another movie clip. How can I get the loaded jpg into this new movie clip dynamically without having to call LoadMovie again? (because that's double the hit to the server)

Thanks

Sharp Loaded .jpgs
ive searched everywhere to try and find a trick for this. when you load a jpg into a movie, and resize it to a SMALLER size no matter what, why does it become discusting and unsharp? i could understand it being stretched out if i was making it bigger but it is being made smaller. is there a trick to keeping dynamically loaded .jpgs sharp? thanks for any help.

Transitions For Loaded Jpgs?
ok here is the swf file im working on:
http://www.jumnious.com/crimson/jpgC...oadJPGtest.swf
It loads jpgs (named a1.jpg, a2.jpg, a3.jpg and so on) into a movie clip underneath a jpg with a transparent whole in the left side of the image. When the images load (they are huge in this ruff copy, havent optimized them yet) they disappear for a second showing the ugly black whole underneat. I was wondering if there is a way to make a nice transition between the loaded jpgs. Maybe when u hit the next button it loads the jpg into another MC u cant see, and once it is finished the current jpg does a nice alpha fade out and an alpha fade in on the new jpg which is just loaded as it is transfered into the MC the old jpg was in. Please give me some feedback on what is the best way to code this.
Thanks in advance,
Acid

Size Of Loaded JPGs
Hello
I'm trying to set up a website very easy to update, so I can post there my pictures. I'd like it to look cool, so I need to know the size of every JPG that I load ---- otherwise I habe to write it myself and that makes no fun.

I'm loading JPG in a dynamically attached movieclip.

I'm using Flash 2004 Professional and ActionScript 2.0.

Thankyou all

Preloader For Loaded Jpgs
how can i write a preloader while waiting for a jpg to load (from a thumbnail button)?

I've Loaded The Jpgs, But Why Cant They Resize?
I've been working on a little application that loads external jpgs (pictures from school) Not every jpg is the same size, but i don't know how to resize them so that they're all the same size,

I've tried _xscale and _yscale, but since they just change the scale percentage, making it impossible to set a norm for the jpgs

And _width and _height are always set to 0

Any help would be much appreciated

Phlook

Checking If All Jpgs Are Loaded
I'm loading external jpegs as thumnails for a portfolio site and I want to do positioning etc based on their sizes, so I can get it to check sizes, but I want something to happen after ALL have loaded. How do I check to see if ALL are loaded? Example script for loading:
Code:
for (i=1; i<=tNailArray.length; i++){
createEmptyMovieClip("tNail"+i, i);
_root["tNail"+i].loadMovie("tNail"+i+".jpg");
}

Allow Smoothing On Loaded Jpgs
i am loading jpg on MC but this MC can rotate

the problem is this the jpg pixelated if the MC rotates if i embed the jpg and check the allow smoothing properties they workis fine but the files size increases a lot!

is the a way using action script to do the allow smoothing on the loaded jpgs?

or any other idea

thanks

Help Sizing Loaded Jpgs
Hi, I've tried searching the site for a tutorial on resizing JPGs within clips and having trouble accomplishing/finding what I want.

Say I want all my JPGs to fit in a movieclip at 320x240, but the JPGs come in at different sizes, but the same proportion. I'm having trouble telling flash to keep them all the same size. I've been playing with getBounds() to capture the size of imported images, but having trouble making it work to resize and fit the jpgs properly in the clip. Could someone offer any links or sample code? thanks--

Help Sizing Loaded Jpgs
Hi, I've tried searching the site for a tutorial on resizing JPGs within clips and having trouble accomplishing/finding what I want.

Say I want all my JPGs to fit in a movieclip at 320x240, but the JPGs come in at different sizes, but the same proportion. I'm having trouble telling flash to keep them all the same size. I've been playing with getBounds() to capture the size of imported images, but having trouble making it work to resize and fit the jpgs properly in the clip. Could someone offer any links or sample code? thanks--

Randomly Loaded Jpgs - Is There A Better Way?
I've created this fla file and it's probably very clunky to all you experts out there but I don't know about functions and fancy stuff- but it was the most logical simplest way for me to do this as I'm not great at AS.

Here is the fla file [26k]
http://www.eskymo.co.uk/test/flash/test2.fla

and here's a link to the test online:
http://www.eskymo.co.uk/test/flash/test1.html

Basically I have 20 jpegs called image0.jpg - image19.jpg and I've got script on four frames within the movie that randomly selects from either:

0,1,2,3,4
5,6,7,8,9
10,11,12,13,14
15,16,17,18,19

This is the code that's on the four seperate frames:


ActionScript Code:
//on frame 1
num = Math.floor(random(5));
//trace(num);
filename = "image"+num+".jpg";
loadMovie(filename, _root.mc01);
 
//on frame 39
num = Math.floor(random(5)+5);
//trace(num);
filename = "image"+num+".jpg";
loadMovie(filename, _root.mc02);
 
//on frame 102
num = Math.floor(random(5)+10);
//trace(num);
filename = "image"+num+".jpg";
loadMovie(filename, _root.mc03);
 
//on frame 165
num = Math.floor(random(5)+15);
//trace(num);
filename = "image"+num+".jpg";
loadMovie(filename, _root.mc04);


This will run fine on a broadband connection but I'm worried that on a dial up the images will take longer to load therfore making the animation play less smoothly -I'm going to try and make all the external jpgs be around 20k as at the moment the differ in size from 13-40k.

Is there a way of preloading the external jpgs? At the moment the animation loops and each time 4 different images are chosen. I'm thinking of restructuring the file so that all the images load on the initial frame and so they are preloaded and you get a loading screen, then the sequence runs through the 4 selected images and loops. The next time you visit the page it randomly selects another 5 images and loops those - rather than looping and showing different images each loop as it does now. So in order to do it this way I need to know how to preload external jpgs into the first frame and make a loading screen for this.

Can anyone help?

Duplicating Loaded Jpgs?
Last edited by NDF : 2002-06-26 at 15:35.
























'llo there,
anyone know a way to load a jpg into a movieClip then duplicate that clip without having to reload the jpeg?

Or is it impossible?

Fanks--------

Best Way To Transition Loaded .jpgs Over Each Other?
I'm trying to load an array of JPEGs one by one from from a folder using the movieClip object, and I want each new picture to do a nice transition from the old picture. (I'm using Action Script 2.0 and 2.0 Components.)

What would be the best way to approach this? If I simply load a new picture into the same movieClip, it replaces the old picture, so it chops it off abruptly to the background color, and then I can fade in the new picture (example).

I had thought to use two different movie clips on top of each other, and alternate loading into each one, bring the latest one to the front using the Depth Manager so that it was always on top of the other one, and then I can fade-in the new picture each time over the old picture. But I can't seem to get this to work. The layers don't really want to come to the front properly. Here's an example of the code:

Code:

import mx.managers.DepthManager;   // required for setting depth when using v2 components, like combo boxes
   if (layerCount % 2 == 0){   // top layer

           // keep bringing the newer layer to the top so we do the
           // transition over the old layer
      jpegHolder.setDepthTo(DepthManager.kTop);
      trace("depth "+jpegHolder.getDepth());
      pictLoad_mcl.loadClip(pictURLs[pictArrayIndex], jpegHolder);
   }else {
      jpegHolder2.setDepthTo(DepthManager.kTop);
      trace("depth "+jpegHolder2.getDepth());
      pictLoad_mcl.loadClip(pictURLs[pictArrayIndex], jpegHolder2);
   }
   layerCount++;


I do have components in the library, but what is happening on the trace of the depth is: it is not going up 20 each time, like it says in the documentation for "setDepthTo", but one of the clips is staying at 20, the other sometimes moves up by 20...

Maybe I'm doing something wrong...maybe there's a completely simpler way to approach this that I don't know about. Any advice would be helpful.

Loop Through Loaded Vars To Check If Loaded
Hi

say i have 3 text files that look like:

myarray=blah, blah, blah&finished=1

How can I load the files with a loop then loop through the 'finished' var to check that they are all loaded?

thanks
L

Dynamically Loaded Jpgs At A Different Scale?
I need to borrow someones brain power!! Can anyone modify FLASH MX's dynamically imported jpg viewer, so that you can set the scale of the jpg being imported? Ex( importing the image at 50% of it's original size.

If you can figure that out, I would also like to have a button that could be used to blow up the image once it's loaded into the target

Resizing Jpgs Loaded With LoadMovie
I've got a site that imports and displays images based on an xml file, and I want to display thumbnails of these images.
I can import the images without problems using loadMovie, but I can't manipulate their sizes very well.

For example, I've got a placeholder named jpeglocation (50px by 50px), and then I load an image to replace the placeholder. But the trace results return the width and height of the original placeholder, rather than that of the loaded jpeg.

loadMovie("images/" + firstTeaser.attributes.image, jpeglocation);
trace(jpeglocation._width);
trace(jpeglocation._height);


So I can manipulate the image sizes using something like:
jpeglocation._width = jpeglocation._width/4

But this is no good at producing uniform thumbnails if my images are of varying sizes (which they are).

Any suggestions about how I can better-control the size of my loaded images? Thanks;

#

Positioning Dynamically Loaded Jpgs
I've used this to load a jpg dynamically:

loadMovieNum("R&A_2000.jpg", 1);

but of course it appears at 0,0 postion

what is the code to set the position differently?

hope someone can help.

Printing Dynamically Loaded JPGs
Can't seem to find any reference to this problem...

Trying to print out a movieClip that itself contains thumbnails that have been dynamially loaded into empty movieclips.

Problem is when I print it out not all of them are included in the page even though I have set the bounding box to be being big enough and have tested with huge sizes of the bounding box ending in strange effects... making the images smaller or bigger than their original size etc.

Here is a link to the site - http://www.bccreate.com/simonRoberts/ and click on V26

Click on the small "c" in the box at the bottom of the site and you will get a contact sheet come up that will load all the images (28 thumbnails).

Once they are all loaded a "print" button will appear in the bottom right hand corner.. click it and try printing it out to an Acrobat file to see what I mean.

This button has the correct scripting simply to print the movie with all the image movies in it: I have dabbled with the whole "bmovie", "bframe" and "bmax" settings but none of them print all the pictures which should fit onto one A4 piece of paper at their normal size. Also put the single #p frame and #b frame... these are not the solutions to the problem?

I have tested it by printing to an Acrobat file to save paper.

Maybe this is one for the mdoerators to solve?

Flash's printing seems to be very limited and a bit buggy... anyone else experience this problem?

Cheers

Center And Fade Dyn Loaded Jpgs
here's what i'm trying to accomplish, this version is all hardcoded with tweens - ignore the logo animation screens:
www.eye-spy.com/gallery

here's what i have going w/xml + actionscript (no fade, not centered):
www.eye-spy.com/gallery/featured.html

here's the source code:
www.eye-spy.com/gallery/featured.fla

can anyone help please, not sure what to do next.

thanks for your time.

Fade In XML Loaded Jpgs And Text
I'm using the following XML script to load external jpgs and text. Is there a way to apply a fade-in for each of these items?
I would greatly appreciate any suggestions and/or thoughts on this problem.
Thanks, -elstrausso


slides_xml = new XML();
slides_xml.onLoad = startSlideShow;
slides_xml.load("slides.xml");
slides_xml.ignoreWhite = true;
//
// Show the first slide and intialize variables
function startSlideShow(success) {
if (success == true) {
rootNode = slides_xml.firstChild;
totalSlides = rootNode.childNodes.length;
firstSlideNode = rootNode.firstChild;
currentSlideNode = firstSlideNode;
currentIndex = 1;
updateSlide(firstSlideNode);

}
}
//
// Updates the current slide with new image and text
function updateSlide(newSlideNode) {
imagePath = newSlideNode.attributes.jpegURL;
slideText = newSlideNode.firstChild.nodeValue;
loadMovie(imagePath, targetClip);
}
//
// Event handler for 'Next slide' button
next_btn.onRelease = function() {
nextSlideNode = currentSlideNode.nextSibling;
if (nextSlideNode == null) {
break;
} else {
currentIndex++;
updateSlide(nextSlideNode);
currentSlideNode = nextSlideNode;
}
};
//
// Event handler for 'Previous slide' button
back_btn.onRelease = function() {
previousSlideNode = currentSlideNode.previousSibling;
if (previousSlideNode == null) {
break;
} else {
currentIndex--;
currentSlideNode = previousSlideNode;
updateSlide(previousSlideNode);
}
};

OnLoad + Dynamically Loaded Jpgs
Hi All,

I'm trying to solve a problem that I see others may have resolved. Problem is, I can't find an answer that works.

I've got a MC on my stage, called rImage;

I'm got the following code:


Quote:




_root.rImage.onLoad = function(){
trace("rImage loaded");
}

lImage.loadMovie(imgPath);




My problem? the onLoad function never gets called. The image DOES get loaded. I just never get told when. Very aggravating.

Can anyone offer a fix?

ps: I've found a reference on the forum to an extension that fixes this problem, but it is no longer available. Anyone have one?

thanks

Externally Loaded .jpgs Stretch :{
Ok, So I got the jpgs to load fine, but now the problem is that they stretch vertically rather than fit perfectly into the MC that I specified. They are all the same dimensions - 220/320 but for some reason, it stretches. Its the same code as the load_movie.fla that come with flash sample files. i tailored it of course for my project. Any ideas why this would happen?

Thanks in advance..
Barmty

here is the code:

square._alpha = 0;
whichPic = 1;

next.onPress = function() {
if (whichPic<33 && !fadeIn && !fadeOut) {
fadeOut = true;
whichpic++;
input = whichPic;
}
};
back.onPress = function() {
if (whichPic>1 && !fadeIn && !fadeOut) {
fadeOut = true;
whichpic--;
input = whichPic;
}
};
_root.onEnterFrame = function() {
fade in
if (square._alpha>10 && fadeOut) {
square._alpha -= 10;
}
if (square._alpha<10) {
loadMovie("http://www.meality.com/Images/sketches/image"+whichPic+".jpg", "square");
fadeOut = false;
fadeIn = true;
}
if (square._alpha<100 && fadeIn && !fadeOut) {
square._alpha += 10;
} else {
fadeIn = false;
}

if (input>33) {
input = 33;
}

if (Key.isDown(Key.ENTER)) {
fadeOut = true;
whichpic = input;
}
};
pressed, change

inputField.onKillFocus = function() {
input = whichPic;
};

Progress On Dynamically Loaded .jpgs
Need some direction. I am pulling in a series of jpgs dynamically [via php / xml], and need to run a check on whether or not the entire file has loaded. The code I am using below definitely works in loading my dynamic jpg:

this.mc_holder.loadMovie(_root.basehref + _parent.slidelocation[_parent.currentslide]);

What is the best methodology to check to see if it is fully loaded? I have tried variations of the following:

bytes_loaded = Math.round(this.mc_holder.getBytesLoaded());
bytes_total = Math.round(this.mc_holder.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
gotoAndPlay("fadein");
}

But the problem is that they always post 100%, even when the file is not loaded. I have a fade on the file once it is loaded that I would refer to if I could run the check. Any ideas?

Resizing Jpgs Loaded Into A Mc Dynamically
I have a drag and drop card wizard. Where there are at least 3 hit test areas. If the hit test is true the dragable button loads a external jpg into the mc holder.

What I would like to do is have the jpeg dynamically resize to fit the empty mc. Each hit area/mc holder for the jpeg are different sizes, so I would like the jpeg to accomadate the mc holder.The mc holders need to be a set size.

Any help with this is so appreciated! Thanks all in advance.

Not Showing All Dynamically Loaded JPGs?
Hi I've made the following FLASH app which dynamically loads JPG's into a row of images check out

http://www.lichinger.dk/testshop/get_artist_images.html

However not all of the images are loaded? Any idea why? I know that FLASH doesn't like progressive JPG's, and the images I use are all-nonprogressive.

Scrollpane - Loaded JPGs Appear Garbled, Please HELP
I've successfully got a couple buttons assigned to popping up scrollpanes with very long images in them (they are lunch/dinner menus).

My problem is, that they appear garbled or anti-aliased. In "edit" view all is fine but when I go to test the movie, I have this garbled problem...

Any ideas?

Preloading My Externally Loaded Jpgs
I've got a flash document which loads a text file, which then loads my text and jpgs. Locally, it works fine. When I upload it, all the text loads ok, but it takes a bit of time for the graphics to load, even at their compressed - web ready sizes. Is there a way to preload these without using a visible preloader?

[MX] JPGs Loaded With LoadMovie Appear Trimmed
I don't like the lack of synch dynamically loaded images suffer against vectors when animated, specifically a thin stroke framing a JPG loaded with loadMovie, so I've included the thin outline on the dinamically loaded JPGs, using the last outer pixels of the image.

It should be shown as it was saved, and as it is shown when imported manually- with a 1px outher white frame- but instead there appears a double white frame at the top and left sides, and NONE at the right and bottom sides.

I think there's happening more often than we imagine, it's just that we don't use to paint up the last outer pixel of color. In a regular image you wouldn't notice it.

At some point I though it could be like a pattern of JPGs shifted 1px inside a mask the size of the JPG, but the double frame at top and left are not from the JPG. I just filled the last right bottom pixels with red, and they don't show at the top left.
It seems like the loadMovie loads the image as some flash importers do with images. That is a white box the size of the image, filled with a "picture" fill, 1px _X and 1px _Y shifted, of course.

Has anybody experienced this odd behavior?

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