ActionScript 2.0 :: Flash Gallery That Resizes The Image Before It Gets Loaded?
Feb 24, 2008Flash Gallery that resizes the image before it gets loaded?
View 2 RepliesFlash Gallery that resizes the image before it gets loaded?
View 2 RepliesI'm using a crossfading gallery with images 500x330px real size.
The movie window itself has this size, so it's OK. However, the photos inside the window are smaller and there's an unused black space around them (right and bottom)! I just can't figure out why they get resized smaller.
The XML code:
PHP Code:
<gallery timer="2.3" order="random" fadetime="1.2" looping="yes" xpos="0" ypos="0"><image path="images/01.jpg" width="500" height="330" /><image path="images/02.jpg" width="500" height="330" /><image path="images/02.jpg" width="500" height="330" /></gallery>
[Code].....
I'm using a crossfading gallery with images 500x330px real size. The movie window itself has this size, so it's OK. However, the photos inside the window are smaller and there's an unused black space around them (right and bottom)! I just can't figure out why they get resized smaller.
[Code]...
I am working on a site and I'm using template for the gallery. It's being loaded with a loader component and an external swf file...
Everything is fine on the flash movie until I actually get to the gallery section and the template resizes the entire page!
i am trying to make this xml gallery that dynamically resizes according to the picture's width & height. the function resizer() is hardcoded with fix values. i have tried to assign it from the array like below but it works wierd, the border just keep increasing in size.
Code:
menuHolder["but"+i].onRelease = function() {
imageLoader.loadClip(this.path,gallery.imageHolder);
gallery.imageBorder.tween("_width",this.width,1,"easeOutExpo");
[code]....
I'm using Agile Uploader in my project to resize image before upload on client side.And it works fine except one thing: if image name contains cyrillic letters it fails with server error 500.
How to avoid this or if needed how to rename file with english letters "on fly" (possibly with javascript).
I am new to Flash and am trying to make a page that has a fullscreen image gallery with individual thumbs along the bottom. I can more or less figure this out using some templates,but I need to do this for over 50 different projects, each with anywhere from 1-100 images.Is it possible to make more of a container that dynamically loads from a folder of images rather than have to make each one by hand?
View 1 RepliesI followed a youtube tutorial on how to create a fancy Image Gallery but when I got to run it I keep getting the following error : interface 'flash.events.MouseEvent' could not be loaded.
Code:
stop()
btn1.addEventListener(MouseEvent.CLICK,play1);
function play1(event:MouseEvent):void{
gotoAndStop("img1");
}btn2.addEventListener(MouseEvent.CLICK,play2);
[Code] .....
i am using a kirupa XML gallery (v3 i think) and i want to keep the loaded image on the screen until the new one is completly loaded. Is there any way to transfer one loaded image to another movieClip or I have to do it all the way with 2 movieclips objects and use them alternatively!
View 1 RepliesI have created an image gallery that has company logos loaded into a movieclip at the bottom and scrolls based on the user's mouse location. When the user clicks on one of the logos it should load the corresponding screenshot. The function for loading the screenshot is this:
[Code]...
I get an error: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
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.
As you resize your browser window the background image resize proportionally. The content on the page does not resize however, it stays fixed. Also when you reach a certian size the background stops adjusting and the browser give you scroll bars.
View 1 RepliesI am making a XML photogallery with a background that resizes according to an image. It resizes so that it is is in the middle of the stage. The image is supposed to fade in the center as well, but I am having problems getting it to do so...
The gallery is loosely based on the XML gallery tutorial, but is modified to suit my own needs.[URL]..(for some reason it will not accept connections from kirupa.com - copy and paste the link into your browser )
[Code]...
i have a background that resizes with the window (without stretching) and my image has a nice resolution. But when i resize it, it seems low in quality.
View 3 RepliesJust trying to make a flash photo gallery that displays all the image files in a certain directory with the usual photo gallery functionality.
View 1 RepliesJust 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.
View 5 Repliesi was looking for gallery looking like this site [URL] i was looking gallery first page title gallery then Big image like this with description.
View 1 Repliesi 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?
View 14 RepliesDo you know any tutorial similar to this one [URL]...y=ActionScript) that shows how to make a bouncing image that resizes during bouncing?
View 3 RepliesI 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.
[Code]...
My problems comes in when you have to open a different image album and have to eliminate all the previously loaded children in the movieclip. When i load a new album i used a code you posted here: AS3 How to remove previous loadersbut the problem is that sometimes the user leaves the album page before ALL the pics laod so when they click on a new album to open it a new image is placed somewhere else cause the loader has already been launched. I've tryd to close() the loader but it doesn't seem to work.Here you can see the working site to see what im talking abouy you have to click on an album, leave before all the pictures load and open up another one.
getImage(dataList[0].file)
function getImage(href:String):void {
var loader:Loader = new Loader();
[code].....
do anyone know how to create an XML image gallery in Flash 8 same as in the link here.URL...
View 5 RepliesI would like to position relatively a scroller in my application like below.When I scale the image, I resize the scroller...
<s:Scroller width="50%" height="50%" >
<s:Group>
<mx:Image
[code].....
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]..
View 1 Replieshow to create an XML image gallery in Flash 8 same as in the link here..
[URL]
I made a scrolling image gallery following the XML photo gallery tutorial found on this site and it works fine on its own. But when i load the .swf file into another flash file using a holder, it loads but it doesn't scroll anymore; its just a static image. I tried turning it into a MC and placing the MC into my flash but have the exact same problem.
View 2 RepliesI used the Photo Gallery using xml and Flash tutorial and created a nice gallery with thumbnails I increased the size to accommodate a 800x533px size picture however when the images are imported they are distorted to a size that looks to be around 900x400px I am using flash 8.
View 1 RepliesI have a simple Flash gallery which reads from a xml file. Everything worked well but suddenly one of the images (image10.png) doesn't show up, all I get is an 'X'. All the images are in the correct folders as I haven't moved them. It's the second item that doesn't work (in bold).
Code:
<?xml verticalsion="1.0" encoding="utf-8"?>
<gallery
width="800"[code]..........
I've finally finished my flash xml gallery, and have tested it to my complete satisfaction using dreamweaver. When I do a preview from dreamweaver, or just open up the gallery html file from explorer the swf loads the xml file and all the images flawlessly, everything works. However when I move the site for testing on my mac laptop it loads the xml file but not the images. When I upload it to my test website it doesn't even load the xml file. I just copied the root folder over in all cases I dont understand why it wont work. You can see it here: [URL]
Could this be some export setting I am using incorrectly? Why would it work locally on a windows machine, and not locally on a mac or online on either. I tried re exporting the swf after saving it as CS3 from CS4 and changing the local playback security to only allow network. So now it loads the xml data online but not locally. Thumbnails still aren't showing up online though.
I am attempting to create a basic Flash website to promote myself online. To do this I require a scrolling gallery of images on one of my pages.I have found and implemented a tutorial online allowing me to have a scrolling gallery, but what I need to do is include it within the rest of the pages I have created. I don't know how the code I have used for the scrolling gallery works, to allow me to use it, inside the root level page.The script says:
_root.onEnterFrame = function()
{ if (_root._yMouse<594)
{[code]....
What I need to do, is put the scrolling gallery feature 1 level INSIDE the site, instead of on its "root". When saving the scrolling gallery feature as a movie clip, I coped the frame it was on and pasted that on the "images" page, within the navigation bar movie clip where the other page contents reside. ie Contact, Animations, Intro, etc.When doing this, the gallery is present on the page once the "images" tab is clicked on the navigation, but only the scrolling thumbnails are present on screen, and not the blown-up main image each of the thumbnails refers to, so when clicked on, no main image appears.But when placed on the "root" or outer-most layer of the site, the gallery works fine.I really need to know how to include this scrolling gallery feature WITHIN the navigation bar with the other pages, how can I do this? What actionscript could I use as a replacement to the "_root", to make the gallery function correctly?