Adding URL To Object

I'm Trying to add a live support URL to a symbol in an all
Flash site -
http://www.netpro-solutions.com/ar_80009.swf
I've have these instructions:
Step 1: Copy the following code to the HTML page containing
the FLASH object:
<script language='JavaScript' type='text/javascript'>
function openNTRsupport() { window.open('
http://www.inquiero.com/inquiero/anonymous2.asp?login=1&lan
g=en','WebAnonym','toolbar=0,location=0,status=0,menubar=0,scrollbars=0,
resizable=0,width=476,height=364,top=150,left=200');
</script>
NOTE: The ID of the FLASH object must be "NTR Support".
Step 2: Assign a button with the following event in the FLASH
sequence:
on (press) {getURL("JavaScript:openNTRsupport()");}
Text
Will this work if there is no HTML page? If so, where do I
insert the first code?
Thanks,
Steve

Steve,
You should put your swf file with in an html page, its not a
good practice to just link to a .swf file and hope that your end
user has Flash. With the html page you can check Flash versions,
and set some bounds for your swf so that it doesn't stretch and
degrade quality, and use the code you have above.
Because you are opening a "pop-up" with javascript, which
sets its width, height, and other features you can not accomplish
this from with in your swf.

Similar Messages

  • Adding URL to a 3D object

    Hello,
    I have 3d model from Microstation saved in format u3d. I create 3D pdf from this model. Now my problem is:
    - I need insert URL to this model
    (This should go with JavaScript, but I don't now how)
    Second question is:
    - is possible default disable some layers of the model?
    (All the layers are by default activated)
    Thanks

    Hello,
    thank you for your answer, but is not much helpful for me..
    "- I need insert URL to this model
    http://forums.adobe.com/thread/850845 " -
    I know the HyperlinkExample.pdf, but is it only example,..I don't know how.
    If I uncompress this PDF , I saw javascript like this: (parts of javascript)
    function PDF3DSDK_LaunchURLWrapper(url)
        try{
            app.launchURL(url);
        }catch(ex)
            console.println("HostScript: error during launchURL; url = " + url);
    endstream
    endobj
    //& this
    var pdf3dsdk_linkTypes     = new Array( PDF3DSDK_MESH_LINK_COUNT );
    // possible values are:
    // launchURL - opens a URL at new (external) browser window
    var pdf3dsdk_linkParams1   = new Array( PDF3DSDK_MESH_LINK_COUNT );
    pdf3dsdk_linkMeshNames[0]  = "PDF3DLabel_launch_url";
    pdf3dsdk_linkCompareType[0] = "like";
    pdf3dsdk_verboseModes[0] = 0;
    pdf3dsdk_linkTypes[0]  = "launchURL";
    pdf3dsdk_linkParams1[0] = "http://www.pdf3d.co.uk";
    function pdf3dsdk_DoLaunchURLActionForIndex(index,node)
        try
            host.PDF3DSDK_LaunchURLWrapper(pdf3dsdk_linkParams1[index]);
        }catch(ex)
            console.println("3DScript: error during launchURL; url = " + pdf3dsdk_linkParams1[index]);
    I think that these functions should provide operations Adding URLs into a 3D object,
    isn´t it ?  Thank you
    "- is possible default disable some layers of the model?
    I do not know what the layers are. Some Microstation term?
    But nodes in 3D PDF model can be switched on and off -
    interactively, via annotation properties (node dictionaries) or JavaScript." -
    Yes, layers are "nodes" in Acrobat. I know how switch on and off this nodes interactively, but I need some nodes deafult switch off. When I open my model, every nodes are switch on...
    JavaScript is maybe solution, but I don't know how to do it.

  • Adding hyperlinks to objects in 3D PDF

    Hi everyone,
    I'm trying to figure out if 3D PDF has the capability to import a number of individual machine models (made in SolidWorks) to create a 3D layout of a facility, and then make it so people viewing this layout can click (or doubleclick) on a machine and have that open a web page (or another .pdf file)...are there javascript routines that get called when one of the objects is clicked/doubleclicked? If so, can that script be used to open up a url?
    Any help would be appreciated,
    Thanks,
    Jon Fournier

    On second thought, here is the an example code for adding hyperlinks to objects. It will be very tedious to do this for a huge number of parts. If metadata could be stored (no such luck) in the u3d file, this process would be very easy.
    - Greg
    http://www.immdesign.com
    The u3d file and pdf example are available using the links:
    http://www.immdesign.com/templates/hyperlink.pdf
    http://www.immdesign.com/templates/robotHand.u3d
    Parts of the code below were given to me by Grayson Lang.
    The code below must be added as a document level javascript
    use the menu - Advanced->Javascript->Document Javascript...
    // -------- Start of Document Script
    initialize3D = function ()
    var a3d = getAnnots3D(0)[0];
    var c3d = a3d.context3D;
    if ( a3d.activated )
    app.clearInterval( timeout );
    c3d.runtime.doc = this;
    c3d.runtime.app = app;
    var timeout = app.setInterval( "initialize3D()", 200 );
    // -------- End of Document Script
    // -------- Start of 3D Script
    // Save this code in as a .js file and use it as the default
    // script when inserting the u3d file into your PDF file
    // ugly code to add hyperlinks on selection of an object
    // this will only work with URLs and will not work for
    // just openning any old file
    // format for the hyperlink array -
    // hLinks["the object's name"] = "file URL"
    var hLinks = new Array;
    hLinks["fingertip-1"] = "http://www.immdesign.com"
    hLinks["fingertip-2"] = "http://www.myroombud.com"
    hLinks["fingertip-3"] = "http://www.adobe.com"
    function onSelection( objName ) {
    if ( typeof( hLink = eval( "hLinks['" + objName + "']" ) ) != 'undefined' ) {
    if (runtime.app) { runtime.app.launchURL(hLink); }
    // ack! we have to create our own "pick" function since there is no way
    // to get the selected object from the Acrobat pick right now
    var downX = -999999999999;
    var downY = -999999999999;
    var mouseDown = 0;
    myMouseHandler = new MouseEventHandler();
    myMouseHandler.onMouseDown = true; //this prop is true by default
    myMouseHandler.onMouseUp = true; //this prop is true by default
    myMouseHandler.onMouseMove = true;
    myMouseHandler.reportAllTargets = false;
    myMouseHandler.onEvent = function(event)
    // capture mouse down location
    if ( event.isMouseDown ) {
    downX = event.mouseX
    downY = event.mouseY
    mouseDown = 1;
    else {
    // check if mouse up is the same location as mouse down
    if ( event.isMouseUp ) {
    if ( downX == event.mouseX && downY == event.mouseY ) {
    if ( event.hits.length ) {
    objName = event.hits[0].target.name;
    onSelection( objName );
    downX = -999999999999;
    downY = -999999999999;
    mouseDown = 0;
    //Register the handler and turn the mule on
    runtime.addEventHandler(myMouseHandler);
    // ------ End of 3D Script

  • Do ABAP WebDynpro objects need to be added to auth.object S_SERVICE in ECC6

    do ABAP WebDynpro objects need to be added to authorization objects in PFCG in ECC6.0?
    (Same as we add Java WebDynpro object names to S_SERVICE authorization object in PFCG)
    Thanks,
    Tiberiu

    I found authorization object S_ICF where I can add the ABAP WedDynpro applications.....unless someone else has a different opinion, I plan to close this thread....
    Tiberiu

  • BRFplus: Adding Intermediate Data Objects to Expression Workarea

    Hi all,
    running BRFplus on NW 70105.
    I have a Step Sequence Expression with multiple steps calling various Functions.  Some of the Functions return intermediate results which must be stored in the context workarea.
    I would like to add these Data Objects to the workarea.  However the system will not allow me to do this without first adding the Data Objects as signature parameters of the calling Function, even though this does not make sense for intermediate values.
    Clicking the "Add existing Data Object" button for the workarea only allows me to add Data Objects which are in the context of the calling Function.
    Conversely if a Data Object is deleted from the calling Function's signature, then when checked the Function issues error message "Assigned expression uses Element CUSTOMER/Customer which is not in the context".
    Is the requirement to add all Expression workarea Data Objects to the calling Function's signature intended, or is this a bug ?  Or is there some other way of doing it that I am missing ??
    Thanks & regards,
    Grogan

    This is a restriction in NW 701. This restriction is removed in NW 702.

  • I want to know last Invoice Which i added through Business Object

    Hi All,
    I want to know last invoice details which i added by Business Object. Can you give the solution???????.
    Please consider the multi-user environment and Document Series also.
    Thanks in Advance
    Regards,
    G.Suresh

    Hi Suresh,
    How r u?
    You can get the docnum of last invoice added by DI.
    I had done the same please refer the code below.
    May this will help you...
    Dim IRetCodeHeader As Integer = oInv.Add()
    Dim DOCNUM As String
    DOCNUM = objMain.objCompany.GetNewObjectKey
    regards:
    SANDY
    Sandeep Saini | Roorkee | India on Dec 23, 2008 5:25 PM

  • Adding URLs in Content Areas

    I have added some URLs to the NavBar on the left hand side of Content Area page and would like them to open as new window. I was wondering if someone could let me know how to do this? Been looking around, but can't find any information. Since adding URL items is done with a form, I was curious if there was something that could be typed in ahead of URL to cause to open in new window. Thank you.

    Not sure if I understand your question, but this is how I cheat with opening new windows from the nav bar...
    When you filling in a URL in the nav bar properties, you can add a closing quote to the end of your URL and then insert the target attributes, but leave off the close quote for the target.
    so if you want to open yahoo in a new window, instead of putting [http://yahoo.com] in the form field, put [http://yahoo.com" target="_blank] sans-brackets. Don't forget to leave off the last close quotes. Portal adds that for you.

  • Going to the last page of a table when adding a new object

    I added a Table(com.sun.rave.web.ui.component.Table) on my page and a button outside of that table to add new object rows. My problem is that I want the table to move to the last page when I add a new object. Instead the default bahaviour is showing the first page. Even if the newly added row is on a page > page 1.
    e.g If I have a table with 5 pages and I am on page 1 and I add an object I want to see the last page of the table where I added the new object. In other words I want it to go to page 5 or page 6 in case the number of the new object is > the number of displayable rows of a page.
    I did it with Javascript but I just dont like it. I wanna do it programmatically.
    Any help?
    Thanks in advance guys!!!

    Hi!
    Try to look here:
    http://forum.java.sun.com/thread.jspa?threadID=5142038&tstart=45
    Thanks,
    Roman.

  • Adding URL to Services for Object for Invoice

    Hi Friends,
    I need to add a URL to 'Services for Object' drop down on the menu bar (so that it will appear in 'Attachment List' after clicking on which it will navigate to the link).
    I am not sure but will SWU_OBJECT_PUBLISH be useful? How to use this for URL insert?
    Can anyone please tell me how it can be achieved?
    Thanks in advance for your help,
    Sagar

    hi
    check out the function modules BDS_BUSINESSDOCUMENT* in transaction OAOR.
    hope this helps
    regards
    Aakash Banga

  • Problems adding  url link to buttons in action Script 3

    each time I added it link 1 to the button on file i get these error messages-  
    1046: Type was not found or was not a compile-time constant: link1.
    1180: Call to a possibly undefined method link1.
    Warning: 3594: exec is not a recognized method of the dynamic class RegExp. var r:Object = p.exec(s);  
    This is the code I am using:   import flash.net.navigateToURL; import flash.net.URLRequest;  var link_one:link1;  link_one = new link1(); stage.addChild(link_one);  link_one.addEventListener(MouseEvent.CLICK, buttonClickHandler);  function buttonClickHandler(event:MouseEvent):void { var url:String = "http://www.masterpiececorp.com/ARMREF.htm"; var request:URLRequest = new URLRequest(url); navigateToURL(request); }    I have no other problems with link 3 or 4, just link 1  I still cannot get my urls link to movie clips on the flash  
    Can you upload flash here? if not I have a image capture I can use to have you look at my buttons  and action script code. i have been to every forum I know and not any have been helpful at all. This is my last hope.
    Very frustrated newbie  Gina T
    Message was edited by: gtaylor0406

    The way you had your code originally would be correct...
    var link_one:link1;
    link_one = new link1();
    addChild(link_one);
    The 1046 error is indicating it doesn't recognize the link1 class.  So the first thing you need to make sure of is that you have assigned the link1 class designation to whatever symbol that is in the library.

  • Adding new info object to a cube.

    Hi Friends,
    This is a BI SYSTEM, we have a cube with existing data in it. Now we need to add a new info object to the dimension of the cube.
    Now we can add the info object to the cube in 2 ways.
    1. remodeling the cube
    2. select the cube in RSA1 , RIGHT CLICK, IN CHANGE MODE add the info object to the dimension of the cube.
    now my question is why we have the concept of remodeling, when we were able to add the info objects to the dimensions of the cube in the change mode.
    kindly explain me in detail.
    thanks.
    Please search the forum
    Edited by: Pravender on Mar 16, 2011 2:58 PM

    Hi Soumya,
    If you go by option 2 of adding Infoobject in Cube by going in change mode and adding the respective Infoobject in Dimension,
    Then you have to delete Data first from the Infocube in order to add infoobject by this option. Otherwise it won't allow you to add infoobject.
    But by remodelling option you can add the infoobject in dimension without deleting any data from Cube. But this option has its own limitations too.
    Please refer the following link for Remodelling Concept:-
    http://help.sap.com/saphelp_nw04s/helpdata/en/58/85e5414f070640e10000000a1550b0/content.htm
    Hope it helps.
    Regards,
    Hardik

  • 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.

  • Error while adding an Info Object in an Info Cube

    Hi Experts,
    I am trying to add one InfoObject to my info cube but I get following error:
    "InfoObject GSMBUHR is only allowed as an attribute (not in InfoCubes)"
    The Data Type of the InfoObject is TIMS.
    The Reference Char. for it is 0TIME
    And in other Properties Attribute only is checked.
    but its not maintained as an attribute of any InfoObject as I checked in where used list for this InfoObject.
    Please let me know to add it in cube.
    Regards
    Shubh Karan

    hi,
    u will not be able to add an 'attribute only' info object as characteristic in the cube
    it can only be added as an attribute in another master data characteristic. so if u still want  to include this info object , u need to unchecck 'attribute only' flag.
    hope it helps
    Regards,
    Rathy

  • Adding a goemetry object in an already started applet, behvior ?

    Hello there,
    I would like to add a geometric form (cube, box, cone etc..) in an already
    started applet. I think creating a specific behavior would be the most
    appropriate.
    Has anybody done this kind of thing before ?
    Many thanks.
    Gwena�l

    Great thread! I am having difficulty with removing objects from a scene graph. See source code below:
    addTarget creates a grpahicsObject (class consisting of some data, mainly a 3d object which is attached to a transformGroup).
    //function to add an aircrafat to display
         //attemps to create the aircraft in the specified location
         //returns false if the spot is not null
         public boolean addTarget(int location, float x, float y, float z)
              if(targets[location]!=null)
                   return false;
              //create transform vector
              Vector3f targetTransform = new Vector3f(x,y,z);
              //create the object
              targets[location]= new GraphicsObject(targetTransform, TARGET_COLOR);
              //add it to the scene graph
              sadist.addObject(targets[location].getTransformGroup());
              return true;
    //sadist is an object that contains my universe and pretty much controls my display
    //the add object code adds the created to the scene graph by adding the transform group to a newly created branchgroup and than adding that to the mother branchgroup. The mother branchgroup was attached to the simple universe object (see code snipit)
    private Applet CreateWorld()
              setLayout(new BorderLayout());
         //create a new canvas
         Canvas3D canvas3D = new Canvas3D(null); // NEED TO PASS IN SOMETHING
         //add canvas to applet
         add("Center", canvas3D);
         BranchGroup scene = createSceneGraph();
         mother = new BranchGroup();
              mother.setCapability(BranchGroup.ALLOW_DETACH);
              mother.setCapability(Group.ALLOW_CHILDREN_READ);
         mother.setCapability(Group.ALLOW_CHILDREN_WRITE);
         mother.setCapability(Group.ALLOW_CHILDREN_EXTEND);
         mother.addChild(scene);
         // SimpleUniverse is a Convenience Utility class
         // code reuse saves time
         simpleU = new SimpleUniverse(canvas3D);
              ViewingPlatform vp = simpleU.getViewingPlatform();
              TransformGroup steerTG = vp.getViewPlatformTransform();
              //create my transform
              Transform3D t3d = new Transform3D();
              steerTG.getTransform(t3d);
              //lookAt( from here, look here, vector up)
              t3d.lookAt( new Point3d (2,2,2),
                             new Point3d (0,0,0),
                             new Vector3d(0,1,0) );
              t3d.invert(); //inverted since the position is relative to the viewer
              //set the transform for the transform group
              steerTG.setTransform(t3d);
              simpleU.addBranchGraph(mother);
         return(this);
         //function to add transofrm group to scene graph
         public void addObject(TransformGroup object)
              //should I create a new branch graph, add the transform group, and then
              //add that to the simple u
              //I don't think this is right as I have no real way of identifying this
              //I need to look into a removeChild or something
              //could result in 1000's of null nodes on scene graph
              //yuck...
              System.out.println("going to add the transformg group to the branchgroup");
              BranchGroup t = new BranchGroup();
              t.setCapability(BranchGroup.ALLOW_DETACH);
              t.setCapability(Group.ALLOW_CHILDREN_READ);
              t.setCapability(Group.ALLOW_CHILDREN_WRITE);
         t.setCapability(Group.ALLOW_CHILDREN_EXTEND);
              t.addChild(object);
              t.compile();
              //simpleU.addBranchGraph(t);
              mother.addChild(t);
    When I run the code with a tester function I can add the objects just fine but when I try to remove them (see code below) it doesn�t work.
    //removal of targets will take place
         public void removeObject(int location) throws CapabilityNotSetException
              try
                   //I tried detaching the branchgroup via the detach() function
                   //howeve that wasn't successful either.
                   mother.removeChild(location);
              catch(CapabilityNotSetException e)
                   throw e;
    Any advice you could give would be great.
    Thanks,
    Mike

  • Adding new authorization objects to transactions

    Hi experts,
    i would like to add new authorization objects to specific transactions, for example the object K_CCA for checking the cost element in the transaction KB15N.
    What do we have to maintain, except the transaction code with (SU22). What do we have to do with the program behind the transaction?
    Is it "just" adding two line of code into the auth object check in the program, similar or like described for client specific ABAP-programs???
    Any experiences on that?
    Regards
    Florian

    Hi,
    First add the objects in DSO then in Info Cube.
    Map the same with transformation.
    Move the objects to production then DSO.
    Load the DSO first. then delete the data from cube in production.
    Now move the modified cube and transformation to production.
    Now load the Cube from DSO.
    No need to change any thing in existing query.
    I hope this will help.
    Thanks,
    S

Maybe you are looking for

  • New status for changed records or Additive Delta

    Hi Guys, I have a design question for ODS and Extractor. The requirement is as follows... There is a table in CRM with service point as primary key. The fields in the table for example are bill account and Meter ID. Key figure is a XYZ value. In CRM

  • How can I send an XML request to the server using servlets

    How can I send an XML request to the server using servlets

  • Search for photo fails if photo is in a stack!

    Has anyone else found that with LR5.6, when you search for a photo, the search will fail if that photo is buried in a stack?  I have only been searching by keyword, so I don't know how LR reacts to a search by exposure data or similar. Anyone know if

  • [Q] Is is possible to disable automatic DB polling during pool shut down?

    Hi everybody, we encounter the problem that when there is a problem with the data base and the JDBC pool is being disabled due to these db outages, every node polls the data base every five seconds to see if it becomes available again. According to t

  • Running Security Manager in System 9

    <p>Is it possible to run Essbase Advanced Security Manager inHyperion System 9?  The version I've found is 1.6 (accordingto the readme file) and when I double-click on it it asks foressapin.dll.  According to Hyperion, that is a Pre-System 7dll.  Is