Flash :: Dynamically Loads Large Hi-res Images When The User Clicks On A Thumnail

Jun 23, 2010

I am building a portfolio site which dynamically loads large hi-res images when the user clicks on a thumnail. However I'm having problems maintaining the original image's quality when resizing it to fit the current browser. Currently I'm just adjusting the width & height properties of the image to width to the stage proportionally which is working fine getting it to fit, however I cannot figure out how to maintain image quality? Do I need to load it as a bitmap and redraw/smooth or something similar?[code]

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Certain Images To Load Whenever A User Clicks On A Thumbnail?

Jan 1, 2005

i am working on a website where i want certain images to load whenever a user clicks on a thumbnail. I want a preloader to appear before the image is displayed. I created this so far:

[Code]...

View 1 Replies

ActionScript 1/2 :: Create The Sample File For Loading The Video Images With Thumnail?

Jun 3, 2011

I am trying to create the sample file for loading the video images with thumnail.But i don't know how to create thumnail for video file (using video component).give any tutorial and give some sample files.

View 1 Replies

IDE :: Loads Text And Images Dynamically From Xml File?

Feb 27, 2009

I am pretty new to xml (and understand just a little actionscript 2.0) I have a functioning flash file that loads text and images dynamically from my xml file. Everything is working fine, but I was wondering if there is a quick code to change the image size when they are loaded into my empty mc?

Here is the code I have so far (real basic):

[Code]...

View 2 Replies

ActionScript 3.0 :: Creating A File That Loads Images Dynamically And Scrolls Through Them?

Mar 23, 2009

i am creating a file that loads images dynamically and scrolls through them. this is all being read from an xml file. i am able to do everything but get the buttons to work.whenever i click on a button, it gives me the value of the last button, not the current button. for example, if four buttons load, if i click on any button, it always traces the value of 4.

here is the code:

Code:
//load xml file
var xmlLdr:URLLoader = new URLLoader();
var xmlD:XML = new XML();

[code]....

View 7 Replies

ActionScript 2.0 :: Building A Project That Dynamically Loads External Images And Audio Into It?

Nov 14, 2009

I'm building a project that dynamically loads external images and audio into it.The images in the external folder are numbered sequentially in the order they display as you click through them (1.jpg, 2.jpg, 3.jpg, etc). No problem.There is audio that is supposed to fade in a play with certain images. (1.mp3 fades in when 1.jpg is displayed.). No problem.Here's where it gets tricky... At least for me.Not every jpg has an audio file associated with it. The last audio that was triggered needs to keep playing until another jpg with cooresponding audio file plays, at which point the two audio files need to smoothly crossfade.1.jpg displayed => 1.mp3 fades in and plays.

(user clicks)
2.jpg displayed => 1.mp3 crossfades to 2.mp3.
(user clicks)

[code]........

View 5 Replies

ActionScript 3.0 :: Array Of Arrays - Dynamically Loads Images Into A Movieclip Entitled 'gallery'

Sep 25, 2009

I've created a photo gallery that dynamically loads images into a movieclip entitled 'gallery'. Right now the images are listed in an array. is it possible to make an Array of Arrays so that I could load different Arrays for different image galleries? Is this somewhat how it would work? Lets say I were to switch to a section entitled 'landscapes' which we will pretend is the array "var a:Array = new Array();" for now.

[Code]...

View 7 Replies

Flash :: External Linking Of Flex 3 App - Can Log Where A User That Clicks On It Comes From

Nov 5, 2009

I've made a flex 3 app that is sitting on my web server. People will be able to link to this flex app on my web server on their own sites/blogs/forums and so on. Is there any way I can log where a user that clicks on it comes from? Example: the URL to the flex app is [URL] User A links the flex app at his blog at [URL] Then User B comes in to User A's blog and clicks the flex app and finally ends up at my site. Any way I can log User B's click through the flex app?

View 2 Replies

Javascript :: Start A Flash Game When The User Clicks?

Dec 29, 2009

I want to put two games in my website but they both start at the same time.How can I get them to start separately when the user clicks them?

View 1 Replies

ActionScript 3.0 :: Trap When User Clicks In An Input Textfield In Flash?

Jan 9, 2010

is it possible to trap when a user clicks in an input textfield in flash i want to put up a message before the user starts to type had a good look, but can't find anything that allows me to run a function when the user clicks in a textfield.

View 1 Replies

Flex :: Pages With Flash Won't Load Until User Clicks The X (stop) Button On IE

Dec 1, 2009

I am building a flash application using flex. From time to time, I see an issue in IE 7 and 8 where the user logs into the site and the browser content pane is completely grey and the entire page (html, javascript and flash) won't load until the user clicks the X (Stop) button next the address bar. As soon as the X is clicked, the html loads and then the swf file loads immediately.

This doesn't happen for me or any other developers on the project so it is very hard to diagnose. The users are all using the latest flash player. The only difference between our setups that I can think of is that we have the debug version of flash player and they probably do not.

View 1 Replies

ActionScript 2.0 :: Flash 3d Carousel - When The User Clicks On An Icon It Takes Them To A Page?

Apr 1, 2008

I found a a free flash carousel from gotoandlearn.com but don't know how to change it so the icons link to a page? I know that doesn't make sense but go to the link below and you'll download the finished piece so you can see what it does now.So basically I just want to make it so when the user clicks on an icon it takes them to a page. http:[url].....

View 3 Replies

Flash :: PC Control - User Mouse Clicks Or Eventually Keyboard - Pressing Some Keys

Nov 23, 2009

I'm completely new to AS3/Flash programming, though I program in C/C++/C# in my job. These days I got a project idea which I think Flash would better fit than the other languages I mentioned above. I want to create an on-line automation application that can:

1. Control user mouse clicks, or eventually keyboard, pressing some keys;

2. Communicate/connect to the user's bluetooth device, establishing connections to the mobile devices attached to it - the web application in this case would act as a server.

View 2 Replies

ActionScript 3.0 :: When The User Clicks The "exit" Button A Class File Is Called To Mark The User Complete In An LMS?

Oct 4, 2010

I have a problem with a dynamic video player that I have created in flash. The video player is "SCORM" compliant so that when the user clicks the "exit" button a class file is called to mark the user complete in an LMS.I have tested the SCORM Code previously and it works with out issue. Usually I have the completion code embedded in an Actions Layer of the movie. This is the first time I have attempted to call the completion status in a class file, I have added a "trace statement" when the movie is tested within flash it runs the trace statement properly, but when uploaded to the LMS environment the course does not complete properly

View 3 Replies

Flash :: Loader Won't Load Large Images?

Jun 9, 2011

I have some pretty large PNG images stored in a database (example 1000x15000 px, 4.5MB). I am trying to load this using the Loader class...the problem I am having is when I call load(), nothing happens. No events, no errors.I can take the same image and embed it. As long as as I set the height to less than 8000px it works fine. If I convert the embedded image to a ByteArray and try to load it, nothing happens.

View 3 Replies

Flash :: Saving Large Images Created In Flex?

Nov 25, 2009

I am attempting to capture a very large image that was made dynamically within the Flash Player (the size of the image is 2400px by 12,000px) and am running into some very serious issues... Let me run down how the image get's to that size in the first place:

User adds elements to a canvas and then when the user is finished the canvas scales up to 2400px wide and ~12,000px tall. The problem arises when I attempt to save the image to the hard drive. Now, I dont know if this will affect the recommended fix, but the rendered image wont be saved on the hard drive, it will be sent to a server. I know about the ~4050px limit in Flash Player and was thinking I could get around that by clipping the images with the ImageSnapshot.captureBitmapData() method and keeping the required Rectangle variable below 4000px then repeat that down the large image until it reaches the end where the final images will be pieced together at a later time. However... As i mentioned the error comes when it reaches the 'fileReference.save(pngImage);' method..

View 1 Replies

ActionScript 3.0 :: How To Know In Which Swf User Clicks

Aug 22, 2011

I use Flex 4 for writing swf part of my application... So I have some swf files loaded in container, and what I need is allow to change that swf by clicking in it.How can I detect in which swf user clicks?

View 1 Replies

Actionscript 3.0 :: Flash - Load Multiple Large Images And Video?

Nov 22, 2009

I am creating a Flash site for a client who wants to display many (about 15) fairly hi-res photos as well as a video. I am using the Video class to display and control the video, and the Loader class to load the photos. I preload them from an XML file up front, while "loading..." is displayed.

The video plays immediately after the loader finishes, and the user can also choose to view the slideshow, which has left/right arrows which show each photo with a simple fade tween between each one.

The problem I am having seems to be that when all these assets are loaded, the video and the "fade" effects are very choppy. If I cut down on the number of photos, everything works fine; but I have to include all of them, plus the video.

I am storing all the Loader instances in an array, and when they are requested, I add them to the stage and fade them in. When it finishes fading in I remove the previous one from the stage. So they are all stored in Flash's "memory", but there is only one Loader or Video instance on the stage at any given time. Is there a better way to handle this? Perhaps some way to cache the images but not bog down Flash's memory? I would prefer to have everything loaded up front in order to avoid needing a "loading..." for every slide.

View 1 Replies

Loop Until The User Clicks A Button?

Jun 7, 2009

I'm converting some old Director/Shockwave animations to Flash, and I'm setting up a navigation system. I have a simple animation that runs from from 1 to frame 110, and I'd like it to loop until the user clicks a button. The timeline goes on beyond frame 110 with other stuff. In an "actions" layer in frame 110, I have the following
 
gotoAndPlay(1);
 
I thought that this would lead to the looping, but it doesn't. The movie just moves on beyond frame 110. Just as a test, I put the following at frame 110 instead.
 
stop();
 
and when I test the movie, it doesn't stop. The commands don't seem to be seen.

View 12 Replies

Flash (with Xml Images) Loads Only From Within Folder?

Apr 25, 2009

I'm not sure what's going on...basically, I have a flash file that loads images from a xml file and this works fine without any problems. But when I try to load the swf file into html, the images only load if the html file is in the same folder as the swf.I'm not sure if this is related to a problem with the xml link in the swf file or something else... this is how the xml is being called from the swf:

Code:
xmlData = new XML();
xmlData.ignoreWhite = true;

[code]....

View 1 Replies

Flash :: Slideshow Pro - Loads But Images Do Not?

Sep 2, 2010

I installed Slideshow pro, with swfobject here: [URL] The flash loads but the images do not. I have double checked the image paths to death and they appear to be correct. Here is the html:

[Code]...

View 2 Replies

Go Back To Frame 1 When A User Clicks Anywhere On The Stage?

Dec 11, 2009

I want the ability to go back to frame 1 when a user clicks anywhere on the stage that doesn't contain an object. Is this possible?

View 2 Replies

ActionScript 3.0 :: Delay Between User Mouse Clicks?

Jul 14, 2010

What is the best way to delay user mouse clicks?

For example, I don't want the user to be able to click really fast or hold button down (a small delay between firing).

View 1 Replies

ActionScript 2.0 :: Add A Gallery When The End-user Clicks On A Picture?

Jul 27, 2011

I am editing a template made with as2, flash8 and its controlled externally by a html file. I want to add a gallery when the end-user clicks on a picture. The main problem is the structure of the template. Its like that: There is a symbol named "pages" and in that there are 6 frames which one represents a page of the website except the main menu which is in another symbol. In the 4th layer 3rd frame there are 6 movie clips which are instances of another symbol named "p1_3 copy 2" which is a button and an instance of another button named "but_picts". One of those movie clips i want to make it a link for my gallery. So we there is the movie clips with the following actionscript attached:

ActionScript Code:
onClipEvent(load) {
loadMovie(_root.url + "_portfolio1.jpg", this.cont);
url=_root.url7;

[Code]....

View 2 Replies

ActionScript 2.0 :: Close Window When The User Clicks It?

Mar 29, 2004

this is probably a really simple code, (it might be javascript i dunno)... but i want a simple 'X' button that will close my window when the user clicks it.---------------------------------------------------

View 2 Replies

ActionScript 2.0 :: OnMouseDown - Return What's Hit When The User Clicks?

Nov 30, 2004

Is there a way to return what's hit when the user clicks? Like if what's hit is a movieClip or a button and so om...

View 1 Replies

IDE :: Flash - Loads XML URL Images Locally, Not Online?

Jun 6, 2011

I have a flash project that uses an XML doc for data. The URL's in the XML load fine locally, but when published and placed online, they do not load. Is a policy file needed? If so, how do you do that?

View 1 Replies

ActionScript 3.0 :: Build A Xml Photo Gallery In Flash That Will Use Lightbox For Viewing Large Images?

Apr 2, 2009

I am trying to build an xml photo gallery in flash that will use lightbox for viewing large images. I have successfully built the thumbnail portion.My goal is to insert the swf into an HTML page and launch lightbox from the swf. Here is the code: First I use a Thumbnails class which imports the tweener class

Code:
package {
import flash.display.Sprite;
import fl.containers.UILoader;[code]....

how do I get lightbox to work when I click on the thumbnails? I found this thing called lightboxinjector that seems like it would work, but I am not advanced enough to understand the directions it gives for dynamic use. Or is there a lightbox clone that will work for this?

View 1 Replies

ActionScript 3.0 :: Get Some Color Info For Where User Clicks On The Screen?

Jul 23, 2009

I need to get some color info for where user clicks on the screen. can i use getPixel with an imported image file ? or does it need to be converted to a bitmap?

here is the code im using to import my image

PHP Code:

function loaderComplete(myEvent:Event)
{
var myQueryStrings=this.loaderInfo.parameters;
//Live URL

[Code]....

View 6 Replies

ActionScript 3.0 :: User Clicks A Button Named Double?

Sep 7, 2011

I have a 400 x 300 video on frame 20 when a user clicks a button named double_btn I want them to go to frame 21 with the video still playing but double the size. Any ideas on how to do this?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved