AS2 call another Web page javascript function. Help :)

Hello

I have a swf in as2 and when I click on a button, I want to open a new html page, and on this page, I have a function that depends on the value, show or hide a table

the question is, how do I open this page and send this value and in this page, show or hide this table?

I made the file swf and html

I use getURL('.. / test.html?viewHide='2, «_self»); It is worth sending, but I can´t the function works.

in the html code, I have this

function viewHide (id)

{

var targetId, srcElement, targetElement;

var targetElement = document.getElementById (id);

If (targetElement.style.display == 'none') {}

targetElement.style.display = "";

} else {}

targetElement.style.display = 'none ';

}

}

Thank you very much

This isn't the code that I have proposed.

Tags: Adobe Animate

Similar Questions

  • Passage of variables of form to another web page?

    I have a screen to select the simple parameter that calls another web page. When I ask the variable of the form in the page of detail (request.form ("app_sts")), the values are always empty. I looked at this for hours and can't get it to pass data. Can anyone help? Thanks in advance. Steve

    The code for setting program and retail prgram is attached:

    You have your method of the form to POST. If you want to pass variables, you need to change the GET method.

    See you soon

    Chuck

  • Problem with links to another Web page when using the Internet

    I can open any website, but when there is another highlight link to another Web page I get an "Error on Page" message down to the left of the screen when I try to access it. When I point out this message, I get the message "no such interface supported." This is on a HP Pavilion dv 7-3173 nr notebook new. I use Internet Explorer 8 and the operating system is Windows 7 Home Premium.  I have disabled the firewall without success and it occurs either wireless or ethernet connection.  A typical error detailed message is as follows:

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB0.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729 .NET CLR 3.0.30729; Media Center PC 6.0; HPNTDF; OfficeLiveConnector.1.3; OfficeLivePatch.0.0;. NET4.0C; BRI/1)

    Timestamp: Sat, December 2, 2010 17:27:10 UTC

    Message: No such interface took in charge

    Line: 2

    Char: 11896

    Code: 0

    URI: http://www.durabuiltbuildingproducts.com/menumachine/menumachine2.js

    I would appreciate any suggestion or help.

    Hello

    Try to download and install Firefox on the link below and post back if you still have the problem by clicking on the links within Web sites.

    Firefox

    Looking forward to hear from you.

    Best wishes

    DP - K

  • link to a specific text from another web page

    Hi all
    Is is possible to link a page to a specific part of the text in another web page on the same site? I tried to named anchor, hyperlink, etc., but it just goes to the page rather than the text. I don't know if I will attempt the impossible. Can you help me?
    Thanks a lot to v.

    Close, but no cigar!

    -Change

    What
    We said to B & DBC

    on this subject.

    What we said to B & DBC

    and on the other to - page link

    Go to "BDC" on the about page

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    ==================

    "Dottydog" wrote in message
    News:gpjffq$SJQ$1@forums. Macromedia.com...
    > Hello Murray
    > Wow! Thank you for all that. As usual, I will follow your instructions to the
    > letter.
    > Re: If you get the idea that you need to increase your HTML code and
    > CSS
    > skills to do this kind of things, you are right on target!
    > This is exactly why I come to the forum and get advice from experts like
    > you. My goal is to get the best... and I do.
    > In the meantime, I had another chance to solve the problem of link. Could you have the
    > Look
    > the pages to see if this is how it is supposed to be otherwise I he codera
    > manually as you suggested.
    > TTFN
    >

  • Redirect to another web page

    I need to redirect visitors to another another web page if they have less than Flash Player 7. I have javascript that allows me to post a link the page, but I want it to happen automatically.
    I guess I need some sort of javascript onLoad command, but I'm a newbie to javascript.
    The javascript code would be something like below, but the visitor won't have to click the link; He would go there automatically.

    else {/ / flash is too old or we can't detect the plugin}
    var alternateContent = 'alternate HTML content should be placed here. < BR > ".
    + ' This content requires Adobe Flash Player. '
    + '< a href = http://www.jlf.com/ > access the site Web of John Lemmon Films < /a >';
    document. Write (alternateContent); Insert content no flash

    Thank you...

    else put in your statement:

    Window.Location.href = "" http://yoururl.com/thispage.htm " "

  • ADF: Can I call java method clsss javascript function in the ADF?

    Hello

    I want to call the javascript function in the Java class method, it is possible in the ADF? If Yes, how?

    or I need to use Java 6 function directely?

    Kind regards
    Deepak
    private void writeJavaScriptToClient(String script)
    {
    FacesContext fctx = FacesContext.getCurrentInstance();
    ExtendedRenderKitService erks = Service.getRenderKitService(fctx, ExtendedRenderKitService.class);
    erks.addScript(fctx, script);
    }
    

    its use

    StringBuilder script = new StringBuilder();
    script.append( "var popup = AdfPage.PAGE.findComponentByAbsoluteId('p1');");
    script.append("if(popup != null){"); script.append("popup.show();"); script.append("}");
    writeJavaScriptToClient(script.toString());
    

    Timo

  • How to enter data on another web page using Java

    I'm just tarting out in Java, so I apologize if this question sounds stupid.

    I want to get entry (i.e. of MSFT stock symbol) to a web page (www.dividendinvester.com) with the help of a Java program. Is this possible and if so can provide you an example with me, tell me where I need research or the best expression of how a search for this type of problem. After a Google search for a few days, I have yet to find an example of this fact.

    Thank you!

    Hi, I assume you want to write a robot. This means you want to simulate the user enter data and submit the forms on a web page.
    It's simple, apache HttpComponents is a fantastic tool that allows you to authenticate, store and use of cookies, display data, or download them and the process of web resources.
    Download firefox and add addon Firebug.
    Visit the Web page you want to publish data on this subject, trace web applications page sends when you click on the "submit" button.
    Then, you can simulate these actions with your java program.
    Here you can see some examples:
    http://HC.Apache.org/HttpComponents-client-GA/examples.html

  • the initialization of a variable in a bpel workflow to call another web service

    Hello

    I'm fairly new development bpel. I don't have a early created myself but unfortunately, I only got to work on existing projects from now on. I am wanting to add an invocation of another web service to an existing bpel service. I added the wsdl for .bpel and composite.xml files info, and I can see the operations, so my plan is to see the service properly, and I created the necessary links.

    I just need to initialize the variables that I'm passing on this web service. Basically need to invoke the web service passing in xml format that would go into these elements:

    < ns1:dataRequest >
    < ns1:appName > < / ns1:appName >
    < ns1:progName > < / ns1:progName >
    < ns1:valueUsed > < / ns1:valueUsed >
    < ns1:setting > < / ns1:setting >
    < / ns1:dataRequest >

    Can someone just point me in the right direction on this. I think I need to create a new .wsdl file that I've read so far, but I have a lot of time looking for this problem - it is low on my priorities. So I thought that it might accelerate things to go ahead and ask here before I dive into it later.

    Thank you

    Hello

    As far as I get your situation is you want to call a web service from BPEL process existing. Here are the steps that you can follow.

    (1) create a partner link in the BPEL process that calls the external Web service.
    (2) create an activiyt to invoke in BPEL process that invokes the foregoing created partner link
    (3) create an Assign activity that initializes the variable which is an entry to invoke activity.

    Let me know if you have confusion with this approach.

    Thank you
    AJ

  • Link to another Web Page text field

    Hello

    I have a text field that displays an external URL. Is it possible to make this clickable area and open this web page as a separate pop-up not close the page you on that? An application such as MS Access will do that by setting the display in the form of URLS, but there is no option for this under the option of data types.

    If it is possible how do you?

    Thank you in advance,

    Kind regards

    Steve Welch

    Have you tried to edit your binding element and by setting the parameters of the element :

    Text of the pre element:

    http://&P1_MYLINKITEM. ' target = '_blank' >

    After the text of the element:

    (this works when display as = "View only")

  • When I clik on a link to view another Web page or another document, a blank page appears (a single "point of png'). How can I solve this issue?

    The links are located on the emails I receive from authorized sources. When I click on the links to read the additional documents (another document) or display a picture, I get a blank page with a single point in the middle of the page. The tab header says it's an image (1 x 1 pixel) PNG. Any suggestions to fix this?

    Often, links to email in bulk are routed via a follow-up rather than service directly to its final destination. If you look at the address bar on the image page, it seems like one of these intermediaries rather than the page you expect to load? If you click on the address bar and press ENTER to retry the address, which does nothing?

    It is possible that the security software or security add-on kills a redirect from this intermediate page to the final destination. For example, I think the anti-banner Kaspersky functionality could do that.

  • Problem with site Web page - coding errors - HELP

    Hello

    I'm having a problem with one of my pages which becomes corrupt eveytime I update the model. I get a reapeat of the template on the page and the following text is selected in the code.

    Can you tell me what he's trying to tell me?

    Capture.JPG

    Here is what the page has to look like:

    Pic 1.JPG

    Here's what it becomes, it seems to duplicate the page and shift right:

    Pic 2.JPG

    Looking at code for the linked page once again, I see that the problem is not with the model, it is with the code in an editable region of the child page.  So, on this page, change it.

    http://www.Macromedia.com/schemes/data/string/">

    on this subject.

    and save the page.

    In the model of change.

    menuside

    on this subject.


    menuside

    and save it in allowing the change to propagate.

    Having done this, page of your child behaves correctly now?

    In addition, you can solve this problem in the pages of the child and in the model-

    [email protected]"> contact" > mailto:clu [email protected]"> contact form '"»

    probably should be-

    [email protected]"> contact form.

  • My Adobe Reader XI missing the button print and only shows a button with web pages... help...

    I now have to download all my pdf files before I print them because my button print disappeared, he has only a "SAVE" button.   I downloaded all the updates.  I have Adobe Reader XI and use Windows at my office.  No idea how to get the printer button?

    Hi Lisa,

    May I know in what browser you try to open the PDF file. Try to use any other browser like Google Chrome, Firefox.

    Thank you

    Abhishek

  • Flash to redirect to other web pages


    I did a web application, so I have the intro part, or I called a splash screen that makes flash.
    My problem, I want to redirect to another web pages that is JSP after the flash animation is complete, then it redirects to another page.
    How many codes which in actionscript?
    Its looks like a "SKIP INTRO" so if you do not skip the intro, it redirects to another page.
    Pls thank you. !

    in AS2.0, you would simply use the event getURL on the last frame of the animation of splash screen.

    getURL ("www.thisweb.com", "_this");

    I think it's the script you'll need.

  • After the last update a few minutes ago, Firefox open all web pages.

    I was on a local web page run by a local server on my intranet. Firefox was not open. I opened it (last time it worked successfully was a few hours ago). He did an update. After the update, he tried to open a web page in Firefox - failed. Local web page, I was sure would not open either. Web pages to function in Internet Explorer.

    Problem was Firefox hanging in the Task Manager - task once I stop the task, I re-run Firefox and had no issue. A big thank you to all who tried to help.

  • can open the home page but can not load other Web pages.

    I recently installed a network of a company of friends. They have a 8 computers on their network. To start connected the modem cable to router linksys n wireless and then I plugged an EZXS16W linksys 16 port switch. Everything works very well for about a month, until last week. Everything starts fine in the morning when they turn on all computers and continues for a few hours. After that, they can open their home pages (each computer has a differnet one) but when you try to view another web page, it can take up to 10 minutes, or never at all load. If I reboot the router and switch everything goes back to normal several hours then happen again. Any help would be greatly appreciated! Thank you!

    Hi going to T,

    Thanks for visiting the site of the community of Microsoft Windows XP. The question you have posted is related to business networks and would be better suited to the TechNet community. Please visit the link below to find a community that will provide the support you want. http://social.technet.Microsoft.com/forums/en-us/categories/

    Shawn - Support Engineer - MCP, MCDST
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

Maybe you are looking for