Placing a

Hello all.
How could I redraw a JButton to show a status light inside the JButton's boundries? Here is same spiffy ASCII art (ah, that takes me back) of what I'm wanting to do:
+--------------------+
|                    |
|                    |
|     +--------+     |
|     |        |     |
|     +--------+     |
+--------------------+The inner rectangle would be a colored area which "lights up" after the button is pressed. It could then change based on certain constraints of the system -- so a JToggleButton might be down+green for on and okay, or down+red for on but in error.
Could this accomplish by overriding the draw function; calling the super() and then drawing the box over the button? Is there an exsiting pane I should draw to, or should I create a new pane to place over the button?
Is the above just way off and should I be slapped? Is there a more proper way of doing something like this?
Thanks for any help!

You could always use the setSelectedIcon method. This simple example might give you some ideas:
import javax.swing.*;
public class ToggleTest extends JFrame {
    public ToggleTest() {
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        JToggleButton button = new JToggleButton(new ButtonIcon(Color.GREEN));
        button.setSelectedIcon(new ButtonIcon(Color.RED));
        JPanel p = new JPanel();
        p.add(button);
        getContentPane().add(p, BorderLayout.CENTER);
        pack();
    private static class ButtonIcon implements Icon {
        private Color color;
        public ButtonIcon(Color color) {
            this.color = color;
        public int getIconHeight() {
            return 16;
        public int getIconWidth() {
            return 16;
        public void paintIcon(Component c, Graphics g, int x, int y) {
            Color saved = g.getColor();
            g.setColor(color);
            g.fillRect(x, y, getIconWidth(), getIconHeight());
            g.setColor(saved);
    public static void main(String[] args) {
        final ToggleTest tt = new ToggleTest();
        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                tt.setLocationRelativeTo(null);
                tt.setVisible(true);
}

Similar Messages

  • I am having an issue regarding a placed order via customer service department

    I recently relocated to Anchorage Alaska as part of a permanent change of station per the United States Air Force. I was initially located on the East Coast in the lower 48 and at the time of activating my contract I had purchased two separate Iphone 4 devices. I also recently went in to a store in February to purchase a Nexus 7 as well.
    Upon arrival in Anchorage I had multiple issues regarding the Iphone 4 devices including being unable to send and receive text messages & imessages, unable to make phone calls, dropped phone calls, unable to utilize GPS, as well as not being able to access general account information and use anything related to web browsing or data usage. It was determined that because the Iphone 4 operates on the 3g network and Verizon does not have a 3g network in Alaska, as a result I was utilizing an extended service network from another carrier. As a result of this I am only able to use my Iphone 4 devices while connected to my wi-fi network while within my home, which is totally unacceptable.
    I was not made aware that I would be dealing with this when I moved to Alaska and inquired as the the use of the devices I currently owned prior to purchasing the tablet. I was assured by three separate store employees one of which being a manager that all devices would function at 100% efficiency including the Iphone 4s. In fact I was recently billed 350$ for roaming charges last month, which prompted me to speak with a representative via the online chat regarding the significant increase she said that she was unable to process any sort of credit to the account regardless of what I had been told at a local Verizon store where I purchased the tablet.
    As a result of all of these mishaps since arriving here in Alaska I determined I was in need of newer devices that utilize the 4G LTE network currently provided by Verizon in Alaska. I know for a fact that the 4G LTE works great up here because my Nexus 7 tablet runs flawlessly and does not incur roaming charges when utilizing the 4G LTE network.
    Yesterday I attempted to contact Verizon through the live chat feature regarding upgrading two of the devices on my account. The live chat representative immediately asked me when my upgrade date was. Upon telling her my upgrade date 9/29/2014 she told me I should contact the customer service department as I might be eligible for an early upgrade. I then proceeded to contact the customer service department using my Iphone 4.
    My attempt to speak to anyone in the customer service department resulted in a merry-go-round of being put on hold 6 separate times by two different employees, both of which had me wait for more than an hour while they attempted to speak to a manager to gain approval for an early upgrade. The first rep seemed almost sure she would be able to have my devices upgraded early especially considering the issues I was having regarding service.
    The second rep seemed newer and was very dodgy about my questions and was very unwilling to help at first. He even mentioned that I had been a Verizon customer for almost two years, had never missed a single payment and had outstanding account history which should have garnered some sort of importance to the level of my request. But I digress, during this time I was disconnected from the call twice from each separate representative.
    Both reps assured me they would call me back, I never did get a call back from either one of those reps and I was becoming very frustrated having waited four hours trying to find some sort of solution to my current predicament.
    After waiting an hour for the second representative to call back I grew impatient and contacted the customer service department, was put on hold again, and finally reached a third customer service representative who was able to provide a solution for me.
    I explained everything I had been dealing with to Cory ID #  V0PAC61, both regarding the phones, the issue of the level of service I was receiving, the dire need for working devices and the multiple times I had been disconnected. I explained to him as a result of these issues I was certainly considering switching to a different provider, a local provider even who could provide me the adequate service that I require for my mobile devices.
    I explained to Cory that I had been with Verizon for almost two years, and I had been on a relatives account prior to owning my own Verizon account and had never received this kind of treatment when trying to work towards a simple solution. Cory proceeded to tell me he needed to put me on hold to see if there was anything that could be done regarding the upgrades of the device considering all of the trouble I had been dealing with.
    After Cory reconnected with me in the phone call he was able to successfully reach a solution by allowing me to upgrade my devices. We conversed about the options available and I eventually decided to upgrade both Iphone 4 devices to Moto X devices as we determined those would be sufficient for my needs while in Alaska. I also proceeded to add two Otter Box Defender cases to the order so that the devices would have sufficient protection. Cory inquired as to whether or not I would like to purchase insurance for the phones as well and I opted for the $5.00 monthly insurance which including damage and water protection.
    Cory explained to me the grand total for the devices which included an activation fee of $35.00 for each device, $49.99 for each Otter Box case, and an additional $50.00 for each device which would be refunded as a rebate upon receipt of the devices and activation, a rebate that I would be required to submit. Cory explained to me that the devices would most likely arrive Tuesday of 6/17 and no later than Wednesday 6/18.
    Cory took my shipping information and told me everything was all set and the only thing left to do was to transfer me to the automated service so that I could accept the 2 year agreement for both devices. I thanked him very much, took his name and ID# so that I might leave positive feedback about his exemplary customer service and was then transferred to the automated service.
    Once transferred to the automated service I was then prompted to enter both telephone numbers for the devices that would be upgraded, I was then required to accept the new 2 year agreement for both devices and after doing so I was required to end the call. I did so in an orderly fashion and expected a confirmation # to arrive in my email regarding the placed order.
    I have never received a confirmation email. I decided to sleep on it and assumed a confirmation email would be sent sometime tomorrow. Nothing has since been received however. I woke up early this morning around 6AM Alaska time to speak to another live chat representative, Bryan, in the billing department who assured me the order was currently processing and verified the order #. I asked him whether or not it was typical for a customer to not receive a confirmation email for an order placed and he said it can sometimes take up to 2-3 business days. He then stated that he had taken note of the issues I was experiencing and told me he would transfer me to the sales department as they would be able to provide more information regarding the shipment of both devices and a confirmation email, as he stated he did not want me to have to wait any longer than necessary to receive said devices.
    I was then transferred to Devon in the sales department via the live chat service where I was then required to repeat everything I had said to both Bryan and the other representatives I had spoken too. After a lengthy discussion and repeating everything I have just wrote he told me the order was indeed processing and that he would send a confirmation email in the next 30 minutes.
    That was 2 hours ago. It is now 8am Alaska time and I still have not received a confirmation email regarding my order. I was sent an email by Verizon an hour ago stating I had a device to "discover". The email contained no information regarding the shipment of my device, the order confirmation number, or anything regarding my account. The email I received was a typical spam email asking an individual to check out the current available phones and sign up for a new contract.
    All I want is a confirmation email to assure that the devices are being sent. I need my phone for work and to communicate with my family in the lower 48. I desperately need to make sure that the device is in fact being sent to the proper address, this is why a confirmation email of the order is so important. I do not care about the shipping speed I just want what I ask to be taken care of for a change. I would hate to sit here unable to determine what the status of my devices are only for the order to be stuck in "processing" limbo and be unable to receive the devices when I was told they would be sent.
    I feel I have been given the run around treatment way more than is typically given with any company when an individual is trying to work towards a solution. I have been patient and cordial with everyone I have spoken with, I have not raised my voice or shown stress or anger towards the situation I have only tried my best to work towards a solution with anyone I have spoken too but I am becoming increasingly frustrated with this situation.
    Any help regarding this matter would be greatly appreciated. This situation has left a sour taste in my mouth and if the devices were indeed not actually processed in an order, or they were not shipped correctly, or in fact if the order had never existed at all it will only deter me from keeping my Verizon account active and affect my decision to switch to another provider.

        Hello APVzW, we absolutely want the best path to resolution. My apologies for multiple attempts of replacing the device. We'd like to verify the order information and see if we can locate the tracking number. Please send a direct message with the order number so we can dive deeper. Here's steps to send a direct message: http://vz.to/1b8XnPy We look forward to hearing from you soon.
    WiltonA_VZW
    VZW Support
    Follow us on twitter @VZWSupport

  • In Pages 5.0 - Cannot send a placed object behind

    I have Insert/Choose a PDF file. Now I can't seem to get it to be placed in back of text. The Arrange tab with Backward and Forward is greyed out.
    I was able to do this with the previous version of Pages but can't figure it out with this new one. Any ideas?
    Seems like it should be in the Arrange tab

    You need to Make it a Master Object:
    Menu > Arrange > Section Masters > Move Object to Section Master
    This will make it appear on every page.
    Peter

  • When placing a PDF created with Distiller, I only get Crop and Media as import options -- I need it to crop to the Trim! PLEASE HELP!

    I'm having a MAJOR problem placing PDF files in InDesign CS4...
    When I try to place a PDF that has been created in Distiller, the ONLY import options I can choose are CROP and MEDIA. I need it to crop to the TRIM, but that option is grayed out. The PDFs I'm trying to place were created in-house, and converted from Post Script files to PDFs using Distiller. We use PDF/X-1a equivalent settings when creating our PDFs.
    If I export the file as a PDF and then try to place it into a CS4 file, I am able to select Trim as an option.
    ALSO, if I open the Distiller PDF in Acrobat and then save it (without changing anything), I am able to select Trim as an option. A workaround I have found is to open all of the PDF files in Acrobat, save them to my desktop, and then save over the ones I need to place. Here's the problem with that: I work for a publishing company, and need to place hundreds of ads for each issue of our publications, and it adds a lot of time if I have to go and re-save everything just to be able to place all the ads. 
    Does anyone know how to fix this problem? I need to get this figured out so we can use CS4 for all of our publications again. -- We've gone back to using CS3 until I can get this figured out...
    - Valerie

    Steve,
    Thanks for the reply, but my PDFs all have trim boxes on them. If I try to place the same PDF in InDesign CS3, it gives me Trim as an option. Also, if I open the PDF and save a copy to my desktop, I am able to select Trim as an option when placing the PDF, and I didn't change anything about it.
    I've been trying to see if it's something with the Print Preset settings I'm using, but I can't find anything that seems like it would affect how InDesign would read the Trim area of the PDF.
    I've attached 2 PDF files. One that was created with Distiller, and one that was exported from InDesign CS4. The Distiller one doesn't show Trim as an option in CS4, but the exported one does.... but they started out as the same ad.  Ugh!  Help me please!
    - Valerie

  • I have 5 email accounts.  On one account I receive email, however, in responding to the email from this one account I get the following message "Cannot send Mail" A copy has been placed in ur outbox.  The recipient was rejected by the server?

    when I respond to the email message I get the following:  Cannot Send Mail  -- A copy of this message has been placed in your Outbox.  The recipient "[email protected]" was rejected by the server?

    when I respond to the email message I get the following:  Cannot Send Mail  -- A copy of this message has been placed in your Outbox.  The recipient "[email protected]" was rejected by the server?

  • I updated to 5.0 today and now when I try to email from my phone, I am thwarted by the pop-up, "cannot send mail. a copy has been placed in my outbox. the recipient (email address) was rejected by the server.  I need help, please.

    I updated to 5.0 today.
    Now, when I try to email from my phone, I am block, thwarted, rejected by the following message:
    Cannot Send Mail
    A copy has been placed in your Out Box.  The recipient (enter email here) was rejected by the server.
    This happens with my business address.  Receiving works.... sending doesn't.
    My SBC Global address on this same phone is fine...receiving and sending.
    What to do?  I'm stressed.
    Ray

    Hi,
    I had the same issue on my iPhone 5S.  My internet/email provider told me to uncheck (turn off) USE SSL under Mail settings, and it worked perfectly for me.

  • Cannot send email via AOL on iPad2 - "A copy has been placed in your Outbox. Sending the message content to the server failed."

    My CEO has an ipad2 and I set it up w/ AOL.  She cannot send any email via her AOL account from her iPad.  She gets a message that says "A copy has been placed in your Outbox. Sending the message content to the server failed."   We've tried it on wifi and on 3G (Verizon version).  I've removed the account and added it, I've tried setting it up as an IMAP account vs. using Apples standard AOL mail setting and nothing seems to work.  The SMTP settings are smtp.aol.com, port 587.  I've tried adding an alternate server/smtp, but I haven't been able to find anything that works.  Any advice or other people having this issue?  It works fine sending an email from her aol web mail.  And unfortunately, having her sign up for a gmail account is not an option.  Thanks

    Interesting.  Firstly I have been on AOL since the early 90s with no current intention to switch as my primary personal email account.
    I have two email accounts on my iphone - AOL and my email from my business website.  I deleted both and then recreated first the business account and then the AOL account.  Same error.  Then I wasn't sure what you suggested but I turned off the AOL SMTP server and selected the business email SMTP server by turning it on with the same result.  I still get the error "A Copy has been placed in your Outbox.  Sending the mssage content to the server failed."
    Perhaps this problem will get fixed by IOS 6.   AOL will not talk to me unless I pay and Apple says its not their problem.  So for the time being I use the AOL web interface in the iPhone's Safari to send emails from the phone.

  • TS3899 Tried all the tips on line. Every time I try to send an e-mail, it gives me this message, "A copy has been placed in your Outbox. Sending the message content to the server failed" Any help in how to resolve would be appreciated

    I went through all the steps to try to resolve getting the message in a box every time i try to send an e-mail. What next ?
    Message is " A copy has been placed in your
                        Outbox. Sending the message content to the server failed."
    Any assistance would be greatly appreciated. My internet works fine as I can send e-mails from my Yahoo account on my MAC no problem.
    Address is fine etc.

    How long has it been going on? I've had my yahoo mess up and if i wait a bit it resolves itself. Yahoo is doing something with their servers and it messes with your mail if your mail happens to be on one of those servers.

  • How to read vales from dropdownlistbox placed in tableView Cells

    Hi,
      Thanks for reply.. I got problem of reading values from Dropdownlist box placed in tableView Cells. Please correct me or give some sample to read vales from dropdownlistbox placed in tableView Cells.
    TableView column defined as
            <htmlb:tableViewColumn columnName = "OT_REASON_CODE"
                                   title      = "OT Reason"
                                   type       = "User"
                                   width = "6"
                                   edit       = "true" >
              <htmlb:dropdownListBox id                = "rcode"
                                     table             = "<%= I_YH008 %>"
                                     nameOfKeyColumn   = "OT_REASON_CODE"
                                     nameOfValueColumn = "OT_REASON_DESC" />
            </htmlb:tableViewColumn>
    OnInput processing I am trying to read dorpdown list values selected.
              W_YH022-ENDUZ = TABLE_EVENT->GET_CELL_VALUE(
              ROW_INDEX = SY-TABIX
              COLUMN_INDEX = 3 ).  " Get time
    DATA: data TYPE REF TO CL_HTMLB_DROPDOWNLISTBOX.
    DATA: value type string.
         value = TABLE_EVENT->GET_CELL_ID( row_index    = SY-TABIX
                                      column_index = '7').  " get Cell ID
    data ?= CL_HTMLB_MANAGER=>GET_DATA(
                                     request = runtime->server->request
                                     name    = 'dropdownlistbox'
                                     id      = value
    IF data IS NOT INITIAL.
    W_YH022-OT_REASON_CODE = data->selection. " +Cell Values...I am not getting cell values here+
    endif.

    Hi:
    Do like this
    Layout
          <htmlb:dropdownListBox id="mydropdownlist" >
            <htmlb:listBoxItem key   = "bpno"
                               value = "Business Partner Details" />
            <htmlb:listBoxItem key   = "bpaddress"
                               value = "Business Partner Address" />
          </htmlb:dropdownListBox>
    OnInpurProcessing event - >
    DATA: lcl_dropdown TYPE REF TO cl_htmlb_dropdownlistbox.
    data : selection2 type string.
    lcl_dropdown ?= cl_htmlb_manager=>get_data(
        request = runtime->server->request
        name    = 'dropdownListBox'
        id      = 'mydropdownlist' ).   
    IF NOT lcl_dropdown->selection IS INITIAL.
      selection2 = lcl_dropdown->selection.
    ENDIF.
    Regards
    Shshi

  • Can the Menu Bar be placed under the Toolbar like in previous versions of Firefox?

    Had to reset Firefox browser today which automatically update to latest version, 32.0.3 . When I added the Menu Bar back on the Startpage it (by default) placed it above the Tab/Toolbar. I originally had it just below the Toolbar, and would like to place it back in that position. I already tried to move it by the "Customize" button, but it does not allow the user to move it there.

    You can look at the Classic Theme Restorer extension to customize the appearance in Firefox 29 and later and make it look like older Firefox versions.
    *Classic Theme Restorer: https://addons.mozilla.org/firefox/addon/classicthemerestorer/
    *You can check out the settings of the CTR extension via its Options/Preferences button on the "Firefox/Tools > Add-ons > Extensions" page.
    *You can find extra toolbar buttons and more toolbar settings in Customize (3-bar Firefox menu button > Customize)
    See also:
    *https://support.mozilla.org/kb/learn-more-about-the-design-of-new-firefox
    *https://support.mozilla.org/kb/common-questions-after-updating-to-new-firefox
    *https://support.mozilla.org/kb/how-to-make-new-firefox-look-like-old-firefox
    See also:
    *Compact Menu 2: https://addons.mozilla.org/firefox/addon/compact-menu-2/

  • How to access a placed PDF inside a rectangle and move it around

    Hi, I have the following code which places a PDF inside a rectangle var f = new File("C:/pdf.pdf");    var doc = app.activeDocument;  var thepdf =doc.pages[0].rectangles[0].place(f, false);  doc.pages[0].rectangles[0].fit(FitOptions.FILL_PROPORTIONALLY);  Now I want to move "thepdf" (which is of object type PDF) but I can only find a way to move the rectangle around it. I need to move the inner rectangle (the PDF), like I would do with the Direct selection tool. is this possible?

    Yes. That's possible.
    The PDF placed inside the rectangle is the graphics[0] object of the rectangle.
    Or, if you look it up in the links collection, the parent of that link. The parent of that parent is the container object, the rectangle.
    myRectangle.graphics[0].move(/*insert your arguments here*/)
    Would move the PDF inside. Where the move() method could have different arguments:
    Adobe InDesign CS6 (8.0) Object Model JS: Graphic
    Uwe

  • Placed SWFs in IND CS4 do not work

    Hey,
    I've been searching the Internet for forum-topics/posts on similar problems unsuccessfully. Now I hope to get some help on my prob from the "collective expertise" here ;)
    My aim:
    Creating a PDF-presentation including multimedia-contents (SWF-Files).
    Workflow so far:
    I created the presentation in InDesign CS4. On some pages I want to place SWF-Files which I've created in Flash CS4
    (Export for FlashPlayer 9, Movie-compression activated).
    Once finished the layout, I want to export the doc to PDF
    (PDF Export options: PDF 1.7, Multimedia-Content embedded, no color-conversion, no compression )
    My problem:
    1) No preview of the SWF-File in the InD-Doc itself. Doc doesn't indicate that the movie was actually placed. Only movie-roll-picture is shown.
    2) Movie doesn't load in Acrobat 9 Pro on opening the exported PDF (Buffering starts but no process is shown)
    Is there something wrong with my export-options or can InD simply not handle SWF-Files (but export into SWF )?
    Are there other export-formats in Flash CS4 I can place in InDesign?
    My only "workaround" so far: SWF-files can directly be placed in a PDF via Acrobat, but is this the only way?

    These two posts by David Blatner may help:
    http://indesignsecrets.com/swf-embedded-in-indesign-pdf-problem-solved-mostly.php
    http://indesignsecrets.com/preview-swf-files-inside-indesign-with-playswf-script.php

  • CMYK layers showing up when spot color illos placed in InDesign CS3

    When I place an Illustrator CS3 (13.0.2) illustration into InDesign CS3 (5.0.3), Preflight tells me that CMYK colors are being used, even though the imported illustration has only 2 Pantone spot colors matching those used in the InDesign document (the 2 spot colors show up in Preflight as well). I double-checked to make sure they were spot colors, not CMYK. When I go to Separations Preview, my 2 spot color show up but nothing shows on the CMYK layers. I deleted all unused color swatches in my InDesign file (and the Illustrator file), and when I delete the illustration Preflight just shows the 2 PMS spot color that I'm using in the document. I'm using Mac OS 10.5.4 on a brand-new Quad-Core Xeon, if that matters.
    I've tried saving the illustration as both AI and EPS, and using CMYK and RGB color modes. I deleted all unused color swatches from both Illustrator and InDesign. For another test, I created a fresh Illustrator file that just had a box in 1 spot color and placed it in a fresh InDesign file, and again Preflight said that CMYK was being used. Besides the usual work-around of telling my service bureau to not output the CMYK film, does anyone have any idea of how to correct this? I've encountered it several times. (BTW, my service bureau didn't know what the problem is).
    This is my first visit and post here, so if I have violated some forum etiquette, please forgive me.
    James

    Save a PDF and place that.
    Bob

  • Placing SVG in InDesign CS3

    Is it true that it is no longer possible to place SVG as an image in InDesign CS3 ? When I try to place several SVG files these are interpreted (and placed) as text files, not graphics !
    Is there an update or special filter installer to do this as before ?

    Can you tell me with which version of Indesign you managed to get that working, I've been lookin to place SVG as image files into my InDesign without any success.
    I had to make a SVG2EPS Converter to be able to do so. But it is far more heavier in terms of disk space.

  • Is there a way to stop .oam files from previewing as previously placed files in Muse CC?

    I'm placing a new .oam file in a new website I'm creating in Muse but it previews as a previous .oam file that I used in a previous website. When preview the page on a browser it's fine but it's making it hard to place the .oam file in the correct position. Is there a way to stop this from happening so it previews correctly in Muse?

    If you're using Safari as your web browser go to "Safari -> Preferences...", select "General" from the toolbar and uncheck the "Open safe files after downloading" box.
    Other browsers should have a similar setting in their prefs.
    Steve

  • Adobe Muse: where it must be placed .oam file via FTP???

    I don't use Catalyst or other Adobe devices to publish my Muse sites, but I prefere to use FTP and add any file to respective folder.
    Now I built an animation with Edge and I have correctly obtained an .oam file.
    I tried to follow instructions but I'm not able to obtain any result.
    Note that when I try the site in local the animation works correctly.
    After that I tried to place namefile.html in html folder, namefile.css in css folder and namefile.oam in image folder and it does'nt work.
    I tried to create in the main root a new folder with this path:
    /assets/namefile/namefile.html
    and the result becomes better because now the frame of the documents appears correctly, but instead of the animation it appears an error alert.
    So I suppose that the problem is: where exactly it must be placed the .oam file?
    I didn't find any suggestion on the various forums.
    Please can you help us?
    Regards
    Lorenzo

    Hello, thank for the time you have dedicated to my question.
    In any case I want to explain better the sense of it, regarding to the use of MUSE we are doing, that can maybe interest other users.
    We are using MUSE to produce a Ipad/Android digital magazine. We find very helpful MUSE and EDGE to make interactive and multimedial magazines and in the past 6 months we experienced many advanced solutions. We developed a low cost Ipad APP and Android App, fully customizable from users, that are now able to manage a HTML5 source coming from MUSE/EDGE.
    Everything works perfectly but, unfortunately, MUSE is not born for magazines but for sites so it does'nt hold some essential features needed for digital publishing.So we have to correct manually some lines in any .css and sometimes add something in html file. Due to this inconvenient we must finish any page, export the relative HTML and, after that, upload it singularly together with css, also because if we should upload the whole site every time we make a change the new re-generation would cover the corrected files.
    That's why I ask you the exact path for the folder asset and the other generated file and I can't use the automatic .oam system.
    In any case we have found a provisional solution:
    1. we placed the folder "assets" in the main root, together the html file, the css folder and the image folder.
    2. We created inside this assets folder a sub folder for the specific animation, naming (for instance "xxx").
    3. Inside xxx we placed:
    folder "edge includes"
    folder "images"
    file "animation1.html"
    file "animation1_edge.js"
    file "animation1_edgeActions.js"
    file "animation1_edgePreload.js"
    4. In the Muse html file that hosts the animation we used the box "insert HTML" and we wrote the following code:
    <iframe src="assets/xxx/animation1.html" width="1024" height="768"></iframe>
    If you have a better way to do that, please let us know.
    In any case you can see the preview of the digital magazine at the following URL
    www.piu39magazine.it
    and you can see the result of the animation at the URL:
    http://www.piu39magazine.it/vignetta.html
    The main advantage of this solution is that a Ipad/Android magazine can be viewed in the same interactive, graphic and multimedial way also in the web, taking advantage of the touch screen in the new forthcoming Hybrids under Windows 8.
    Hoping this experience can be useful for other Muse users.
    Best regards
    Lorenzo Paolini
    [email protected]

Maybe you are looking for