Is it possible to make a line/rectangle movieclip on stage flexible?

I would like to take a straight line/rectangle that is already created on stage and tween it with as3 so that when mouse is down, i can drag and bend it into an ark shape, and when i release the shape snaps back to its originally form? Tutorials on the tween class would be appreciated.

This file doesn't actually use tweens, but it will show you how to bend a line using the graphics arc class. You can create a rectangle by drawing four of these lines. http://www.ddg-designs.com/downloads/pushLine.zip

Similar Messages

  • Is it possible to make a line of a multicolumn listbox active?

    I currently have data entered into multicolumn listbox.  While the program is running, is it possible for a row of the listbox to be selected and then give the index number of that row?  From there I will want to use that index number to reference other arrays, but right now I'm just dealing with getting the index number I need from the user's row selection. 

    lmtis wrote:
    The I32 is the default numeric constant, I didn't see the need to change it for this purpose.
    You missed my point. The output datatype of the Value property node is an I32. You are wiring to an I32 indicator, but shoving it through a TypeCast function. This is pointless.
    Message Edited by smercurio_fc on 06-20-2008 12:12 PM
    Attachments:
    Example_VI.png ‏4 KB

  • Is it possible to make a simple y vs x line graph, when neither of the two data series is in a header?

    For hours I have been trying to do this, without success.  When there are two columbs of numbers, in the bidy of a table (the sheet), there seems to be no way to make a line plot one column vs the other, as is easy to do in Excel.  A scatter plot seems to work, but not a line plot.
    Weird!
    Can someone tell me if a line plot is possible?
    Thanks so much.

    It is simple to do what you want. It is two extra steps as compared to doing it the "Numbers" way with the X data and the series names in headers. Note that a line plot is not a true X-Y plot of X vs Y unless your X data is evenly spaced and in numerical order.
    1. Select the Y data and make a line chart
    2. With the chart selected, go to the Axis tab of the Format sidebar, click on the "Category X" button, and replace the "Label References" with references to your X data. In my example I changed it to Table 1::D6:D8 and it expanded it out into separate cell references.
    3. Click on the Series tab and change the "name" reference to point to your series name in the chart. In my example I changed it to Table 1::E5

  • Drawing lines, rectangles and circles as objects onto a JPanel.

    Hi. I have to complete a task in school. The work is to create some simple 2D graphical editor. I'm new to java and I have some problems with this job, so I'm looking for help where it is possible...
    I created a JFrame and using it as a window. Into this JFrame I've added a toolbox (JToolBox) and "drawpad" - a JPanel. The toolbox wasn't any problem, but I aim to use the JPanel for drawing 2D objects. I tought about creating some container of objects, where I could put lines, rectangles or circles, each one with its properties (color, [x; y] coordinates on the scene, filling and drawing width) and then, draw this scene onto the JPanel.
    It should be something like windows Paintbrush. Can be simplier, but including the possibility to move and change properties of drawn objects.

    Well, there are two approaches to this that come to mind:
    1. Create an image. If this program is supposed to be like Windows Paint, the tools you are describing are only there for the sake of modifying a two dimensional image. In that case, I would recommend using a BufferedImage.
    The JPanel can contain a single JLabel. The JLabel is constructed in the following fashion:
    JLabel image_label = new JLabel(new ImageIcon(bufferedImage));...where bufferedImage is the image on which you will be storing the data. You can use bufferedImage.getGraphics() to get an object which will quite happily draw geometric shapes for you. Then, after each draw, you tell the panel to repaint itself.
    2. Store the shapes and create a component to draw them for you. You'd create a new JComponent class that would accept objects representing geometric shapes. You then override the paintComponent method on this new class to have it render itself according to the contents of the geometry objects. It would also probably be advisable to have all of these classes implement a common interface (which you would also create) so the rendering component could treat them identically.

  • How to make new line in JButton.setText()?

    how to make new line in JButton.setText()?
    I want to set the text of jbutton in tow line ,as follows
    | jbutton-line1 |
    | xxxxxxx-line2 |
    i konw i can jbtton.settext("<html>line1<br>line2</html>");
    but i find it's ugly using html,
    is there anyother way to create new line in JButton's Text

    As for the above comment....
    I thought the question was well purposed. Using HTML was not acceptable in this instance, which was made clear, so why critisize his comments? "Using HTML" is a poor solution, it does NOT work in many instances due to browser, OS variations. Usually the "common answer" is never a COMPLETE answer.
    Possible Solution:
    Use JLabels to render the text on the button.
    import javax.swing.*;
    import java.awt.*;
    public class ButtonMaker {
    public static void makeButton(JButton jb, String[] titleList) {
    jb.setLayout(new FlowLayout());
    for (int i = 0; i < titleList.length; i++) {
    JLabel tmpLabel = new JLabel(titleList);
    tmpLabel.setForeground(Color.black);
    jb.add(tmpLabel);
    public static void clearButton(JButton jb) {
    Component[] cList = jb.getComponents();
    for (int i = 0; i < cList.length; i++) {
    if (cList[i] instanceof JLabel)
    jb.remove(cList[i]);
    Known Limitations:
    1. Flowlayout does not work well with single line text buttons... perhaps another layout manager may work better for various buttonsizes-linenumber combos.
    2. Mac OSX : The default UI for Mac OS X (and above it seems), is to have rounded edged buttons. These rounded edges are destoryed when using JLabels, leaving a square, blocky button in its place.
    POSSIBLE SOLUTION:
    (this is ugly and time consuming)
    - create images of the button with text on them.

  • How to make a line with arrow curve around a circle?

    I've got CS6 and Windows 7. Trying to make a line with an arrow on one end curve around a circle. Actually want it to have a 3D look like it was curving around the back side of a globe. How do you do this? Thanks.

    Perhaps you mean something more like this
    similar technique you create the arrow as a straight stroke path with an arrowhead and make it a symbol
    You then make it a symbol
    you than make a vertical rectangle and use the 3D Revolve Effect to make a cylinder
    then you go to map art
    then you choose in the map art to make the geomtery invisible
    then you ma the arrow symbol and adjust the placement and then adjust the rotation of the cylinder to your likeing.
    If you need a video to follow I'll do one later.

  • Is it possible to make Multiple Broadband connecti...

    Hi
    I have been using BT broadband for some years using a BT Homehub 1.5.  
    My Freesat box is plugged in to my Homehub, so that I can reliably get BBC iPlayer on the main household TV, so I am unable to move the hub to improve wireless reception elsewhere in the house. 
    The wireless connection in most of the house is OK, but in one room the reliability is poor and often signal strength shows as low. There is a phone line in this room and I was wondering whether it is possible to make a connection to this line using either a separate modem (Speedtouch 330), or a second hub.
    If this is a possible solution then the computer connected to the new modem would affectively be a wired connection, leaving the wireless option still available to the homehub. Both the new modem and the homehub would need to be able to access my BT Broadband account.
    If this is technically not possible I seem to have options of using an ethernet connection from the 'poor reception' room to my hub (not really practical as the house has solid floors and routing the cable would be a nightmare), or perhaps upgrading my hub (and wireless dongle) to a later version. Any advice would be very welcome.
    thanks
    MalcDu   
    Solved!
    Go to Solution.

    MalcDu wrote:
    Hi,
    this looks good.
    Would it be worth upgrading the hub and dongles at the same time or is this overkill
    MalcDu
    No, I would strongly advise that you keep using the home hub 1.5, as in my opinion, the version 1.0 and 1.5 are the most stable of the home hubs, and do not have some of the problems of the later versions.
    If you want to add extra wireless coverage, then an additional wireless access point is the best option, connected to the far end of the powerline adapters.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Is it Possible to make a Tuesday as a due day for payment. in terms of payment obb8

    Hi Gurus
    I need to make terms of payment 28 days from the base line date of posting date. and payment should made on every Tuesday once the invoice is due after 28th day.
    Is it possible to make Tuesday is the base for Payment. instead of Date e.g instead of 2nd payment i need to make payment on every Tuesday.
    Thanks in advance
    Ravi

    Hi Ravi
    In SD and MM you can do it with BADI or enhancements. Please, see these notes:
    Note 1156325 - BAdIs in the Logistics Invoice Verification environment
    Note 301077 - User exits for the interface to accounting
    For invoices in FI (FB60/FB70 and so on), maybe with the BTE 00001610
    I hope this helps you
    Regards
    Eduardo

  • Is it possible to make a .MOV file "un-downloadable"

    Hi there...
    I have a weird question - is it possible to make an online video (.MOV file) "un-downloadable"?
    I work at a college and a professor wants to post some videos within the school's public site. But, because of his concern with copyright, he wants to make it so the videos are impossible to download to the viewers' local machines.
    Is there any type of setting or code that can be put within the .MOV file that would allow this to happen?
    Thank you so much for any feedback you have!
    g4   Mac OS X (10.4.8)  

    Any browser viewed QuickTime file will be "cached" (stored on the viewing computer). This is how browser work (they keep a copy of every page element) to help speed up viewing.
    QuickTime 7 (Mac and PC version) even allows the user to set the size of this cache so movies can be viewed while "off line".
    True "streaming media" (served with special streaming server software) is not cached on the viewing machine so no local copy is made. Streaming Server (QTSS) is free software available from Apple.
    What your school probably really wants is a way to prevent "copies" of your files being used. This is nearly impossible as anyone that views the file could use screen capture software to get a copy. Even the true streaming version.
    I use Snapz Pro.
    You could use some type of "log on" Web page to help limit the audience.
    You could also use "skin track" movies which make screen capture a bit of a chore.
    http://homepage.mac.com/kkirkster/MTV/
    My example will open in QuickTime Player. Even Pro users are prevented from saving or editing the file because it is protected by an AppleScript droplet "Save As Un-Editable" and modified for Tiger and QT 7.
    Hope this helps you decide a plan.

  • Make graph line transparent programmatically

    Hi,
    I would like to be able to make graph lines transparent from within LabVIEW.  Is this possible?  I can find property nodes for every other property, but I can't see the one which turns on the Transparent bit.  Any suggestions?
    Thanks,
    Ian
    Solved!
    Go to Solution.

    Hi Ian,
    By "graph lines" I assume you mean the plotted data? If so, then you could use the property node for "plot color", change it to write and then wire a color box constant set to transparent (T) to it.
    -CC 
    "If anyone needs me, I'll be in the Angry Dome!"

  • How to Make a line of text smile?

    Is it possible to type on a path in Motion, so I can then animate the path and make a line of text look like it is smiling? Or any advice as how I can go about this?
    Thanks

    I have not watched the tutorial, but was going to post that I used a 3 point bezier open line shape that I keyframed into a smile, used that as the shape in a "Geometry" layout and it worked fine...
    It was a bit slow to render, but not too bad. Sorry I didn't keep it to post online...
    Patrick

  • Is it possible to have multiple lines on a phone but only have one of the number ring on that phone?

    I have a client who has four number on his phone. Extension 4709 is the clients number. He also has 4715,4725 and 4712 on his phone. Is it possible to make it so only 4709 will ring on his phone? The client is running CME 10.0
    New here and new CME so any help would be greatly appreciated

    Hi Joseph,
    This would be configured using the "button" (s=silent separator) command;
    From;
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucme/command/reference/cme_cr/cme_b1ht.html#wp1050318
    Cheers!
    Rob
    button
    To associate ephone-dns with individual buttons on a Cisco Unified IP phone and to specify line type or ring behavior, use the button command in ephone configuration mode. To remove an ephone-dn association from a button, use the no form of this command.
    button button-number {separator} dn-tag [,dn-tag...] [button-number{x}overlay-button-number] [button-number...]
    no button button-number {separator} dn-tag [,dn-tag...] [button-number{x}overlay-button-number] [button-number...]
    Syntax Description
    button-number
    Number of a line button on a Cisco Unified IP phone that is to be associated with an extension (ephone-dn). The maximum number of button-ephone-dn pairs is determined by the phone type. Note The Cisco Unified IP Phone 7910G has only one physical line button, but you can assign it two button-ephone-dn pairs.
    separator
    Single character that denotes the characteristics to be associated with this phone button. Valid entries are as follows: •: (colon)—Normal ring. For incoming calls on this extension, the phone produces audible ringing, a flashing icon in the phone display, and a flashing red light on the handset. On the Cisco IP Phone 7914 Expansion Module, a flashing yellow light also accompanies incoming calls. •b—Beep but no ring. Audible ring is suppressed for incoming calls, but call-waiting beeps are allowed. Visible cues are the same as those described for a normal ring. •c—Call waiting. Provides call waiting for secondary calls to an overlaid ephone-dn. See also the o keyword. •f—Feature ring. Differentiates incoming calls on a special line from incoming calls on other lines on the phone. The feature-ring cadence is a triple pulse, as opposed to a single pulse for normal internal calls and a double pulse for normal external calls.
    •m—Monitor mode for a shared line. Visible line status indicates whether the line is in-use or not. Monitored lines cannot be used on this phone for incoming or outgoing calls. •o—Overlay line. Multiple ephone-dns share a single button, up to a maximum of 25 on a button. See also the c keyword. •s—Silent ring. Audible ring and call-waiting beep are suppressed for incoming calls. The only visible cue is a flashing ((< icon in the phone display. Note In Cisco IOS Release 12.4(4)XC and later releases, the silent ringing behavior is overridden during active night-service periods. Silent ringing does not apply during designated night-service periods when the s keyword is used. •w—Watch mode for all lines on the phone for which this directory number is the primary line. Visible line status indicates whether watched phone is idle or not.
    dn-tag
    Ephone-dn tag that was previously defined using the ephone-dn command. When used with the c and o keywords, the dn-tag argument can contain up to 25 individual dn-tags, separated by commas.
    x
    Separator that creates an overlay rollover button. When the overlay button specified in this command is occupied by an active call, a second call to one of its ephone-dns will appear on this button. This button is also known as an overlay expansion button.
    overlay-button-number
    Number of the overlay button that should overflow to this button.

  • I have been using numbers spreadsheet to do my time card. When I delete the info on my spreadsheet to change the info for the new week the dark grid lines turn to a light gray.  How do I make the lines dark again?

    I have been using a spreadsheet in numbers to do my time card. When I delete the info on my spreadsheet to change for the new week the dark grid lines turn to a light gray.  How do I make the lines dark again?

    Change the email on the old account to another new, current email address.
    An email address can only be linked to one Apple ID.
    It is possible to have content from multiple Apple ID's on a single iDevice.

  • Is it possible to make the second Navigation invisible?

    That means is it possible to make the second line of the Toplevel Navigation invisible?

    Hello Jens,
    please take a closer look here.
    http://help.sap.com/saphelp_nw04/helpdata/en/5a/33befa45ca7f459b24d0c5d51d0749/frameset.htm
    Best Regards,
    Olaf Reiss

  • Is it possible to make an alert message.

    Hi,
    Anyone knows if it Is possible to make an alert-message that pops up ( f.e as a little window) on a specific day to remember me of something I have to do that day?
    Would be handy.
    Is this possible with Tiger or is there a third party application that does the trick?
    Thanks in advance.

    Try a free widget called quikAlert
    http://www.apple.com/downloads/dashboard/business/qwikalert.html
    Regards
    TD

Maybe you are looking for

  • I recently did the software update on my Mac and now my safari won't even open? What should I do to fix this?

    So a few weeks ago I installed the software update that came up - I've never had any problems before after doing this. Now though my Safari won't even open, the icon just bobs up and down for a few seconds then I get a pop up box telling me: Safari q

  • Exception while accessing web service through code

    I have a web service developed using AXIS deployed on Weblogic 8.1 Another web application cotaining GUI deployed on Weblogic 10 tries to access this web service through code. This piece of code to invoke the web service is written in Action Class pr

  • Upgrade from 10.3.0 to 10.3.6

    Hi, I have to update my weblogic environment from 10.3.0 to 10.3.6 . In the next picture there is my architecture http://imageshack.com/a/img89/6949/2lci.png . The problem that I have is that I want to reduce the time off of the service because is in

  • Better debugging than cfdebug in cflayout?

    I am using cflayout extensively in an app. But I find the debugging useless.  So I must be doing something wrong. It loads and I get error ... "Error retreiving markup for element cf_layoutareamanage: OK [Enable debugging by adding 'cfdebug' ... Addi

  • Error status code 400 with the description Message mapping failed

    Hi, I tried to build RFID outbound scenario using ECC 5.0, XI and AII 2.1. When I send IDOC message:AIDOPMSG.AIDOP01 from ecc 5.0 to XI(ouput message type is OperationalIn and message mapping is OperationalInTo), i get following error: <SAP:Code area