ActionScript 2.0 :: Resizing Slideshow With Voiceovers?
Jun 17, 2005
I've modded an early version of the infamous resizing slideshow script to pull sound clips from the XML file, and automatically advance to the next photo after the sound clip finishes.
But if you just let the slideshow run by itself, it doesn't perform the resizing border trick right. It gets hung on the size of the first picture, and from then on, it's always one picture behind (unless you press the next or previous buttons at any point, in which case it corrects itself).
You can see my problem for yourself.
You can download a zip file that includes the FLA.
I'm pasting what I think is the relevant code below.
Code:
// Show the first slide and intialize variables
function startSlideShow(success) {
if (success == true) {
[Code]....
View 1 Replies
Similar Posts:
Oct 3, 2009
does anyone here know a free or commercial slideshow component for AS3 (must work with flex 3) which does the following:
cross-fading,ken burns zooming and panning with per image definition (eg. with xml file)scale-to-fill resizing of images dynamically resizable frame size (so it can be used as a browser background)It should work like on the following site [URL]My client wants this, but programming it from scratch will take rather long
View 2 Replies
Feb 11, 2004
i'm trying to make a slide show under the image is a grey bar that has to resize to every new image width.i found this kind of effect on this very nice site of a german photographer [URL]i would like to implement this into my design.i tried to make it by making some changes to a script i found a kirupa, but ... i don't get the right result.
View 6 Replies
Jan 6, 2010
We've only successfully got this flash slideshow to resize correctly up until it goes to the #2 slide. I've looked all over the net, including this forum, many other have similar problem with resizing and scaling their movie clip to the full browser with correct aspect ratio, but most of them all involve a single video MC only. In my case, it's a bit more complicated which involves several pictures, masks, along with a pre-loader. Here's the FLA file. [URL]. Basically in a nutshell i am trying to make a website with an animated flash background that will scale to the user browser size according to the increase and decrease in browser width. exactly like you would see here on samsung's website [URL]. We know that it has something to do with the resize listener code. but we just can't overcome this glitch.
View 0 Replies
Nov 1, 2010
I am not simply trying to contain things and have the container resize without the contents resizing. I would just use a simple MovieClip for that.. My main focus is on the use of BitmapFill. I'm trying to make a repeating background image for a container; thus far I'm able to draw my BitmapFill sprite to the size I want. (Which is the stage's height) but when the stage is resized, I want to re-size my container but have my containers BitmapFill crop or add more as the window is resized bigger or smaller. Allow me to illustrate what I mean:
I've got a simple rectangle sprite that fills with a bitmap from the library and a simple resize handler function that detects when the window has been resized.what I would like to do is have my rectangle resize to the height of the stage.stageHeight maintaining its bitmap fill, but not resizing the bitmap fill or any children within the sprite.
From what I've read, this is a little tricky because the sprite resizes in relation to what it contains.. or.. something like that.. I really don't know any more.. I saw one example where a person extended the sprite class but I don't know why or how..
in my library there is an image called 'pattern' and my code looks like this:
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.addEventListener(Event.RESIZE, resizeHandler, false, 0, true);
[code]....
View 2 Replies
Sep 11, 2009
I'm loading a few pngs/jpgs externally so they can be swapped out occasionally, and the issue I'm running into is when they are shrunk they become fairly choppy. Is there a way to have flash re-render them, or do something to smooth the resizing as opposed to going in and resizing every file manually myself?
View 1 Replies
Nov 2, 2010
I've got a little problem with BitmapFill, I'm trying to use a sprite as a container for various things and i would like it to have a filled pattern background. my problem is that i want it to resize the sprite to the height of the window but not have the background fill resize, and add more / crop as the window size is changed. to illustrate what i mean, please view the diagram attached to this post .
I have an image in my library called 'pattern' and my code is as follows:
ActionScript Code:
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
[Code].....
View 2 Replies
Feb 6, 2008
I have created a pie preloader(preloader.zip) which is working fine. Same preloader I am trying to incorporate in a xml based slideshow(slideshow.zip) to show image loading process but some how I got stuck. I am new to flash. Suggestions are welcome.
1. How to solve the problem of preloader2. Is it possible to integrate everything in a movie clip (including AS). I mean no AS on main time line but inside the movie clip. It would be much easier then to to create multiple slideshows by duplicating mc and changing the xml file.
View 1 Replies
May 29, 2008
i have a question about text in a slideshow. i know how to make a basic photo slideshow with external images. but now what i want to do is add 4-5 paragraphs of text next to each photo (with possible scrolling). the text will be different on each photo.
View 1 Replies
Mar 7, 2010
I'm loading in external images from XML, but they are coming in way too big; i have resized the actual images to the size i want them yet they still come in huge
function drawItem() {
coverImage.loadMovie(mediaFolder + currentNode.childNodes[2].firstChild);
coverImage.width = 600;
[code]....
View 1 Replies
Jan 23, 2009
I have a stage of 600x400 and in the publish settings I chose this same width and height (with pixels dimension, and scale: No Scale).And when I load the swf in a browser:
[URL]
It resizes the swf stage size.(I know this because I have a value which is positioned according to the stage width/height, and also because if I choose an opaque windowless I can see that it is bigger than I want it to be)Am I loading the .swf wrong?
View 2 Replies
Nov 11, 2011
I have made 1 Flash banner 728x90, the next one has smaller dimensions (468x60) but the proportions are the same so, I duplicated the document, grabbed the movie clip containing the animation and used the transform tool to make it the correct size.Some of the images need replacing as resizing didn't treat them well. But since I am trying to add them to the resized movie clip they appear too small.
View 2 Replies
Nov 26, 2009
My name is Robbie Lee and I make flash games for a living and recently I've encountered an issue that I was hoping one of you could help me with.In some of my games I use sprites made from jpg, gif or bitmap ect. which look nice when viewed at the correct size (550x400) but when I release the games webmasters often post them at incorrect sizes which causes the pixel based images to distort or look ugly which reflects poorly on my talents.
I want to know if there is anyway that I can code it so that the swf cannot be resized and always displays at 550x400 even if it's put in a window that is larger then that.I use ActionScript 2 and Adobe Flash CS3 Professional.[URL]
View 2 Replies
Dec 23, 2009
i'm having some "big" issues with what seems like a pretty easy flash concept. But, im pretty green when it comes to coding in flash.
I have a SWF thats being externally loaded into another SWF file (see code below):
on(release) {
loadMovie("test1.swf",_root.dropZone);
}
(If i'm understanding the above code correctly...its loading the SWF into a blank MC i created called dropZone) This part seems to work correctly when tested.
I've got 4 different SWF's that need to be loaded seperatley when its coresponding button is clicked. The issue arises when I import the external SWF file...it resizes itself to the size of the flash stage. I need all the SWFs to be loaded and remain there original size (1257x847) or be scaled to the correct size. Then if I click another button it should load the new SWF and "unload" the old SWF.
View 3 Replies
Feb 10, 2010
I saw this site in another post and I've noticed this becomming the trend in photo galleries. [URL]When you drill down and open up a photo, the photo resizes with the browser while the rest of the movie elements expand without resizing. I'd love to know how this is done.
On a side note, it used to be impossible to resize a photo cleanly in Flash. Is something being done here or is it just improvements in Flash players?
View 4 Replies
Feb 17, 2010
I'm starting to learn flash with AS 3. I can handle flash quite ok at the moment, but now I'm learning AS3.However, sometimes when I start Flash, the workspace "Actions" is larger than my screen. This means that a part of my script is not readable. #$Q^$!! I've tried everything to resize it, but didn't find a solution. I've flash professional for mac. I've tried switching 'workspaces' , try to move the workspace in another position. It doesn't work 'cause I can't drag the space above my screen.
View 3 Replies
Jul 12, 2010
I'm using action script v2 to load a .jpg from a button.I'm using the command 'loadMovieNum("photo.jpg",4)'What script could I add in to resize the jpg to specific dimensions and position it at a particular x,y coordinate?
View 2 Replies
Jul 25, 2009
I'm trying to build a site where all the pages are full browser and maintain aspect ratio. I would like to control the resizing from the menu page.The resizing works fine from the page that's being resized but when I try to let the parent swf do that it has issues. Here's what the home page looks like with the controls built in URL...This example is the site it has a menu page that I open the others from I remove the resizing code from the home page and try to resize from menu.swf.[code]
View 4 Replies
Nov 17, 2009
I'm going nuts trying to figure this out. I built an animation project at 630 pixels wide. Turns out the project needs to be 430 pixels wide. In CS3, using the classic tweens, I would simply resize the stage, Onion All, then resize everything on the stage at once. But with the new tween structure, it looks like I can't do a mass resize like that. Anything that's been tweened using the motion editor does not resize.
I know I can just create a new movie clip, paste all frames into it and then resize the MC, but I have some JPEGs of signatures that pixellate when they are resized that way. So, can you onion skin the new tweens? Is there a workaround?
View 1 Replies
Aug 18, 2010
I created an 800 x 600 size flash file for one application and i would like to be able to resize it easily to run in another application at 800 x 480.
My code works to scale everything but the stage:
this.onLoad = function() {
this._xscale = 100;
this._yscale = 80;
}
i tried another way of loading my movie into another LOADER, but i think that the LOADER will require as many frames that my movie uses...
i would like to try to get the top code to work if possible and not have to use a loeader.
View 1 Replies
Jul 20, 2010
Alright, so I'm playing several different videos at different sizes with the FLVPlayback component and something odd is happening that I don't remember happening before...Now, when I switch from video to video, the FLVPlayback physically resizes to match the height of the video... I don't remember this happening before. Before, the FLVPlayback would just vertical center the video no matter what size the height of the video is.
View 1 Replies
Nov 27, 2010
I have been working on this to no avail. I would like to individually position different movie clips unto my flash site, yet it will only let me position one. Well.. more specifically it will perfectly position rock_mc, but transition_mc wont appear centered until I resize the screen manually. Is there any way I can fix this to have it appear in position from the beggining?
Code:
function init()
{
[code].....
View 1 Replies
Aug 21, 2011
I apologize, the math must be too complicated for my right-brained mind. I've created a slider bar widget with a slider knob thingie who's start/stopDrag is restricted to 100px along the x axis.
I need to resize another movie clip from 25%-400% based on the slider's knob position.
I need slider(and respective MC) to start at 100% by default. I've started with something like this (below) but the math is wrong, and I can't figure out how to do this for the life of me.
[Code]...
View 3 Replies
Sep 11, 2011
What do i need to write so that resizing the swf window won't work?
View 2 Replies
Aug 13, 2010
So I'm having difficulty with this one, basically I am working on an XML image gallery.Load XML - with Image and Thumb paths in itoad thumbsWhen you click a thumb it loads corresponding image etc.When I load in the image I need it to load proportionally into a MC.This is the basics of how I have it at the momentCode: Select all box_mc.addchild(Image) // so it's loading into the box_MC which is H:300px W:500
if (Image.height > 300){
Image.height = 300;
Image.scaleX = Image.scaleY;
[code].....
View 1 Replies
Feb 11, 2004
I read the actionscript tutorial on how to make a elastic type animation and I have a question (duh!). Is there a way to resize and move instead of just being able to move the stuff. I want a box that slides to a new area but also gets bigger and I am not very good with math or very great with as. I have also attached the file I am working with.
View 2 Replies
May 18, 2005
i saw in some sites that a window pop-up in smaller size which contains preloader and resize to larger size(main content) when it loaded,how to do that?
View 1 Replies
Aug 25, 2005
I've been trying to work out how to gradually shrink an MC when I rollover a button but it increases in size when I rollout?
View 9 Replies
Feb 23, 2006
How exactly does this work? If I set the width of a movieclip which is nested inside another movieclip, it never works how I think it will. Could someone explain to me the way this works?I'm trying to load images into movieclips that have a border, and the only thing holding me up is that resizing the nested clip, or the clip it's nested in, is really hit-or-miss as far as predictable results.
View 1 Replies
Feb 5, 2008
I need my swf to be resized in html, when i resize my swf it is getting resized and all the contents are getting resized but when i publish it in html it is not getting resized and the contents also.
View 6 Replies