Adding a target to link

I am using the following action script with a movie clip.
But the link is opening in a new window or browser tab. I
want it to open in the same window or browser tab as the flash
insert is on. What do I need to do?

Ned,
That is what I thought too.... but using that, the link does
not work at all (not opening in any window).
Logic would say that no "target" indication is needed for the
link to just open in the same window, so I should not even need
additional code. Could there be a mistake somewhere else?

Similar Messages

  • [svn:osmf:] 9866: Adding '@throws' clauses to ILayoutRenderer add/ remove target methods, and adding a 'targets(target:ILayoutTarget)' method that allows checking addition/removal validity up front.

    Revision: 9866
    Author:   [email protected]
    Date:     2009-09-01 00:56:48 -0700 (Tue, 01 Sep 2009)
    Log Message:
    Adding '@throws' clauses to ILayoutRenderer add/remove target methods, and adding a 'targets(target:ILayoutTarget)' method that allows checking addition/removal validity up front.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/layout/ILayoutRenderer.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/layout/LayoutRendererBase.as

  • Trouble adding a web url link to an existing file: 1046: Type was not found or was not a compile-time constant:

    Hi There,
    We're trying to add a simple link to an existing Flash file. There looks to be at least 7 separate .as files and a separate swf that loads the main swf which all seems overly complex for what is essentially a page with six buttons on it.
    However, we need to add a URL to some of the text. So we converted the text to a button, added an instance name of <ssbpurchasetickets_btn> then added the following Actionscript into the actions layer on the frame the text/button appears:
    ssbpurchasetickets_btn.addEventListener(MouseEvent.CLICK, ssbButtonPurchase);
    function ssbButtonPurchase(event:MouseEvent):void
    navigateToURL(new URLRequest("http://www.url.com/tickets.html"));
    When we publish the file we get the following error which seems to cascade into a whole bunch more errors:
    Description: 1046: Type was not found or was not a compile-time constant: MouseEvent.
    Source: function ssbButtonPurchase(event:MouseEvent):void
    We added "ssb" onto the button and functions to ensure there were no conflicts but the same thing occurred. If we copy the button into a new file everything works so it must be conflicting with something in the main files.
    Any help would be MUCH appreciated!!!!
    Cheers

    Thanks for the reply Ned,
    The file is set to use AS3 and I'm pretty sure the original should be set to AS3 as the .as files look like AS3 syntax to me - here's a sample:
    protected function handleWwrdButtonClick(e:ButtonEvent):void {
    Browser.open(globalVar.xml.wwrd.item[0].@url, globalVar.xml.wwrd.item[0].@target);
    OmnitureTracker.trackFeaturedContentClick('http://www.url.com/movies/international', 'wwrd_button');
    timer.stop();
    timer.removeEventListener(TimerEvent.TIMER, onTimer);
    I'm wondering if all the Actionscript has be placed into one of the .as files as there isn't any Actionscript in the Flash project - a part from the odd stop()
    Really stuck on this one (I'm not an expert at all) so any help in deciphering the project would be much appreciated.
    Cheers

  • Adding second site to link

    i have added a link in dreamweaver using this code <a href="www.crop.cropsupplies.com" title="Our New Store" target="_blank">Here</a>
    when i click on the link it takes me to this website http://articalwizzard.com/www.crop.cropsupplies.com. which does not exist, how can i stop this link from adding articalwizzard.com/ to the begining?

    You need to have the http:// prefix before the www.
    <a href="http://www.crop.cropsupplies.com" title="Our New Store" target="_blank">Here</a>

  • Adding New View Objects/Link on "Preview and Print" - Order Acknowledgement

    Hi,
    Can we add New View Objects/View Links for the existing "Preview and Print" Order Acknowledgement.
    I want to add for the 2 new functionalities i.e., for Charges (from OE_PRICE_ADJUSTMENTS_V ) and the Line Level Notes, which is currently not supported by Oracle.
    Can anyone help me on acheving this functionality?
    Looking forward for your response.
    Thanks in advance,
    Regards,
    Muru

    You can do that. You should first create the new business objects(AM, VO, VL) in jdeveloper, create your new regions in jdeveloper, associate the AM to the top level region(stackLayout) you create. Use personalization and add a stack layout in the Preview and Print page, set the extends property to point to the new region which you had created. Donot forget to deploy all the files in middle tier before doing the personalization.
    The AM which you had added to the stackLayout will automatically be nested with the root AM of the page during runtime.

  • Problems adding native extensions from linked resources in Flash Builder 4.7

    While adding native extensions (.ane files) from linked source folder in a Actionscript Mobile Project on Flash Builder 4.7, a java.lang.NullPointerException is thrown. Below is the stacktrace. Any help would be appreciated.
    Also, what is the link/site to file Flash Builder 4.7 bugs?
    java.lang.NullPointerException
              at com.adobe.flexbuilder.project.ui.utils.ANE.AppXMLFileANEExtensionHandler.addToAppXMLModel (AppXMLFileANEExtensionHandler.java:78)
              at com.adobe.flexbuilder.project.ui.utils.ANE.AppXMLFileANEExtensionHandler.addToAppXmlFile( AppXMLFileANEExtensionHandler.java:65)
              at com.adobe.flexbuilder.project.ui.utils.ANE.AppXMLFileANEExtensionHandler.addToAppXmlFile( AppXMLFileANEExtensionHandler.java:48)
              at com.adobe.flexbuilder.project.ui.utils.ANE.ANEController.applyWorkingCopy(ANEController.j ava:791)
              at com.adobe.flexbuilder.project.ui.utils.ANE.ANEController.applyWorkingCopy(ANEController.j ava:814)
              at com.adobe.flexbuilder.project.ui.utils.ANE.ANEpathControl.contributeToLibraryPath(ANEpath Control.java:723)
              at com.adobe.flexbuilder.project.ui.utils.AirBuildPathsPropertiesPane.contributeToLibraryPat h(AirBuildPathsPropertiesPane.java:85)
              at com.adobe.flexbuilder.project.ui.utils.AbstractBuildPathsPropertiesPane.getLibraryPath(Ab stractBuildPathsPropertiesPane.java:1344)
              at com.adobe.flexbuilder.project.ui.properties.BuildPathsPropertyPage.applyProjectSettings(B uildPathsPropertyPage.java:520)
              at com.adobe.flexbuilder.project.ui.properties.AbstractFlexProjectPropertyPage.performOk(Abs tractFlexProjectPropertyPage.java:117)
              at com.adobe.flexbuilder.project.ui.properties.BuildPathsPropertyPage.performOk(BuildPathsPr opertyPage.java:617)
              at org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:964)
              at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
              at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
              at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
              at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:944)
              at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDial og.java:447)
              at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:233)
              at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
              at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
              at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
              at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
              at org.eclipse.jface.window.Window.open(Window.java:801)
              at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:158)
              at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
              at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:584)
              at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
              at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :411)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
              at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
              at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
              at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
              at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
              at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
              at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
              at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
              at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
              at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:79)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

    A year later, but I'm facing the same bug.
    If your ever found a solution I'd be glad to hear.
    I filed a bug with more details and my own workaround: 
      3697022

  • Submited parameters are added to the tab link

    Hello
    I' have ULR-Portlets on my Tab at a portalpage.
    When I do some work on one portlet (submit data), then the data will be added to the links to other tabs.
    Tab-Link-Example:
    http://<server>:7778/portal/page?_pageid=53,1,53_34989:53_35507:53_35579&_dad=portal&_schema=PORTAL&DATA=VALUE
    When I change the tab, the new tab processes the data application goes wrong.
    What can I do (configuration in the protal?) that the links on the tabs stays the same?
    Gerd
    PS: Gareth Cantrell had this problem, but without a solution (Re: Hiding POSTed parameters in v2

    Hello,<br /><br />I presume you dont want the end-user editing these objects either? If thats the case then use static objects instead. Static objects are not included in the tabbing order. Yes, they are identified with a number when you enable the View | Tabbing Order but only to identify them as part of the reading order. Remember, the tabbing order and reading order share the same sequence.<br /><br />See if you can use a static image instead of an image field. I presume Text1 is already a static text object therefore it wont be tabbed into.<br /><br />If you cant replace the image field with a static image then you can use a workaround. You can protect the access to a field. Protected fields do not participate in the tabbing sequence. Designer does not expose this property so you will have to specify it manually. For example:<br /><br />1. Select the image field.<br />2. Go to the XML Source. If it not opened, go to the View menu and select XML Source. It will show up besides the Preview PDF tab.<br />3. The <field> element will be highlighted. Type access=protected. For example:<br /><br />   <field name="ImageField1" y="25.4mm" x="57.15mm" w="25.4mm" h="30.4mm" access="protected"><br /><br />4. Preview the form.<br /><br />Does this help solve your problem?<br /><br />Hélène<br />Adobe Systems

  • Acrobat adding %20 to pdf links in iOS

    Hi
    I have created a pdf with hyperlink URLs which works fine.
    However when it is opened in iOS devices Acrobat adds a %20 to the end of the URL which returns a page not found error.
    If I upload the source Word documents the links are fine.
    iOS will open links in other pdfs ok, but Im not sure what program created them.
    Has anyone else encountered this issue?
    Thanks for any help,
    Harley

    Hi Guys.
    Thanks for your reply.
    This is what has happened.
    I created a pdf in Windows 7/64 using Acrobat 9 from a word document as source.
    I opened the pdf in Safari on an iOS device
    When I click the links in Safari on iOS device, the link is appended with %20 at the end and returns an invalid URL. I agree with Bill it is adding a space as %20 is the ascii code for a space.
    However, the space is not in the original link on the Word document or in the source text or in the hyperlink itself and the word document links work perfectly.
    Other pdfs links seem to work ok in Safari, so Acrobat must be doing something to the link to make Safari add the space / %20.
    Any suggestions would be very gratefully appreciated.
    Kind regards
    Harley
    These are the URLs for the pdf and word document.
    http://www.life-coach-tools.com/files/TheLifeWheelAppleTest.pdf
    www.life-coach-tools.com/files/TheLifeWheelAppleTest.doc

  • Add a Page without adding top-level Navigation link

    How do you add a new page to a site without it auto-adding a link at the top of the page navbar?
    I need to add a link to a page from one of the main pages.
    One thing I lvoe about iweb is how intuitive and simple it is to make sites but I miss some of the flexibilities of a (CSS, dreamweaver, golive, etc).

    I have a "Donate" page and want to take the donater to a thank you page after transaction is complete so I obviously want the rest of the links of Navbar on the thank you page (so they can get back to the site) but i obviously don't want my "thank you for donating!" page on the main site navbar. I may have to make a seperate site and manually just copy paste in the mainsite navbar links.

  • Best Practice Adding New Target to Namespace and Replication

    Hi,
    whats the best way to add a new target to Namespace and replication. Goal is to replace a old file Server at the end.
    I did the following:
    - copied the share with robocopy incl timestamps of files and folders
    - created share
    - added the new share as a new target as well as meshd member of the replication connection
    - disabled the new member in the Namespace, so no one can Access it until dfsr is fully done and initialized
    After the the new dfsr Connection was replicated through AD to all 4 Members (3 different site, 1 same site) the
    following happend:
    dfsr begin and almost every file was in a conflicted and copied over the the Conflict Folder. Almost all timestamps
    of the Folders were changed to the current date, but the timestamps of the files not.
    Thousands of eventlogs: 4412
    The DFS Replication service detected that a file was changed on multiple servers. A conflict resolution algorithm was used to determine the winning file. The losing file was moved to the Conflict and Deleted folder.
    Any idea why? Later on i disabled the Connections to the remote Fileservers, but that did not stop it.
    My idea was to pre-seed the files with robocopy. So what would be the best way to prevent that for the next share ? Is it a better way to just add the target to a bi-directional Connection to the local Fileserver without adding to DFS-N and without copying
    the files before ? Is it better to let DFSR do the hole Initial sync incl Files ?
    At the end i have no loss of date but to check almost every file for conflict took Ages to finish.
    Thanks a lot,
    Marco

    Hi,
    The steps you performed are correct - compare with waiting for DFS initial replication, a manually pre-staging is recommended.
    When doing the Robocopy step, wether all attributes are copied such as NTFS permissions?
    After robocopy, you can add that folder as a folder target of DFS replication group - you can add it to DFS namespace after replication finished.
    And if it is a Windows 2012 R2, you can prestaging DFS database for a better result.
    https://social.technet.microsoft.com/Forums/windows/en-US/a06c9d25-ed04-44e9-a1f7-e1506e645d53/forum-faq-how-to-prestaging-dfsr-database-on-windows-server-2012-r2?forum=winserverfiles
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Setting target in Link Object

    Hi everyone,
    When creating a link object in an application, is there any way
    to set the "target=" parameter? We would like the link in a
    report to open up a new window instead of using the existing one.
    Thanks in advance,
    Esther Poulsen
    [email protected]

    i'm pretty sure we haven't given you a great way to add extra attributes to those links that you can generate in the column attributes screen. i'll check with our reports guy in a bit to make sure about that. if there is a good way, i'll post again. otherwise i'll just log the enhancement request. in the meantime, you can always code your anchor tag into your select statement for the query region. it's not the cleanest approach, but it'd certainly get the job done.
    regards,
    raj

  • Error adding a target

    oem grid control: 10.2.0.5 on redhat
    database: 10.1.0.3 on solaris
    i have a database that was a target of my grid control. I bounced the OEM to do a backup. Restarted it. I could not find this target. So I removed it and re-added it. I tested the connection. When i go to add it, I get an internal error see the log. Here is what is in the system logs. I dont know what this means.
    2009-09-28 10:07:54,927 [Thread-48] WARN  emd.targets setContents.92 - ShortName ShortName Average Synchronous Single-Block Read Latency (ms) very long. Has been truncated.2009-09-28 10:07:55,147 [Thread-48] WARN  emd.targets setContents.101 - Label Age of the first message in persistent queue per subscriber (seconds)  very long. Has been truncated.2009-09-28 10:08:25,113 [EMUI_10_08_24_/console/database/config] WARN  emd.targets setContents.92 - ShortName ShortName Average Synchronous Single-Block Read Latency (ms) very long. Has been truncated.2009-09-28 10:08:25,340 [EMUI_10_08_24_/console/database/config] WARN  emd.targets setContents.101 - Label Age of the first message in persistent queue per subscriber (seconds)  very long. Has been truncated.2009-09-28 10:09:15,440 [EMUI_10_09_15_/console/database/config] ERROR svlt.PageHandler handleRequest.640 - java.lang.NullPointerExceptionjava.lang.NullPointerException        at oracle.sysman.db.conf.DBConfigController.validateTargetName(DBConfigController.java:886)
            at oracle.sysman.db.conf.DBConfigController.getDisplayPage(DBConfigController.java:1270)
            at oracle.sysman.db.conf.DBConfigController.handleEvent(DBConfigController.java:2807)
            at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:578)
            at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:247)
            at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:777)
            at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:328)
            at oracle.sysman.eml.app.Console.doGet(Console.java:304)
            at oracle.cabo.servlet.UIXServlet.doPost(Unknown Source)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
            at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:265)
            at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
            at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
            at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
            at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
            at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
            at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:369)
            at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:670)
            at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
            at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
            at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
            at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
            at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
            at java.lang.Thread.run(Thread.java:534)

    Hi Alexander,
    It seems like you are using IBM DB2 database.
    In order to fix it, Please Check SAP Note: 1143932
    Fixed: Language limitation on DB2 databases. Set parameter "IBMDB2 Use Long Varchar For Languages=True" in mds.ini file to activate the fix.
    Also refer Similar thread with same issue:
    Re: Remove languages for SRM-MDM Repository for archival
    Regards,
    Mandeep Saini

  • Target for links in FlashPaper SWF

    1) I have created a Flashpaper SWF using MS Word, setting
    embedded links to target a new window.
    2) The FP SWF is loaded into a Flash document and its
    associated HTML page -- all is fine
    3) The FP links when clicked on, result in the new URL
    loading into the same window replacing my original HTML page
    Anyone have any ideas? I am using Flash 8 player.

    Unfortunately there's no way to do this directly at the moment although this functionality is planned for a future release.
    However, its possible to acheive the same effect by using procedures associated with the Text item type.
    To learn more about this, navigate to the Shared Objects page group, click on "Item Types" and edit the "Text" item type. Click on the "Procedures" tab. The help on the screen has information about creating custom procedures to render information associated with the item.
    Also see a Body text in custom search results to this forum.

  • Adding label as a link

    Hello!
    I', trying to ad a link in my rss-reader to open full article after hitting. I added a label in my app, choose type "link", but it is still a text sentence. How can I change it?

    On Wed, 30 Jul 2014 11:09:10 +0000, Nikita Trubetskoy wrote:
    >I added a label in my app, choose type "link", but it is still a text sentence.
    Launch(ThisItem!link!'$text')
    -- Barb Bowman

  • Adding a target to 'drag and drop' code snippet

    Hi,
    I would imagine it's a simple enough bit of additional code, but I'm no programmer, and trawling the Web has proved fruitless to date...
    Within Flash CS5 and using AS 3, I'm attempting to create a series of drag-and-drop interactions for a learning exercise where items must be dragged into the correct box with positive and negative feedback being generated as a result of where the learner drops the item. All I need is the code to link the drag and drop code snippet (which I have working) to a specific object/location on the stage (which I cannot find nor figure out for the life of me)!
    I may be overcomplicating given that perhaps there is a CS5-compatible extension out there somewhere (whatever happened to all of the e-learning extensions and tools Flash once had if my memory serves?) which can provide me with an easily customizable template to achive what I need to do?
    Many thanks in advance to whomever can offer and tips, tools or usable code for this task.
    Galvoice.

    the easiest way to handle that would be to assign a transparent movieclip to the target position and use that movieclip as your droptarget.

Maybe you are looking for