Trouble with linking buttons within an mso, to another mso.

Im trying to set up buttons nested in an mso to link to a graphic within another mso. I cant seem to find a work around.. has anyone encountered this problem/ have a work around?
Thanks
-LK

You cannot have button action for one MSO in another MSO.

Similar Messages

  • Trouble with Linking Buttons to Articles in Other Folios

    I am very new to DPS as in I just started working with it less than a week ago. My main problem now is linking buttons from one page in a Folio to another.
    My set up right now is this:
    I have a folio named "Cover" that has the landscape and protrait version of the articles.
    I have a button placed on the articles that I want to link from Cover to a folio named "Menu" which also has both orientations
    I understand the 'navto://', but I am not clear on how you connect folios of the same project.
    Reading through the Adobe tutorials definitely walks me through setting this up, but not how to make it all work together easily.
    Thank for any help.
    -Frank

    Your terminology is somewhat confusing.
    My best bet is that you want to link from a certain page in one article (e.g. "Cover") to a certain page in another (e.g. "Menu").
    If that's correct, then
    navto://Menu or navto://Menu#0
    will send you to first page of "Menu" article
    navto://Menu#1
    will send you to the second page of "Menu" article
    navto://Menu#2
    will send you to the third page of "Menu" article
    and so on...

  • How to use user defined object with linked button

    Hi experts
    Can I use user defined table data with linked button. If yes then how. plz give me sample examples.
    Regards
    Gorge

    If you have an UDO in your form, or any other, the FormDataLoad eventhandler should be used.
    Take care, it is not inside the eventhandler.
    for VB:
    Select SBO_APPLICATION in the classes, and select FormDataLoad event
    Private Sub SBO_Application_FormDataEvent(ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean) Handles SBO_Application.FormDataEvent
    in C#
    Add a new eventhandler as
    // declaration
    SBO_Application.FormDataEvent += new SAPbouiCOM._IApplicationEvents_FormDataEventEventHandler(ref SBO_Application_FormDataEvent);
    // eventhandler:
    public void SBO_Application_FormDataEvent(ref SAPbouiCOM.BusinessObjectInfo BusinessObjectInfo, out bool BubbleEvent)

  • I'm having trouble with certain buttons on the Ebay pages.

    I'm having trouble with certain buttons on the EBay pages. Like enlarge, other pictures,add to my watch list, etc. this happened after I upgraded to 8.0. I have tried to upgrade java but the java console will not work ?? tried all this in my other browser and all works fine. What do I do? Thanks

    If it happens again then try to reload the website or clear the cache and the cookies from that website.
    Reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    *http://support.mozilla.com/kb/Deleting+cookies
    *http://support.mozilla.com/kb/How+to+clear+the+cache

  • Having Troubles with Fireworks buttons in Dreamweaer

    Hi Everyone
    I am having troubles with my buttons in Dreamweaver, I created the buttons in Fireworks, when I preview the buttons in a browser in Dreamweaver, they show a "no image" sign when you click on them. I am not sure if its a problem with my states or maybe if its a script. Please HELP!
    Dreamweaver and Firworks Buttons

    Hi Ben
    I changed the instance names and the directory folder, but it still shows that "no image". Here is a screen shot of the buttons:
    Here is the updated code:
    <table style="display: inline-table;" border="0" cellpadding="0" cellspacing="0" width="900">
          <!-- fwtable fwsrc="Buttons.png" fwpage="Page 1" fwbase="Buttons.gif" fwstyle="Dreamweaver" fwdocid = "531471546" fwnested="0" -->
          <tr>
            <td><img src="ButtonImages/spacer.gif" alt="" name="undefined_2" width="31" height="1" border="0" id="undefined_2" /></td>
            <td><img src="ButtonImages/spacer.gif" alt="" name="undefined_2" width="104" height="1" border="0" id="undefined_2" /></td>
            <td><img src="ButtonImages/spacer.gif" alt="" name="undefined_2" width="104" height="1" border="0" id="undefined_2" /></td>
            <td><img src="ButtonImages/spacer.gif" alt="" name="undefined_2" width="104" height="1" border="0" id="undefined_2" /></td>
            <td><img src="ButtonImages/spacer.gif" alt="" name="undefined_2" width="104" height="1" border="0" id="undefined_2" /></td>
            <td><img src="ButtonImages/spacer.gif" alt="" name="undefined_2" width="104" height="1" border="0" id="undefined_2" /></td>
            <td><img src="ButtonImages/spacer.gif" alt="" name="undefined_2" width="104" height="1" border="0" id="undefined_2" /></td>
            <td><img src="ButtonImages/spacer.gif" alt="" name="undefined_2" width="104" height="1" border="0" id="undefined_2" /></td>
            <td><img src="ButtonImages/spacer.gif" alt="" name="undefined_2" width="104" height="1" border="0" id="undefined_2" /></td>
            <td><img src="ButtonImages/spacer.gif" alt="" name="undefined_2" width="37" height="1" border="0" id="undefined_2" /></td>
            <td><img src="ButtonImages/spacer.gif" alt="" name="undefined_2" width="1" height="1" border="0" id="undefined_2" /></td>
          </tr>
          <tr>
            <td colspan="10"><img name="Buttons_r1_c1_s1" src="ButtonImages/Buttons_r1_c1_s1.gif" width="900" height="2" border="0" id="Buttons_r1_c1_s1" alt="" /></td>
            <td><img src="ButtonImages/spacer.gif" alt="" name="undefined_2" width="1" height="2" border="0" id="undefined_2" /></td>
          </tr>
          <tr>
            <td rowspan="2"><img name="Buttons_r2_c1_s1" src="ButtonImages/Buttons_r2_c1_s1.gif" width="31" height="38" border="0" id="Buttons_r2_c1_s1" alt="" /></td>
            <td><a href="index.html" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','Buttons_r2_c2_s1','ButtonImages/Buttons_r2_c2_s2.gif','Bu ttonImages/Buttons_r2_c2_s4.gif',1);" onclick="MM_nbGroup('down','navbar1','Buttons_r2_c2_s1','ButtonImages/Buttons_r2_c2_s3.gi f',1);"><img name="Buttons_r2_c2_s1" src="ButtonImages/Buttons_r2_c2_s1.gif" width="104" height="36" border="0" id="Buttons_r2_c2_s1" alt="" /></a></td>
            <td><a href="support.html" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','Buttons_r2_c3_s1','ButtonImages/Buttons_r2_c3_s2.gif','Bu ttonImages/Buttons_r2_c3_s4.gif',1);" onclick="MM_nbGroup('down','navbar1','Buttons_r2_c3_s1','ButtonImages/Buttons_r2_c3_s3.gi f',1);"><img name="Buttons_r2_c3_s1" src="ButtonImages/Buttons_r2_c3_s1.gif" width="104" height="36" border="0" id="Buttons_r2_c3_s1" alt="" /></a></td>
            <td><a href="peripherals.html" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','Buttons_r2_c4_s1','ButtonImages/Buttons_r2_c4_s2.gif','Bu ttonImages/Buttons_r2_c4_s4.gif',1);" onclick="MM_nbGroup('down','navbar1','Buttons_r2_c4_s1','ButtonImages/Buttons_r2_c4_s3.gi f',1);"><img name="Buttons_r2_c4_s1" src="ButtonImages/Buttons_r2_c4_s1.gif" width="104" height="36" border="0" id="Buttons_r2_c4_s1" alt="" /></a></td>
            <td><a href="servers.html" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','Buttons_r2_c5_s1','ButtonImages/Buttons_r2_c5_s2.gif','Bu ttonImages/Buttons_r2_c5_s4.gif',1);" onclick="MM_nbGroup('down','navbar1','Buttons_r2_c5_s1','ButtonImages/Buttons_r2_c5_s3.gi f',1);"><img name="Buttons_r2_c5_s1" src="ButtonImages/Buttons_r2_c5_s1.gif" width="104" height="36" border="0" id="Buttons_r2_c5_s1" alt="" /></a></td>
            <td><a href="desktops.html" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','Buttons_r2_c6_s1','ButtonImages/Buttons_r2_c6_s2.gif','Bu ttonImages/Buttons_r2_c6_s4.gif',1);" onclick="MM_nbGroup('down','navbar1','Buttons_r2_c6_s1','ButtonImages/Buttons_r2_c6_s3.gi f',1);"><img name="Buttons_r2_c6_s1" src="ButtonImages/Buttons_r2_c6_s1.gif" width="104" height="36" border="0" id="Buttons_r2_c6_s1" alt="" /></a></td>
            <td><a href="notebooks.html" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','Buttons_r2_c7_s1','ButtonImages/Buttons_r2_c7_s2.gif','Bu ttonImages/Buttons_r2_c7_s4.gif',1);" onclick="MM_nbGroup('down','navbar1','Buttons_r2_c7_s1','ButtonImages/Buttons_r2_c7_s3.gi f',1);"><img name="Buttons_r2_c7_s1" src="ButtonImages/Buttons_r2_c7_s1.gif" width="104" height="36" border="0" id="Buttons_r2_c7_s1" alt="" /></a></td>
            <td><a href="office.html" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','Buttons_r2_c8_s1','ButtonImages/Buttons_r2_c8_s2.gif','Bu ttonImages/Buttons_r2_c8_s4.gif',1);" onclick="MM_nbGroup('down','navbar1','Buttons_r2_c8_s1','ButtonImages/Buttons_r2_c8_s3.gi f',1);"><img name="Buttons_r2_c8_s1" src="ButtonImages/Buttons_r2_c8_s1.gif" width="104" height="36" border="0" id="Buttons_r2_c8_s1" alt="" /></a></td>
            <td><a href="contact.html" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','Buttons_r2_c9_s1','ButtonImages/Buttons_r2_c9_s2.gif','Bu ttonImages/Buttons_r2_c9_s4.gif',1);" onclick="MM_nbGroup('down','navbar1','Buttons_r2_c9_s1','ButtonImages/Buttons_r2_c9_s3.gi f',1);"><img name="Buttons_r2_c9_s1" src="ButtonImages/Buttons_r2_c9_s1.gif" width="104" height="36" border="0" id="Buttons_r2_c9_s1" alt="" /></a></td>
            <td rowspan="2"><img name="Buttons_r2_c10_s1" src="ButtonImages/Buttons_r2_c10_s1.gif" width="37" height="38" border="0" id="Buttons_r2_c10_s1" alt="" /></td>
            <td><img src="ButtonImages/spacer.gif" alt="" name="undefined_2" width="1" height="36" border="0" id="undefined_2" /></td>
          </tr>
          <tr>
            <td colspan="8"><img name="Buttons_r3_c2_s1" src="ButtonImages/Buttons_r3_c2_s1.gif" width="832" height="2" border="0" id="Buttons_r3_c2_s1" alt="" /></td>
            <td><img src="ButtonImages/spacer.gif" alt="" name="undefined_2" width="1" height="2" border="0" id="undefined_2" /></td>
          </tr>
        </table>
    I hope I did it right, Thanks

  • Does anyone else have trouble with the button on I pad to access other apps

    Does anyone else have trouble with the button on I pad to access other apps

    Hello, Kevandsheila. 
    Thank you for visiting Apple Support Communities. 
    Here are some troubleshooting steps that I could recommend when experiencing Home button issues.  The article below is labeled for the iPhone, but the steps are the same for your iPad. 
    The Home button is slow to respond
    If the Home button is slow to respond when exiting one application, try another application.
    If the issue exists only in certain applications, try removing and reinstalling those applications. Get further assistance in installing and troubleshooting applications.
    If the issue continues, Try turning iPhone off and then on again. If the iPhone will not restart, try resetting it.
    If the issue is still happening, try to restore the iPhone.
    Seek service is the issue is still occurring.
    The Home button isn't working
    Put the iPhone to sleep.
    Wait a couple of seconds.
    Press the Home button.
    iPhone should wake up.
    If iPhone does not wake up, then iPhone should be serviced.
    If the issue persists after all the steps have been processed see the last section labeled issue not resolved. 
    Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Cheers,
    Jason H. 

  • How to put an MSO inside another MSO

    Hello all!
    An interesting question came up in the following post by Folobo:
    http://forums.adobe.com/message/4572897#4572897
    "Is it possible to use a slideshow embedded in a big overlay slideshow?"
    I'd like to rephrase this question:
    "Is it possible to put a MultiStateObject (MSO) inside another MultiStateObject?"
    And further: if the answer is "yes", could we put that to use with the DPS?
    @Folobo – this is an interesting question. A quick test is showing that you cannot do it in the UI (correct me if I'm wrong).
    Let's try it this way:
    If you have two objects:
    1. an MSO #1 (with two rectangles, rectangle #1, rectangle #2)
    2. Another rectangle on the page: rectangle #3
    Now select the two objects and make an MSO out of it (using the "Object States" panel).
    You would think, now I get an MSO with two states, state 1 with rectangle #3 together with state 2 with MSO #1.
    But not so:
    Result: One new MSO with three states (rectangle #1, rectangle #2, rectangle #3)
    Hm. I don't give up on that. Let's try it another way:
    Could we select at least two objects inside a state of an MSO and make that a new MSO?
    Sure, We could select two objects inside a state, but since we are *inside* an MSO the "Object States" panel does not show the possibility to make a new MSO. You can only add states or add objects to states…
    Frustrating. End of story? Maybe…
    Be forewarned. The following is highly experimental!
    Let's try it by scripting (ExtendScript/JavaScript).
    The scripting reference is showing that an MSO "MultiStateObject" object has an add()-method. And further on, that add()-method could be applied to:
    Document
    Spread
    MasterSpread
    Page
    Layer
    pageItem
    And that is the key to a possible solution. We could add a new MSO to a "pageItem" object.
    A simple rectangle should be qualify for a "pageItem" object; and that, of course, could reside in a state of an MSO.
    So, we could add a new MSO to a rectangle inside of a MSO!
    How can we access a rectangle inside a MSO? Easy: We could select it and work with that selection.
    So let's do that: select the rectangle in the first state of an MSO and run this one-line-script (be sure you did select the rectangle and not the MSO or one of its states:
    app.selection[0].multiStateObjects.add();
    We now have an MSO inside another MSO!
    Explanation:
    A "generic MSO" was added with the add()-function to a selection (the container object: in our case the selected rectangle).
    The "generic MSO" is a two state MSO consisting of one rectangle in each state of a very small size (10px x 10px).
    At first it is invisible, because it is very likely that it is positioned outside the geometric bounds of its container object (the rectangle).
    But we can customize this!
    Go to the layers palette and select the new MSO, move it inside the geometric bounds of its container object, readjust its size, add states as you wish, populate the states with images, and other objects etc.pp.
    So, what can we do with an MSO inside another MSO? (As I already said, this is highly experimental.)
    My experiments with that are very fresh. I did not try a lot. But it seems that we could at least autoplay this MSO.
    I have to test more thoroughly what is possible and what will work with buttons etc.pp…
    I really like to hear from you what you will find out and if you can put it to any use.
    Uwe
    Message was edited by: Laubender

    @Mobly – in case it did not work out for you, here some screen grabs for the different steps:
    1. Select an MSO:
    2. Select a "graphic frame" inside the MSO; in this case a "<square>"; you can see the big blue dot in the Layers panel behind the generic name "<square>":
    3. Open the Scripts Panel and select the script:
    4. Run the script by double-clicking the script; the generic name of your selected object has changed to "graphic frame", but trust me, it's still a square…
    5. Click the "Ok" button of the message and InDesign will select the new MSO ("Multi-state 2") as you can see here. It has two states with one rectangle each,  fill and stroke is "None":
    And: you can see that this new MSO is nested inside the MSO ("Multi-state 1").
    What you do with that construct is up to you:
    6. Color the "<square>" of state 1 of "Multi-state 2":
    7. Resize and change position of "Multi-state 2":
    8. But remember: "Multi-state 2" is nested in the graphic frame you selected before running the script:
    I hope you get the picture now…
    Uwe

  • Trouble With Links to Network Files Within Online PDF

    I posted this at the end of someone else's thread who had a similar problem but it may have gotten lost in the shuffle. Either that or no one has an answer. Here goes...
    I create a Word document that contains links to network files (tested and working) and convert the document to a PDF. The links still function in the PDF when I test them. However, when someone opens the document from our intranet, the file:/// is replaced with some form of a relative link, either to a users C: drive or to an http:// directory. If I then go into the PDF and change the link action from Open File to Open Web Link and provide the full file:/// path, everything works as intended. This really wouldnt be a big deal if I was the one maintaining the document or if it were an occasional thing. The problem is that updating or adding a link to the document means correcting the existing links all over again. This is very cumbersome for the user who maintains the document.
    I'm using Acrobat 8 Professional. Any ideas?

    I'm having a similiar issue with cross platform (Vista to Mac OS X 10.5) file linking. We currently store indesign files on a folder in a shared drive (the mac unix path to the drive is /Volumes/SharedDrive and the vista path is Z:\) and link assets in the document to another folder stored on the shared drive. Note that all linked assets are not stored in the same location on the shared drive, for instance a linked image could be deep in the folder structure (/Volumes/SharedDrive/Marketing/Images/Fall09/example.jpg).
    The Vista computer references files differently than the mac on the shared drive, it seems to mount the network drive directly on the root level rather than in the /Volumes folder. I've tried to symlink the graphics folder (the one containing all the linked assets) to the root level of the hard drive (ln -s /Volumes/SharedDrive/Graphics /Graphics) but when we tried relinking the assets InDesign figured out it was a symlink and resolved the path to the absolute path. Is there some sort of configuration option in mac to mount this windows drive (it is on SBS Windows 2003) in a way that won't cause linking conflicts between mac and pc? Any thoughts are much appreciated!
    Thank you for all your help!

  • Problem with Link Button

    Hi
    I've got a linked button in a column within a matrix that shows Sales Order Document Numbers. I've set it to link to the Sales Order form using the following code:
            oColumn = oColumns.Add("OrderNum", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
            oColumn.TitleObject.Caption = "Order Number"
            oColumn.Width = 200
            oColumn.Editable = False
            oLink = oColumn.ExtendedObject
            oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Order
    The problem I've got though is that if the Sales Order is created with a manually entered Document Number I get the following error when clicking on the linked button.:
    "You are not permitted to perform this action [Message 200-30]"
    I guess the reason it is happening is that the DocEntry and DocNum are different and the Linked Button is using the DocEntry as reference to which Sales Order needs to be opened when the linked button is pressed.
    Is there anyway to stop this from happening and for the Linked Button to function as normal even if the Sales Order has a manually entered document number? So is there a way to allow the Linked Button to link through to a Sales Order using the DocNum not the DocEntry?
    Steve

    Cheers mate. I've just tried setting using the PressLink property of the EditTextColumn object however it's not letting me set the EditTextColumn to the column I have in my matrix. The code I have is:
                                            Dim b As SAPbouiCOM.Column
                                            Dim oEditTC As SAPbouiCOM.EditTextColumn
                                            Try
                                                If pVal.Before_Action = False Then
                                                    oForm.Freeze(True)
                                                    oEditTC = oMatrix.Columns.Item("DocEntry")
                                                    oEditTC.Visible = True
                                                    oEditTC.PressLink(pVal.Row)
                                                    oEditTC.Visible = False
                                                    oForm.Freeze(False)
                                                End If
                                            Catch test As Exception
                                                MsgBox(test.Message)
                                            End Try
    The error I am getting is "Specified Cast Is Not Valid". The type of column I am trying to bind to is a "it_LINKED_BUTTON".
    Steve

  • Edge Animation having troubles with iOS devices within Muse Site

    Hi All! I've been creating a mobile version of my website www.rinkdesigns.com and have it all complete. I created an animation/navigation bar within Adobe Edge Animate and imported it into Muse. It functions AMAZINGLY on my Nexus 4 (Android) in Chrome but on a buddies iPhone 5 Chrome only loads about 3/4 of the animation/nav bar, in Safari the animation does not load at all and half of the page background does not load either. Please check out the preview site here http://rinkdesignsmobile.businesscatalyst.com/phone
    Has anyone else been having animation/mobile troubles with iOS devices? Any hints as to how you fixed your errors would be extremely helpful! I also posted this question in the Muse forum and haven't gotten a response...
    Thanks,
    John

    Or, how about this:
    Does anyone know how to have Edge Animate objects that utilize "_top" in an open url trigger make the Muse site that they are a part of open a new window/tab with that action (as opposed to having it open the url in the current page, or using "_blank" in the trigger)?

  • Trouble with home button

    I got trouble with my home button.....next is with slide to unlock function...ad one more problem is with it's wifi droping
    Pls help

    What exactly is the trouble with the Home button and Slide to Unlock? If they are not responding, they might need replacement.

  • Help with linking buttons to Scenes

    Hey,
    Rookie to Flash and AS3. Just needed some help with my buttons. Im making a flash program about pancakes (random I know). I have a "Mainmenu" scene and then a "Recipe" scene. I have a button on my mainmenu which takes me to the recipe page when I click it, the code behind the button is
    "stop();btn_recipe.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);function mouseDownHandler(event:MouseEvent):void {
    gotoAndStop(1, "Recipe");
    Then when I arrive at my recipe page I have a button which will take me back to my MainMenu, the code behind that button is:
    "stop();btn_home.addEventListener(MouseEvent.MOUSE_DOWN, mouse5DownHandler);function mouse5DownHandler(event:MouseEvent):void {
    gotoAndPlay(1, "MainMenu");
    So I run my program and the first button works and takes me to recipe page but the button to get to the main menu does nothing, click it and no response or anything
    Please help

    First, hopefully having all your code mushed onto the same line is a copy/paste error, otherwise it should look like...
    stop();
    btn_recipe.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
    function mouseDownHandler(event:MouseEvent):void {
         gotoAndStop(1, "Recipe");
    If the intention is to click the buttons to make them work, then you should use CLICK instead of MOUSE_DOWN.  MOUSE_DOWN can be a persistent state whereas CLICK involves releasing it afterwards.
    As for the code to get you back home, where is it located on the timeline?  Are you getting any error messages when you try to use it?
    One thing you should learn to use is the trace() function.  It is useful for troubleshooting.  You can use it now to see if your second button is talking to the function at all...
    stop();
    btn_home.addEventListener(MouseEvent.CLICK, mouse5DownHandler);
    function mouse5DownHandler(event:MouseEvent):void {
         trace("the button works okay");
         gotoAndPlay(1, "MainMenu");
    If you don't get that message in the output panel, you'll know the button is not properly coded to work.
    Most folks here will recommend you get away from using scenes in a design that includes navigation--they have a history of being problematic.  Instead of using scenes, divide the one main timeline up into sections or use movieclips for the sections and manage their visibility... or do a bit of both.

  • Need help with linking buttons

    Can anyone help me with this problem I have.
    I have a gfx which I have created 6 shapes and converted them into simple buttons. I have urls sat inside an xml file. How can I get the buttons to use the urls set from within the xml file?
    Also how can I change the current external photo that is being loaded to load the url from a setting in the same xml file.
    I hope you arnt as confused as I am right now.
    I have packaged up the flash file which includeds the xml aswell.
    If anyone could help me out with this I would be very greatful.
    Thanks All
    http://www.onlineaddicts.co.uk/menu.rar

    Remove the code from all btns, as below paste it on main timeline
    Also no need to load xml twice as dome in image container...
    give an instance name to the outer container of btns - menumv
    use following method to openURL, use same for all the btns..
    import flash.events.Event;
    import flash.events.MouseEvent;
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    var myXML:XML;
    var myLoader:URLLoader = new URLLoader();
    myLoader.load(new URLRequest("links.xml"));
    myLoader.addEventListener(Event.COMPLETE, processXML);
    function processXML(e:Event):void
    myXML = new XML(e.target.data);
    trace(myXML);
    menumv.carbtn.addEventListener(MouseEvent.CLICK, openURL);
    function openURL(e:MouseEvent):void
    navigateToURL(new URLRequest(myXML.car.url));
    http://www.darshanrane.com

  • While loop with stop button within event structure locks up front panel.

    I am not sure if this is a bug with my program or a bug within LabVIEW.  If you believe that this is a bug with my program then I will post my program to be looked at.
    The problem I am having is there is a while loop within an event structure that fires when a particular value changes.  Once the "Activate" button is pressed the while loop within the event structure starts going with a polling frequency of 1hz (1000ms wired to the "wait till next ms multiple" vi).  There is a "Deactivate" button that is wired to the stop control of the while loop and an outter while loop that resets the event structure so that the activate button is being listened to again.
    Once inside the while loop, however, none of the button are responsive within the front panel.  The VI continues to run, and only 60% of my CPU is being consumed, but none of the button or scroll bars work.  The only way for me to terminate the program is with the "Abort" button next to the "Run" button.  If I remove the event structure so that the while loop in question runs as soon as the program starts, the front panel remains responsive.  I've inserted probes within the while loop and verified that it is not running prior to the "Activate" button being asserted, and it is running after the assertion of the "Activate" button with the expected polling frequency set by the "wait till next ms multiple" vi.
    Can anyone help?  Do I need to post my code?
    -Nic

    It is typically not a good idea to stall an event structure by placing loops inside event cases. What good is an event structure if it is not free to repond to events?
    Have a look at some alternative solutions, such as in the following link:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=224817#M224817
    LabVIEW Champion . Do more with less code and in less time .

  • Having trouble with Linked Lists

    I'm making a JApplet with buttons from a Linked List, and the buttons should be unique but they're all returning the same icon and string. Also my refreshImages method and deleteStudents method aren't working except for the very last button. This seems like it's just because of how Linked Lists operate, but I can't wrap my head around it.
    public class FacebookApplet extends JApplet implements ActionListener{
         private Scanner input;
         protected RefSortedList studentsList;
         protected RefUnsortedList buttonList;
         Student studentVar;
         private JButton b, refreshButton, deleteButton;
         private JPanel buttonPanel, etcPanel;
          * Calls:     readStudentNames, setUpImages
         public void init(){
              readStudentNames();
              setUpImages();
              setLayout(new BorderLayout());
              setSize(500,670);
              etcPanel = new JPanel(new BorderLayout());
              refreshButton = new JButton("Refresh");
              deleteButton = new JButton("Delete");
              buttonList.reset();
              etcPanel.add("West", refreshButton);
              etcPanel.add("East", deleteButton);
              add("North", buttonPanel);
              add("South", etcPanel);
              refreshButton.addActionListener(this);
              deleteButton.addActionListener(this);
          * Pre:          students.dat in current directory
          *                studentList instantiated
          * Post:     studentList has Student objects with names, not images(yet)
          * Purpose:     to set up studentList with student names
         private void readStudentNames(){
              try {
                   FileReader dataInput = new FileReader("students.dat");
                   input = new Scanner(dataInput);
              } catch (FileNotFoundException e) {
                   System.err.println("ERROR:Students.dat file not found");
                   e.printStackTrace();
              studentsList = new RefSortedList();
              while(input.hasNextLine()){
                   String studentName = input.nextLine();
                  studentVar = new Student(studentName);
                   studentsList.add(studentVar);
              System.out.println(studentsList + "");
         }//readStudentNames()
          * Pre:          studentList set up with names
          *                .jpg files are in current directory
          * Post:     buttons set up with images in buttonList and buttonPanel
          * Purpose:     to set up buttons with Student names and images
         private void setUpImages(){
              ImageIcon studentPic;
              Student studentStringPic;
              studentsList.reset();
              buttonList =  new RefUnsortedList();
              buttonPanel = new JPanel(new GridLayout(5,3));
              for (int k = 0; k < studentsList.size(); k++) {
                   studentPic = new ImageIcon(studentVar.toString() + ".jpg");
                   studentStringPic = new Student(studentVar.toString(), studentPic);
                   b = new JButton(studentStringPic.toString(), studentStringPic.getIcon());
                   b.setVerticalTextPosition(AbstractButton.BOTTOM);
                  b.setHorizontalTextPosition(AbstractButton.CENTER);
                   b.addActionListener(this);
                   buttonList.add(b);
                  buttonPanel.add(b);
                   studentsList.getNext();
          * Pre:          buttonList set up
          * Post:     All buttons enabled
          * Purpose:     To enable all buttons in buttonList
         public void refreshImages(){
              for(int i=0;i<buttonList.size();i++){
                   b.setEnabled(true);
                   buttonList.getNext();
         * Pre:     buttonPanel, buttonList set up
         * Post:    disabled buttons removed from buttonPanel
         * Purpose: To delete those students whose buttons are disabled
        private void deleteStudents(){
             for(int k=0; k<buttonList.size();k++){
                  if(!b.isEnabled())
                       buttonPanel.remove(b);
                  buttonList.getNext();
             this.repaint();
         public void actionPerformed(ActionEvent e) {
              JButton b = (JButton) e.getSource();
              if(e.getSource() == deleteButton){
                   deleteStudents();
              else if(e.getSource() == refreshButton){
                   refreshImages();
              else{
                   b.setEnabled(false);
    }Student Class:
    public class Student implements Comparable{
         private String name;
         private Icon icon;
         public Student(String nameT){
              name = nameT;
         public Student(String nameT, Icon iconT){
              name = nameT;
              icon = iconT;
         public int compareTo(Object arg0) {
              if(this.equals(name))
                   return 1;
              else
                   return -1;
         }//compareTo()
         public boolean equals(){
              boolean equalTo = false;
              if(this.equals(name))
                   equalTo = true;
              return equalTo;
         }//equals()
          * Pre: LL is instantiated and filled
          * Post: none
          * Purpose: return the name of the student
         public String toString(){
              return name;
         }//toString()
         public Icon getIcon(){
              return icon;
    }

    I fixed the other things, I just need to fix two more problems and then clean up my code so it looks more professional.
    First problem: When I add the Student variables to the studentsList, they aren't sorted. I think this is because they aren't being read as Strings and so there's no way to compare them. I could just do studentVar.toString(), but then studentsList would be full of Strings and not Students. Any ideas?
          * Pre:          students.dat in current directory
          *                studentList instantiated
          * Post:     studentList has Student objects with names, not images(yet)
          * Purpose:     to set up studentList with student names
         private void readStudentNames(){
              try {
                   FileReader dataInput = new FileReader("students.dat");
                   input = new Scanner(dataInput);
              } catch (FileNotFoundException e) {
                   System.err.println("ERROR:Students.dat file not found");
                   e.printStackTrace();
              studentsList = new RefSortedList();
              while(input.hasNextLine()){
                   String studentName = input.nextLine();
                  studentVar = new Student(studentName);
                   studentsList.add(studentVar);
              System.out.println(studentsList + "");
         }//readStudentNames()Here's the add() method of RefSortedList:
    public void add(Comparable element)
      // Adds element to this list.
        LLObjectNode prevLoc;     // trailing reference
        LLObjectNode location;    // traveling reference
        Comparable listElement;   // current list element being compared     
        boolean moreToSearch;            
        // Set up search for insertion point.
        location = list;
        prevLoc = null;
        moreToSearch = (location != null);
        // Find insertion point.
        while (moreToSearch)
          listElement = (Comparable)location.getInfo();
          if (listElement.compareTo(element) < 0)  // list element < add element
             prevLoc = location;
             location = location.getLink();
             moreToSearch = (location != null);   // stop looking at end of list
          else
            moreToSearch = false;     // list element >= add element
        // Prepare node for insertion.
        LLObjectNode newNode = new LLObjectNode(element);
        // Insert node into list.
        if (prevLoc == null)        
          // Insert as first node.
          newNode.setLink(list);
          list = newNode;
        else
          // Insert elsewhere.
          newNode.setLink(location);
          prevLoc.setLink(newNode);
        numElements++;
      }

Maybe you are looking for

  • I am having problem with MDV Studio.

    Hello happy guys, whatzup? Guess all ya 'r doing fine? Right! I am using Dreamweaver from Macromedia Studio 2004. I am having problem with Inserting Record into Access database using the forms I create on my .asp document. I am using IIS and Javascri

  • Firefox process starts but window doesn't open.

    All the suddenly when I start Firefox 11 the window doesn't appear but the process will start in task manager. Yesterday morning everything worked well, but when I came home at evening Microsoft Security Essentials wasn't starting it's protection. I

  • Reverse photo order in iMovie

    Hi, I am making a photo slide show with iMovie, and i have imported 240 photos into the project. Now the problem is that i want to reverse the order of the photos, so to play slide show from the last photo to the first photo (an anti-chronological or

  • Captivate 4 not registering key input when recording a Virtual PC

    I run Windows 7 64 bit with Windows Virtual PC running. I am trying to capture a session using a Windows 7 PC emulated machine, but as soon as I start recording and click inside the Virtual PC window, Captivate 4 no longer register any mouse or keybo

  • List of webinars/Videos to showcase Captivate in less than 1 hour.

    Hello, we would like to showcase Captivate to our entire company. We will have a meeting with about 10-15 people from different departments. Such people are not familiar with the product. Would you have a list of links short videos/webinars that you