ActionScript 2.0 :: Make The Small Photos Take Forever To Load Since Their Source Is A Large Photo?
Apr 29, 2004
i sort of asked this before but never got a clear responce to it. this is sort of a two part question. one i have a dynamic gallery of images with a small picture that you click on that loads a bigger picture. I would love to be able to just have one photo that loads into the bigger mc and also the small mc. right now what i am doing is making two size photos a small 47x47 and a large141x141. does anyone know how i can use the same photo for both mc's second question. if that works will it make the small photos take forever to load since their sorce is a large photo?
View 5 Replies
Similar Posts:
Jul 1, 2009
I'm doing a photo slideshow and I have 4 photos. I have them displaying randomly with TweenLite, however I have 2 more things I'd like to do with it but I really don't know how to do them. I'd like for the photos to display randomly forever, as if the script would never end. Also, I'm curious as to why only 3 of the 4 photos are displayed when I run the swf.
Here is my script thus far:
Code:
import gs.TweenLite;
import gs.easing.*;
var photoNums:Array = new Array(photo_1,photo_2,photo_3,photo_4);
[Code].....
View 1 Replies
Oct 10, 2007
I'm working on making a site with an xml photo gallery with thumbnails. Right now, I have the gallery working, but I want to add an effect from this site: [URL] When the photos load, the layout resizes according to the photo size. How can I do something like this?
View 1 Replies
Jan 12, 2011
We purchased FMIS and we are encoding large 15+ hour MP4 recordings using flash media encoder. When opening these large files for playback, which have not been opened recently the player displays the loading indicator for up to 4 minutes! Once it has apparently been cached on the server it opens immediately from any browser even after clearing local browser cache. So a few questions for the experts
1. Why is it taking so long to load the file. Is it because the MP4 metadata is in the wrong format and the file is so huge? I read somewhere that Media Encoder records with incorrect MP4 metadata is that still the case?
2. Once its cached on the server, exactly how much of it is cached. Some of these files are larger than 500mb.
3. What fms settings do you suggest I change. FMIS is running on windows server R2 64 bit, but FMIS itself is 32 bit. We have not upgraded to the 64 bit version. We have 8GB of ram. Is it OK to set FMS cache to 3GB. And would that only have enough room for 3-4 large files, because we have hundreds of them.
View 1 Replies
Jul 23, 2010
This was working with Flash 10, but 10.1 kills it I am not sure if its the server or client side that makes it freeze.
[URL]
import flash.display.BitmapData
stop();
var aScene:Array = []
[Code]....
View 4 Replies
Jul 15, 2010
*** Security Sandbox Violation ***
Connection to server:82/media/user/00/00/02/77/98/User27798_132_198.jpg
halted - not permitted from file:///C|/Users/admin/Desktop/tour5.swf
I only get this error on very wide photos, ever since compiling in Player 10, I do not get these error messages when publishing to 9.
It freezes my flash player when in standalone mode In IE, it causes it to completely shut down. In Chrome, it just closes the entire flash player.
Note this is actionscript 2, and I have never seen a security sandbox error before. Only in AS3 have I.
View 1 Replies
Sep 15, 2008
how to layer photos imported via an external source (XML) with other art elements? The imported XML photos always seem to arrive on top of anything else no matter what layer your XML code keyframe is on.
View 4 Replies
Aug 4, 2011
I have 2 grid of 15x15 using BitmapData (One of 32x32, and one of 10x10). I've try 2 ways :1) Create multiple bitmap
ActionScript Code:
for ( var y:uint = 0; y < m_height; y++) {
for ( var x:uint = 0; x < m_width; x++) {
[code].....
View 0 Replies
Jan 29, 2010
I have a project that is drawing ~10,000 small tiles into one large bitmap container - it's a mosaic. In Flash proper and in FireFox it takes about 20 seconds to complete the drawing. Very acceptable. In Chrome it takes about 1:30 and in IE it takes roughly 3:00 - both too slow to be acceptable to the client - who of course reviewed with IE. I have Flash set to run at 45 fps - and the images are populated by a Timer - at 2 ms intervals. Maybe 2 ms is too fast? But in my testing 1ms was slower as was 3ms, so I kept it at 2. And it works fine in FF and Flash...
View 4 Replies
May 11, 2010
I'm download the file "bestof search" and I wonder if it is to correct or add to the browser worked with small and large letters. I have come to work in small characters. I would like to let me work with small and large letters.I hope you understand me what I want!Sending my AS which is in FlashThe XML file contains uppercase letters.So once again I would like to give me the browser (Search) work with small and large letters.
View 1 Replies
May 27, 2011
I'm download the file "bestof search" and I wonder if it is to correct or add to the browser worked with small and large letters. I have come to work in small characters. I would like to let me work with small and large letters.Sending my AS which is in Flash .The XML file contains uppercase letters.So once again I would like to give me the browser (Search) work with small and large letters.
View 5 Replies
Oct 23, 2008
i am making a photo gallery. I load photos to a Loader by getting links from XML. My problem is this that while photos are being loaded, when next photo comes, previous one do not dissapear
View 2 Replies
Feb 15, 2010
I have made a photogallery in actionscript 3 which uses an .XML file to import pictures. As the user clicks on the displayed image the code loads the next image in the cycle into the display. Now, I would like to add a preloader which displays the loading progress of each image as the user clicks (otherwise there is just a blank area as the image loads). I have made a pre-loader for the main .SWF but I can't figure out how to make it work for the images or how to make a seperate one for the images. The fact is that I am a bit of a muppet when it comes to AS3, and am finding myself getting lost an confused quite easily.
I have attatched the .FLA if that helps any! If not then...
here is the link to the .HTML page that contains the .swf:
[Code]...
View 2 Replies
Nov 28, 2011
How to distort the dimension of an image like from left side little small and from right large.
View 1 Replies
Mar 30, 2010
I'm having a brutal time with a FLA. The wait time to open this thing is ridiculous, and alot of the time the program will just become nonresponsive. Its only this one specific file, as others open fine. It also has nothing to do with the hardware on my system, as we've tried the file on a variety of machines.The FLA itself contains very little bitmap art, most is vector. It's about 16mbs, but publishes down to a SWF thats about 300kb. There were some complex vector elements which were removed in a fruitless attempt to get this thing to move faster. Trying to "save as.." results in flash writing to a file extremely slowly. The resulting file will progress in size from 2 - 4 mb with about 10 minutes wait time in between. Its becoming nearly impossible for us to work in the file. how I could debug Flash itself to find out whats going wrong on load/save?
View 3 Replies
Apr 3, 2012
I am coming from flash to flashbuilder I have a directory, AS3_classes_dir, on my computer that stores all of my classes, including my greensock and papervision packages. In every flash app that I make I include that directory in the Source Path, so that I can import whatever I may need. Compiling in flash (using ctrl/enter) takes very little time; only the classes that are specifically imported are compiled.So today I did that in flashbuilder, included AS3_classes_dir via Flex Build Path/Source Path ... but now the compile time are a couple of minutes, even though I am not even importing ANY of the classes from within.
View 2 Replies
Feb 16, 2006
I have decided to build my own XML gallery. The flash loops through, checks how many images there are and duplicates a movie clip to match the amount of photos on that page. The duplicated mc's are given the names "hello"+z, but when trying to load the images they don't want to load (I have taken the code that loads the dynamic images out). When I trace "hello"+z, it gives me an undefined.
Here is the code:
//builds an array for the amount of XML nodes
function loadXML(loaded) {
vararPhoto =[]
if (loaded) {
xmlNode = this.firstChild;
[Code] .....
View 4 Replies
Feb 21, 2011
Just starting out with Flash and have run into a problem. I have several scenes with buttons that can be pressed once and then they disappear using: myBtn1.onRelease = function(){ this._visible=false} But when I go back to the scene the buttons reappear. How can I make my buttons be gone forever?
View 1 Replies
Sep 14, 2011
best way to read in like 200k words and have them each tween from the center of the screen as small dots and tween up to the word filling the SWF then "fly through my head" not literally, but you probably get it...
View 2 Replies
Apr 29, 2004
I have a dynamic gallery of images with a small picture that you click on that loads a bigger picture. I would love to be able to just have one photo that loads into the bigger mc and also the small mc. right now what I am doing is making two size photos a small 47x47 and a large141x141. How I can use the same photo for both mc's. If that works will it make the small photos take forever to load since their sorce is a large photo?
View 5 Replies
Aug 14, 2002
I am trying to make a spaceship game and in order to make it look like my spaceship is moving I need to make my circles in the background move forever. I tried using the Continuous Movement tutorail but it makes my circles get bigger when I move my mouse and when I move my mouse all the way to the right it gets faster and left gets slower does anyone know how to change the actionscript for the circle movie clip to make it not do those things?
[Code]...
View 12 Replies
Jul 12, 2011
I'm doing photo gallery and like to enlarge an image when I click on it with some animation like it's in flash (the picture slowly expands first by x-axis and after by y-axis and the space around the picture dims), that it scales to it's largest possible size to fit in screen, but it can be any other animation. I found some topics about this, but I don't want to use any 3rd-party plugin (including flash, drupal...) to do it. Maybe it can be somehow done by jQuery...
View 1 Replies
Aug 26, 2006
I found the tutorial by Kirupa
[Code]...
View 2 Replies
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
Nov 13, 2010
I'd like to build a gallery of photos which has selected thumbnail on each of them before displaying their photos.
Ex: photo.xml
Code:
<gallery>
<photo id="1">
<thumb>pics/thumbnail/img_001.jpg</thumb>
[code]....
View 9 Replies
Sep 1, 2009
Just 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 Replies
Dec 11, 2010
I have this photo gallery I'm trying to make using internal XML, but I'm having a lot of issues getting it to work.
Here is a snippet of my code:
//var fm_tween:Tween;
var total:Number;
var photos_xml:XML = <thumbnails>
[Code].....
View 28 Replies
Jul 9, 2009
i have an AS3 for photo gallery that loads photo from folder, i want to modify the code so it will load photos from my library. heres the code.
[Code]...
View 1 Replies
Mar 14, 2010
I haven't used Flash in quite a while and wanted to make an animation to display quite a few photos. As i'm out of practice, linking videos kind of skipped my mind and therefore my first file which has lots of images in has become quite heavy and slow to run.My problem is... Is there a quick and easy way i can directly switch one part of an animation with another, keeping all the tweens and actions that are on it? (EG I want to switch out images for the same images saved as smaller files)
Or, is there a way i can scale down the movie in size to make it run smoother? I am going to have quite a lot of photos in a series of linked videos, but as i forgot about it, my first video has too much content and is too big in file size. It can be quite big as it's only for use on my mac (not online) but i still need it smaller as it won't run smoothly.
View 1 Replies
Jul 8, 2009
i want to know how i can make animation with photos using flash?
photos going up and going down, somethig like that.
View 1 Replies