ActionScript 2.0 :: Preloading Photos In Background?
Jun 16, 2004code for preloading images in background while rest of the movie is playing.
View 2 Repliescode for preloading images in background while rest of the movie is playing.
View 2 RepliesI need to preload an external swf in my file - but I don't want a preloader bar or count or anything - I simply want it to perform in the background - and if done proceed to a certain frame. I've been googling preloaders for a bit now and they all have the bars and percentage count - and I couldn't seem to customize it.
View 1 RepliesMe and My friend building part of a site in AS2 which needs to preload images while the user is on the site. For example:
Illustration section has 10 images
A user clicks on the link for this section the images will begin to preload without the user knowing. They will be able to click on a link for an image and it will either display if fully loaded, or continue to load as a priority over the other images that are loading until it is ready to be displayed.
Can u give some excellent code for preloading images in background while rest of the movie is playing.
View 2 RepliesI have a gallery that loads external jpg's. I'd like to have the gallery start and while viewing the images, the rest are loading in the background.
View 1 RepliesSo I have a video that is actually the background of the website. The video is resizing proportionally when user resizes the browser. The AS3 code is written on base of FLV component. The sound is also external mp3 imported with AS3 code. These are the facts and it works.Now the problem: The preloader calculates only the bytes of the movie including mp3, but doesn't calculate the bytes of external FLV, which makes the the movie and the mp3 play before the FLV video starts playing. It makes a gap and it don't look good at all.
View 1 RepliesI would like to change the bacground image for the preloading bar in Flex, the one which appears before loading your application. This article describes the way in which you can change the background-color, but is there a way to add a background image (and keep the loading bar on top of that)?
View 3 RepliesI'm doing this in an effort to make viewing a product catalogue better to view on dial-up, basically the next image should load in the background while the current one is being loaded.
I was thinking of making an object for each clip, although I'm getting a little lost on this, its late and I need to get to bed, so I thought I'd throw it up on here and see if anyone has any ideas!
Basically, right now the previous/next buttons aren't dissapearing when they should be and the previous image doesn't appear to be cached (needs to be tested in a browser to see this)
Is there a way to tell flash to preload a number of swfs in the background (meaning no visual cue to the end user that this is happening), while the current movie is playing?The idea is when the user clicks on a button to move to another area, that swf has already been preloaded in to memory or cache and loads instantly.
View 2 RepliesIs there a way to tell flash to preload a number of swfs in the background (meaning no visual cue to the end user that this is happening), while the current movie is playing? The idea is when the user clicks on a button to move to another area, that swf has already been preloaded in to memory or cache and loads instantly.
View 2 RepliesI'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]....
I am working on a flash photogallery. It is pretty basic, just consists of thumbnails. The larger images are on another page all together. I didn't write this script myself, I'm still learning. So i grabbed a flashmo file. It is flashmo_067.Anyways, i changed some things around. I made the images scroll with the mouse and i took out alot of the extra stuff in the gallery. I also changed the document size and the thumbnail size.I created thumbnails to the exact size i made the holder in the flash file. Yet when i pull up the movie, the images are doubled in size and are overlapping. I have looked at the actionscript a bunch of times and still cant figure it out. I changed the size of the thumbnail to be smaller but it just blows it up and makes it very pixelated. I cant seem to figure it out.
View 5 RepliesI have an scrolling number of photos moving from left to right controlled by:
[Code]...
linking my thumbnail photos to the img. photo using action script 2.0?
View 22 RepliesI've been modifying some code I wrote a while ago that simply loads and plays an external FLV. The original code works well as I can simply copy the swf into any folder and when run, it will play the FLV with the given name in that particular folder.
I decided to have a photo still over of the movie before it plays, so I modified the script and 'loader' to put in the external Jpg. If I test the swf it works fine. But when I install the code from a sub folder into a webpage via 'object', the Flash file trues to find the photo in the webpage folder not the sub folder where the swf originates and where both the FLV and jpg are?? Both the FLVplayback and Jpg loader address in the same way in 'parameters' of properties, yet the FLV plays and the jpg won't. I only discovered what exactly was happening on a hunch and copied a different photo into the main web page folder with the same name.
I have also rewritten it a completely different way using movieloader, but got exactly the same results. I know I could put the full web address of the jpg into the parameters, but then I have to modify it every time I use it. I'd really like to be to simply copy it into another folder.
I want to create a swf of 5 photos that fade into each other. For example, black background, first photo fades up from alpha 0 to alpha 100 in one second, stays on screen for 4 seconds, then fades back to alpha 0 while the next photo fades up, etc, then the 5th photo fades back into the 1st photo and it loops.
What's the best, easiest way to accomplish this with cs4?
Also, if the jpgs are 980 x650 pixels and approx. 70 kb apiece, will I need a preloader if I'm going to use the swf as a header to my site? If so, is there a simple, plug n play preloader I can use?
i tring to make a sub domain presentation xml web.i am using a templats it working and loading fine offline on my pc put after. i upload to my hosting the main php page open and load the swf without any picture or links??[code]
View 4 RepliesI have trouble with my animatnion. I have panorama 360 and xml with photos. I want to connect panorama where are buttons which show after click the photos from xml, but I have some troubles with code... When i try to compile my flash I have some errors in output;/
this is my code
Code:
///pamorama
function mysz(e:Event):void
{
pano_mc.x += (-(mouseX)+260)/10;
[code]...
I'm building my first website in Flash, and it's a porfolio website. I'm trying to set up my portfolio page to show screenshots of my graphic design projects, and when a user clicks on them, it enlarges the photo.
I am looking for it to be done like this website below when you click on their photo samples, it enlarges it, where you can also go to the next photo.
I want to embed some video into my HTML page. As background I want to use big picture. And above it I want to insert loop video with (i.e.) walking man.So, can I embed video (without flash and any player controls) in page?Can I decode video with transparent background? Is there any codecs which support transparent background (alpha-channel)?
View 1 RepliesAs the title already states i have a (big) problem importing a PNG in a Flex 4 application.Created a PNG file in Photoshop with transparent background. Loaded in Flex application using this code:[code]So when the complete event fires the data has been loaded and it is possible to assign the data loaded to the image component named Thumbnail:[code]Unitls now everything works as expected!But when i try to send the Thumbnail component's data to a WCF service i receive a photo with white background:[code]
View 2 RepliesI have about 27 photos. They are all 250x188. I would like the work space to be 250x564 so that 3 photos display first and they keep scrolling from the bottom to the top continuously through all the photos and repeat. Could someone recommend the best way to do this in Flash CS4. I am totally new to this.
View 9 RepliesI 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.
have to build an app that shows a bunch of photos (listed in an XML file) based upon certain criteria in the XML data. First view will show ALL the photos, and then the user will whittle down the choices/photos based upon criteria they select via check boxes.
how to pull the XML data into the application. I'll have to build a listener for the check box component(s), which shouldn't be difficult. The onClick event would then have to search through the XML/array and show only the user-selected data. It would be good also if the pictures were actually pulled from the server's hard drive rather than having them stored in the Flash file. That would allow the site's owner to easily add images by simply copying them to the server and adding data to the XML. Is that do-able, and if so, can anyone put me on the right path (theorhetically) to developing it?
I have at this pre-planning stage is this: ALL the pix are certainly not going to fit on the stage at one time. I am going to have to have a finite number of pix, say six, visible on the stage, and then allow the user to filter through the as-yet-unseen images by clicking on a number (Page 2 of 7), or something along those lines.
I'm attempting to create what will look like reflections of photos (MovieClips) on a Flash screen (CS4) using AS3, and recently became hip to the Transform Matrix class. I'm understanding the process of applying the transform.matrix OK and everything is going well, EXCEPT one thing... I think I need to learn more about using "deltaTransformPoint()" to counter the effects of skewing and flipping with a matrix. However, I've been searching but can't find documentation anywhere. Is it no longer supported in AS3? So far, I've been able make it look OK by tweaking the X & Y location(s), but this seems inefficient.
View 4 RepliesI 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].....
We have a flash application that developed using Adobe Flash CS5 - AS3 that will display an article with photo, however, the article has a particular layout to have a "float left" effect of the photo and articles should wrap around it and adjust. I do NOT know how to this on flash but what I did is just to create two dynamic text and do the layout but sometimes since this is a dynamic content feed, the article body doesn't look good at all since I am only doing substring on the whole content and display just to cater the layout.
View 20 Repliesi want to know how i can make animation with photos using flash?
photos going up and going down, somethig like that.
I'd like to integrate a pagination in photo gallery project.Ex: << previous 1 2 3 next >>Let's say I have 13 photos and want to display on each page first 6 photos. So in total, I must have 3 pages of 6 photos each and each page number is clickable to display the maximum of 6 photos...How would I proceed the right method?Here's what I though:
var totalPhotos:uint;
var maxNumberThumbPerPage:uint = 6;
var totalPage:uint;
[code]......
Anyone know what tool does facebook use for uploading multiple photos? It is so neat!
It look like they are using flash uploader? If so, which one out there has similar to that?