Actionscript 3.0 :: Change Where UIloader Displays Images?
Jan 17, 2009Whenever I load images into a UIloader they display from the upper left hand corner. Is it possible to make is so they display from the upper right hand corner?
View 2 RepliesWhenever I load images into a UIloader they display from the upper left hand corner. Is it possible to make is so they display from the upper right hand corner?
View 2 RepliesExplaination: MX 04' Pro Thumbnail Nav. loading images with XML Loader resizes and displays images when users click on Nav. reading XML Problem: Users click Thumbnail Nav. first image gets loaded and loader resizes to image. However the next choice by user on thumbnail click, the second image doesnt get resized in the loader. It goes beyond holder. Here is my code for Thumbnail and Loader:
[Code]....
Now the first image loads fine and the loader sizes to file from XML. However, when users click second choice from Thumbail the loader doesnt resize to new image size. It only gets resized on the first selction or if users click the next or prev. buttons then the images fade correctly but nothing fades back in. Now if they do hit next or prev and then hit a thumbnail option it loads and resizes.
JPG images saved in Photoshop in highest quality gets blurry when loading them dynamically through uiloader in Flash. Why, how can I maintain highest quality?
View 1 RepliesI am building a site in Flash cs4 and I'm a the part where i want to add my photos so I have inserted a UIloader to load my images and I have set the UIloader to pull from the images folder and it just keeps giving me an error message cant find images which I cant understand why cause the Fla file is in the same folder as the images,here's the part I really cant understand if I rename the images without numbers then it finds a couple of them???? I have always done it this way in the older versions and I know it works in the new version I have spent hours trying to find out why and have asked many people and they cant tell me why.
View 1 RepliesI've got a flash page where a uiloader uses 10 different images. Wondering if I can assign a url to each image so that when they load, the viewer could click to follow the link.
View 1 RepliesI am using ActionScript 3 in Flash to load images into a UILoader. There is a bay of thumbnail images, which are all movie clips. When one of these movie clips is clicked, AS3 calls a larger image to display in the UILoader. All of these images are narrower than the UILoader, some very much so, and they all have different widths for the most part.I would very much like for these images to be centered within the UILoader and (obviously) am unsure of how to go about doing it. If it would be possible for them to be both horizontally and vertically centered, that would be ideal, as they are also of varying heights.
View 3 RepliesI have a problem with an xml photo gallery nothing special about the code just a simple xml loader routine, everything works fine on my local machine but testing on the server only displays some of the images?
View 1 RepliesI'm working in flash Cs4 and I just learned cash and I'm wondering if there's a way to use the Uiloader to load multiple images and have them change every couple of secondes like msn or actionvillage. This is my code so far:
next_btn.addEventListener(MouseEvent.CLICK, nextImage);
var imageNumber:Number = 1
function checkNumber():void
[code]....
I have buttons below my uiloader that changes the images when you click on the manually but when you don't click on the arrows I would like the images to change automatically.
I am creating a very simple gallery in Flash CS5 (I'm not sure which AS, possibly 3.0? how do I check this?) and everything works great in Flash when I test the movie. The gallery has six thumbnails that when clicked bring up a larger image above. However, when I import this into Dreamweaver, the thumbnails appear and have the invisible buttons but the larger image does not come up when the thumbnails are clicked on.
As I mentioned before, I have a very brief knowledge of Flash. I was wondering if this is a naming error on my part? Or if it possibly had to do with the trace statement (I'm not exactly sure of the purpose of these besides showing up in the output panel--). I have a feeling that the tutorial I was watching to create this did not provide all of the information needed, but then again, how would I know?
I've included my AS, but I wasn't sure how to attach my .fla file--I saw other people including links, but wasn't sure how that was done.
Actionscript Code:
/* Click to Load/Unload SWF or Image from a URL.Clicking on the symbol instance loads and displays the specified SWF or image URL. Clicking on the symbol instance a second time unloads the SWF or image.Instructions:1. Replace[code].....
Is there a way of creating an swf file that randomly fades in and out, a large number of images?
View 11 RepliesHow can i change registration point of uiloader?
because that loader loads images which needs to be zoomed for productional purposes, but it does not zoom the center, it zooms through to reg point.
I am trying to dynamically load images through the UI Loader component. Attached are the errors I get, and although I think that the coding is close to correct, when I publish, it just flashes up then restarts the movie...
Attachments: Picture 1.png (84.0 K)
I'm working on an online photo catalog, it works in straight PHP/HTML but the photos are too easy to grab (Facebook and myspace are loaded with my photos). I know anything on screen can be grabbed, I just want to make it a little harder.I've got a version of the ordering page with a SWF on it that will hopefully display the photos,but so far no luckHere's the PHP:
<?php
$page = $_GET['num'];
$el = urlencode($_GET["el"]);
[code].......
Please help I've been researching this topic for like 2 days straight and it is driving me insane because I can't seem to find a specific answer for what I'm trying to achieve and I know it can be done because I've seen end results on the web. Here is what I'm doing:
1. I created a simple museum gallery with 3 portraits hanging on the wall
2. Inside the museum portraits I created 3 different uiLoaders with a black background
3. I gave all 3 uiLoaders their own unique movieClip names
3. Inside each uiLoader will be a loaded external image via a URL
4. I DO NOT want to resize the uiLoaders - I want to scale the external images proportionately to fit inside the entire contents of the uiLoaders and still remain centered
URL...As you can see currently the 3 random external images are loaded perfectly inside the uiLoaders but you see black background and I want the photos to fit the entire contents of the uiLoaders yet still remain proportionate.[code]
My publish settings are Flash Player 9 with Bottom up Load order, and the Size of the stage has been set to 900x561.The HTML is published to load the SWF file as 100%x100% Additionally I added the following to the HTML Headers to disable scrollbars:
<STYLE TYPE="text/css">
<!--
body {overflow:hidden}
-->
</STYLE>
I writing the movie with AS3, and I am building a 4 image, gallery.I have 4 Adobe UIloader components that are side by side and have arrows that allow you to browse the images back and forth. The UIloader is configured to auto-resize the images that it loads.The UI Loader Size Is:
W: 175.0
H: 264.0
I am using an XML file to hold image info and I use an URLLoader to import the data into an array which is then feed to the UIloader to load via URLRequest().
Here is my AS:
// Stop the timeline
stop();
// Import functions
[code]....
I first created an image that is the exact dimensions of the URLLoader and it looks OK but somewhat pixelated 1024x768 but on larger resolutions the images are very pixelated. So I created a picture that was 1024 x 1542 and again this looks OK on larger resolutions but is horrible on smaller resolutions.
I am trying to make a xml based portfolio in Flash CS5. I want to use a UILoader to load external images, but I want the images to have a drop shadow when displayed. I tried saving the image with a drop shadow in Photoshop with a .png format. When it was uploaded the image didn't show the drop shadow and had jaggy edges. Normally I use a filter in Flash but the option isn't available for the UILoader object. if there is a way my images can be displayed with a drop shadow, otherwise I will do without.
View 1 RepliesI have a UI loader that loads images (arabic file names) from folder based on some user input. The images loads fine when i'm opening the SWF file, but when it's on an HTML page, the files' names are encoded some how and then not loaded. When I write the full path of an image in the browser's address bar, the image opens fine. Is there away I can keep the file names in arabic, and make them load when the swf object in an HTML page?
View 5 RepliesTrying to make a code that displays a number of products/images. Problem is pretty simple... when I put in a new picture, it ends on top of and covers the last. Do I use an image array to fix this? And how?
Also, if I want to position my array/gallery somewhere else on stage, where/how do I adjust the x y values?
my .fla file:
Code:
var myPicture:Picture = new Picture("bilde1.jpg", 100, 100);
addChild(myPicture);
[code]....
I have a working MVC project.I want to include a page which displays images from database, in FULL SCREEN MODE.How do i go about this? Flash? SilverLight?
View 2 Repliesi have an swf placed into a html doc - the swf creates thumbnails and links that create a sort of videowall effect - the links come via xml. i am using lightwindow to create an overlay that displays the links/images/video etc... so here is the problem - if i open it with firefox on a mac - and choose say the youtube link - it opens lightwindow brings in the flv briefly - then the flv vanishes leaving a white void where the player should.
but if i add the same link to the html and click it, that works as it should do - ie the youtube flv apprears and you can click and play it etc... Safari on a mac works a treat - and loads and then plays the flv. is this just a bug in FF for the mac - or mac&pc? doesn't FF like flash and youtube together or something? or is there a work around? my tester is here could any pc heads tell me if the lightwindow works at all on their windows browsers? and tell me what versions you are on?
I have a xml gallery at the moment which loads in thumbnails and displays the larger images when clicked. What I am having trouble with is that some of the thumbnails have their own multiple images (more than 1 image for that thumbnail). I want to have a numbered menu 1,2,3,4 and when I click on the thumbnail depending how many sub photos there are for that one thumbnail I want to display an that image. And just to be dificult I also am displaying the larger images in another swf on the same page using local connection.
View 1 Repliesi need to develop an image gallery that displays images based on certain values chosen by the user. Imagine two sliders such as "gadgets" and "cars". The sliders provide values from 1 to 10. The flash movie then generates a gallery based on those provided weights. The user may want more gadgets than cars or all cars or more cars than gadgets etc. Im a tad lost as to where i should start here...XML? MYSQL? should i start swatting up on AS3?
View 13 RepliesThis is my first post as i m just beginner in Flash JavaScript. I want to prepare a FLash Movie in which all the images r dynamic and the images should change after a time say every 30 secs the image changes.
View 1 RepliesI've hit a brick wall here. I have a Flash file that displays fine in IE. It also displays fine when ran as a SWF. However, in FireFox, it does not display my scroller. I developed the Scroller component dynamically... everything is drawn from scratch, no library movieClips, etc. I'm starting to think that could be the cause? I've tried many different things:
[Code]...
I've hit a brick wall here. I have a Flash file that displays fine in IE. It also displays fine when ran as a SWF. However, in FireFox, it does not display my scroller. I developed the Scroller component dynamically... everything is drawn from scratch, no library movieClips, etc. I'm starting to think that could be the cause? I've tried many different things: Changed the HTML code to bare bones embedding code.Recompiled in Flex.... same result!Tested on another computer... it worked fine! However, I tested on another computer with FireFox... same problem.
It's so weird.I seperated the Image Slide show component from the Scroller... the scroller had the same effect... didn't display in FF.Played around with WmodeChecked my code for addChild problems, visibilty, alpha properties... nothing out of the ordinary.Asked God.Drank some Gin.Took a break and came back to it.I've reseached Google and the most I could come up with is to compile using FP10. It is FP10. I'm using CS3 and FlashDevelop. When I right click on my Flash file, it does indeed display FP10. Same with Flex.
[Code]...
I would like to have my background image change images every so often. I would like to use only AS3 for this. Could someone point me in the right direction. I am new to the language as well as flash.
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]...
I have a swf which included images. How can I change the images in that swf using xml? ( I mean that I just need to change the images in the folder and the swf automaticly changes the images ).
View 1 RepliesI'm editing a website, it has a picture on top. What I want to do is to use a different picture for every different page (home, contact etc). So when they click on lets say contact it loads the contact page (which it does right now) and also changes the picture on top to the contact one.
View 6 RepliesI have a couple of questions. 1- Let's say that I want to have multiple types of documents pull up under this list, so for example some might be an excel document I want to open, or a word doc, powerpoint etc. How would I change the image so that it recognized the file format? 2- Once I have a directory created how do I make each title open up the specific document it references?
View 4 Replies