Adding buttons to spinning cube animataion

I found this great source file for a spinning cube with
graphics and would like to be able to add button interactivity to
each face:
http://www.senocular.com/flash/source.php?id=0.162
Unfortunately, it uses images- not buttons or movie clips.
Can anyone tell me an easy way to alter the code?
Thanks.
Scott

same questions, same answers
I'm new to AS3 too. I know the kind of frustration you face,
especially when it comes to finding out the how's. So I'm giving
answers rather than telling people where to look for them (for
now).

Similar Messages

  • Adding new characteristics to cube with data

    Hi Gurus,
    i need to add some characteristics to a cube already in production, this cube is customized version of material stocks/movements cube (0ic_c03).
    i am looking for a way to add the new characteristics without having to do reinitialisation (opening stock,...), i am thinking about a loopback process but how do i manage to get the new characteristics populated for the historical data?
    Thank you.

    Hi,
    If you want to load historial data, you must take ECC down time and re-intialization is required.Becasue you are adding new object in Cube and for that you need to change the Update rules, then need to load historical data, so without down time and reinitialization it is not possible.
    Check like below.
    You have data in PSA, so try to delete data from Cube and then load from PSA. Because you may write code in Update rules on;y I think. So in that case, it may work.
    Thanks
    Reddy

  • My iphone 5 home button can spin an unlimited amount of times. Do I need to buy a replacement or can I fix it?

    My warranty expired and I would prefer not to replace it with a non-OEM replacement.

    fadel727 wrote:
    My iphone 5 home button can spin an unlimited amount of times.
    What does this mean"

  • Adding Buttons to a ScrollPane??

    Hello Swing people,
    I have had this problem now for quite some time and still have had no luck in getting it right. I am coding an ordering system and on this form is a Jtable displaying product details. Beside the Jtable are category buttons one after the other in a vertical line and there are 18 of them - meaning they cannot fit on the screen!! Therefore i want these buttons to be in some kind of scollpane or list so they can all be viewed.
    I thought this would be a simple matter of adding buttons to a scrollpane and then to the panel but this has proved not the case! Does anyone know how i could do this as i have been trying this for too long without the help of you geniuses???
    To give u an idea of what i was trying here is a snippet of my code:
    import javax.swing.*;
    public class junk2 extends JFrame{
         junk2()    {
         JPanel panel = new JPanel();
         panel.setLayout(new java.awt.GridLayout(0, 1) );
         JButton []button = new JButton[20];
         for(int i=0; i<button.length; i++) {
              button=new JButton(""+(i+1) );
              panel.add(button[i]);
         JScrollPane scroll = new JScrollPane(panel);
         getContentPane().add(scroll, java.awt.BorderLayout.CENTER);
         setSize(50, 100);
         setDefaultCloseOperation( EXIT_ON_CLOSE );
         public static void main(String []args) {
              new junk2().show();
    This code is fine and puts buttons in a vertical line but the buttons only have numbers on them from 1-20, i want the names of the buttons i have declared to be in here - therefore allowing the action performed on these buttons to be recognised and therefore work too! - anyone know how to get around this??
    Also the scrollpane with these buttons in apears in a whole new frame being that it is a small test program but does anyone know how to ensure the buttons appear in the scrollpane only and not in a new frame??
    all 25 dukes if someone can sort this long problem out!!!

    Hi guys thanks a lot for your replies, i compiled both of them and they are fine! the first reply is more what i am looking for but there is still a problem, i am finding it difficult to incorporate this piece of code into my order form class.
    Im trying to take out the current declarations of my JButtons and replace it with the code i was given (reply 1) and obviously keep my action performed methods there as they will be the same but cant seem to do this!
    If anyone can add in the code from reply 1 into my code below or at least help me i will give u the 25 dukes, taking into consideration i still want the form (panel) to be displayed as well as the panel or scrollpane containing the JButtons???
    Can u help - cheers in advance!!
    Pc
    public class OrderForm extends JFrame implements ActionListener {
         private JPanel panel;
         private JButton saveArchive,unCompleted,submitOrder,checkSheet,clear,exit,bread,fruit,dairy,
    salads,cakes,frozen,meat,cheeses,sauces,dry,drinks,soup,cleaning,boxes,cups,cutlery,lids,misc,stick,soup2;
         private JScrollPane pane;
         private JTextField textorderno,textorderdate,textdelivdate,textemp,textshop,textsupp;
         private JLabel heading1,heading2,orderno,orderdate,delivdate,emp,shop,supplier;
         private String todaysDate, deliveryDate;
         private ResultSet result;
         private ResultSet shops;
         private int column_count;
         private JComboBox combobox;
         ResultSetTableModel model = new ResultSetTableModel();
         Result rs = new Result(); 
         Orders orderSaving = new Orders();
         ProductOrders tableSaving = new ProductOrders();
         private boolean save;
         JTable table;
         public OrderForm()throws SQLException {
              displayForm();
              displayFields();//Have not provided coz it aint needed for this
              displayButtons();//Wont need this anymore i dont think
              getContentPane().add(panel);
              setVisible(true);
         public void displayForm() throws SQLException{
              setTitle("Pret Ordering System");
              setSize(700,600);
              // Center the frame
              Dimension dim = getToolkit().getScreenSize();
              setLocation(dim.width/2-getWidth()/2, dim.height/2-getHeight()/2);
              //Creates the coloured bored around the panel
              panel = new JPanel();
              panel.setLayout( null );
              Border paneltitled = BorderFactory.createLineBorder(Color.red.darker().darker(),10);
              panel.setBorder(paneltitled);
              ResultSet result = rs.setBreadProds();
              model.fillTableModel(result);
              table = new JTable(model);
              for(int i = 0; i < column_count; i++) {          
                   table.getColumnModel().getColumn (i).setPreferredWidth (200);                   
              table.setSelectionForeground( Color.white );
              table.setSelectionBackground( Color.red.darker().darker() );
              pane = new JScrollPane(table);
                  pane.setBounds(190, 230, 440, 200);
                  panel.add(pane);
              combobox = new JComboBox();
              ResultSet shops = rs.getSupplierNames();
              while(shops.next()){  
                   combobox.addItem(shops.getString("supplier_name"));
    //Hope you can help - cheers

  • Adding fields to 0IC_C03 cube

    Hi friends,
    I have to add some fields into 0IC_C03 cube. The fields are reson for movement ,special stock indicator,sales order etc. They are cmg in the datasource 2lis_03_bf. I did add them and load the data , but the data was not coming properly. Is there any other method by which i can make use of these fields without adding them in the cube and make a multiprovider on that. I need to have the customer field also. Will this data come if i make a multiprovider on top of this . Can i make a generic datasource from the table which is giving these fields and make a DSO with these fields and make a multiprovider on it.
    Will the key date concept work on this .
    I would appreciate ur help.
    Thanks,
    Kapil

    Dear Kapil,
    Pleae go through the link provided bleow hope this wil help full.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    Cheers,
    VEERU.

  • The edit button is spinning forever in the ibooks app. How to make it stop?

    The edit button is spinning forever in the ibooks app. How to make it stop spinning?

    I used to have this problem on a iPad 2 with iOS7 (and iOS6).  Everytime I would install a new PDF, iBooks would churn away like it was scanning it.  The book wouldn't even show up for me to read until the churning stopped. Eventually the edit button would re-enable and the doc would appear..  It seemed to keep getting worse each time.
    I then did a complete restore to the iPad.  Now when I load a new book, it immediately is available for edit.  iBooks still works fine 3 months after I did the restore.
    ...Mike

  • Dynamically adding more attributes to cube dimension in SSAS 2008 R2

    I need to dynamically add more attributes to cube dimension in SSAS 2008 R2 because the dimension table the cube is based on is updated using dynamic pivoting and there is need to update the cube dimension attributes as more columns are added to the dimension
    table without making the changes through BIDS. Is there a way to dynamically adding more attributes to cube dimension in SSAS 2008 R2?
    Thanks
    BI Developer

    Definitely. You can use AMO to add dimension attributes on the server. I have definitely done this a few times for different clients of mine. Here is a generic AMO sample:
    http://msftasprodsamples.codeplex.com/wikipage?title=SS2008%21Readme_AMOAdventureWorks&referringTitle=Home
    Notice the parts which add attributes to a dimension.
    http://artisconsulting.com/Blogs/GregGalloway

  • Captiave 2 - Adding Buttons to Question Slides

    I need to use the Captivate Question Slide "maker" to create
    interactive questions with navigation back to the "Jeopardy-esque"
    main page. When doing so, the question slide maker prevents adding
    buttons/navigation, etc.
    Any work arounds, hints, suggestions?
    Thanks...

    Hi Beta Bob and welcome to our community
    As you have seen, you cannot insert interactive objects
    (Buttons, Click Boxes or Text Entry Boxes) on Question slides.
    The only workaround I can think of is to sort of simulate the
    question slide using these objects on a standard slide.
    Cheers... Rick

  • Standard buttons not displaying ALV when added button by creating PF status

    Hi  All,
    I have added a button(using SE41) in application toolbar for ALV grid using Factory method.But the problem is I am unable to see the standard tool bar buttons(Layout,Download,Mail etc).
    Even I tried adding buttons(using standard FCODES) to the PFstatus.Now the buttons are visible but the functionality is not working for all buttons.Its working only for Graphic and Change layout buttons.
    Can any one suggest...??
    -Phaniram

    Disregard DKS's response...that's the older stuff and you're using NetWeaver ALV.
    In SALV you can cause those buttons to appear, but you may need to copy the SALV_STANDARD GUI from one of the SALV* named program using SE80...sounds like you have that part, but you may need to turn functions ON...
    Perhaps something like this would help:
    data:  gr_f_list  type ref to cl_salv_functions_list,
             gr_alv     type ref to cl_salv_table,
    SALV toolbar & GUI functions
      gr_f_list = gr_alv->get_functions( ).     "Get Toolbar functions
      gr_f_list->set_all( abap_true ).          "All On
      gr_f_list->set_view_lotus( abap_false ).  "Lotus 123 off
      gr_f_list->set_view_excel( abap_false ).  "Excel in Place Off
      gr_f_list->set_graphics( abap_false ).    "Graph tool off
    For undesired buttons, set each tool OFF after turning all ON.

  • How to make separation between added buttons into a jToolBar?

    Hi friends,
    I have made a jToolBar (using NetBeans IDE 5.5) with several buttons, but i dont know how to make custom separation between those added buttons. I will appreciate it if anyboy give me some tips.
    Thanks in advance,
    Reza_mp

    I don't know about NetBeans but yeah U can add horizontal atruts and verticals struts between two components, i.e.
    1.) add first component
    2.) add horizontal or vertical struts(according to ur toolbar)
    3.) add second component
    4.) add add horizontal or vertical struts(according to ur toolbar)
    this will definitely solve ur problem.
    If it does, don't forget to pay ur points.

  • Trasformations and DTP are decactivating after adding some NAV in cube

    Hello Experts
       Trasformations and DTP are decactivating after adding some NAV in cube and activating it.
       I knew that it is normal but activating all the DTP's and Transformations is painfull work, would like to just know whether there is any programme to activate the dependent objects!!!

    yes, thats right. A stupid job.
    in my last project I created 3 multicubes, 14 infocubes and 23 dso's.
    -> 1 change in the data modell and you must reactivate 20 objects.
    I wrote a ABAP program to activate
    - datasources
    - transformations
    - DTP's
    - update roules and
    - multicubes.
    It's very nive. So simple now, to make a change.
    I select
    - a object or
    - or an infoarea
    - and the program search all objects in the dataflow.
    I have two modes
    - to display all objects
    - and activate the inactive objects.
    They are many tasks, where I think a tool can help me to increase my development performance. But I don't have enough time.
    Sven

  • Recently added     button accidently deleted How do I get this button back?

    'Recently added' button accidently deleted How do I get this button back?
    I can not find where my tracks off a cd are
    on my imac with out this button or
    icon on the left hand side of itunes.
    HELP I am technically challenged but
    relatively intelligent musician!

    catcowkitty wrote:
    'Recently added' button
    that button is actually a *smart playlist* which you can create yourself quite easily.
    in iTunes, choose +new smart playlist+ from the file menu and recreate the following rules:
    the screenshot is from my original recently added playlist.
    JGG

  • Can i restore the 'recently added' button in the sidebar of iTunes?

    It happend that I accidencially erased the 'Recently Added' button from the sidebar in iTunes which is a bit of a dissaster for me as I often add mp3's from musicproductions elsewere. It makes it quite difficult to find the songs without that button.

    Hi Jimzgoldfinch
    It worked, i have a new smart playlist up and running. That's great, thanks a lot!
    Sam Foh

  • Added new field to cube but data not passed from DSO

    Hope someone can help.
    (BI 7.0) We added new fields into a cube. The fields already existed in the DSO. When we ran the process chain in development for the first time after making this change, we notice that the 'historical' data for these fields is populated in the cube. When we do this in our quality system only new data passed to the cube is updated. In development in the sub-chain DTP request we see all previous requests listed under selections. In quality it is only the latest request. The only difference is that the DeltaInit flag in the DTP request in development is ticked (extraction mode) - but not in quality. Does anyone know whyb this is?

    hi peter,
    Adding fields to cube doesn't affect delta status...The delta DTP should be able to handle delta requests automatically.
    I guess in you quality system, the cube already got all requests updated from ODS before you importing the change request. And in develop system none of the requests in ODS were updated before the change.
    Regards,
    Frank

  • Adding new infoobject to cube with data

    Hi experts
    Our cube contains data and is fully compressed (E-table), there is are no requests in F-table.
    We need to add 2 key figures and 2 characteristics.
    The characteristics get a new dimension table.
    We don't use the remodel technique. We add these new infoobjects.
    There is no need for a reload of historical data for these new objects.
    We only need data starting from the first load date after the changes occured.
    Are there any errors in this approach?
    Thanks

    Thomas,
    When you are adding a new dimension to your cube - you are adding a primary key to your E and F Fact tables - therefore when your transport goes it - it will reorganize your cube tables.
    For this - assuming that you are collecting the changes in the normal way and not changing any settings ....
    1. Check the UNDO table space in target system , the UNDO table space should have enought free space available that will be greater than the size of your E and F Fact table sizes - because , the way the transport moves is that a copy of the table is taken in the undo table space in the database and then the tables are adjusted - if your undo table space is insufficient - the transport will fail after some time
    2. If this is a big cube - then the transport will take time to go in - if BASIS imports transport requests in sequence - then this transport will hold the queue and might delay others whi have smaller transports.... make sure that your transport goes in last if there are others waiting for you to complete
    3. Also inform BASIS that the transport is going to take time - sometimes long running transports can get the BASIS team excited :-)
    These are not technical but some bases that can be covered in advance...
    Hope this helps.,...

Maybe you are looking for

  • Site to Site VPN on Cisco ASA

    Hello, I'm trying to set up a site to site VPN. I've never done this before and can't get it to work. I've watched training vids online and thought it looked straight forward enough. My problem appears to be that th ASA is not trying to create a tunn

  • 27" iMac as monitor for Lenovo T400 laptop (VGA out)

    I thought I read that it would be possible to use the iMac as an external display. I bought a cheap cable that is Mini-DisplayPort (M) to VGA (F), and I also bought a VGA cable (M-M). I plugged the cables into each other, then into the iMac, then int

  • Java SDK - Can I list the universes in the repository on the home page?

    I have a need to create a custom home page. When the user logs in through Infoview they should see the list of universes available for their use. Is there some code that you can insert to the home.jsp page to list these universes?

  • Is it possible to perform multiple RECOVER DATABASE UNTIL TIME ?

    Hi, Can I perform multiple roll forwards of transactions on a hot backup of a database? I want to make a copy of my live oracle database to use on a temporary test server. I intend to copy the hot backup and transaction logs onto the test server and

  • Could not execute the RFC sender scenario

    Hi, My Scenario is RFC to File asynchoronous. RFC is in XI box and I want the file to created on the XI box only. I have created an RFC destination using Sm59 transaction on XI box. Following are the details RFC Destination --> SAP_TO_XI Connection T