Button URL issue

Hello everyone! I have a problem, i have a site i made in flash, on every scene i have movieclips with nested buttons in them, when i double click on the MC and then click the button, i open the actionscript and type everything so when i press the button it would open an URL from other site, also the MC works just fine. But the problem is every code that i type applies on every button on the actual scene. For example i have btn1 and btn2, i type the code with URL "google" and than btn2 with URL "yahoo". When i publish the site they both go to "yahoo" which is the last code that i typed. So whatever code i type last on no matter which button, applies for all buttons on the particular scene. I thought it was the problem with the instance names, but i dont know how to change them. Please help me with this, its the only problem i have. Thank you very much...

The instance names are assigned in the Properties panel.  To change them you click on the object and in the Properties panel you assign it the name.  Your buttons should have different names, and the code that works with them should be referring to the different names so that he correct code is designated for each.
When I reread your problem I think I am seeing that you say you have a movieclip containing a button, and a number of these movieclips so that you have multiple buttons.  If that is the case, then you are effectively editing the same object every time, so changing one changes the other one.  If you change one and then open another that was different, does it also show the new change?

Similar Messages

  • TARGET="_blank" in button URL?

    I have a printing servlet I want to call from a button. This works fine, but I need the link to open in new browser window, where the pdf can be shown. I have tried this for button URL:
    http://wmsi001494/rapportServlet/rapport?skemaId=&P71_SKEMA_ID. TARGET="_blank"
    But this does not work. Does anybody know how to get it working?
    Regards Pete

    I tried popupURL, popUp2, and window.open javascripts to open a window using a button. They work fine with HTML pages but fail when I try to open a PDF file.
    The URL I'm using to open the PDF references a function I created following the HOW TOs (e.g. download_my_file?p_file=#ID#). The only alteration I made to the HOW TO download function was to open the file instead of downloading (Content-Disposition: inline instead of attachment).
    Has anyone else had this problem or found a way to open a PDF file that is stored in the database into a new window using a button instead of a link? I should also mention that if I use a link (e.g. href="...download_my_file?p=file#ID#') it works, it just doesn't work if I have to use Javascript to open the file in a window.
    I really need to use a button instead of a link, but can't figure out how to make it work!
    Forgot to mention, the error message reads:
    "There was an error opening this document. This file cannot be found." It's an Adobe Acrobat error, but it opens fine when opened with a standard link.
    Thanks,
    ~Dan

  • Button URL With Variables widget that works with HTML5

    Hello,
    I'm currently using the "Button URL With Variables widget 6.x" developed by CaptivateDev. com. Unfortunatley it is not compatible with HTML5 projects in Captivate 7. Do you know where I can find one?
    Thanks,
    Stewart

    I don't know yet about any widget available for HTML5 output, with the exception of the interactions included with Captivate.

  • Portlet minimise/maximise button url code

    Hi,
    I need to change the minimise and maximise button url for the portlet.
    I need to include the page label to the url. Right now it takes only the window label which causes problems when I click the browser back button and then minimise/maximise a portlet on that page.
    Could anyone let me know where I can locate this code.
    Thanks,
    RK

    To change minimize/maximize button images navigate to
    framework\skins\path\to\images( if using default navigate framework\skins\default\images) and replace the image files with the images required.
    The following is the kind of url when I run sample portals:
    http://localhost:7001/samplePortal/*.portal?_nfpb=true&_pageLabel=page_1
    I see that the url has pageLabel. I dont understand your context. Can you elaborate??
    --SJ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Firefox back button visual issue...

    Hey there,
    Overall, Firefox is just amazing. I registered this forum just report a bug about the Back-Button visual issue. The Back-Button in Firefox looks broken visually on start. When I open Firefox and enter any website, Back-Button looks visually broken. But later it look okay. I've taken some screen shots about that, but don't know how to attach them here. I am running windows 8 on my computers. Don't know about other OS users, if they are experiencing the same issue or not.

    Adapter Description Intel(R) Q45/Q43 Express Chipset (Microsoft Corporation - WDDM 1.1)
    Adapter Drivers igdumd32 igd10umd32
    Adapter RAM Unknown
    Device ID 0x2e12
    DirectWrite Enabled false (6.3.9600.17111)
    Driver Date 3-11-2013
    Driver Version 8.15.10.2702
    GPU #2 Active false
    GPU Accelerated Windows 0/1 Basic (OMTC)
    Vendor ID 0x8086
    WebGL Renderer Google Inc. -- ANGLE (Intel(R) Q45/Q43 Express Chipset (Microsoft Corporation - WDDM 1.1) Direct3D9Ex vs_3_0 ps_3_0)
    windowLayerManagerRemote true
    AzureCanvasBackend skia
    AzureContentBackend cairo
    AzureFallbackCanvasBackend cairo
    AzureSkiaAccelerated 0

  • Button URL Redirect - Issue passing %null% from LOV

    I have issue when attempting to pass %null% from a LOV to a subsequent target page. The URL Redirect works fine when a value in selected in the LOV but passes gibberish "?ll" when no value is selected from the LOV. Can anyone shed some light on what's is going on?
    Redirect looks like this:
    f?p=112:411:508326687872582::NO:RP,411:P411_AGENCY,P411_CATEGORY,P411_BUDGET_YEAR,P411_OIT_OFFICE,P411_DESCRIPTION:002,%null%,2012,1665,webJeff
    Edited by: jwellsnh on Jun 2, 2010 4:42 PM

    svk1965,
    Thank you for your response, I read many other threads and you are definitely on the right track. Got impatient though and took my project on a different track which ended being a better solution for me after all.
    Jeff

  • Calling Webservice from Adobe form - Webservice URL  Issue

    Dear Friends,
      I have developed a webservice and calling it from an Adobe form. I have downloaded the WSDL file from tcode SOAMANAGER. When I create a data connection from the Adobe form  I use this WSDL file and the form elements gets created automatically and I drag and drop them into the form. The issue is when I click on the Submit(Execute) button the Webservice URL is always pointed to the client from where the file was downloaded and its hard-coded ( for example if i download the wsdl file from client 300 then the URL would be http://<location>/sap/bc/srt/rfc/sap/z_web_getmat/300/z_web_getmat/z_web_getmat). So if i execute the form from client 200 its not working. How to make this URL dynamic so that the webservice gets executed from the client from where this form is called. Please advice.
    Regards
    Sapient

    Hi,
    You have to handle it in your form on submit button calling the web service:
    Write below java script code at submit event to change the URL at run time:
    var tempsoapAddress = xfa.connectionSet.DataConnection.getElement("soapAddress").value;
    var tempwsdladdress = xfa.connectionSet.DataConnection.getElement("wsdlAddress").value;
    var ServerPath = body.systemConfig.system.rawValue;
    var client = <Get Client from a data attribute>
    var Soap_PreServerPort =  "http://";
    var Soap_PostServerPort =  "/sap/bc/soap/rfc?sap-client=";
    var SoapAddress = Soap_PreServerPort + ServerPath + Soap_PostServerPort + client ;
    var Wsdl_PreServerPort =  "http://";
    var Wsdl_PostServerPort1 =  "/sap/bc/soap/wsdl11?services=ZBAPI_PO_CREATE2&amp;sap-client=";
    var wsdlAddress =  Wsdl_PreServerPort + ServerPath + Wsdl_PostServerPort1 + client ;
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = SoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = wsdlAddress;
    xfa.connectionSet.DataConnection.execute(0);
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = tempsoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = tempwsdladdress;
    xfa.connectionSet.DataConnection = null;
    Change the variable wsdlAddress as per your requirement. The above code is just a sample.
    For getting the client pass it in a datasource variable attribute at time of downloading the form. At time of submit get the value of that variable and use it to form the url.
    Regards,
    Vaibhav

  • Button rollover issue

    Download zipped
    FLA
    If anyone is bored, I'm having a problem with a rollover
    issue in the above movie that I have been creating. It is an
    interactive, navigable map of city parks. Rollover of the
    individual dots marking park locations on the map works fine. But I
    am also trying to list all the parks' names on the right, where you
    see the "Bergen Park" button. This is so that the user can either
    mouse over the map locations and see the park name
    OR
    find where the park is located by mousing over the park name
    on the right. I want this "Bergen Park" button to cause a section
    of the movie clip that has an instance name of "bergen" to play,
    making the Bergen Park dot on the map enlarge when the "Bergen
    Park" button is moused over. I thought that this actionscript would
    do it:
    on (rollOver) {
    _root.bergen.gotoAndPlay("11");
    on (rollout) {
    _root.bergen.gotoAndPlay("19");
    But it is not working when the movie loads. Only if I mouse
    over the Bergen Golf Course dot on the map does the "Bergen Park"
    button start acting like a button. Otherwise it just gives me a
    text cursor when I mouse over the "Bergen Park" button. Any help
    would be much appreciated!
    Kevin

    had a look at your fla and didn't quite work out exactly what
    was "working fine" for you. a few comments on your code:
    1. don't you need a stop action on frame 92 ? otherwise it
    continues looping.
    2. flash is case sensitive - be careful of this - on
    (rollout) might work even though the correct syntax is on(rollOut),
    but this is because the on handler is ancient syntax (pre dot
    syntax). most flash syntax requires you to have the syntax
    case-correct.
    3. Why is each of your dot clips inside a group? They were
    very difficult to find. I can't think of a reason for them to be
    inside groups, so I'd recommend selecting all of them and breaking
    the group apart so that you can see where they are!
    4. The way you've structured your flash file has redundancy
    and is going to be a nightmare to make changes to. Imagine if you
    or your client decides that they want the dot to pulse twice when
    you rollover it. You're going to have to make that small change 42
    times. Or even imagine if a URL changes for one of the buttons.
    There is a unique line of action-script to open that URL on every
    key-frame within the dot movie-clip. so changing a URL would
    require making that change on 6 keyframes, let alone the park name
    reference to it that you are building on the right. The minimum I
    would suggest you do is to have only one movieclip which contains
    the animation of the dot pulsing, and then for you to put the
    button event handlers on those movieclips, rather than inside those
    movieclips. There are even better ways you could go about this, (by
    storing the urls and titles in arrays, or even xml, and then
    placing the event handlers on the movieclips via their instance
    names on one frame of action-script), but this would at least
    remove your redundancy.
    5. but i digress... to return to your question - the text
    cursor appears not when you point to the bergen park button but
    when you point to the area between {2, 0} and {502, 20}, because
    this is where you created a dynamic text field:
    _root.ToolTip.createTextField("TipText", 2, 2, 0, 500, 20);
    _root.ToolTip.TipText.type = "dynamic";
    add this line after the above code:
    _root.ToolTip.TipText.selectable=false;
    and your problem should be fixed...

  • Firefox button rollover issues

    Strange one... I have a flash file that works in every browser, except Firefox.  In Firefox, it appears that the Y coordinate is "off". You can only use the button when you are approximately 200 pixels down the screen.  I've tested in Chrome, Safari and IE 7 with no problems.  Any ideas?  FYI..the only other info I've been able to find may point to wmode, which in this case I have to set it to transparant so the drop down boxes above the flash movie stays "over" the video.  Here is the link.
    http://www.kucourses.com/ec/media/store/mediate/ED532/ED532_9/unithome_tutorial.html
    Any ideas?

    chrisrubal,
         Interesting.  When I test that URL, the button seems just fine for me in Firefox.  The hotspot is positioned exactly where it makes sense (same for IE, Chrome, and Safari, all on Windows).  Does this issue persist for you when you clear your cache in Firefox?
    > the only other info I've been able to find may point to wmode,
    > which in this case I have to set it to transparant so the drop
    > down boxes above the flash movie stays "over" the video
         A setting of "transparent" does allow Flash content to appear under other HTML elements, but you really only need "transparent" when the Flash content includes transparency.  WMODE is known to be a bit dicey (has been since its introduction), but anecdotal evidence suggests that "opaque" is a bit less problematic, and both of those -- transparent and opaque -- let your layer your SWFs behind CSS menus.
         Not sure if WMODE is the cause for your issue, but opaque is worth a shot.
         Here's a bit more info:
         http://www.quip.net/blog/2006/flash/how-to-position-flash-beneath-other-content
    David Stiller
    Co-author, Foundation Flash CS4 for Designers
    http://tinyurl.com/dpsFoundationFlashCS4
    "Luck is the residue of good design."

  • Problem in abap web dynpro URL issue

    Hello All,
    I have created a web dynpro for calling different tables with F4 help dynamically through ALV webdynpro, I can update, delete/insert row in ALV for multiple tables with one webdynpro program.
    Now problem is user wants to create url for different tables and keep it in the portal using with this webdynpro program like that i need to create more than 20' url's and keep it in portal with current created web dynpro program.
    Could please provide any solution for this issue.
    Thanks in advance.
    Regards
    Sri

    You could try passing the table name as a URL parameter. 
    i.e.
    http://<server>:<port>/sap/bc/webdynpro/sap/<app_name>?table=MARA
    This can be read in your WD application and use it to determine the table to display.  There is a heap of content out there on the internet that explains how to do this.
    https://help.sap.com/saphelp_nw04s/helpdata/en/2f/e7574174c58547e10000000a1550b0/content.htm
    Regards,
    Katan

  • Program at print button in 'Issue output to'

    Hello Experts,
    There is an existing output X which triggers only when output BA00 is printed from the print button in the pop up of sales order when you go to 'Isssue output to'
    When trying to process the sales order output BA00 throu standard program SD70AV1A, the output X is not triggered.
    Now, we have a requirement to process BA00 from another interface where we are using SD70AV1A, but output X is not triggering in this case.
    So, please suggest a way through which we can use the program at print button in this requirement.
    Thanks in advance.
    Paritosh

    Hello Max,
    Thanks for your reply
    BA00 is printed by program, no issues there. But, there is a requirement on other output X(medium 5) , that it should process immediately along with BA00, which is not happening with this program SD70AV1A.
    Paritosh

  • Button URL link problem

    Hi, pretty new to flash and I am trying to add a hyperlink to
    a button I have made using actionscript 2.
    this is the code i am using:
    on (release) {
    getURL("
    http://www.blank.com", "_blank");
    I have also tried another method I saw on the internet but on
    both occasions when Press the button nothing happens
    help!

    there's no problem with your code. you're probably testing
    locally and have a security issue or you testing in the test
    environment.

  • Button image issues

    Im having issues with button images in captivate 4, after designing buttons in photoshop then saving them as PNG's and putting them in the buttons folder. When i apply these buttons to a slide the button images are missing parts and look bad.. any suggestions?, please help.

    Hi there
    I believe Captivate uses the color value of the pixel in position 0, 0 to determine the transparent color for the button image. You need to ensure you are using a unique color for that location. What you posted seems to infer that you have a color being rendered as transparent and the color is used in other places in the image.
    Cheers... Rick
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Remnants of old button URL

    I've created some buttons to be "displayed among region items" and in initial tests I pasted a simple onClick() Javascript test in the button request section. Once I figured out that onClick() events actually belong in the button attributes section I erased ALL of the text in the button request section and set the "Button Request Source Type" to always be NULL. However, when I run the page the old Javascript from the first tests is still being printed to the page. Although this does not effect page functions at all it is certainly annoying to see errors every time one of the buttons is clicked.
    Anyone have any ideas why there are still remnants of something I deleted long ago?
    Thanks,
    Justin

    I've had similar sorts of issues in the past where it appears that not all the code has been properly deleted / updated when changes have been made. For example report sql or validation pl/sql blocks fail / error for no apparent reason. After either dropping and recreating the region or page the same code then works ok.
    I'd make a copy of the page first, and try dropping and recreating the region the button was on, then cutting and pasting from the page copy. If you still have the same problem I'd then go for recreating the entire page.
    Maybe not the most elegant solution but it certainly now saves me a lot of time when I come across this type of problem.

  • SOAP.request  URL issue

    Im using the below webservice script in my PDF, it is working fine.
    but, If the URL is wrong then the below code is not executing the remaining statement. If the URL is wrong or the server is down, I hav to show message, How should I catch that error and show the right message.
    If the request is fine I am getting the resultResp value.
    Please help me to fix this issue.
    var response = SOAP.request(
    cURL: cURL,
    oRequest: { "http://www.ibm.com/industries/financialservices/": {my:MYMessage}},
    cAction: "http://services.com/AppService/AppInvocation",
    oRespHeader: oResultHeader
    var responseString = "http://services.com/message:MYMessage";
    var resultResp = response["MYMessage"]["response"];

    hi ,
    Please any idea about this.
    Thanks,

Maybe you are looking for

  • Hi - How do I connect an HDTV as a second monitor to Thunderbolt display with macbook pro in clamshell mode?

    I have a Late 2011 Macbook Pro in clamshell mode connected to a Thunderbolt Display with the built in Thunderbolt cable. I want to then connect an HDTV via the Thunderbolt port at the back of the Thunderbolt display. I already had a  cable that I tho

  • Error!! Help... thanks.....

    Halo, i am doing a JSP program with Java script. Here i am facing some problems to passing the value for checking purposes. Basically, i want to retrieve value from database and pass to JS function to check whether have any "empty value" or not. If g

  • Can I move photos within Organizer (PSE8) ?

    Some of the photos from the same date are out of order. They were loaded from my sim card but have moved their order for some reason. I also scan in photos and change the date to the event date but want to rearrage the order. MUST they be scanned cor

  • Do I have to use iCloud to use Calendar?

    I cannot add entries to my Calendar on my iPhone (the plus is greyed out).  I suspect it is because I have not setup an iCloud account.  Do I have to use iCloud to use the Calendar?  I do not want to use iCloud, I do not want to share my calendar wit

  • Quotient Function Problem (Division)

    Is anyone have an issue with dividing a number by a larger number. I can't seem to figure it out. I first thought there was something wrong with my cells that got info from other sums and products. But now, I have two final cells that i am trying to