ActionScript 3.0 :: Flash Thumb Gallery / Action To View 1st Image
Feb 18, 2009
I'm all done working on my gallery for my website.I have one last question: Now that I have a working thumb gallery, when I look at my scene there is no main image that pops up until you click on one of the thumbs.Is there a simple action script I can add so that when the person opens or load the page the very first image of my thumbs can pop up automatically?
I'm having an issue with using a hitTest to make a thumb menu from an image gallery I'm working with move up and down. Basically I need to use a hitTest because there is a conflict with the other rollover functions in the menu itself that prevents me from using a simple onRollOver function. All I want to do is hide the menu until the mouse rolls over it then I want it to pop up then on roll out hide itself again. The gallery is part of a larger site that loads the gallery into the index page and has a full screen function so it needs to stay at the absolute bottom of the page just above the footer at all times. Here is the code I'm working with but think I'm over complicating it.
I am trying to create a picture gallery.. I can arrange the thumbs in the screen and when I click to one of them, it shows the bigger picture. But the problem is, I want the thumb to do something when the mouse is over it.
When I use that tweenmax.to(this.....) part, all the thumbs act like one. I tried to change this to thumbs but I didn't work. How to convert all the thumbs to an individual image?
I have completed the xml thumbnail gallery and it works standalone. I want to load it into another swf which is part of my main movie. The only problem is that when i do this the XML doesnt seem to load. If anyone could shed some light on this, that would be great. U can dl the FLA's below. Completed Gal here. Loaded into another clip here.
I'm creating a moodboard application where the user can dynamically load an image onto the stage by pressing a thumb of the image in a menu item. I have most of that working but what I would like to know is that, if there is a way the user can interactively scale/transform the image when it is on the stage in the swf file?
Using a bunch of the tutorials on this great site, I've been teaching myself AS, and inparticular the XML parse, etc. with the loop commands to load an ideterminate number of images, etc. attributed in an XML file.I've got the attached code to work before - and it works well here too, loading all the thumbnails in their correct location, and as per the XML file. BUT now it's part of this page, the 'current_thumb' seems stuck on the last thumbnail, and a rollOver of any thumbnail will cause only the last one to action. In addition, when I put the trace command in on the onRollOut function (trace(current_thumb_mc) I get "_level0.menu_mc.item3_mc" no matter which of the four tumbnails I rollOver.
//Initial P Value p = 0; //Project Information //Assigning Information[code]..........
I've made a gallery slideshow before but wasn't as intuitive looking back at it now and I want to start fresh on this new project. I would like to convert a jQuery lightbox style gallery into a flash XML based AS3 image gallery with categories. I don't want to code the FLA, I want separate AS files.
This is a school project for my website. I would use jQuery and I have more experience with it but this project needs a flash component. I'm just not sure where to start and looking for some advice on how and where I could find resources. I want it to be minimal as I can make it;
- 8 thumbnails to a "page/section" with more flowed into page 2 or 3 etc. (or a srcoller)
- a few buttons for categories
- images fading in full size with a description when hovered over and a close button
- preloader (simple bar)
Esentially something like this > http:[url].........works which is using http:[url].... for the thumbnails. That might be ambitious but I'd suffice with a simple fade effect.I've downloaded some galleries out there but most of the code is messy or outdated.http:[url]... this is alright, but all the code is done in the FLA. I might break it into AS files but it depends.
What I want to accomplish is to have a up and down scroll w/ thumb images. Once you press on a image the thumb gets bigger and have the option to close the big image and back to all the thumbs..
does anyone know how to disable that slide animation and just have the action bar instantly change to whatever action bar the next view contains, but still do a slide navigation for the rest of the view. My Action bar doesn't change on every page so seeing the same image reload repetitively in the action bar.
looking for a script that loads 6 logo image thumbs into a grid (randomly from folder), with each thumb having a rollover image and link.. Basically the logo area on this page : I have about 30 client logos in greyscale ( and colour version for rollover), and need to randomly load 6 logos at a time (or random individually) on a timer. oN RollOver. loads colour version of logo with link node in XML Something like...
The thumbs load on a grid and when I click on the thumb they load in the loader. Now I am having trouble removing them. The tutorial has the remove function on the loaded large image so when you click that it removes itself. I would like so that when you click on the a thumb the current image will unload and the thumb that is clicked on will load but can't figure out how to get it to do that. I figured I'd just add a CLICK listener for the "removeFull" function to the "callFull" function but I think it cancels itself out.
Here is the code I am using: (the code to load and unload is toward the bottom)
Code:
var columns:Number = 2; var my_x:Number = 25; var my_y:Number = 75; var my_thumb_width:Number = 65;
I found some code to create an XML based Flash gallery (I have lots of XML experience, not so much flash!) and modified it some to make the images show up exactly where I want them to on the stage. The problem I can't figure out is how to make the current image unload and the thumb that is clicked on load. Right now, the images just stack up on top of one another. I've searched all over to find a solution, but so far nothing I tried has worked. I haven't even gotten around to adding tweens to the gallery yet!
i'm using a XML file fromwhich i load thumbnails and images into Photo Gallery.[code]The problem is all thumbnails acting as buttons even the empty thumb which hasn't image_path in XML?!
Just wondering if anyone knows about the project I am trying to start, uploading images from flash using php is fine but wondering if anyone knows how to create dynamic xml from php and it takes all the image names from the same folder where those images have been uploaded. So we can load all the images in image gallery through xml into flash.
I'm coding a image viewer application for tablets using Adobe Flex 4.5. Basically, I have a list with a custom item renderer that renders the images in the list. I have set up the image size to be the width/height of the tablet device in portrait (600x1024). This way, only one image can be seen at one time. The problem is that when the device orients to landscape, this design obviously screws up. My question is how can I get it to change the width/height of my images automatically when the orientation changes such that only one image is shown at a time?This is my list:
I am pretty new to AS3. Basically I have a photo gallery that runs in a container, which is added to the stage like so: import com.xmlphotoalbum.*; var gallery:XmlPhotoAlbum = new XmlPhotoAlbum(); gallery_container.addChild(gallery);
I want to have it set up so when you click on a "gallery" button, it reloads/refreshes the gallery to its initial state, because the "internal" navigation of the gallery isn't very intuitive...and so the only thing I can think of is essentially to remove the gallery and re-add it, so that whenever "gallery" button is clicked, it resets the gallery to its initial thumbnail view. I've tried fumbling around with removeChild, addChild, if statements, and I'm pretty lost.
I cant load an image from a class.I have main.as which calls Classplayer.as Classplayer calls ClassMisiile.I cant load an image from ClassMissile .I can load the image in Classplayer and dont know why the image in ClassMissile doesnt appear and it is spelt right and in the correct directory.I dont get an error and the functions work but no image.
I am new to flash and am trying to achieve the following: My website for Salou currently has a static image of google street view, i want to incorporate a live version that will be available on the ipad and ipod touch, will this work as i am told that google street view uses a flash plugin.
I'm a newbie with AS2....and i wanted to learn to create a photo gallery that scrolls right or left, and that when you click on the photo it becomes bigger.Well I found a tutorial from a site. The only thing is that... when I built it and applied it to my project it does not work:The issue is that it takes over the main page, even though is in its own swf file....(It's part of a flash website, where each page is loaded separately...in this case this AS is in one page (portfolio) and when it gets loaded in the main page...the AS acts upon the "root"...I really don't know how to change the script to only act upon the native swf file. I'm using a loader component to load the external pages...not sure if this is what's causing the issue? :roll: Also, aside from all the photos appearing across the entire horizontal part of the page(they do get to scroll), but when you click on the photo ..it does enlarge but it freezes the whole page. I would like for this action to only be constrain to the size of the page, which is a different size than the one of main page, and to be able to be clickable...I know this might sound confusing... supply a url...to explain things better! In the mean time here is the code....
What is best way to set up my application. I currently have a working app but the work flow doesn't feel right at all. Here are the basic steps involved:
i am trying to add extra images to the photo gallery attached. I would have thought it is easy and it seems so. I add an extra image to the gallery. I publish it. The html file shows the extra image in the gallery but the swf doesnt. driving me crazy, cant work it out?
I am creating an image gallery and the images change but change right back to the original image. I had it working yesterday but today it doesn't work.
anyone know if actionscript can do this kind of effect ? any similar tutorial i can find? or i can modify from market existing third party software? [URL]..