Browser Invocation - from HTML element click

If anyone knows how to make this happen, I would really
appreciate any info. Adobe is trying to replicate the 'popup
protection' that most modern browsers implement which prevents new
browser windows from being opened when the action is not triggered
by a user click (to prevent popup spam). However when the browser's
implemented this feature they allowed javascript code the may be at
the end of a cascade to open a browser window by correctly noticing
that the event that triggered the code cascade was indeed a click.
However it seems that Adobe's implementation requires a click
directly on the SWF containing the embedded air.swf and therefore
prevents any non-flash content on a web site is to successfully
launch an air application even when triggered by an direct user
interaction.

Hi, Rico-
Have you read the section of the API doc on calling an Animate composition from outside of the composition?
http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html#differentcompositions
-Elaine

Similar Messages

  • Is there any way of removing the browser buttons from the right click menu?

    Recently when I right-click on a web page, there are browser buttons (forward, backward, refresh, bookmarks) on the right-click menu for some inexplicable reason. I mean, its kind of absurd that anyone would put browser buttons there, considering the real browser buttons literally right there at the top of the window, and I guess that kinda bugs me.
    Anyway, how did I get rid of them? There doesn't seem to be any way to do so in the customize window, and I've been looking for an add-on but don't really know what to search for. Does anyone know?
    Where did those come from anyway? They weren't there a week ago, and I'm pretty sure these things don't normally just pop up out of nowhere. If nobody knows, its really not important. The important thing is getting rid of them. Thanks!

    That was a new feature in Firefox 32, which was released back in September. Use this UserStyle to get rid of those buttons and restore the text menu items.
    https://userstyles.org/styles/104945/fx-32-context-menu-full-text
    ''You'll need the Stylish extension to be able to install UserStyles.''
    https://addons.mozilla.org/en-US/firefox/addon/stylish/

  • Default browser window from HTML

    I am just building a simple HTML app and want to open a new window to an existing web page from the air app that opens in a default browser window rather than spawining a new air window.
    I have been banging my apparently limited-capacity head against a wall for 8 hours now with no luck.
    Can anyone tell me how to get this done? I am guessing it's as simple as adding a piece of code to my app xml file and a corresponding piece of code to my HTML page where I have the link?
    Any help will be sincerely appreciated.
    Bill

    I have a similar problem:
    I have built a web app for the iPhone which works splendidly in AIR, except that it's links to external sites will not open in the default browser.
    Currently I have one HTML file in the AIR app: redirect.html which simply redirects to my web app.
    If I set <script>window.htmlLoader.navigateInSystemBrowser = true;</script> the redirect to my web app opens in Firefox instead of AIR. If I set that on the home page (and all subpages) of my web app it's as if nothing was ever set.
    I am new to AIR so I am making these assumptions:
    window.htmlLoader.navigateInSystemBrowser = true; must be set on the first page loaded by the AIR app.
    server-hosted pages cannot open anything in the default browser.
    Is there are a way to set it up so my AIR version of the web app can simply mirror locally the code from my server, thus allowing me to access the default browser? I have tried an iframe which actually just caused the web app to load in Firefox like the redirect.
    Any advice would be helpful.
    Thanks.

  • Gettting values from HTML elements in a servlet

    Hello
    I have some Java and embedded HTML code in a servlet which is asking the user to enter a value as below:
    out.println("<form name=\"generategraph\" action=\"/monolith2/graphingoutput\" method = \"get\">");
    out.println("<h3>Pick slope for graph type</h3>" +
    "<input type = \"text\" name = \"slope\" size = \"3\" value = \"1\" align = \"right\>");
    out.println("<input type = \"submit\" value = \"Generate graph\"></form>\n");
    However, I cannot access the contents of the element slope which I need to validate. I have tried:
    String str = request.getParameter("slope");
    But without success; I simply get null.
    Have you any ideas?
    Thanks
    Martin O'Shea.
    Message was edited by:
    Martin_OShea

    skp71
    I tried:
    out.println("<form name=\"generategraph\" action=\"/monolith2/graphingoutput\" method = \"get\">");
    out.println("<h3>Pick slope for graph type</h3>" +
    "<input type = \"text\" name = \"slope\" size = \"3\" value = \"1\" align = \"right\>");
    out.println("<input type = \"submit\" value = \"Generate graph\"></form>\n");
    String str = (String) request.getParameter("slope");
    But without success: I still get null
    Have I done something wrong?
    Martin O'Shea.

  • HTML Element Click is causing Problem

    <li id="mx334" ctype="tab" role="presentation">
    <a id="mx334_anchor" class="text tablabeloff off" href="javascript: sendEvent('click','mx334','');" onmouseover="return noStatus()" onkeydown="if(event.keyCode==KEYCODE_SPACEBAR){sendEvent('click','mx334','');cancelEvent(event);}else {itemAKey(event,this)}" onblur="removeClass(this,'offhover')" onfocus="appendClass(this,'offhover')" title="Log" tabindex="-1" role="tab">
    <img id="mx334_er_img" class="tab_blank_icon" alt="" title="" style="display:none" src="https://152.93.6.100/itservice/webclient/skins/skins-20150213-2055/taa13/images/blank.gif">
    Log
    </a>
    </li>
    Need to Click a Button via VB. Below code is working fine.
    IE.Document.getElementByid("mx334_anchor").Click()
    but the Actual problem is when i maximize or Minimize my internet explorer, I am getting a waring Message " Do u want to leave this page" How can I stop this Message popping UP. This Problem Occurs after click.

    Found the below Code in C#, Can Some one convert it to VB.net so that i can check.
    Browser.Navigated +=
    new WebBrowserNavigatedEventHandler(
    (object sender, WebBrowserNavigatedEventArgs args) => {
    Action<HtmlDocument> blockAlerts = (HtmlDocument d) => {
    HtmlElement h = d.GetElementsByTagName("head")[0];
    HtmlElement s = d.CreateElement("script");
    IHTMLScriptElement e = (IHTMLScriptElement)s.DomElement;
    e.text = "window.alert=function(){};";
    h.AppendChild(s);
    WebBrowser b = sender as WebBrowser;
    blockAlerts(b.Document);
    for (int i = 0; i < b.Document.Window.Frames.Count; i++)
    try { blockAlerts(b.Document.Window.Frames[i].Document); }
    catch (Exception) { };
    Note : 1. I am using Internet Explorer not Web browser.
    2. When i Click button Via Automation Page doesn't navigate, it Opens in same window.( Pop UP Appears.
    3. If i do Manually it works perfectly without an Popup.

  • How do I remove a duplicate browse sequence from HTML help created with RoboHelp 8?

    One of my projects in a merged projects is showing two browse sequences in the merged system.  I've tried deleting the project from the merged system, recompiling, checking that the browse sequence doesn't appear in the merged system, then adding back the project.  The duplicate browse sequence appears again.  I've also checked the individual project and there is no duplicate browse sequence when I view iit.  Any ideas?

    Screen shot below.  Note that the browse sequence for NAACCR Data Standards and Data Dictionary is duplicated in the drop down.  A colleague helped me fix this by opening the .hhp file in Notepad and deleting a second entry under [MERGE FILES] for that component of the merged project.  This problem apparently happens when a merged project is copied and modified.  The .hhp file can end up with two entries for a component, one with a full path and one without.  I deleted the duplicate with the full path, recompiled, and the duplicate browse sequence disappeared.
    Thanks for trying to help.

  • I can only open one Firefox browser window. When I click the firefox icon from desktop or taskbar to open up another browser window it does not open. I am ablt to open up new tabs within the one window.

    I can only open one Firefox browser window. When I click the firefox icon from desktop or taskbar to open up another browser window it does not open. I am ablt to open up new tabs within the one window.

    Have you tried: click Firefox button > New Tab > New Window '''''OR''''' CTRL+N '''''OR''''' File > New Window (if using the Menu Bar)
    Once open, Firefox locks the Profile that is in use and you can not open another window with that Firefox version and Profile combination using the Windows Desktop icon or the Windows Programs list.

  • When user browses away from my html

    Like most of the use of swf, my swf is embedded in an html.
    I'm wondering if I can catch the event in my swf when user browses
    away from the html. Is swf gets unloaded at the time? Can I do
    certain things in actionscript when it happens?
    Help is appreciated.
    thanks,
    Ted

    Hi Ted,
    Tough to say how much you will be able to do as the URL is
    changing,
    but I believe JavaScript has some function like "onUnload"
    that you can
    use. You can then use the fscommand-style call to invoke a
    function in
    your Flash movie to let it now it's about to be gone.
    I haven't tried this though so I don't know how effective it
    is.
    Patrick
    nehcdet wrote:
    > Like most of the use of swf, my swf is embedded in an
    html. I'm wondering if I
    > can catch the event in my swf when user browses away
    from the html. Is swf
    > gets unloaded at the time? Can I do certain things in
    actionscript when it
    > happens?
    >
    > Help is appreciated.
    >
    > thanks,
    > Ted
    >
    http://www.baynewmedia.com
    Faster, easier, better...ActionScript development taken to
    new heights.
    Download the BNMAPI today. You'll wonder how you ever did
    without it!
    Available for ActionScript 2.0/3.0.

  • How to include text as HTML elements (see DOMElement)

    I am working with Flash PRO CC v. 14.0.  to convert my Flash website to HTML5 / javascript
    I have converted a file to the HTML5 Canvas
    I am very happy that the new Flash Pro has the feature to convert to HTML5 canvas
    HOWEVER:
    In my original .FLA file project I use only one font: Copperplate Bold.  I use several sizes of that font within the project / scene
    In the original file for all text I use static text, Letter spacing, AntiAlias, AutoKern and single line (Linetype)
    - none of which the HTML5 canvas seem to allow / support?
    How do I maintain the FONT look that I have chosen in my original FLASH project, after I convert to HTML5 canvas?
    Is there a way in the HTML canvas to maintain the FONT look that I want?
    HTML5 canvas will not allow Font embedding
    The device font destroys the LOOK of my Copperplate Bold font.
    How do I include text as HTML elements (see DOMElements)?
    WARNINGS generated when I convert the original file into an HTML Canvas:
    Warnings generated while copying/importing in 140827a HTML test.fla:
    * AntiAlias is not supported in HTML5 Canvas document, and has been converted to DeviceFonts in an instance of Text.
    * AutoKern is not supported in HTML5 Canvas document, and has been removed in an instance of Text.
    * Frame Scripts have been commented
    * LetterSpacing is not supported in HTML5 Canvas document, and has been converted to 0.0 in an instance of Text.
    * LineType is not supported in HTML5 Canvas document, and has been converted to MultiLineNoWrap in an instance of Text.
    * Some artwork contains Hairline stroke, which is not supported in HTML5 Canvas document, and has been converted to Solid.
    * StaticText is not supported in HTML5 Canvas document, and has been converted to DynamicText in an instance of Text.
    New HTML Canvas Document created.
    NOTE:  So far the only way I have been able to maintain the font look is to convert the fonts to .png files
    This is painstaking work that I would like to avoid.
    Even then I still get a WARNING when I test my scene - (no doubt because I left the original FONT text  in guide layers)
    After conversion ON TEST SCENE:
    WARNINGS:
    Frame numbers in EaselJS start at 0 instead of 1. For example, this affects gotoAndStop and gotoAndPlay calls. (18)
    Only circular (not oval) radial gradients are supported. (85)
    Text support is limited. It is generally recommended to include text as HTML elements (see DOMElement). (6)
    Color effects are published as a filter and subject to the same limitations. (4)
    Filters are very expensive and are not updated once applied. Cache as bitmap is automatically enabled when a filter is applied. This can prevent animations from updating. (2)
    Content with both Bitmaps and Buttons may generate local security errors in some browsers if run from the local file system.
    HOW CAN I MAINTAIN the FONT LOOK that I have chosen for my project?
    How do I include text as HTML elements (see DOMElements)?
    ANY HELP will be appreciated
    A good, in depth, tutorial on the subject (FONTS) would be a BIG help to many using the convert to HTML5 canvas features.

    GOOGLE HAS
    https://www.google.com/fonts
    choose a font from above site
    then:
    google generates instructions on how to embed that font
    Montserrat
    3. Add this code to your website:
    <link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
    4. Integrate the fonts into your CSS:
    The Google Fonts API will generate the necessary browser-specific CSS to use the fonts. All you need to do is add the font name to your CSS styles. For example:
    font-family: 'Source Sans Pro', sans-serif;
    font-family: 'Ubuntu', sans-serif;
    font-family: 'Montserrat Alternates', sans-serif;
    font-family: 'Montserrat', sans-serif;
    font-family: 'Open Sans', sans-serif;

  • Text Shifting Up in PDF from HTML

    We create our newsletter in HTML and then convert the HTML to a PDF to provide our readers with an easy method of sending it to others or printing it. I know this is far from ideal, but it's what the small nonprofit I work for does.
    We made some changes to the newsletter design and now when we convert to PDF we have a strange problem. The table layout of the newsletter is correct and the HTML elements are placed correctly (tables within the outer table, background images, horizontal rules, etc). However, all of the content within the layout (text, images, divs) are shifted upward by some margin (approximately 6" when printed). I suspect it's some problem with the HTML code elements and how the PDF converter interprets them, but for the life of me, I can't find anything wrong.
    The HTML file is at:
    http://www.eric.org/public/resources/eertemplate.html
    The resulting PDF is at:
    http://www.eric.org/public/resources/Untitled.pdf
    I know that HTML isn't this board's specialty, but I'm hopeful someone may have some ideas or seen this problem before.

    I only have AA5 on this machine, but I opened the HTML file in Acrobat directly and everything seems to be fine. One problem with links is that they open as more of the same PDF. I think you want them to open separately. You might still be able to edit the link properties to open separately.
    When you say your are converting the HTML to PDF, you have not indicated the process. You might try from the Acrobat. A user can right click a link and open it separately, but you might want to check this as the default.
    Bill

  • Help. How do you TAB from HTML component to applet (and back) ?

    How can one tab between applets in a browser, and from an applet to an HTML component?
    For example, I have the following in my page in decending order:
    an HTML text field,
    an applet containing two components,
    and another HTML text field.
    When focus is on the first HTML text field pressing TAB should shift focus to the first component of the applet, the next TAB press shifts focus to the second component of the applet, and the next TAB press shifts focus to the other HTML text field. Then another TAB press cycles back to the first TEXT field.
    I can handle the tabbing within the applet using the FocusManager, but how can I get the applet to receive focus on a TAB from the browser, and once the applet has focus, how can I give focus back to the browser when a TAB occurs from my last applet sub-component?
    At the moment a user has to click on the applet before he can tab in it, and then click outside it to tab in the html again.
    Any help appreciated, as I cant find any reference to how to do this apart from other people asking the same but getting no replies.
    Thanks,
    Menno

    I see what you are saying. Either use javascript with LiveConnect or go all applets.
    What we are actually doing at the moment is trying to componentise using small applets passing data via InfoBus. So I guess we could use only applets as you suggest. Either with getAppletContext, or we could have a data item on the InfoBus which contains the name of the required in-focus applet, and all applets listen to see if it is their name, and if so request focus.
    I'm suprised applets are not tab-able between by default. I would have thought this was a common requirement.
    I'll look into LiveConnect as well, and let you know how we get on.
    Cheers,
    Menno

  • How to include HTML file in JSP using HTML elements or Javascript?

    Hi,
    I have around 15000 static html files one for each item which we display each upon invoking an item.The HTML file should be part of a JSP file.
    Please note that the name of the HTML file is determined dynamically
    Placing all the HTML files within the web application does not give us good performance so i would like to put all of them in the webserver.
    I am not able to include the file in the JSP using the jsp:include attribute if i place the HTML files in the webserver ,
    in order to do that i think should use either HTML element or javascript to include the HTML in the JSP.is there any alternative to <Jsp:include>
    Does anyone have an idea how to include the HTML file and take advan tage of webserver?
    Any ideas are appreciated

    What you need to do is simply read the HTML file from the disk and dump it out to the outputstream. It really is that simple.
    There's no reason you need to include all 15000 files in the actual WAR, you can place those files any place handy that is easy for the application to see (in another directory, or accessible from a file server if you have multiple front ends).
    Then, just write a utiility function that takes the output stream (i.e. the 'out' JSP variable), and the file name, read the file, and write it to the stream.
    If you start noticing performance issues, then you can try doing some caching, but truth is your OS should be doing that for you.
    But, truth be told that's the only practical way to do it.
    Another solution would be to use JavaScriipt and XMLHttpRequest (i.e "AJAX") to load the file at the client side, and simply replace a tag with the results.
    That's also pretty trivial to write, any web site talking about AJAX should give you hint there.
    Of course, that won't work for folks who have JavaScript turned off, or some other incompatible browser, whereas the server side solution obviously works everywhere.

  • Muse changes size of embedded HTML-Elements

    Hello,
    Muse drives me crazy: I've added some HTML-Elements to my site and Muse always rescales 'em. For example: One element is 317x356 Pixels - but Muse scales it at 396x423. Now I go and change it back at 317x356 - and a few seconds later it's again 396x423. And if I try to rescale it with the mouse, it gets bigger and bigger each time I try to rescale it.
    What can I do? What is wrong with muse?
    Best,
    Sven

    How are you setting the width and height? Are you editing the embed code or using the width and height controls in Muse? YouTube videos and most HTML embed code specify their own dimensions. If you've accidentally changed the dimensions of the container holding the embed code, the easiest way to reset the widget to the default size is to drag-resize the widget with the mouse to dimensions that are much smaller than their default size. Muse will initially allow you to resize to these smaller dimensions but will then ask the browser to render the embed code and report its dimensions. If the dimensions are larger than the current size of the container, Muse will reset the container's dimensions to match those reported by the browser.
    With respect to your bandcamp embed code, it consists of an iframe with internal dimensions of 356x317. For HTML embed code pasted onto a page, Muse does not know what is in the code but it needs to know the dimensions so it can put it in a container. So, Muse hands the embed code to the browser and lets the browser determine its dimensions and generate a poster image for design time rendering in Muse. These dimensions are the initial dimensions of the container. Muse lets you style this container by adding a stroke and fill, for example, and it lets you resize the container. If you attempt to resize the container by dragging a resize handle or using the width and height controls, Muse gives the html embed code a chance to adapt to the new size of its container by handing the embed code back to the browser along with the container it needs to draw within. If the embed code is smart enough to adjust its dimensions, it will do so and pass a new poster image and new dimensions back to Muse. In this specific instance, the iframe has hardcoded dimensions so it cannot change its size. However, Muse will still allow you to adjust the container's dimensions as long as you don't resize it to be smaller than what the browser says its dimensions should be.
    Try the following experiment with your bandcamp widget. Give it a colored fill. Resize it larger than 356x317 by dragging the bottom-right selection handle. When you let go of the mouse, Muse will pass the container and the embed code for the widget to the browser to give it a chance to resize the widget. The band camp code does not respond so you see a colored fill in the portions of the container not filled by the widget. Now resize the container smaller than 356x317. Muse again gives the widget a chance to resize but the browser again returns 356x317 for its dimensions. So, Muse adjusts the dimensions of the container to match this minimum size.
    If you want to really make the widget a different size, you need to adjust the dimensions specified in the embed code. If you want to experiment, try the following:
    1. Right-mouse click on the widget and select "Edit HTML..."
    2. Find the 'width' and 'height' values and change them to something else. Try changing the width to something like 500px. Make sure you preserve quotes and semicolons and only change the numbers so that you do not break any syntactical rules.
    3. Press OK and watch how it changes the widget.

  • How to put flash as a table or cell background or put HTML elements on top of flash file?

    Hi Guys,
    Could anyone please suggest me that how to put flash file as a table or cell background. I want to design a website and want to put HTML elements like table, images, text on top of flash file. so its look like animation in background. please visit following websites for an example: http://www.gagudju-dreaming.com/ and http://disneyworld.disney.go.com/
    Please guide me ASAP, thanks a lot in advance.
    Nitz.

    Hi Nitz
    The first thing you must do is convert your layout from table based to css based, (tables are o/k for tabular data, but not layout) but if you have never used css for layout it may be a steep learning curve.
    My recommendation is to start with the following tutorial on converting a table based comp to a css layout -
    http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt1.html
    More info on using css is available here - http://www.adobe.com/devnet/dreamweaver/css.html.
    Once you have converted your site the 'procedure' for using swf's as a background, (does not work well with flv's, but can be done using html5 video without a skin, to a limited extent) is the same as having a background-image resize automatically to the full browser view-port. The best way to learn how to do this is to view the code on a page using the background-image technique, view the code on this page - http://www.pziecina.com/indexold.php.
    However, instead of having a fluid layout I would recommend using a fixed layout size to start with, as this overcomes many problems. I have uploaded a basic test page to illustrate the idea to - http://www.pziecina.com/test_ideas/swfbg_test.html. As I said the page must be resized in this example in order to see the effect, (so do not forget to resize the browser, even if it is only by 1px), but if you use a fixed size layout and your swf's size fits the desired area correctly the resize should not be required.
    PZ
    www.pziecina.com

  • Can't select & copy data from inspect element's tab - network

    So, I'm trying to get a direct link to an image on website that deliberately tried to make it hard to get them.
    For example,
    http://www.heavy.com/games/2013/10/nycc-2013-best-video-game-cosplay-gallery/2/
    So, I see the direct link to an image in this page - but I can't select it nor copy it (ctrl + c)
    why??? What's the point of network tab in inspect element if you can't select anything there, except for what's in headers - but there's no link to the image there.

    If you are copying it a URL of image embed in HTML, double click on the link in
    '''SRC=" ----------- Double click here ----------------------- "'''
    then you will be inside the src section, you will be able to edit the link now
    '''select it '''> '''From right click '''menu > select '''copy'''
    or
    Press Control (Ctrl) + c on windows or linux (Command + C on mac)
    If the image is embedded using CSS, click on the Link and do the same as said above.

Maybe you are looking for