ActionScript 2.0 :: Z Axis: Difference In Things Getting Bigger?
Dec 19, 2006
im working on a simple effect, but for some reason it just seems like the object is getting bigger, opposed to me zooming in on the object?
anyone got any good advice on how to make it seem like im zooming in instead of the object looking like it's getting larger?
View 2 Replies
Similar Posts:
Feb 8, 2011
In my game, Ive got a HUD, (heads up display, life bar, points scorer etc...) and when an enemy comes onto the stage, the lifebar is appearing behind everything else, and it should really be the thing that's infront of everything else. Is there like a line of code and a function or variable I should declare or import that allows me to create depth and put my lifebar at the front.
View 2 Replies
Nov 27, 2011
I am trying to construct coordinates with distance in meters on the x-axis and time in seconds on the y-axis, without using the timeline. How can I draw the divisions on the x-axis and y-axis ? Or I better draw the whole thing.
var my_shape:Shape = new Shape();addChild(my_shape);
my_shape.graphics.lineStyle(3, 0xFF0000, 1);my_shape.graphics.moveTo(50,50);my_shape.graphics.lineTo(50, 300);my_shape.graphics.lineTo(500, 300);
View 9 Replies
Mar 2, 2005
I'm trying to grasp how functions and motion tweening works.
Heres my question. How do i make an object move along the y axis once it has reached its x axis target?
HEre is the code, that i got from here.
and what in this code is making the MC ease out?[code]...
View 14 Replies
Aug 7, 2009
I've put together this simple code for an SWF with three roll over images (called: Training, Resources and Contact).When I roll over Training I would like the symbol Training_txt to tween its alpha to 1 (from 0) and tween its y axis to 220 (from 83).When I roll out of Training I would like to run the two tweens in reverse.
This works fine for each of the three roll over images, so long as each tween is allowed to fully execute before a new tween is started. The problem arises if i quickly move the mouse curser between the three roll over images before the previous tweens have finished executing.In this instance, the tweened objects start to behave erratically. They usually return to their original position as per the roll_out tween but then start jumping between y axis 200 and y axis 83 (without tweening - they just appear).
Code below -
stop();
import fl.transitions.Tween;
import fl.transitions.easing.*;[code]..........
View 1 Replies
Apr 13, 2012
I'm making a chart where the x-axis needs to have dates and y-axis names. The lenght of the bar is longer when the date is later. But I want to stack multiple bars on eachother. for example This is the code I have so far
<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[code].....
View 1 Replies
Mar 22, 2011
Based on this Adobe multiple axis chart example: [URL]
Then I changed some data values to negative and my axis became not aligned anymore.
how to align vertical axis? Is this another Adobe bug or there is some property that aligns axis?
<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"
[Code]...
View 1 Replies
Jun 7, 2010
i see there are various choices in the dropdown, but i still need it bigger. can this be done?
View 3 Replies
Jun 8, 2009
I'm animating a brick path forming brick by brick.I used a single brick symbol and repeated it over and over until it formed a path.The file was a lot larger than I expected it to be since I used really only one brick. Does the fact that I have a slew of layers explain why my file is on the heavier side?Would the file be smaller if I used a single image of a complete brick path and animated a mask to reveal one brick at a time?
View 2 Replies
Jul 29, 2009
I don't know what Flash calls this type of action - if I did - I'd know where to go for help or what to ask for.So is this a button, a movie?
View 2 Replies
Jun 17, 2009
Is there a way to have it so a Preloader only loads necessary things for the game? I want to have it so you don't have to wait for all the cutscenes(all located in their own MC) in the game to be loaded in order to play it: you can just wait until the cutscene is needed, and when it is, the AS can be told to load an MC which contains it.
View 1 Replies
May 15, 2009
I have to do an animation project for college. I would like to create an animation to use within a bigger project, that looks similar to the First Boot Animation from the new Windows 7.
View 4 Replies
Aug 13, 2009
Im using CS4 trying to make a tween where I transform a rectangle to go from 2 pixels to about 500 pixels so I can create a transition effect, but its only letting me transform it to around 200 pixels.Am I not doing it the way Flash wants me? How should I transform a rectangle to be a lot wider or taller for a tween?
View 2 Replies
May 4, 2011
I have radioButton controls that are being added to an otherwise empty movieClip. The height of the radioButtons are about 22, and the associated textFields (which I am using so I have finer control) are about 25 high. Once the two buttons are added the movieClip reports its height as 130, which is kind of crazy. I know that textFields have default heights, but tracing the height out of the textFields associated with the rb controls only returns 25, as I said above. Here's some code.
var box:MovieClip=new MovieClip();
var startX:int=0;
var startY:int=0;
[Code].....
View 7 Replies
Mar 2, 2012
I have a Mac and a PC - I have apple specific stuff on the Mac, everything else on the PC. My Adobe software is all on the PC. I like using the PC - bigger screen than the Macbook. Problem is that Adobe is effectively forcing me to use the MacBook.
Now I can use Flash to build cross-platform stuff from my PC, but I have to create all the certificates and profiles on the PC. If I want to do IOS development on the Mac I have to generate new certificates and profiles.
So switching between using flash/Flash Builder on a PC and native development on a MAc means continually regenerating certificates. If I had a desktop and PC latop, I could install on both, but not a PC and a MacBook. I am totally fed up with Adobe for this stupidity. If anyone knows differrent about the need to regenerate everything according to platform,
View 7 Replies
Mar 17, 2010
if I place a Border with width and height of "100%" inside a Group with width and height of 10 pixels the Border looks bigger than 10 pixels, why?
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo"
>
[Code].....
View 1 Replies
Feb 17, 2011
How to check if value is not smaller (!<=) or bigger (!>=) than value x?
View 4 Replies
Sep 28, 2009
I have a SWF wich is 2000 px wide.
I want to embed it so it's centered and it won't show scrollbars or resize even if the page is smaller than it.
Something like this site (horizontally) [URL]
View 1 Replies
Nov 10, 2004
Is it possible to make it so that if a user clicks on some key on the keyboard it makes a symbol bigger,proportnionly?
View 11 Replies
Aug 13, 2003
make a little action script,-that take a "movie" and scale it from zero to 100%Just like if u would do it with a "Motion Tween".
View 16 Replies
Mar 18, 2009
For some strange reason firefox 3 enlarges my swf file.Works fine in all other browsers.My swf width is 750 and in firefox makes it to about 830.Same problem with the height.
View 1 Replies
Jul 13, 2009
[URL] how I could make it so when clicking on one of the pictures I got a big picture in a new window?
View 2 Replies
Nov 10, 2004
Is it possible to make it so that if a user clicks on some key on the keyboard it makes a symbol bigger,proportionally?
View 11 Replies
Oct 7, 2010
I'd love to know how to make click and drag two different things. As it believes the drag function is also a click. Also I'd love to know how to set it so that ALL movieclips stop when they reach say -10px from each side?
View 2 Replies
Mar 27, 2008
I'll try to explain the general operation of my program, and that might shed some light on my issue. I have a menu with 50 different small postcards. When one is chosen, the program zooms it up in order to fill the screen, populates some data which is unique to each postcard, and "flips" it so you can see the writing on the back. The postcard is a movieclip which imports a front image, 3 back images, and some XML text. There are some buttons on the "back" of the postcard to choose to look at a few images and text.When you choose to close the postcard, it flies away. I use the same movieclip for all 50 postcards, and just change the images and text that I load.
Once the postcard flies away, I want to remove it from memory. It won't happen with removeChild() as that keeps it there in case I want to reference it again I guess, and I have tried setting the postcard variable name to "null" without much success.I add listeners to the buttons on the postcard when I instantiate its class, so I am not sure if I have to remove them in order to get the garbage collector to deal with it. But, I also don't know what I don't know about removing things from memory. In one section of the Flash docs (Working with display object containers) it says:
"The removeChild() and removeChildAt() methods do not delete a display object instance entirely. They simply remove it from the child list of the container. The instance can still be referenced by another variable.(Use the delete operator to completely remove an object.)"And, at another place in the docs (the script reference about removeChild()) it says:
"Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance. The parent property of the removed child is set to null , and the object is garbage collected if no other references to the child exist. The index positions of any display objects above the child in the DisplayObjectContainer are decreased by 1.
View 6 Replies
Sep 15, 2008
I have a movie clip on the stage. In the main .as file, I can easily access the instance i.e., myMovieClip_mc.x = 10; How do I do that from a class in my "classes" package? I am passing the stage instance into the constructor of the class, so I would think something like myStage.myMovieClip_mc.x = 10 would work, but it comlains that it is null.
View 1 Replies
May 8, 2009
Is is OK to use on listener for multiple events on the same object?I have this for a FLV component and it seems to work. Is that legit?[code]
View 3 Replies
May 23, 2009
Is it just me or are others having problems loading things like html an fla files?
View 3 Replies
Dec 21, 2009
I want to develop a player, which shows imagesMost of the things can be done SAMPLE :[URL] but I am so much confused about the progress bar or scrubber which can be moved or how to arrange with respect to time just like VIDEO Player every image will have to play 10 sec , so if 20 images , so there will be 200 sec so how i should control this time bar or even when user move the scrubber, it moves to exact image with respect to time
View 2 Replies
Sep 1, 2010
I have a menu movieclip that has 800 x 22 px i need to embed this flash menu in a jsp page and make that the displayed menus got outside of this size and overlay the contents of jsp. kinda of what does the menus of the adobe page
View 1 Replies