ActionScript 2.0 :: Got The Enlarging And Repositioning Working?

Nov 15, 2006

ok, i am attaching 6 pictures off stage dynamically using setInterval as a loop (so it will attach the clips once every x seconds). I'm positioning them in a line vertically, and then tweening them onto the stage with mc_tween2.Once the pics are in final position, the goal is this: 1.click on any pic and it will grow larger and position itself towards the center of the stage 2.click another pic and the last pic will shrink to original size and go back to it's original place.

#2 is where I'm having the problem. I've got the enlarging and repositioning working, and i can get the last pic to move back, but it won't go to the right place. In every variation i try, it either goes to the first position in the vertical stack, or the last position. The closest i can get to what i want is to swap the last clicked picture with the position of each picture as you click on them.basically how can i get Flash to remember the location of each pic, so when i click another pic, the last selected one will go back to it's original place?

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Enlarging Movieclips Without Enlarging Child Objects?

Mar 6, 2011

I am adding buttons to a rectangle movieclip with actionscript. With every addition I am increasing the height of the rectangle to accommodate the new button. I use recMovieClip.height += 20; This increases the height of the movieclip but it also increases the size of the buttons which are children of the movieclip.

View 2 Replies

ActionScript 3.0 :: Zoom Out While Enlarging Stage

Feb 11, 2010

Here's what I am trying to do: zoom out (shrinking everything), while revealing more space to work with. What I did: Modify _xscale and _yscale. It worked, however the results are not what I expected. Problem: While this cause everything to shrink by the scale amount, the entire Stage shrunk as well. So my 700x425 flash is mostly empty, while the stage itself is being rendered in a small rectangle in the corner. I cannot move any objects outside of this small box. Most of the flash space is wasted. Is there any way to shrink the scale AND enlarge the Stage.width/height at the same time to zoom out and create more canvas space?

View 2 Replies

Flash :: Gradually Enlarging Text?

Apr 9, 2010

I want to create a Flash or animated video that starts with a red dot on a black background. Gradually the dot increases in size and is actually text which says something such as "Buy American". How can this be done?

View 1 Replies

ActionScript 3.0 :: Enlarging Thumbnail When Clicked?

Jul 24, 2009

How do I do this effect:To make the clickable thumbnail transition like that into a viewable window.

View 1 Replies

ActionScript 2.0 :: CS3 Mouseover Text Enlarging And Gallery

Dec 30, 2009

I have a question and would like some help with creating a flash gallery but for showing information rather than pictures. I will try to make this as clear as possible but if its confusing please let me know and I will give more details.Basically I trying to make a vertical timeline on the lefthand side with years (in text) which expand slightly on mousover and when clicked show the relavent information on the righthand side for that year.I can't seem to get the text to expand on mouseover?

View 21 Replies

ActionScript 1/2 :: Enlarging And Minimising Movie Clips

Dec 15, 2010

can anyone provide me with the script that allows a movie clip image if clicked on to enlarge and then minimise when clicked on again?

View 4 Replies

Professional :: Enlarging Text In XSPF Player W/Flash CS5?

Nov 6, 2010

I took a class in Flash way back when it first came out. I haven't used it since then until I recently got the CS5 version for a specific task. I'm revising a small site which includes articles about musicians and sound clips of their work. The mp3 player I'm using is the open-source XSPF Player. It has a clean minimal look that fits my page design. The only problem is the text size inside the player that shows the artist name, song title, etc. It's way too small. I contacted one of the people who has released a modified version of this player, and he said yes it would be no problem to modify the .swf file to display the text differently. However, when I open the player with Flash, the tools are grayed out. I explored all the options on the menus and panels without finding a way to get at the insides of this player. I've two options here: 1-Get specific advice from one of you who has used Flash more than I have, or 2-Get advice about the location a good tutorial. I tried Googling the info I need but didn't get useful results

View 1 Replies

ActionScript 2.0 :: Lightbox Photo Gallery - Enlarging Clicked Image?

Sep 7, 2010

I Managed to insert a photo gallery using lightbox...however, would like to make some changes:
1. Fixed previous and next buttons, been playing around with the code, with no successful result.
2. I have a group of photos, and if I want to enlarge the one I click, I cannot. Whatever photo I click, always the first one of the group appears.

This is the code I have in my html file:
HTML Code:
<head>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script src="js/prototype.js" type="text/javascript"></script>
<script src="js/scriptaculous.js?load=effects" type="text/javascript"></script>
<script src="js/lightbox.js" type="text/javascript"></script>
[Code].....

View 1 Replies

ActionScript 2.0 :: Repositioning MCs Along _y?

May 25, 2005

I have 2 MCs named box1 and box2. Each one has dynamic text field named content_txt (content_txt.autoSize = true) and loads some text data from XML file.Box2 is on the top and box1 on the bottom. I need function that checks the height of box2, or of its content_txt and puts box1 on exact distance along _y axis.I have tried with this code:

Code:
onEnterFrame = function () {
b1y = box2._y;
b1v = box2.content_txt.height; //or just box2.height
spacer = 20;

[code]....

but it slides box1 without exact calculating of box2 height.

View 8 Replies

ActionScript 1/2 :: Repositioning The Registration Point?

Apr 20, 2009

I want to load a series .jpgs into an existing mcs. The mcs are 75 x 75 pix and the .jpgs are 50 x 50 pix. The problem is that I made the mcs with the registration point at the top left corner. This causes the mcs to load in at that point so that the margine between the .jpg and the mc is uneven. How can I change the registration point of each mc so that the CENTER of the .jpg is positioned the CENTER of the mc?

View 3 Replies

ActionScript 3.0 :: Repositioning Browser In Safari?

Sep 8, 2009

I would like to know if any of you have had any issues repositioning your browser using safari within flash. I'm basically using the navigateToURL method then passing a anchor tag like this. All other browsers are fine but when using safari on a mac nothing happens.

navigateToURL("javascript:'#'", "_self");

View 0 Replies

ActionScript 2.0 :: Smooth Repositioning Using MOVEY?

May 10, 2005

I was able to put the script together for this menubar in the attached file... It floats on a separate level just fine, but what I want is for it to smoothly move to the top of the page when a button is clicked, and stay within a two inch range. As you can see, it moves to the top of the page... but surely does not do it gracefully... it just jumps up there. how to put the rest of the script together for this...

View 4 Replies

ActionScript 2.0 :: Smooth Scaling/Repositioning?

Feb 19, 2006

I have an mc that i want to scale smoothly, see attached image that explains it...

heres my code

Code:
shrinkMap = function (target_MC:MovieClip, target_WDTH:Number, target_HGHT:Number, target_X:Number) {
target_MC.onEnterFrame = function() {
if (target_MC._width>target_WDTH) {

[code]....

the different bits finish before each other...is there a way of making each bit (height width and x) scale in proportion of each other so they all finish at the same time? I bet its something to do with what i divide the -= values by (currently arbitrary numbers like 20 or 5)

View 4 Replies

IDE :: Repositioning Everything On The Stage (across All Frames) With JSFL?

Dec 16, 2011

I have a bunch of old FLAs with one set of dimensions, including a 60 pixel offset along the y axis. I'm writing a jsfl script to resize the stage (works), delete some unneeded layers (works), and reposition everything (doesn't work) What I'm using is:

fl.getDocumentDOM().selectAll();
fl.getDocumentDOM().moveSelectionBy({x:46, y:-60});

When I run my script, the items do in fact get moved, but on tweened clips, they get "doubled dipped," it seems: if I compare the new x and y values of, say, the end keyframe of a clip (only tweened for alpha, for example) is exactly 46 pixels farther right and 60 pixels higher up than it should be.Is there a better way to reposition everything that avoids this "double dipping" among tweens? I'd love to know! There's got to be a way, and I feel like I'm so close, but not quite there. (Of course, I'm probably way offEdit: I've performed the steps manually by turning onionskinning on for multiple frames, selecting all frames, then dragging a selection rectangle across everything on the stage, then moving everything by the desired amount, which works: when I look at the history and view the js for those steps, they look exactly like what I've typed into my script.

View 1 Replies

Professional :: Repositioning An Alpha Tween From The Stage?

Jul 6, 2010

attempting to reposition an alpha tween on the stage.
 
i'd like to do this without creating another keyframe that changes the position of the alpha tween.

View 8 Replies

Flash :: Repositioning Objects Based On A Scale?

Jan 19, 2010

I have airplanes that are flying past the screen from a top down view. when the air planes crash, I scale them down to make it appear as if they are falling closer to the ground and farther away from the screen. I have turrets on these crafts as well. they are seperate objects from the air plan. I scale them down as well. The only problem is they dont reposition correctly. they stay in their x and y positions even though they are being scaled it looks as if they are being pulled away from the air plane. is it possible to reposition them correctly based on the size on the object they sit on (i.e. the air planes)

View 1 Replies

ActionScript 2.0 :: Repositioning Nested MovieClip To Specified Coordinates

Jan 18, 2009

I have a main mc, with another mc nested inside it that needs to reposition to exact x,y coordinates (on four separate occasions). Can I put keyframes on the timeline with a script placed on the keyframes so that when my main movie reaches those frames, the nested mc repositions to the specified coordinates?

View 9 Replies

ActionScript 3.0 :: Repositioning/Resizing Loaded JPG Image?

Oct 17, 2011

I just need to know how to resize and reposition my jpg image that I loaded in with this code...

import flash.net.URLRequest;
import flash.display.Loader;
var myFileRequest:URLRequest = new URLRequest("image.JPG");

[Code]....

Right now it is sitting in it's default spot of the upper left hand corner.

View 4 Replies

ActionScript 2.0 :: Repositioning Mouse Position - Traptizium

Jun 22, 2003

i wanna resize the mouse in a traptizium but can't the right fomular to do so any expert out there erm...don't understand see the fla file. I almost got it , its easy with a square but the traptizium formular just got me nuts.

View 3 Replies

ActionScript 3.0 :: Repositioning Tooltip By Adding The Same EventListener

Jul 19, 2010

I'm setting up a row of thumbnails that will show a tooltip TextFormat object on rollover.

[Code]...

However when the screen is resize and the thumbnails are repositioned. The tooltips are still referencing to the old position. I tried to 'refresh' the positions by adding the same EventListener again on resize. But didn't work

[Code]...

View 1 Replies

ActionScript 3.0 :: Garr - Parent - Repositioning A Movie Clip

Jan 18, 2011

i know this has been covered a million times but im running into troubles repositioning a movie clip in as3 i have an mc that has this code on the timeline at frame 50:

[Code]...

View 2 Replies

ActionScript 3.0 :: Resize And Repositioning - Link Doesnt' Work?

Sep 30, 2009

I've this swf with its natively height of 550px. I've the bottom bar, height 92px. So i write this code in AS:
 
bar.y = stage.stageHeight - bar.y / 2;
 
I wrote /2 cause the registration point of the bar is in the middle of it.My pourpose was to place the bar always in the bottom, no matter how tall is stage. But as you can look from the link, it doesnt' work right.while was trying to undestand what is worng, I noticed that the effective repositiong is the duoble of what I wrote in AS3 code. If i resize of 3px larger, the bar goes 6px down, and so on.

View 3 Replies

Flex :: Scaling And Repositioning Circles Based On Resolution

Dec 23, 2009

We are building an application in Flex where we have to scale and reposition the circles based on the changed screen resolutions. Example: Current resolution: (800, 600) I draw a circle at position (410,290) with radius 10 Now If i change the resolution of screen to (1440, 960) then the circle should be drawn at the same place on the screen with respect to the new resolution with relative increase in the radius.

View 1 Replies

ActionScript 2.0 :: Repositioning MovieClip (Tree Diagram) On Stage

Sep 3, 2009

I've got a huge movieclip (2500px X 2500px) sat on a stage (950px X 600px). The movieclip is like a tree diagram and I'd like to be able to click on buttons within the movieclip which will reposition it and have the effect of panning to the next item in the tree.

View 2 Replies

ActionScript 2.0 :: Enlarging Dynamic Text Box Based On Text Length?

Jul 29, 2004

Is there a way to set up a dynamic text box to increase in size (height) based on the length of text loaded into it?

View 2 Replies

Actionscript 3 :: Image Is Working After Compilation But Not Working Once The Executive File's Location Is Changed?

May 25, 2011

package
{
import flash.display.DisplayObject;[code]....

View 1 Replies

Flash :: Working Fine In Local System ... Not Working In The Live Site

Nov 5, 2009

I have a flash project, its working fine in local system, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading... [URL]

View 12 Replies

Flash Working Fine In Local System / Not Working In Live Site

Dec 14, 2009

I have a flash project, its working fine in local system and checked this file with uploading in someother websites, its working fine there too, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading.URL...and here the same file which i have uploaded it in other server its working fine.URL...

View 2 Replies

ActionScript 2.0 :: UTF-8 French Characters Working Locally, But Not Working On Server?

Apr 21, 2009

I missing a file that needs to reside on the server to get this working?

View 1 Replies







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