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




Loading In Images & Assign AS Linkage



Is there any way of loading in an image into the library and giving it an AS linkage?to be frank I'm still struggling with papervision to no avail



KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 06-26-2008, 06:01 AM


View Complete Forum Thread with Replies

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

[F8] Import Images From XML And Assign Linkage Identifiers?
I'd like to import images from an XML file and then assign linkage identifiers to each image that I import.

I can take care of importing from XML, but what I need to do next is:

Turn each image into a movie clip
Assign each movie clip a linkage identifier

The reason I want to assign linkage identifiers is because I use a transitions component that I feed linkage identifiers from the movie clips I want to run in the transitions component.

Load Images And Assign URL/PDF Downlaod Via XML
I've had some help building this image viewer in flash. it uses xml to manage the images and caption text.

The problem i'm having is I need to make the (download pdf) a working link, at the moment it is just text. the guy that helped me is on holiday so I'm stuck!

you can see it working at: http://www.danielatkinson.com/test/

thanks.


the xml file is as follows..(x20 lines)
<images>
<image img="images/large/test_1.jpg" thumb="images/sml/test_t1.jpg" caption="download pdf"/>


the action script in frame 1 looks like this..


stop();
var stageWidth:Number = Stage.width+320;
var preloadNum = Math.round(Math.floor(stageWidth/84))
var loadArray:Array = new Array()
var listArray:Array = new Array()
var numImages:Number
var menuWidth:Number
var init:Boolean = false;
var currentLoad:Number = 0
_global.selectDisabled = true;



this.createEmptyMovieClip("images",10);
images._y = 132;
images._x = 335;
this.createEmptyMovieClip("menu",20);
menu._y = 564;
menu._x = 0;
menu.createEmptyMovieClip("menu1",1);
menu.menu1._x = 593;
menu.createEmptyMovieClip("menu2",2);



myXML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad = function(success)
{
if(success)
{
var xPos = 0;
numImages = this.firstChild.childNodes.length;
menuWidth = numImages*84;

for(x=0;x<this.firstChild.childNodes.length;x++)
{
listArray.push(x);

}

for(x=0;x<this.firstChild.childNodes.length;x++)
{
if(x%2)
{
loadArray.push(listArray[listArray.length-1]);
listArray.pop();
}
else
{
loadArray.push(listArray[0]);
listArray.splice(0,1)
}
}

for(x=0;x<this.firstChild.childNodes.length;x++)
{

menu.menu1.attachMovie("thumb","thumb"+x,x+1);
menu.menu1["thumb"+x]._alpha = 0;
menu.menu1["thumb"+x]._x = xPos;
menu.menu1["thumb"+x].iPos = x;
xPos += 84;
}


menu.menu2._x = 593 - menuWidth
xPos = 0;

for(x=0;x<this.firstChild.childNodes.length;x++)
{
menu.menu2.attachMovie("thumb","thumb"+x,x+1);
menu.menu2["thumb"+x]._alpha = 0;
menu.menu2["thumb"+x]._x = xPos;
menu.menu2["thumb"+x].iPos = x;
xPos += 84;
}


loadImage()
}

}

myXML.load('test.xml');

var myImageLoader = new MovieClipLoader ();
var myThumbLoader = new MovieClipLoader ();

myImageLoader.onLoadComplete = function (targetMC)
{
myThumbLoader.loadClip(myXML.firstChild.childNodes[loadArray[currentLoad]].attributes.thumb,menu.menu1["thumb"+loadArray[currentLoad]].image);
myThumbLoader.loadClip(myXML.firstChild.childNodes[loadArray[currentLoad]].attributes.thumb,menu.menu2["thumb"+loadArray[currentLoad]].image);
targetMC._parent.gotoAndStop(2)
currentLoad++
if(currentLoad < numImages) loadImage()

}

myThumbLoader.onLoadComplete = function (targetMC)
{
//targetMC._parent.gotoAndStop(2);
if ((currentLoad+1) == preloadNum || (currentLoad+1) == numImages) {
if (!init) {
gotoAndStop('main')
}
}

}

function loadImage()
{
var perc = -690+((currentLoad+1)/preloadNum)*614;
loader.bar._x = perc
images.attachMovie("mainImage","image"+loadArray[currentLoad],currentLoad+1);
images["image"+loadArray[currentLoad]]._x = 2000;
if(myXML.firstChild.childNodes[loadArray[currentLoad]].attributes.caption)
{
images["image"+loadArray[currentLoad]].captionText.text = myXML.firstChild.childNodes[loadArray[currentLoad]].attributes.caption;
}
myImageLoader.loadClip(myXML.firstChild.childNodes[loadArray[currentLoad]].attributes.img,images["image"+loadArray[currentLoad]].imageHolder);
}

[F8] Attaching + Linkage + Images XML?
Hi,

I'm making a Flash Cover Flow web page. What I do is use a for loop to set the linkage with my Mc [i] from the library, but somehow it doesn't get loaded in. I'm not sure if you can use linkage and XML to do this.

When I do get the images loaded in I lose the ability to import my reflection class and my rotation.

Can someone please explain or help me out. It would be greatly appreciated.

This is my XML and my for loop that attaches MovieClip.


Code:
var x:XML = new XML();
x.ignoreWhite = true;

var urls:Array = new Array();
var captions:Array = new Array();
var whoIsOn:Number = 0;

x.onLoad = function(success) {
var number:Array = this.firstChild.childNodes;
for(i=0;i<number.length;i++) {
urls.push(number[i].attributes.url);
captions.push(number[i].attributes.caption);
trace(urls[i]);
trace(captions[i]);
mc = this.createEmptyMovieClip("mc_"+i, i);

}

Download_On_Itunes.caption.text = captions[0];
mc.attachMovie("my_mc"+((i%12)+1),"urls"+([i]+1),1);
whoIsOn = 0;

}

x.load("gallery.xml");

//PRESET---------------------------------------
var home = this;
var refArray:Array = new Array();
var loopArray:Array = new Array();
//INIT-----------------------------------------
for (var i = 0; i<num; i++) {
mc = this.createEmptyMovieClip("mc_"+i, i); // THIS ONE I COMMENT OUT AND NOTHING WORKS

mc.attachMovie("my_mc"+((i%12)+1),"urls"+([i]+1),1);

Download_On_Itunes.author.text = linkArrayTitle[0];// Place text inside Download_On_Itunes.author.text for the first time only

mc.index = i;

//Numbering for debug
var ref:ReflectionFlipper = new ReflectionFlipper(mc, 3, backgroundColor);
refArray.push(ref);

// MC Fuse

if (mc.index<=lastP) {//set MCs position if they are allowed to show up. And Fuse them.
mc._x = this["guideLine"+i]._x;
loopArray.push(mc);

if (mc.index == centerP) {
mc._xscale = mc._yscale=0;
mc.scaleTo(scaleVal,.5,easingType,.5,{startfunc:'calcRotation', startargs:mc});
Download_On_Itunes.swapDepths(this.getNextHighestDepth());
Download_On_Itunes.captions.swapDepths(this.getNextHighestDepth());
} else {
mc.tintTo(backgroundColor,tintVal,0,easingType);
}
} else {
mc.tintTo(backgroundColor,tintVal,0,easingType);
mc._visible = false;

// set invisible MC in deeper Level.
mc.swapDepths(-1*mc.index);
}
//Y MC

mc._y = yLevel;//set all MC's _y position
// MC
//
calcRotation(mc);
mc.onPress = function() {
home.sequenceFlg = true;
sequenceSlide(this);
};
//
//MC in both sides are invisible
if (i<1 || i>=lastP) {
mc._alpha = 0;
mc._visible = 0;
}
}
for (var q = 0; q<num; q++) {

mc.attachBitmap("my_mc"+((q%12)+1),"urls"+([q]+1),1);
}

for (b=1; b<=12; b++) {
this["btn"+b].index = b;
this["btn"+b].onPress = function() {
home.sequenceFlg = true;
if (home["mc_"+(this.index-1)]._alpha == 100) {
sequenceSlide(home["mc_"+(this.index-1)]);
} else {
sequenceSlide(home["mc_"+(this.index+12-1)]);
}
};
}

I've also attached the files. Please Click Here

Creating Linkage In All Images In Library
I have 120 images in my library and need to link them all to actinscript:

-right click on image in library --> linkage --> and then check export for actionscript

Is there a way to to them all at once or do I have to continue doing this the hard way??

Load Images Into Library And Change Linkage?
hi, is there a way through actionscript to add images to the library and set their linkage names? i can't have them appear on the stage or inside of Movie clips. how would i go about this?

Loading Vars From A File And Assign Values To Mcs
Hallo pals,
I have to load some variables from a php script, which sound like this:

Code:
box1.year=03;
box1.day=1;
box1.month=2;
box2.year=03;
box2.day=1;
box2.month=2;
where boxn is the instance name of each movieclip.
In brief, I should give properties to each movieclip I will duplicate with a command included in the loaded text file (how many MC's etc).
Due to my rather dumbness in scripting, I'm wondering whether it is possible to make a thing like that. Which shape should the text have? How do I assign such values to the MC's? ......

TIA!
s-

Loading Linkage?
I've already got a preloader at the first secene, first frame of my fla.
But the movie goes blank for the first 5 seconds then shows the loading clip. How can I show a loading scene for the linkage files? So I see loading clip right away, instead of waiting for 5 seconds?

Thanks for your time

Linkage And Loading / Preloading
K, since Macromedia's documentation on flash isnt that great and i cant find the answer i need to see if anyone else out there has got this figured....

Does a flash movie load differently when a library has objects with linkage? Right now my movie appears to be loading all the items with linkage before it plays a single frame, which is bad because i have a TON of linkage sounds and its screwing up my preload bar....

any help/ experience from someone out there in this?

Loading Sound With Linkage
Hi there

can u help plz???

I´m give a name for a sound file on the linkage option, for me to use it on actionscript, but i´m having a problem loading the file, it start to load before my loading code starts!! I let the "export on first frame" checked on the linkage propreties. If I uncheck it, the movie loads normaly, but the sound dont play... :/

thank u all
Mike

Sound Linkage Loading
I have a bunch of sounds in my movie however to make a preloader I turned of ("Load into first Frame") in their linkage (So the preloader wouldn't lag) but now when I use Sound.attachMovie to get them they dont play. Is there a way to load them into the 3rd frame instead of the first without writing a line of actionscript for each sound??

Question About Sound Loading Via Linkage
hi to all. i want to know how can i insert a large sound clip to a movie (via library linkage), that doesn't load at the begining on the timeline. i want to control the soundclip via scripting, though everytime the sound clip loads first - on a first frame, even before a preloader. the preloader must loads itself up first. i want to know how to solve this. i want to keep all in one file, you know. thnx in advance for your help/hint.


creedence

Linkage Issues With Loading MP3s
Hello,

I am working on a game, and I am using MP3s within the SWF file to load at certain times. In order to make them loadable, I have set up the Linkage properties to :
-Export for ActionScript
-Export in first frame

The problem is, that it loads all the MP3s before the preloader even shows up, so there is a lot of time of blank screen. But when I take of "Export in first frame", I am not able to load the MP3s during runtime.

Is there a way to access the MP3 files without exporting them in the first frame?

Loading And External Linkage Library
I'm trying to load linkage items from a library in a different swf but I can honestly I do not have a clue how to... I've tried using attachMovie as well as loadclip to load the swf... then using attachMovie to attach the linkage item... This thing is frustrating lol. I know its possible I just cant figure it out

Pre Loader, Linkage, 1st Frame, Loading
Hi,

Just wondering what people think is the best solution the following:

Basically the probelm I am having is that as I have symbols in my library that rely on linkage, when I export the movie my pre loader doesn't appear until the linkage items have loaded. The way I have got round this is by unchecking 'export on first frame' and dragging them onto the timeline. But this is not only a bit cumbersome as there are around 100 movie clip I have done this with, it also seems to defeat the purpose of linkage a bit by having so many movie clips on the timeline.

Any ideas of a better solution I would be very interested to hear for future reference.

Thanks,

Dabush.

Flash MX Help With Loading Mc's In An Array Through Linkage Instances PLZ HELP
ok...i am trying to create this dynamic content movie in flash mx...if you are willing to help i have provided links to the files and it is a really cool and dynamic menu system imo...it is scripted to call upon the mc with the linkage instance of "section" and dump it into the empty holder "container_mc"...i thought i had scripted it correctly so that if i were to add more movie clips with linkage instances named section_1, section_2, etc i thought i had scripted the:

_root.content_mc.attachMovie("section", "section_"+i, itemDepth);
curItem = content_mc["section_"+i];

would create an enviornment that would call on those other movie clips externally and replace them with the previous movie clips as the user clicks the top buttons or scrolls...the problem i am having is that i can't for the life of me figure out why the only instance the actionscript is recognizing is the initial "section" movie clip and no others...PLEASE HELP...i am on day 4 of messing with this thing and i am loosing what little mind i have left by the miinute

i have added a link below with both zip and sit versions of my working file...please feel free to dl and take a peek

zip file
mac files

Loading Image And Creating Movie With Linkage
Hey,

I'm kind of new to flash.
I would like to know how I can load image from either library or exterenal directory and then create a movie with linkage identifier. Everythig of course in actionscript.

Thanks.

How Do I Stop Movie Clips With Linkage From Loading In The First Frame?
I have 13 movie clips, that work on an Attach Movie Clip action so they can load randomly(according to whihc button you press). But....how do i stop these movie clips loading in the first frame?

Loading External Images Randomly, Getting The Amount Of Images Out A *.txt
hello there!


i've made an a script that loads images externaly from a specific map
randomly. there's only one thing:


how can flash learn to know how many images are loaded?


it's for a client so he can only upload the images and that's it.
can he somehow fill in a *.txt-file that flash can use further???


this is my sourcecode for the external-stuff:

code:

_root.importImage = "background_netomzet"+random(*)+".jpg";



(the * has to be a value that needs to be generated by how many pics
there are in the image map")


thanks a million people!


g

Loading Images Into A Container-H And V Images Centered
I am trying to load multiple images into a container clip to make an image gallery. Since there are both horizontal and vertical images I want the images to load into the center of the container clip (the center of container clip is aligned with the center of each image) because I cannot align both h and v images in my design by a corner. how do I do this?
Thank you!

Loading External Images Loading Bar (Movie Clip)
I have managed to have external images loaded with the progress bar. However, when I place these items into a movie clip the preloader no longer works. can someone please take a look at the flash file for me.

http://www.bloggot.co.uk/file.zip

Sound Linkage When Loading Movies Into Movies
I have an intro.swf file that is basically a movie with sound that is exported for actionscript but not exported in the first frame. I just stuck it in a movie on my timeline and it works great and the preloader works because it doesn't load the sound before the preloader. I use :
musicSound = new Sound();
musicSound.attachSound("music");
musicSound.start();
to play the sound in intro.swf.

However, now this intro.swf gets loaded into an index.swf and everything works fine and the sound plays as long as I have the sound included in BOTH the intro.swf and the index.swf and the sound is exported on the first frame in the index.swf. I was hoping I could remove the sound entirely from my index.swf since it already loads into the intro but so far I haven’t been able to figure out how without breaking the sound. Any advice or help would be greatly appreciated.

Dynamic Image Loading / Images Not Loading?
This is my first try at loading images with action script. I read through the forums, borrowed code, and adapted it.

///////////////////////////works fine
myvars = new LoadVars();
myvars.load("alldoorsdesc.txt");

myvars.onLoad = function (success) {
if (success) {
_root.doorsinsttxt.htmlText = myvars.d1txt+"<BR><BR>To order call us at 505 934 8888";
//I would like to create a for loop here so addidtional
//items can be added, is this possible?
_global.dr1txt = myvars.d1txt;
_global.dr2txt = myvars.d2txt;
_global.dr3txt = myvars.d3txt;
_global.dr4txt = myvars.d4txt;
_global.dr5txt = myvars.d5txt;
}
};
///////////////////////////doesn't trace to loaded door

var doormovie = _root.createEmptyMovieClip("imgmovie",_root);
doormovie._y = 100;
doormovie._x = 300;
doormovie._width = 300;
doormovie._height = 300;
function loadpic(num){
trace("inside loadpic" +num);
doormovie.createEmptyMovieClip("img"+num, num);
doormovie["img"+num].loadMovie("images/door"+num+".png");

//// I'm not sure about this line
doormovie["img"+num].onload = function(){trace("loaded door"+num);};

stop();
}

function unloadpic(num){cont["img"+num].removeMovieClip();}
function unloadAll(){cont.removeMovieClip();}
loadpic(1);// load the inital picture

----------------------------

Are all these functions loaded into the root visible from another movie that is imported with getURL ? Or do I have to copy the functions to that imported movie?

Loading Order - Dynamically Loading Images
Flash 5
I am trying to control the loading order of dynamically loading images. If I have 12 placeholders (4 columns by 3 rows) for the images (e.g. 12 instances of a movie clip) each of which loads a different JPG or SWF. I want the 1st instance/placeholder to completely load the image dynamically before the next instance starts to load the next image and so on. How can I ensure image1 is dynamically loaded before image2 and then image3 etc...

If I put each instance on a separate frame on the timeline will it stop on each frame until the instance is loaded before moving onto the next frame? I have seen the effect im trying to recreate on both:- www.rui-camilo.de and www.andyfoulds.co.uk

Many Thanks in advance.

Loading Images
My website http://www.tbtsun.com has many images and it is 6 megs all together.... I wanted to know if there was a way for the images to load when people want to view them. Please e-mail me at thesmack@optonline.com I need help if someone can actually DO IT for me. They will recieve many thanks and credit on the website.

PLEASE HELP

Loading Images
Hi everyone

Is there any way to load images in real time? I'm trying to made something like a slideshow, but the images will be changing day by day and I thought that maybe there should be an instruction to load an image...

Can anyone help me? I will appriciate a lot.

Loading Images
Hi all
Is it possible to load an image in flash the same way you can load a txt file.without using generator or some form of template please any help is would be wonderfull.
Cheers

Loading Images
I was wondering if it was possible by Action script
to load images from the outside, like loading variables
from text files.

What I have in mind is to just add jpg images into a folder and for the flash to automatically recognize it and display it, rather then to keep updating the flash file everytime I produce a new image.

Loading Outside Images Into Swf?
I've got a load of photographs I've scanned in (jpeg's). Is there a way in which I could create a type of slide projector showing an image at a time but loading them from a specified folder? I have too many images to put them all in my FLA file, can I load images in like you would load .txt in? At the moment I'm thinking along the lines that I have to call the files i.e. 0001.jpg, 0002.jpg, etc.

Thanks for your time.

Loading Images On The Fly..?
Is it possible to create a flash movie that can open vector (if not what file types) files on the fly (from a data base or ?) and then manipulate them (zoom in, out)...

If so, where do I start?

P.S. Macromedia Web World in San Fran was awesome...

thanks,
Pepe

Loading Images
I would like to assign random images to my home page. every time a user goes to my site they will see different images.


how can i do that??????

thankyou

Loading Images
I want to load JPG files, into an SWF in the same way one loads movies. I think MX can do this.

Any ideas? Is there a LoadImage object?

Loading Images Via XML
I'm a real ActionScript newbie, but it seems simple. Anyways, I'm modifing the following script/movie to add images dynamicaly loaded from XML.

News slider with XML input

The problem is, well simply it isn't working

Here is the main action script:


Code:
//Made by Wwward on 18/06/2002 in Brussels, Belgium...
//Feel free to use and change, if you use it, i would like to know
//it's fun to know that people use this
//just mail me at w_w_w_ard@hotmail.com
//This frame only loads 1 time, when the movie is loaded
nVar = 1;
urlXML = new XML();
urlXML.onLoad = displayXML;
message = "Loading XML....";
urlXML.load("specials.xml");
//This function puts the sentences in an array, the array "item"...
function displayXML() {
hoeveel = 0;
hoofdtag = new XML();
elementtag = new XML();
item = new Array();
hoofdtag = this.firstChild.nextSibling;
if (hoofdtag.nodeName.toLowerCase() == "dday") {
message = "";
item = hoofdtag.childNodes;
hoeveel = item.length;
itemneke = "";
itemneke = item[nVar].firstChild.nodeValue;
mijnstring = itemneke;
//the following is the code in question:
pic = hoofdtag.childNodes.attributes.photo;
//load the swf into MC
loadMovie(pic, "modelHolder");
//end questionable code
}
}
Any feedback is greatly appreciated.

Thanks,
SB

Loading Jpg Images
I have a .jpg image that is loding in to a .swf file and thet .swf fiel is loding in to my .fla file butt when it does it throws the .swf files right top corner to the MC's center is where it loads at.

the only way that i found out how to fix it is when the jpg imag loades in to the swf file that i set the _x -512 and the _y -384 ( all images ar at 1024x768) and than when the swf file loads in to the fla it centers it right on top of the MC.

is ther a way to make the _x and _y at Zero when you load the jpg. i don't whant to have problems later down the road.

Thanks
MadWilson

Loading Images Please Help
Hi m8s

Please help me, how can I find if image is loaded? Image loading from URL source to blank movie clip, I need to know how many bytes are loaded and if loading is finished!

Cheers

Loading Images Using Xml>>>Please Help
Does anyone know how to load images using an external xml file in Flash. Any help or links to tutorials will be very appreciated.

Thanks!

Loading Images
Hi yall,

Does anyone no how I can load mutiple images into a movieclip. I'm confused because the number of images is going to change every week...and I do not want to manually update the movieclip every week.

Any ideas??

thanks

Loading Images?
Can you load images from a url within flash and if so, HOW?

Loading Images
Hi there,

I have been using the following code, but I am having a few problems in Flash MX :


{
_root.createEmptyMovieClip("mypic",1);
mypic.loadMovie("125662573A1.jpg",_root);
}

It seems to resize the image to fit the screen and when I try and set any size parameters, it just fails to show it - has anyone got any ideas why it isnt working or what I can do to fix it? Is it because of the "_root" part, what should it be to get it in the current frame or layer?

Thanx in advance,
Sparky.

Loading Images...or Do I Need To?
Well basically I am trying to create my flash site to be friendly for a 56k download...is there any way that I can have the movie load the picture files when it needs them much like an HTML page. I want them to be loaded and appear when the user chooses to view them.

OR do I need to do this...will the flash movie stream on its own...I just don't want my preloader to take too long to load that is why I am concerned...

Help Loading Ext Images
I've looked around and tried numerous suggestions. But I still can't get this to work. My button is loading some thing because the screen changes color slightly. Posting fla. Can someone tell me what I'm doing wrong.

How To Loading Images
LoadMovie.fla::::::::::::::::::::::::::::::::::::: ::::::::+

Frame1:

loadVariables("3c.asp","","GET");

if (bb=="3c")
{
mmm=Number(2);
}

loadMovie("images/image"+mmm+".jpg", "square");


3c.asp

<%Response.write "bb=3c"%>

but it doesn't work!!! why???

Images Loading
Ok, listen up. I need some help

I made an intro to a friends site, used a few bmps, made a preloader that works just fine. But the images refuse to preload. And since they take awhile to show, the music, which was planned to end at the exact time, ends too soon.

Does the IfFrameIsLoaded command recognize images as well?

What can be done to make it load everything, if not?

You can see the intro at:
www.fbb.us

You might see what I mean.

Thanks for any help you might offer

The Grey Mage

Loading Images In A Swf
I have a little problem and maybe you can help me (I can't speak english very well)

I have an input text field
1 button

in the text field you put something
when you clic the button, it opens a browser with the url+the text in the field

but the page only contains an image, the name of the image is different from the text in the TextField

for example, you enter FLASH, clic, and if it is found, the image OK.jpg is loadead in a page, if it isn't found the image NO.jpg is loaded


and I want to know if there is a way to load the image in the SWF instead in a page

Thanks

Saludos

Loading Images...
I have been examining the loadimages file, dynamic slide show that comes with MX.

I noticed that all the actionScript is all together on one frame, rather than attached to different elements like the back & next button. If I were to copy all that script and place it on one frame in my Flash movie, how will it know to work?

Or would it be best to take different lines of code from there and paste the actions onto different elements that make up the slide show player I made?

I am pretty dumbfounded and would like to get this to work today. I don't understand how the one that came with MX can work if there are no actions attached to the next and previous buttons???? I am looking for the simplest possible methods.

If you could please explain it to me! Thanks!!! I'm trying to understand.
I'll be posting more questions as I stumble along later!

Christine

Loading Images From .swf
Hello people!

I need help on this:
is it possible to load images into a swf movie dinamically while it is played?
For example if I have a movie that calls a php file for having a file name as result (stored in a variable in Flash), how can I then load that file (which of course is an image!) into the swf?

Maybe other Macromedia or third party software is needed to have Flash doing this?


What I need to do is an application that allows users to upload images and then the possibility of loading them into a flash control panel on the website.
The first part (upload) will be done in PHP, but I'm not sure about the second part (loading the uploaded images into the swf!).

Thanks a lot in advance, this is important to me!

Loading Images
I have picture thumbnails on the left side of the screen and want an enlarged image to appear on the right side of the screen after the thumbnail (button) is clicked. I would appreciate any help in writing the proper ActionScripting for this process.

Loading Images?
Hi guys

I am trying to load im images @ runtime, I have been told that flash can only do this with .jpg files. Thats fine. I have set everthing up for this.

image url is stored in a db and is then loaded into flash when required. The url loads fine and i can run a trace to make sure of this. Here comes the problem


Code:
this.onEnterFrame = function() {
if (_parent.result == "Okay") {// returns result from loading information from the db
loadMovie(imgurl, img_holder);// imgurl holds the address for the image
}
trace(imgurl);// trace to make sure the url is loaded correctly
delete this.onEnterFrame;
};


This image wont load into img_holder(MC)
This is my first atempt @ loading images this way. am i missing anything, Cheers guys

Loading Images
i'm wondering if there is a way to check if an image has loaded yet. i have an animation, and i want to load a jpg, but i don't want it to do anything until the 3 images i have load.


any ideas?


`grom

Loading Images
Hi,

I have about 10 thumbnails. I would like to display the full size image when they are clicked on. The problem is that preloading all of the full size images takes too long. How can I load the full size images as they are accessed?

Thanks,
Tim

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