Loading Pictures/text
Hi!
Is there some way to load pictures/text into an SWF without it actually being in that SWF file? For example, if someone clicks on a thumbnail, i want it to load the picture, however, since there are many pictures on my website, i don't want them all to load with the flash itself. Likewise, with text- i write a lot on my page and i want people to have the option of reviewing older writings, but i don't want it to all load right off. If anyone knows a good way to do this, i would REALLY appreciate it! Thanks!
jake
KirupaForum > Flash > Flash 8 (and earlier) > Flash 5
Posted on: 09-06-2002, 02:37 PM
View Complete Forum Thread with Replies
Sponsored Links:
Loading Pictures From A File Like Loading Text..how To Do It?
I don't know if this is possible...but I'll ask it anyway.
I know how to load text into a flash movie from a text file, (the load variables function), but is it possible to load an external picture file, like a jpg or a gif in the same way without using the flash program?
If it's possible, can someone please tell me how it is done?
Thanks,
JRL
http://www.xtranix.com
View Replies !
View Related
Loading Pictures After Page Load, And Farsi Launguage Text, Please Help
Hello, I work for a non-profit and I am trying to put together a kids website the best i know how in flash (the country it is for has 56k or lower)
anyway, I cannot seem to find out how to load a picture after the main page has loaded. As the kids internet connections will be very slow, I would like the images to load after the page does, perhaps with a little loading animation or % loaded.
Also I cannot figure out how to get flash to use the farsi language. It brakes up the text into separate letters (in farsi the mesh together)
Any help with this would be steller, I have been looking and trying for 3-4 days now and I am so frustrated. I know flash pretty well but when it comes to action script I am a complete idiot haha.
Thanks so much in advance
View Replies !
View Related
Loading Pictures
okay i have a photo gallery i am making...each picture is a button...and when i click on the button i want it to load the image in another movie...is there an easy way to do this?
thanks
View Replies !
View Related
Loading Pictures
Is there a way for me to load a picture from a separate file into Flash without someone even opening Flash. In other words can I have a new picture load by just changing a picture on my server?
View Replies !
View Related
Loading Pictures
Is there a way for me to load a picture from a separate file into Flash without someone even opening Flash. In other words can I have a new picture load by just changing a picture on my server?
View Replies !
View Related
Loading Pictures
Alright, here is what i want to do. i want to have thumbnails surrounding a picture. when i click on the thumbnail, i want the thumbnail i clicked, to replace the big picture, im sure you have all seen it before, is there an easy way of doing this? thanks a lot.
View Replies !
View Related
Loading Pictures
I have managed to get external pictures loaded into a scrollbox in Flash MX on a button press..
But what if I want to load images into an ordinary box?? how would I do this?
As there is only a scrollbox option not just "an ordinary box"??
Help much apprecaited
Thanx
View Replies !
View Related
Loading A Lot Of Pictures
Hi All,
I am designing a portfolio site and my client has about 50 pictures that he wants on the site. Each photo is 330x500 in dimension. Each will be on its own separate frame. I am worried about making a swf and a fla file that is going to be too big. I can make a preload screen for eash photo but I am still worried that down the timeline after a 5-10 of photos Flash will become bogged down. Is there a better way to display all of these photos? Am I right to be worried? Can I purge memory somehow?
I have attached the swf
View Replies !
View Related
Help Please..On Loading Pictures
okay.. with oldnewbie's help, i was able to load a .jpg into an empty movie clip..
my problem now is that i tried making three thumbnails to load the images, but when i try it, they don't all load...
is there a way to have them load one after the other?
also, i have a problem with the loaded image.. i made the container mc 100pixels, and the image was only 96pixels, but when it loads, the bottom and right pixel are cut off..
can anyone help me here? *gasps*
thanks.. i would truly appreciate it.
View Replies !
View Related
Loading Pictures
i'm just curious.
can i get some pictures from a folder loaded into a swf?
and when i change in time the *.jpg files from the folder,they also apear changed in the old swf?
at the start of flash mx,when u 1st install it(wich i did 2 days ago) they say u can build up an album this way...but just how do i do this?
let us say i got 3 jpgs in this folder(pictures).
how do make flash(not me,i know how to import files) load them?
if i change the files from the folder and put there an other 3 jpg(replace the old ones),can the swf take the new ones to load?
do i have to use the same name for the jpgs?
can i make flash load all the jpgs from the "pictures"?evn if i add new pics?or delete some of them?
thanx for reading this and thinking of it.
View Replies !
View Related
Loading Pictures
I'm trying to load a picture with the loadMovie function, but the picture isn't aligned where the its supposed to be(its not in the same spot as the movie). Can anyone help me.
View Replies !
View Related
Pictures Not Loading
I am making a picture page with 12 thumbs. Then when you click on one of the thumbs the larger version of the thumb is suppose to load. The problem is the 10th picture will not load. It wants to load picture 0.
Here's the code:
PHP Code:
_root.junior.createEmptyMovieClip("loader", 500);
_root.junior.loader.onEnterFrame = function()
{
if (!this.done)
{
for (i = 0; i<=12; i++)
{
//thumb = "thumb"
_root.junior["thumb"+i].loadMovie("Images/Junior High/2004/thumbs/July/July 23, 2004/thumb"+i+".jpg");
L = _root.junior["thumb"+i].getBytesLoaded();
T = _root.junior["thumb"+i].getBytesTotal();
trace("L = "+L);
trace("T = "+T);
if (L>4 && L == T) {
this.done = true;
//thumbsloaded = true;
}
}
} else
{
thumbsloaded = true;
this.removeMovieClip();
}
}
_root.junior.createEmptyMovieClip("loader2", 600);
_root.junior.loader2.onEnterFrame = function() {
if(_root.junior.thumbsloaded) {
for (i = 1; i<=12; i++) {
_root.junior["thumb"+i].onRelease = function() {
num = this._name.substr(-1, this._name.length);
//num = i;
trace(num);
_root.junior.picture.loadMovie("Images/Junior High/2004/pictures/July/July 23, 2004/image"+num+".jpg");
};
}
}
};
View Replies !
View Related
Loading Pictures With MCL
Hey!
Could use some help here. Im trying to do some function that displays three images on a row.
I can load those via MovieClipLoader class and all that stuff. But the problem is I want them to fade in, one after one. This is my code so far:
When starting this function I write showPicture(1), showPicture(2) and showPicture(3), but this fades in all of the pics at the same time. Anyone got a solution?
Code:
function showPicture(i:Number):Void {
var mcLoader:MovieClipLoader = new MovieClipLoader();
var mclListener:Object = new Object();
mclListener.onLoadInit = function(target_mc:MovieClip) {
var pictureFadeInTween:Tween = new Tween(target_mc, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 3, true);
};
mcLoader.addListener(mclListener);
mcLoader.loadClip("/bilder/fax"+i+".jpg","_root.sida3_huvudmeny_mc.bildvisare_mc.bildvisare_"+i);
}
View Replies !
View Related
Loading Pictures On Demamd
I have a MC that loads external swf at user request, then the user can click on back and foward buttons to see the pictures. Well, now I have a problem if I'm going to use all the pictures in one file(swf), the file will be very large. With that in mind I have made several files (swf) with 06 pictures in wich one. Now how can I load pics on demand, without losing the basic back and forth navigation.
see this link
http://us.geocities.com/bundas1000/exemple/exemple.html
thanks,
View Replies !
View Related
Dynamically Loading Pictures
Does anyone know if there is a way to dynamically load pictures using Flash 5? Basically, I have a bunch of pictures I'd like to throw into one folder and then have my Flash movie dynamically load in images from the folder. The images can be in either JPG or SWF format.
Is this possible?
View Replies !
View Related
Loading External Pictures
I am building a simple site that has a need for graphic updates at a later time. These updates need to be done by a none flash programmer. I am going to have a graphics folder in the directory on the server with the flash movie. How do I import the graphic from the folder into the flash movie?
I am using Flash 5 and I know how to get text into the flash movie with an external text file(.txt). Can a graphic be pulled into a finished .swf? Does it need to be a symbol or movie? If it does how could I pull the graphic into the movie? I have used a little PHP.
I hope someone can help...
Thank you,
DW Stanford
View Replies !
View Related
Preloader And Loading Pictures
I need to write script for this action :
Galery with 10 pictures. Preloader is loading all of them.
But the first one shows up immediately after it completely loads and the rest those 9 pictures
are still loading. During I'm watching the first picture, the rest will be loaded.
If I click at the first picture earlier, the preloader showing how pictures are loading will show up.
I've tried everything , but I damn don't know how to do it. Please help me. Thanks
View Replies !
View Related
Loading External Pictures
Below i used a script from a MX tutorial. The script is now looping with one external picture. After the movie fades out he has to pick the second external picture by counting whichpic [whichPic++]. Can please someone help me scripting this problem.
ThanX
square._alpha = 0;
whichPic = 1;
_root.onEnterFrame = function() {
if (square._alpha>2 && fadeOut) {
square._alpha -= 2;
}
if (square._alpha<2) {
loadMovie("../images/image"+whichPic+".jpg", "square");
fadeOut = false;
fadeIn = true;
}
if (square._alpha<100 && fadeIn && !fadeOut) {
square._alpha +=2;
} else {
fadeOut = true;
}
if (input>5) {
input = 5;
}
};
View Replies !
View Related
Loading External Pictures
I want to load a picture into my movie
i made a preloader for loading this picture
loading it into _root.pictureholder
once loaded i adjust the object next to it:
_root.leftofpicture._x=_root.picture._x-_root.picture._width;
most of the time it works
on my computer always, on the net not always
can anyone help me?
View Replies !
View Related
Trouble Loading Pictures
Hello,
I'm trying to write a script that will randomly select a picture in a specific folder and load it into a flash movie. I want it to be able to pick the image without storing the filenames of the pics. I imagine that there is a fairly easy way to load external images into an swf when it runs, but I'm a little rusty with Actionscript and can't remember it. I considered writing this script with php, but I want the image to automatically reload every minute or so, so I thought flash would be easier, but its still a possibility to embed php in the movie. Please advise me as to the best course of action. Help would be greatly appriciated,
Thanks alot....
By the way, I'm still using Flash 5, (I've heard MX has more media loading options, but I'm pretty sure that this is possible in Flash 5)
View Replies !
View Related
Dynamically Loading Pictures
Is there anyway to dynamically load all valid pictures from a folder and then list them in the window as thumbnails? instead of having to load all of the pictures in your self and position them by hand?
If possible, is there a way to also put these thumbnails into an addictional scrolling content window on the side of the flash window?
I have looked for any commands that load images, but couldnt find any?
Any help would be appreciated because it is a project for school :/
View Replies !
View Related
Loading Pictures Into Flash
hey im just starting flash for websites and im wondering can i load pictures into flash externally. In other words if i have a picture i can load it up on FTP and then use a code or something to show the picture on the site. If i cannot do something like this is there any other alternate thing i can do?
View Replies !
View Related
Loading Pictures From Online
I am working with the picture slide show template that comes w/ Flash MX. Instead of having the pictures on the frames, can you just have a code that will load the pic from online? What code do you use to do this?
Thanks
View Replies !
View Related
Loading External Pictures
I have a question about loading external items. I know how to load external flash movies and external text, but I was wondering if there was a way I could load external pictures such as a jpeg or gif. Is there a way to load it like you would load external text from a txt file or any similar way without having be an external flash? thanks.
rhino~
View Replies !
View Related
Loading Pictures And Textfiles
before i post my code i should note that the text file is fully loaded before the code is run, so thats not my problem
this code loads the contents of the text file into an array
Code:
var picArray = new Array;
for(i=1; i<=_root.galleryText.numPics;i++){
_root.picArray[i] = _root.galleryText["desktop" + i]
trace(_root.picArray[i])
}
the trace tells me that the array has been populated by everything it needs to be populated by
this code makes a gallery and loads the respective pics into each thumbnail
Code:
onClipEvent (load) {
var x = 43
var y = 10
for (i=1; i<=_root.galleryText.numPics; i++) {
if (i == 1) {
_parent.attachMovie("thumbnail", "thumbnail", 1);
_parent.thumbnail._x = 43;
_parent.thumbnail._y = 10;
_parent.thumbnail.imageMov.loadMovie("desktops/"+_root.picArray[1]+"thumb.jpg");
_parent.thumbnail.picName = _root.galleryText["desktop1"];
x += 143;
} else {
_parent.thumbnail.duplicateMovieClip("thumbnail"+i, i);
_parent["thumbnail"]._x = x
_parent["thumbnail"]._y = y
_parent["thumbnail"].imageMov.loadMovie("desktops/"+_root.picArray[i] + "thumb.jpg");
_parent.thumbnail.picName = _root.galleryText["desktop" + i];
if (i%2 == 0) {
y += 85;
x = 43;
} else {
x += 143;
}
}
}
}
now the thing is the last pic is loaded every time but no others, further more it doesnt say that undecided.jpg cant be found which means that its loading the other pics but not displaying them. When a thumbnail is clicked, though it says it cant find undecided.jpg
also the whole gallery is in a scroll pane and its larger than the scroll pane but the pane isnt making a vertical scroll bar and vertical scroll is set to auto, it didnt work on true either,
here is a link to the swf
http://petoria.thedrunkenclam.com/mu...st/najuah.html
once it loads press media to get the gallery
any help or ideas would be greatly appreciated
edit: and now the movie isnt loading at all, im going to cry myself to sleep
View Replies !
View Related
Dynamically Loading Pictures
I have a database set up, and when a specific link is clicked in flash it returns the value that is stored in the picture field of the database. This value is the url of where the photo is stored.
How can i in flash update a movieclip to conatin this picture????
View Replies !
View Related
Dynamically Loading Pictures
I have a database set up, and when a specific link is clicked in flash it returns the value that is stored in the picture field of the database. This value is the url of where the photo is stored.
How can i in flash update a movieclip to conatin this picture????
View Replies !
View Related
Dynamically Loading Pictures
I have a database set up, and when a specific link is clicked in flash it returns the value that is stored in the picture field of the database. This value is the url of where the photo is stored.
How can i in flash update a movieclip to conatin this picture????
View Replies !
View Related
AS3.0 Different Issues With Loading Pictures Using XML
hi everybody.
I've made a gallery, that loads pictures using XML and fades them in and out using Tweener. the gallery can be seen here:
http://campjohn.dk/test/Intro_opdaterbar.html
so far the XML and the loop that fades the pictures in and out works fine.
so far, so good.
the actionscript to all of this can be seen here
Code:
stop();
//var
var xmlloader:URLLoader = new URLLoader();
var xml:XML;
var pictureArray:Array = new Array();
var numOfLoops:Number;
var counter:Number = 0;
//eventlisteners
xmlloader.addEventListener(Event.COMPLETE, onXMLLoaded);
//init
function onXMLLoaded(e:Event):void {
xml = new XML(e.target.data);
var partnerList:XMLList = xml.vesterdal_billeder;
numOfLoops = xml.vesterdal_billeder.length();
for (var i=0; i<numOfLoops; i++) {
pictureArray.push(xml.vesterdal_billeder[i].billede);
var loader:Loader = new Loader();
loader.name = "loader"+i;
addChild(loader);
loader.load(new URLRequest(xml.vesterdal_billeder[i].billede));
//loader.x = 235;
loader.alpha = 0;
}
loopTheStuff();
}
function loopTheStuff(){
trace("counter = "+counter+" & numOfLoops = "+numOfLoops);
if (counter < numOfLoops){
var myTest:DisplayObject = getChildByName("loader"+counter);
//trace(myTest);
Tweener.addTween(myTest, {alpha:1, time:1, delay:1});
Tweener.addTween(myTest, {alpha:0, time:1, delay:8, onComplete:loopTheStuff});
counter++;
} else {
counter = 0;
loopTheStuff();
}
}
xmlloader.load(new URLRequest("vesterdal_intro.xml"));
but, as noticed, I have different issues with this gallery, and I'd like some expert-help, to get me going
1) I'd like to be able to wait with the loopTheStuff-function until all of the pictures in the XML are loaded
I could wait until an eventlistener would catch the event, like this:
Code:
ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
but then the onComplete-function would be called 3 times, if the XML contained 3 pictures, right?
so - I'd like tips on how to wait until all pictures are loaded, and the start my loopTheStuff-function
2) on the link, I've posted, a blue box appears, when nonen of the pictures are visible. this box is to be used as a mask on top of the pictures
right now, the blue box is placed on stage with the instancename masken_mc
I've tried making a content_holder Sprite, in which I place my pictures using
Code:
content_holder.addChild(loader);
but I've not been able to make it work
so; i'd like tips on how I can place my pictures beneath an already existing mask in my Flash
I hope everything above is properly described
all files used in this project, can be found here:
http://campjohn.dk/test/vesterdalXMLIntro.zip
looking forward to response
thanks
felisan
View Replies !
View Related
Loading Pictures Problem
Hello, i tested my flash files(ctrl+enter) and everything worked perfectly. Afterwards, i exported my flash files to dreamweaver project, put the main fla in a table, centered it and uploaded everything to a server. The problem is that the pictures which are in the photo gallery aren't loading. Something quite strange, because it worked fine before being exported to dreamweaver.
This is the SITE
View Replies !
View Related
Problem With Loading Pictures
Hi.
I've built an application which, among other things, loads pictures in some thumbnails. The people for whom the application was have been changing the pictures for several times. Now they've done that again, but despite that they have changed them still the old pictures appear no matter what. I've even deleted the cache and still the old pictures appear.
The code for loading the picture is exactly this one:
thumb_mc.loadMovie("Poze/thumb1.jpg");
Unfortunetly i don't have acces to the server so i can't verify the corectitude of their work. So i am asking is it possible to happen something like this using that code? (there is no picture in the .swf file; everything is dinamic at runtime).
Thank you.
View Replies !
View Related
Loading Multiple Pictures
how can i load multiple pictures off of a single mouserelease. this is my code for my button so far:
on (release) {
_root.createEmptyMovieClip("container", 1);
container.loadMovie("FREEDOM_OF_RELIGION1.jpg");
set(container._x=385, container._y=135);
}
on (release) {
_root.createEmptyMovieClip("container", 1);
container.loadMovie("FREEDOM_OF_RELIGION2.jpg");
set(container._x=300, container._y=322);
}
View Replies !
View Related
Loading Random Pictures
i know this code loads movies dynamically:
choice = Math.round(Math.random()*3);
switch (choice) {
case 0 :
target.loadMovie("image0.swf");
break;
case 1 :
target.loadMovie("image1.swf");
break;
case 2 :
target.loadMovie("image2.swf");
break;
}
but how would you load movies that are already imported in the library???
View Replies !
View Related
Help With Dynamically Loading Pictures
Hello again. Well I dont have too long to write this down so I'll make it short and sweet. Heres the problem... I need to load pictures into a file. However I want it to load all the pictures in a certain folder. Does anyone have any suggestions, or questions as to what i am trying to do? I want to load pictures into the movie at runtime. And I want it to load all the picture within a folder. I could name the pictures in a certain way if needed. aka pic1, pic2... Thanks for the help.
[Edit]
Hey Sorry I forgot to mention I'm using Mx 2004
[/Edit]
View Replies !
View Related
Loading Pictures Dynamically
Hi,
I need to load a few pictures dynamically into a flash movie. All of them must act as a link to some place. I already know how to load the pictures dynamically but my problem is how to make them act as links/buttons. The link address I'm reading dynamically as well. Is there any way I use ActionScript to do it? May be you know any tutorial that can demonstrate it?
Thanks
View Replies !
View Related
|