How to make shape 'grow'

I still cannot get my head around how FLASH thinks....but, I
want to create
a scene where a shape grows vertically...sort of like a bar
graph. I looked
at the motion presets...but, can you give me a hint on what
sort of script
I need to devise?

Oh, I am working in CS4.
"tweaked_eye" <[email protected]> wrote in message
news:ghu5tg$491$[email protected]..
>I still cannot get my head around how FLASH
thinks....but, I want to create
>a scene where a shape grows vertically...sort of like a
bar graph. I
>looked at the motion presets...but, can you give me a
hint on what sort of
>script I need to devise?
>

Similar Messages

  • How to make shape rotation at it's center point?

    I draw a shape,like follows:
    var shape1:Shape;
    shape1=draw();
    addChild(shape1);
    shape1.rotation=50;
    private function draw():Shape{
       var shape:Shape = new Shape();
       shape.graphics.beginFill(0x00FFFF);
       shape.graphics.moveTo(200,200);
       shape.graphics.lineTo(300, 202);
       shape.graphics.lineTo(200, 204);
       shape.graphics.lineTo(100, 202);
       shape.graphics.lineTo(200, 200);
       return shape;
    Then I want to rotate the shape at it's center point(200,202) by using shape1.rotation=50,but I find the shape don't rotate at the the center of it's shape. How to realize the function which make shape rotate at its center point?
    Thanks

    Here is a sample to make it rotate from center:
    var sprite:Sprite=new Sprite();
    sprite.graphics.lineStyle(3,0x00ff00);
    sprite.graphics.beginFill(0x0000FF);
    sprite.graphics.moveTo(0,0);
    sprite.graphics.lineTo(100,0);
    sprite.graphics.lineTo(100,100);
    sprite.graphics.lineTo(0,100);
    sprite.graphics.lineTo(0,0);
    sprite.graphics.endFill();
    var mc:Sprite=new Sprite();
    mc.addChild(sprite);
    //This will make the sprite to center
    mc.getChildAt(0).x=-(mc.getChildAt(0).width/2);
    mc.getChildAt(0).y=-(mc.getChildAt(0).height/2);
    addChild(mc);
    mc.x=200;
    mc.y=300;
    //Now it rotates from the center.
    mc.rotation=20;

  • How to make a "growing" arrow

    I am trying to make a "growing" arrow:
    A small arrow: -------> would extend to
    -------------------------------->
    I tried with shape tweening and shape hints and it works
    fine. The problem is, if I try to duplicate the layer to use my
    arrow elsewhere (in another movie), I loose the shape hints. It
    looks like shape hints are not attached to the shape but rather to
    the scene.
    I feel like I am trying to reinvent the wheel. Is there a
    simple way to do this?
    Thanks.

    Hi isouaga,
    you can put the animation in a movie clip and then just
    duplicate the movie clip. Hope that this helps.

  • How to make shapes appear behind page header/footer in Pages '09

    In a Pages (v4.0.2) page layout document, I'm trying to make a gradient as the page background. Since there's no built-in way to do this (as far as my googling shows), I've tried what others have suggested:
    1. Create a new shape and resize it so it fills the entire page
    2. Go to Arrange > Send to Back
    3. There's no step three!
    This work great for most of the page. However, the page header and footer are always hidden by the shape, and I can't find a way to get them to lay +in front+ of the shape. How can I get the background shape behind the header & footer?
    Thanks for your help,
    Mike

    fruhulda wrote:
    As far as I know you don't need to send the shape to the back.
    Choose in the menu Format > Advanced > Move Object to Section Master
    Are you sure that we may do that with a shape?
    Here the item is greyed
    Yvan KOENIG (VALLAURIS, France) samedi 29 août 2009 21:28:21

  • How to make shape objects clickable/selectable in transformgroups in java 3

    I am building a visualizer program that has Java 3D components inside Swing components. I have a branchgroup inside a canvas3d inside a simpleuniverse, which is added to a JTabbedPane. Inside the branchgroup I have multiple transformgroups each with one shape in them (box, cone, sphere, cylinder). Each transformgroup has the ability to rotate, zoom, and tranlate objects because I have incorperated a MouseZoom, MouseRotate, and MouseTranslate object as from the Java 3D library functions (these are applied to each transformgroup every time one is created and added to the branchgroup). My problem is that I am trying to make these shapes clickable/sectable/dragable/dropable on the screen - currently when I try to translate ONE object all the shapes move on the screen and I cannot get just one shape to move (all shapes move when I only want one to). How do I make only one shape move when it is clicked?
    I know the question is kind of out there and specific so if anyone knows how to generically give transformgroups/shapes drag and drop properties that would also help a great deal. Does anyone know how to to this? Thanks a ton.

    shape uses the contains and intersects methods, is that what you need? Without code it is hard to guess what is required.

  • How to make fields grow dynamically within the same page and in column wise

    Hi,
    Like the newspaper format: Where contents of news are shown columns wise.
    We need to make the fields in a page grow column wise within that same page.
    For example, in a page:
    Column 1 Column 2
    ASDASDASDGKASHDGKAA | ASDFASGFHSJFAJKSD
    ASDFASDFASDJFASGJKDFHA | ASDFASDASDFASDFASD
    AFSDFASDFASDHGFKASDFASD | ASDFASDFASDFASDFASDFA
    ASDFSDGFJASHDGFJKASHDGKFAS |
    ASDFAGASDHFKASHDGFHASDJKFHASJKHF |
    ASDFHASGDKFASDJGHFASDFJKSDGFJKAGSDJ |
    If the Column 1 is full with the fields in the page it should start filling the column 2 which is also in the same page.
    If the Column 2 is also full then only it should move to the next page and should continue the same scenario.
    Please suggest a better way to do this in the Adobe Output Designer.
    Thanks and regards,
    Gurunath V.
    E-Mail: [email protected]
    P.S: Please also mail to my e-mail ID.

    Hi Gurunath, if you steel need a solution on this problem, I think this could help:
    1- place two fields on the form (JF01, JF02), one under each other.
    2- Make two subform with them (Sline1, Sline2)
    3- Make the field JF02 expand on same subform.
    4- Modify the preamble in this way:
    ^define group:D_line1 \field$POSITION\reserve"0.333",in\subformSline1.\positionsave,"first_line"
    ^define group:JF01!OnOverflow \groupG_Sline2.\fieldJF02.
    ^define group:G_Sline2!OnBOF \positionrestore,"first_line"\positionright,"3.65",in
    In the data file put all the text in JF01.
    -The first line say:
    When JF01 is called, save it's y position (\positionsave,"first_line")
    -The second line means:
    when the text overflow JF01 put it in JF02.
    (cause JF02 overflow on itself all the remaining data is overflowed in JF02)
    -The third line means:
    if JF02 arrives at the end of the page (OnBOF), restore the saved position ( \positionrestore,"first_line") and move to the right of "3,65" inches (\positionright,"3.65",in).
    In other words, when JF02 arrive at the and of the age, the next field JF02 is positioned at the same height of JF01 and is shifted on the right
    Take care that in this way JF02 cannot anymore go o a new page.
    Hope this help.
    Andrea

  • How To Make Shapes Change Colors When Clicking on them. Example Sheet Sales Data.xlsx template with Excel 2013

    My question is related to the Sales Data.xlsx template that comes with Excel 2013
    IN this workbook is a sheet named Sales Data. It has, 3 shapes. One each for each of the tab sheets in the workbook. When I click on the 'Sales Report' shape it selects the sales report tab. When you do this the shape changes color and the 'Sales Data' shape
    also changes color.
    However I'm unable to figure out how the colors are changing. 
    I don't see any macros in the workbook/worksheet. Nor do I see any code for worksheet events. I don't see any modules in VBA either. I think what is happening is that there are 2 shapes. When you click on one, the one shape goes to the background and the
    other one comes to the foreground.
    I'm no sure how it's doing that. 
    Can someone look at this template, Sales Data.xlsx that comes with Excel and explain how this functionality works?
    Thank You
    Keith Aul
    Keith Aul

    The shapes are exactly as I suspected, each of 3 sheets has 3 'navigation' shapes. The shape with the same name as the sheet has no hyperlink and is coloured differently to indicate it refers to the active sheet. The other two have hyperlinks linked to respective
    sheets. 3x3 shapes, 9 in total, none of them ever change colour!
    It's logical though not necessary to name each shape same as the sheet it links to, but they'd work just as well with their original default names.
    For aesthetics, the shapes that refer to own sheet have a horizontal line on top, actually two shapes as a group.
    If still confused copy each set of 3 shapes to a 4th sheet, or open two new windows so you can see all three sheets at the same time.

  • How to make shape style move slower?

    Hi. I've drawn a nice mask with dabs over an object, applied Light Streak 1 shape style to the mask so that the object draws on over time with a nice light stroke. But it happens too quickly. I would like the effect to happen slower, or possibly slow down and hold the light effect at a certain point. Can't quite figure out how to do this. Please help. Thanks in advance!

    Thanks for the assistance. Got things to work better, and even tried using the pen tool to create the line that draws around the object, but couldn't seem to get it 100% right. Using the mask tool and doing a few cheats to get the duration longer. The link provided was a great help, but alas, everything tried there didn't work 100% either. Grabbing keyframes works for making shorter durations, but making the motion longer... had some troubles. Ah well, it's solved for now!

  • How to make a oval shape in java

    how to make an oval shape in java

    here's a simple example:
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.awt.Color;
    /* <applet code="OvalTest" width=83 height=43></applet> */
    public class OvalTest extends Applet {
         public void init() {
              setBackground(Color.white);
         public void paint(Graphics g) {
              g.setColor(Color.blue);
              g.fillOval(1,1,80,40);
    }

  • How to make the APEX tree in the "Expand All" shape by default?

    Could anybody please enlighten me on how to make the APEX tree in the "Expand All" shape by default please? I created an APEX tree and by default it's in the "Collapse All" shape. I am using APEX 4.1.0.00.21

    Hi,
    you can check the view source of html and check the onclick code written on that plus sign(Expand All), just copy that onclick javascript code and put it on page javascript event.
    Thanks,
    Jaydip Bosamiya
    +91-76000 23053
    http://jbosamiya.blogspot.com

  • How to make smart shape buttons turn colors after clicking on them?

    How to make smart shape buttons turn colors after clicking on them?  I am using buttons as links to learning paths and would like users to know which buttons they have allready clicked on when returning to main menu.

    This is reply I got from Adobe support.  I will try and let you all know what works best:
    Here is the workflow which you can follow to achieve this functionality.
    Puspendra: You can choose image button and then choose from the available image buttons, or click on the folder icon when you select the image button and choose from the Gallery of Captivate 6.
    Puspendra: Few image buttons change color on hover or onclicked, these effects are predefined in them.
    Puspendra: Or you can edit that button on which you are working, from properties Panel.
    Puspendra: The Post and Cancel button on this thread seems like a transparent button in Captivate with different fill and stroke color, and transparency is also less, and with corner radius of 0.
    Puspendra: You will find these all optionns, when you will click on that button and then click on the properties panel.

  • How to make custom start end shapes for stroke (arrowheads)...

    hello...
    Indesign cs4 have nice start end stroke shapes like arrowheads, circles, squares...circles is clear, without fill. I need fill in it.
    How to make custom shapes or edit existings start/end shapes to functioning like original provided with indesign?
    Maybe illustrator cs4 have this?

    There's no way to edit line endings in ID. You would have to make a compound path from a line with no ending and a second path or shape for the end.

  • How to make a shape look like paint?

    Hi,
    Hope you're doing well.
    As you'll see in the attached picture, I'm trying to make this bottle look like a bowling ball. I've drawn the two red stripes and think they work pretty well but still look very "photoshopped." Anyone have any suggestions as to how to make it look more realistic but still good looking?
    Thanks very much.

    Do you have any suggestions as to how I could create a nicer white background like they have in many stock photos. I've attached one that is like what I'd like to create.
    Thanks!

  • Where to learn how to make advanced shapes ?

    So, there are a lot of info in www - about how to connect shapes, how to edit some setting, how to edit microsoft built in shapes
    BUT, i cant find anything (even for money) about how to create advanced shape, for example there are some paid shapes you can buy for rare usage - for example, meteorology.Or, how to create shape comparing to quality of bult in shape
    all i need - i wanna learn how to do it, the best way - to find a video that will explain the mystery setting in Shape Format menu
    thx!

    Hi,
    If you need more shapes than a particular Microsoft Office Visio template provides, you have a couple of options. You can either search Visio and the Web for shapes that Microsoft has developed, or you can search the Web for shapes that were developed by
    others,
    https://support.office.com/en-us/article/Find-more-shapes-and-stencils-123f0550-ab4b-4803-ae74-4e9c73fff4ca
    And create custom shapes in Visio.
    http://office.microsoft.com/en-001/visio-help/create-a-shape-HP001231200.aspx
    http://office.microsoft.com/en-001/visio-help/create-save-and-share-custom-stencils-HA102749233.aspx
    http://blogs.office.com/2013/09/24/learn-to-create-3-d-shapes-in-visio/
    Best regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to make an icon image using Photoshop

    I found out how to do this recently so I decided that I wanted to make a tut for those who don't know how to make an icon image. This icon image is for the libraries tab on your computer. Under the libararies tab there is Music, Pictures, Documents, and Photos
    First you will need the ICO (Icon image format) Format extension for photoshop which can be downloaded here:
    http://www.telegraphics.com.au/svn/icoformat/trunk/dist/README.html
    The download link and tutorial on how to install it is all in the link above.
    Once you have that all set you can now launch photoshop to create your icon image. Once you have launched it, create a new document with the size as in the image below.
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/256x256_zpsbf3dcf8e.png~original[/IMG]
    Create the image you want. I used a simple one by using the custom shape tool by pressing "U" on your keyboard and with the
    basic blending options.
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/IconImage_zpsd788c709.png~original[/IMG]
    The reason why the image is pixelated is because it is an icon image. Since the image is only 256x256 pixels when you zoom in on it that will get you the pixely result. The reason why I zoomed  in is so you can see it. But don't worry this is no the end result. Just continue reading and you will see.
    So once you have created the icon go ahead and press
    file>save as>(under format choose the ICO)>and choose the name that you want to name it. And save it in your C: drive. You will see why to save it in your C: drive in a sec.
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/SampleicoPic_zpsd252bfba.png~original[/IMG]
    So now that you have created the icon and saved it now you can create the new library.
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/NewLibrary_zps8ca703b2.png~original[/IMG]
    Name the library whatever you want I named it "Sample" for tutorial purposes. Notice how it gives you a default boring icon image for your library.
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/Sample1_zpsb5472840.png~original[/IMG]
    So now once you have created and named your library now it is time to get the icon image into place.
    Go to computer/c: Drive/users/YOU/ And now once you have reached this area you will need to access a hidden folder named "appdata" to do so press "Alt" then a menu bar will show. Click
    tools>folder options>and view. Find the option to view hidden folders then press apply then ok. Now we shall continue so AppData>Roaming>Microsoft>Windows>Libraries
    Now you should see all the libraries including the one you just created.
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/showhiddenfolder_zpsad4a3c94.png~orig inal[/IMG]
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/Libraries_zpsf6243bc0.png~original[/IMG]
    Once you have reached your destination then open a new text document with notepad and drag the library you just created in notepad. The result should look like this:
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/Notepad_zps251a86f0.png~original[/IMG]
    once you have reached this point click at the end of the second to last line down then press enter and enter in this information
    <iconReference>c:\"NAME OF ICO FILE YOU CREATED IN PS".ico</iconReference>
    Example:
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/iconreference_zps1c1a3eca.png~origina l[/IMG]
    Once you have entered that information go to file>save and the icon image should appear on the library you created.
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/Finished_zps267f893a.png~original[/IMG]
    Now you are officially finished. Go and spread the news and joy. Bye for now
    -Dusty951512

    It is Windows only because all those screen shots are exclusively Windows, the file structure and paths do not resemble those of the Mac in the least.  As a Mac user, there's nothing I could take from your tutorial.  Sorry, 
    No drives named with letters like C: on the Mac, for instance.  No backward slashes either, ever.  No such paths either.  No "Notepad" on the Mac, we use TextEdit; but such a text editor is not remotely needed on the Mac to make and/or edit icons.  Etc.
    Those folders are not even called "Libraries" on the Mac…  Nothing resembling your tutorial at all.
    The icons in the Finder's Sidebar are not customizable at all in recent version of OS X.
    =  =  =
    You can edit any post of yours only until someone replies to it.  At this time your post is not editable by you any longer.

Maybe you are looking for

  • Install OIM 9.0.2 on Linux with JBOSS or OAS 10.1.3.1

    Hi all, I try to install OIM on RHEL 4 update 3 . First I installed OIM 9.0.2 in Oracle 10.2.0.1 with JBOSS and I obstacled with errors during compilling adapters of OEBS and OID from Connectors Pack. After that I desided to install OIM in existing O

  • I upgraded my wife's iPhone 5c to iOS8. Need help

    Hello all. I upgraded my wife's iPhone 5c to the ios8 last night. All day or had been showing the cloud drive as upgrading. I don't think that this is right? Any help is appreciated.

  • Import ATO Star Item directly into OM

    Hi, We are using CPQ tool to configure and quote to customers. Once quote is approved we want to import the Quote into OM as Order. We have ATO Models in EBS maintained. While importing the Quote to Order we want to directly create one line Item of t

  • MobileMe getting revamped?  How reliable is MobileMe

    I asked this question before, and it morfed into something else.  I have read a lot of articles, that have good reason to believe that Apple is revamping MobileMe.  I am just wondering when this might happen.  Talk of a music cloud is one of the thin

  • Installing Postgresql JDBC Driver WLS 8.1

    Hi, Can somebody explain how I install the JDBC Driver for postgresql? I have WLS 8.1.2 on Win XP. I think the solution would be to set the CLASSPATH to the appropriate location. But how do I do this permanently? Thanks, Oliver