ActionScript 2.0 :: Linking Dyn Thumbnails To Fullsize Jpgs?
Jul 29, 2004
I am fairly new to MX 2004, (previously used Adobe LM) but am well under way building a dynamic gallery using PHP and mySQL. So far I am able to load the thumbnails from my database, and create an onPress event for each thumbnail. I can get a static .jpg to load, but I can't get the thumbnial to link with the corresponding fullsize image dynamically.Basically I have loaded the filenames from the database into two arrays: thumbnails[] and fullsize[]. I know the database is working perfectly, I can load the fullsize images or the thumbnails into the thumbnail placeholders. I'm at work so I can't post the .fla until later,
View 3 Replies
Similar Posts:
Jul 29, 2004
building a dynamic gallery using PHP and mySQL. So far I am able to load the thumbnails from my database, and create an onPress event for each thumbnail. I can get a static .jpg to load, but I can't get the thumbnial to link with the corresponding fullsize image dynamically.
Basically I have loaded the filenames from the database into two arrays: thumbnails[] and fullsize[]. I know the database is working perfectly, I can load the fullsize images or the thumbnails into the thumbnail placeholders.
View 3 Replies
Mar 5, 2009
I'm working in a photogallery inside a mc (ex. movie>menu>gallery). There are 6 thumbnails in this gallery and I would need this: clicking on a tb i would open the bigger image in a mc in the root with alpha effect (fade in). I started using this code:
[Code]....
View 4 Replies
Oct 4, 2009
i'm just a newbie....i want to link a button to some moving thumbnails...this is the code
[Code]...
View 0 Replies
Apr 12, 2009
I have a Tile List Component full of pictures,when a picture is clicked i want it to gotoandstop at the frame where I made the picture fill the page. How do I do that if I can't insert an addeventlistener for any of my thumbnails in the component? how do I make the thumbnails link to Urls and load UIs? Heres my basic code:
thumbnails_tl.addItem({source:"website-01.png"});
thumbnails_tl.addItem({source:"website-02.png"});
thumbnails_tl.addItem({source:"website-03.png"});
[Code].....
View 3 Replies
Feb 8, 2010
I have a MC filled with button thumbnail images. I am trying to tell the thumbnail to display the corresponding fullsize image. the script I have for the first button is
on (release) {
picts.gotoAndStop(2);
}
Picts is the name of the MC containing full size images. There is no response to the button.
View 1 Replies
May 9, 2011
Haven't been here for a while and I'm really rusty using Flash. I looking for a tutorial or some information on how to scroll thumbnails by scrolling the mouse left or right over the thumbnails.
View 3 Replies
Jan 19, 2010
I used the tutorial "Adding Thumbnails" to build a fotoshow. Adding another xml-file I have the problem,that I cannot reload(?) the thumbnails correctly.[code]Then I do not see any thumbnails,if(!) the new thumbnail list contains fewer elements than the old one and if the old thumbnail list was scrolled over the hit_right field before.It is seemingly necessary to reset the internal state of the movieclip. But how can I accompish that?
View 1 Replies
Dec 5, 2007
I've got a website with three links to three different thumbnail galleries. When I click the link to a gallery that has a lesser number of thumbnails, it fills the difference in numbers in with thumbnails from the previous gallery.
View 1 Replies
Jul 28, 2009
the project im working on is all database driven, there are no html files and all coding that is created is made by php then stored within a db to be called later on. now because of this i can't use relative links at all with anything i.e. images, videos and swf files.
so.....i am using swfobject to link to a swf file using absolute linking as shown in the coding below. but what i need to do now is link an .as file in my swf using absolute linking so i can call some arrays from the file.i have doubled checked to make sure my vars can be passed by local testing and it works but now i need it as absolute....is this possible?
View 16 Replies
Nov 24, 2009
Is there some script or reference to show me how to create an swf with 3 jpg files (I'd like them to fade quickly but calmly between each other and simply cycle around for a web banner.
View 2 Replies
Dec 26, 2003
I followed the instructions in the tutorial "photo gallery" and for some reason my jpgs won't load.I pulled one of the images from the tutorial into the directory that I was telling my pics to be taken from and they work. So it isn't the path.All of the nature photos loa without fail, but my jpgs won't?
View 4 Replies
Mar 22, 2005
[Code]...
now the instance of image1+2 are 2 deep in the movie, not sure if that matters? but when i preview in flash perfect, when i publish perfect, but once up online nothing? anyone knwowhy
View 3 Replies
May 1, 2009
I broke apart all JPGs and converted them to symbols.And they all have correct X & Y coordinates.But while tweening... the JPGs shift a tiny bit. how to stop the JPGs doing the jiggle shift error ?
View 2 Replies
Jan 19, 2004
how can you load external Jpgs into a swf instead of loading them and compiling the swf. so that they appear in the cache.
View 1 Replies
Aug 9, 2004
We can swap depths of movie clips... ok....what about JPGs? I have an empty MC where I want to load images from an array and then starts swapping thier depths.Here is the script I use for loading them and the script I wans hoping will work for swapping thier depths:
onClipEvent (load){
var image_arr = new Array "1.jpg","2.jpg","3.jpg"....,"7.jpg");
for (var i=0;i<image_arr.length;i++)[code].............
How would I swap the depth of image 6 (image_arr[5].) and have it come to the surface?
View 2 Replies
Jul 14, 2005
That was supposed to be my first preloader dealing with an XML file and external jpgs ... searched the forum, found something that looked/sounded like it would work, tried to adapt it to my particular situation and ... (surprise!) ... it doesn't work. Let me add at this point that I'd consider myself a "very casual" ActionScripter (if there is such a thing), meaning that most of the time, I try to learn as I go along, without any *real* background knowledge. Here's my situation - methinks it's rather straightforward: SWF file (project.swf), XML file (config.xml) and a bunch of jpgs all in the same directory - nothing exotic so far. Here's the AS I (try to) use in my SWF file to load the xml and the imgs therein:
[Code]...
View 3 Replies
Sep 9, 2008
I have a gallery that loads external jpg's. I'd like to have the gallery start and while viewing the images, the rest are loading in the background.
View 1 Replies
Oct 28, 2009
I'm trying to load jpgs into my swf at runtime but they always come out black and there is no image. Could it be that my files are too big?
View 1 Replies
Sep 2, 2004
I'm currently making a xml driven photo gallery. The first stage is loading in the thumbnails, each thumbnail will preload individually. I pretty close to acheiving this except my current script only loads in the first jpeg. I have tried everything and I jsut can't find a problem. Anyway my code is below if anyone gets a chance to look. Sorry its a bit hefty. I think the problem is with the ThumbLoadingEnterFrame and LoadNextThumb functions.
PHP Code:
count = 0;
var thumbImage = new Array();
var thumbClip = new Array();
var jpegImage = new Array();
[code]....
View 1 Replies
Jan 19, 2004
how can you load external Jpgs into a swf instead of loading them and compiling the swf. so that they appear in the cache. Whats the function to do this, or is there a tut?
View 1 Replies
Aug 9, 2004
We can swap depths of movie clips... ok....what about JPGs?I have an empty MC where I want to load images from an array and then starts swapping thier depths.Here is the script I use for loading them and the script I wans hoping will work for swapping thier depths:[code]How would I swap the depth of image 6 (image_arr[5].) and have it come to the surface?
View 2 Replies
May 1, 2009
I broke apart all JPGs and converted them to symbols.And they all have correct X & Y coordinates.But while tweening the JPGs shift a tiny bit. Anyone know how to stop the JPGs doing the jiggle shift error?(I've seen it before, and thought I could fix it by breaking apart the JPGs and making symbols out of them, but the JPGs still have that quiver bug now)
View 2 Replies
Dec 10, 2009
At my job I frequently have to create Flash banners for major newspaper's websites. The specs that usually come in require a max file size of 30k or so. Usually my art department will hand me 3 or 4 screens that they want to simply move through in a loop. No biggie, until they start adding images to the files.
When I complain to them that the images are making the file sizes too big I am usually queried as to how other advertisers on these sites have full video in their ads. I understand that there are pre-loaders as well as allowed larger file sizes if you pay more for the ads.
getting image sizes down in Flash so that the images don't end up looking horrible?
View 1 Replies
May 12, 2009
I'm setting up an online picture gallery. I'm trying to make it easy for the client to insert specific images, dynamically loaded, have them appear at 63 percent. If the user clicks on one, it enlarges to 100 percent. Trouble is, when the image is at 63 percent, it is not smooth and looks terrible,All the BitmapData class solutions posted online work for individual images. But I can't figure out how to automate the process in a for loop. At this point I'm not even worrying about the enlarging. I just want the images to load at 63 percent and look smooth.Below is the code for two images. Later I'll increase this to 25.
On the stage are two colored rectangle movie clips: toon1 and toon2. I want the dynamically loaded jpegs to load inside them. The client will manually edit the last lines whenever she feels like it, to choose which images to load.What I need is an elegant AS2 solution in which any dynamically loaded jpeg will be smoothed.
for (i=1; i<=2; i++) { this["toon"+i].createEmptyMovieClip("cartoon",this.getNextHighestDept h()); this["toon"+i].cartoon._xscale = this["toon"+i].cartoon._yscale=63;
[code].....
View 5 Replies
Jul 11, 2009
I'm trying to go through a for loop, create a movieclip for each database entry, add the image by url stored. The problem is the code I have only does the last image. I know it's because something is not incrementing and they all have the same name. Do I need to increment the name of my loader?[code]...
View 11 Replies
Aug 12, 2009
So what I want to do is load up external JPGs into an Array of MovieClips, and then go to the main onEnterFrame function. [code]...
View 4 Replies
Sep 2, 2010
I'm justing starting to learn some actionscript. I can't figure out why my jpgs are flickering when I go from one scene to another. Do they have to reload each time? Here is a link: http:[url].....I have each animation as a separate scene, and you'll see that the buttons flicker when the new scene loads.
View 4 Replies
Sep 16, 2010
I am using premium page flip in flash 8 to create an online publication. No matter how high the res. on the jpgs, they look distorted.
View 1 Replies
Feb 9, 2011
I am doing a project for an RSS feed company, and I just found out I need to make a few flash files to be played on a digital signage display. Since I don't know Action Script , I'm basically learning as I go.One file is stumping me. I need to make auto-playing, looping, slideshow that consists of a series of JPEGs. These Jpegs are called from the companies server, and since they are basically weather images that shows doppler radar, they will be updated several times a day.
View 2 Replies