How to use a cross-domain comp. library?

Hi, all.
I have a problem in using a cross-domain library on pages of
a different domain.
To elaborate the circumstance:
I have 2 different domains on my project, say
www.my-dom-0.com and ww.my-dom-1.com.
I wrote an ActionScript component library and placed it at
my-dom-0.
And it works by calling a pre-determined set of Javascript
functions and objects under the hood.
Since the library is supposed to be cross-domain,
it may be used by flex applications either of my-dom-0 or of
my-dom-1.
They seemed to work fine until I hit upon the problem when
applications of my-dom-1 attempted to use the library's features in
IE7.
I verified that the required Javascript codes were placed in
the pages that had the applications.
With Firefox, they worked okay.
After some digging, I found that they didn't work due to
something related with
#error
2060.
Does anyone know how to make this work?
I'd like someone familiar with the issue to help me out of
the problem.
Thanks in advance.

Hi,
I think this
http://livedocs.adobe.com/flex/201/langref/flash/system/Security.html#allowDomain()
can solve your problem.
Hope this helps.

Similar Messages

  • How to use opus codec with pjsip library ?

    how to use opus codec with pjsip library ?

    Hi,
    The pageDef in app B must have an entry for the method in order to access it. Just adding the adfjar isn't enough.
    You need to go the bindings of the page in app B and add the method you want to access. Once the method is added you can access using the following code:
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("getWeatherbyCityName");
    Map map =operationBinding.getParamsMap();
    map.put("theCityName", "Tokyo");
    operationBinding.execute();
    This should work.
    Thanks,
    Siddharth.

  • How to use outside Class in packed library plugins

    I have found the very useful article from Michael Lacasse (https://decibel.ni.com/content/docs/DOC-19176) on how to use packed library as plugins. This approach makes the most sense when you try to distribute additional code after your executable has already been installed.
    My problem is that when I try to use a class from the main code in a plugin, the plugins won't work anymore. Ideally, I would have liked the parent plugin-interface to inherit from a class used in the main code, or using the class as an input parameter of the plugin would be the next best thing.
    I got several errors, some at execution time (#1448) or at edit time ("This VI does not match other VIs in the method: connector pane terminal(s)"). I have settled to use clusters to pass data to the plugins.
    My question is: Is it possible to use a class defined in the main code in a packed-project-library, either inherited or as a parameter? If yes, do you have any example?
    Marc Dubois
    HaroTek LLC
    www.harotek.com
    Solved!
    Go to Solution.

    I should point out that it's important to use the copy THAT'S IN THE PPL, *-NOT-* the copy from your source.
    It will compile if you mix them together, but they aren't the same object, and won't share data.
    You should never refer to your source code for the class, except to build the PPL.
    (Consider using a separate project, to avoid temptation).
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • How to use linphone - open sip VoIP library in Windows desktop application.?

    I want to develop an VoIP .net application in C# lang for windows desktop. Does anyone know any open sip VoIP library to use.? I know about Linphone. but it is available for Android, iOS and Windows(app developed using GTK- UI builder). If anyone knows how
    to use Linphone for windows then ans also will be appreciated.
    I am using MS visual studio for application development. Tell me its compiling steps as well. How to use that in WPF or WinForms.?
    Thanks in advance.

    Hello,
    The VoIP seems not MS product and can you clarify it? Basically, if it is third party product, you will need to ask for the API writer for details. For example, find a forum here:
    http://www.linphone.org/
    Regards,
    Barry Wang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to use my own domain and integrate to my Muse Website

    Hello guys, how are you doing?
    First of all, i'm sorry for my english, i hope you understand my words and my questions lol
    Well, i just created my website using Adobe Muse, then, using my 30 trial days, created my blog with Adobe Business Catalyst.
    On my website, i created a page called Blog and used a Widget by MuseGrid, but now i need to link my Blog to my MuseWebsite.
    I also have my own Domain. For example, my domain is www.vittafilms.com, so, when i click in the button Blog, i want it linked directly to my BC blog, but like www.vittafilms.com/blog
    How can i do it? I hope you understand guys,
    Cheers,
    Felipe C.

    Hi Havier,
    Here are the basic steps: http://helpx.adobe.com/business-catalyst/using/change-site-domain.html
    Let me kow if you come across any issues at any point.
    Kind Regards,
    Alex

  • How to use structure pointer with « Call Library Function node » in LabVIEW

    I use GetTimeZoneInformation from kernel32.dll. It definition is :
    DWORD GetTimeZoneInformation( LPTIME_ZONE_INFORMATION lpTimeZoneInformation );
    Where
    lpTimeZoneInformation
    [out] Pointer to a TIME_ZONE_INFORMATION structure to receive the current time-zone parameters.
    http://msdn.microsoft.com/library/default.asp?url=​/library/en-us/sysinfo/base/gettimezoneinformation​...
    I don't know how to set this parameter with my cluster based on the TIME_ZONE_INFORMATION structure.
    Your help will be appreciate
    Thanks
    INKSPEC

    INKSPEC wrote:
    I use GetTimeZoneInformation from kernel32.dll. It definition is :
    DWORD GetTimeZoneInformation( LPTIME_ZONE_INFORMATION lpTimeZoneInformation );
    Where
    lpTimeZoneInformation
    [out] Pointer to a TIME_ZONE_INFORMATION structure to receive the current time-zone parameters.
    http://msdn.microsoft.com/library/default.asp?url=​/library/en-us/sysinfo/base/gettimezoneinformation​...
    I don't know how to set this parameter with my cluster based on the TIME_ZONE_INFORMATION structure.
    Your help will be appreciate
    Thanks
    INKSPEC
    If creating a wrapper DLL which does the conversion for you is not an option (I think it won't since that would require C programming and if you knew C programming you wouldn't ask this here) then you will have to create a byte array of appropriate length and just configure the Call Library Node to pass this array as an Array of unsigned bytes and as C pointer.
    On return you will have to copy out the interesting data at the right position.
    First the length of this structure would be:
    typedef struct _TIME_ZONE_INFORMATION {
    LONG Bias; 4
    WCHAR StandardName[32]; 32 * 2
    SYSTEMTIME StandardDate; 8 * 2
    LONG StandardBias; 4
    WCHAR DaylightName[32]; 32 * 2
    SYSTEMTIME DaylightDate; 8 * 2
    LONG DaylightBias; 4
    } TIME_ZONE_INFORMATION
    Total 172 bytes
    Now the fun part will be to actually get out the information. There are a number of difficulties.
    First the strings are 16 bit Unicode so if you are interested in them you will have to call a different Windows API function WideCharToMultiByte function to convert the 16bit Unicode string into an ASCII string. For this part there has been a post here:
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=123821&requireLogin=False
    For the LONG values you would pick 4 bytes at the appropriate offset from the array through the Array Subset function and then typecast it into an int32 and pass that through the Swap Bytes and Swap Words functions to reverse the LabVIEW Big Endian byte swapping in the Typecast function.
    The SYSTEMTIME is a structure with eight 2 byte integers so it would be best to use Array Subset again to extract 16 bytes at the correct offset, typecast this into a cluster with eight int16 numerics and pass it through Swap Bytes too.
    You see accessing such API functions in LabVIEW directly can get easily quite a mess and that is the reason why creating a wrapper DLL to convert properly between LabVIEW datatypes and C datatypes gets soon the easier solution if you need to interface with more than one or two functions taking such complicated data structures.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to use the JRun Custom tag library wiith Weblogic 5.1?

    Hello,
    is it possible to use the JRUN Tag Library with Bea Weblogic 5.1? We
    got an error message like:
    weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:
    'jrun': T
    here is no setter method for property 'code', for Tag class
    'allaire.taglib.Serv
    letTag'
    Thank you for any info!
    Stefan

    Hi Joe,
    I don't know, however someone that follows the JSP newsgroup [1] may be
    able to help. Could you try your post there.
    Thanks,
    Bruce
    [1]
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.jsp
    Joe Kamenar wrote:
    >
    I have a question. I need to do a sort on news articles in our database, sorting
    by the date they were posted. I then want to take only the top 6 articles. We
    are using Weblogic 5.1. When I use the following statement, 6 articles are taken
    from the database, then sorted, which ends up leaving out the most recent articles:
    <cm:select contentHome="com.beasys.commerce.axiom.document.Document" query="<%=contentQuery%>"
    sortby = "creationDate DESC, headlineDate DESC" max="6" id="contentList" />
    I need to get ALL the articles for the sort, then just take the most recent 6.
    So, I know that I can use the following code and monitor the counter variable,
    "i". But, how do i do this to only display the top 6 items?
    <es:foreachinarray id="content" array="contentList" type="com.beasys.commerce.axiom.content.Content"
    counterId="i">
    <% myStr=content.getIdentifier(); %>
    <% if (i<6) {
    %>
    <div class="marginText">
    <cm:printproperty id="content" name="title" encode="html" />  
    <a href="<%=new String(news_display.jsp?id="+myStr)%">">more</a>
    </div>
    <% } %>
    </es:foreachinarray>
    However, when I run this, no results show up. What is the correct way to do this?
    - Joe</a>

  • How to use the JRun Custom tag library with Weblogic 5.1?

    Hello,
              is it possible to use the JRUN Tag Library with Bea Weblogic 5.1? We
              got an error message like:
              weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:
              'jrun': T
              here is no setter method for property 'code', for Tag class
              'allaire.taglib.Serv
              letTag'
              Thank you for any info!
              Stefan
              

    Hi Joe,
    I don't know, however someone that follows the JSP newsgroup [1] may be
    able to help. Could you try your post there.
    Thanks,
    Bruce
    [1]
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.jsp
    Joe Kamenar wrote:
    >
    I have a question. I need to do a sort on news articles in our database, sorting
    by the date they were posted. I then want to take only the top 6 articles. We
    are using Weblogic 5.1. When I use the following statement, 6 articles are taken
    from the database, then sorted, which ends up leaving out the most recent articles:
    <cm:select contentHome="com.beasys.commerce.axiom.document.Document" query="<%=contentQuery%>"
    sortby = "creationDate DESC, headlineDate DESC" max="6" id="contentList" />
    I need to get ALL the articles for the sort, then just take the most recent 6.
    So, I know that I can use the following code and monitor the counter variable,
    "i". But, how do i do this to only display the top 6 items?
    <es:foreachinarray id="content" array="contentList" type="com.beasys.commerce.axiom.content.Content"
    counterId="i">
    <% myStr=content.getIdentifier(); %>
    <% if (i<6) {
    %>
    <div class="marginText">
    <cm:printproperty id="content" name="title" encode="html" />  
    <a href="<%=new String(news_display.jsp?id="+myStr)%">">more</a>
    </div>
    <% } %>
    </es:foreachinarray>
    However, when I run this, no results show up. What is the correct way to do this?
    - Joe</a>

  • How to use iPhoto with 1 photo library and 2 user accounts on 1 iMac ?

    Title says it all.
    I don't want to have a double picture library, it takes enough space from my harddisk already.
    My wife and I share the same camera too. We want to see the same pictures when using iPhoto.
    Possible solution: Do I have to make a softlink from 1 user account to the photo lib that belongs to the other account ? [in Terminal:  ln /Users/.... etc.)
    (Yes, I'm an ex-Linux user)
    Thnx
    Fred4711

    If you want to have the same data, do you need separate accounts? A surprising number of people think that must have separate ccounts and they really don't need to.
    Anyway:
    For iPhoto 09 (version 8.0.2) and later:
    What you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.

  • How to use the Cross Reference fields in P4P

    I have been receiving questions related to the Cross Reference section from many different customers and partners. This post represents my attempt to describe the Cross Reference Section and the Equivalent Numbers stored within.
    Identity
    A term that Kelly uses and I will borrow is “identity”. A given specification can have many identities. The basic identity is the specification number generated by GSM. This is useful during early stages of design. Once we get past a draft or development status in the workflow the organization quickly wants to identify the specification in other ways. Examples include:
    Execution System Number: Operations and Supply Chain quickly need to formalize an item or material for forecasting, inventory and purchasing…
    Custom Numbering Conventions: Sometimes an organization has very specific custom logic for identifying materials. Usually terms like smart numbering are used to describe their methods.
    Data Migration Identifier: In some cases customers have extensive data clean up projects. As part of the effort systems and processes are developed and an identity is created. In my experience we loaded a “Base Stock” number to represent Packaging Materials. The label stock that was commonly used was historically not represented so we created a number as part of the migration project.
    Identity Functionality:
    The Fields: The four major fields that make up the Cross Reference section are as follows:
    >>System Name: This field describes the system generating the identifier. Examples I like to use are Oracle EBS or SAP Material Master. Sometimes geography must also be concatenated to the system, i.e. Oracle EBS – NA. This occurs when the customer is a large multinational where multiple ERP implementations exist. Therefore the same material may be known by many different numbers, i.e. Oracle EBS – NA = 77432, Oracle EBS – EU = 88883.
    >>System Code: The system code is merely the syntax used during integration. Using CSS or various APIs you may chose to identify the system using an abbreviation, EBSNA or SAPMM.
    >>Equivalent: The value representing the identity within a given system.
    >>Externally Managed: If you are using CSS or an API to receive Cross Reference data you can define the field as "Externally Manged". When a cross reference is marked in this manner the general user community will not be able to edit the field. Administrators associated with the role [Externally_Managed_Cross_Ref_Admin] can edit the field if needed.
    Syndication: While some users enter equivalent numbers manually, others use integration tools to generate and transmit identities. If a given cross reference is marked as “Externally Managed” then users are unable to manually enter data. On initial syndication the specification will not have a given equivalent. The specification is sent to middleware, a number is generated by the appropriate system and the response is sent back to GSM to add the System Code to the specification with the appropriate identity value.
    Copy verses Issue:
    >>Copy: When a user copies a specification the Cross Reference data is NOT included. Since the identities refer to the originating specification it does not make sense to carry over to the copy. If we did then users would quickly need to delete the data.
    >>Issue: When a user issues a specification it maintains the Cross Reference data. This is an important concept because it is expected that a system like GSM will have many issues related to a single ERP #. ERP systems are usually not interested in many of the fields stored in the Product Data Management system.
    Reference: As raw materials are consumed as inputs into Formulation or Trade Specifications the organization may come to identify the materials based on equivalent numbers. Therefore GSM allows for an equivalent number to appear next to the GSM number.
    Implementation Issue:  Ingredients In Packaged Quantities
    Some customers run into a situation where the ingredient specification does not represent a packaged quantity. From an R&D perspective the developer does not care if the material comes in a box or a tanker. In this situation the GSM ingredient may be represented in the ERP system by many items and therefore more than one cross reference value. These items represent packaging differences that are important to purchasing, manufacturing, warehousing, and other execution systems.
    I hope this helps describe some of the purposes and implementation issues around the Cross Reference field.

    You need to get jmf.jar in your CLASSPATH, either on the command line, in an environment variable, by putting a symlink in $JAVA_HOME/lib/ext, whatever works for you. Have you done that? Once it's in the classpath, you can run jmstudio from any directory with the command "java JMStudio".
    Items in the bin directory are just shell scripts, run with "sh jmstudio" or whatever suits your shell (on Mac OS X, copy one of these guys and append ".command" to the filename to make him double-clickable in the Finder).
    --invalidname

  • How to use Volume Licensing in a Library

    Hello,
    I am a student worker at a libary and the administration is looking to deploy iPads to be used by the students and we would like to include on the iPads several pieces of software. The question is in regards to when we wipe the iPads, can we use a single backup image to restore the 40 iPads? We would of course purchase the 40 licenses for each app. Since we would want to make sure that all student data is removed when they return the iPads, wiping them to factory conditions is a must, but then the question is in how do we restore all of the programs without having to have 40 backups?
    Thanks,
    TheGSpiro

    There is a lot of helpful info  in the education deployment guide
    http://images.apple.com/education/docs/IOS_5_Education_Deployment_Guide.pdf

  • How to use/access my previous itunes library in itunes.

    I accidently deleted all my songs then emptied trash (i am on a mac, and i sick of window users solving their problems) and now i have 1/90th of my songs (i have around 2,500 songs. I still have my video, but i want my songs back. There is the previous library i had before the upgrade to 7.6, that is very recent. I've tried to downgrade (7.5) then import my previous itunes library, but that wont work. CAN SOMEBODY RUNNING MAC PLEASE TELL ME HOW TO GET MY PREVIOUS ITUNES LIBRARY BACK INTO MY CURRENT ITUNES LIBRARY?!!!!!!!!!!!!!!!?

    Locate the iTunes folder from the user profile on the rescued drive, typically at X:\Users\<User>\Music\iTunes. Delete the "empty" iTunes library from your current User's Music folder and copy in the originial library in its place.
    tt2

  • How to use iPod to transfer iPhoto Library to new computer

    Well, I have been trying for a few days to move my iPhoto Library to my new Mac Pro.
    Having trouble in Target Mode so thought it'd be easy to use my iPod for the transfer...
    So, I synced all my photos onto my iPod...checked and all 6100 photos are there...
    Now, when I hook up my iPod to my new MacPro and access my iPod, I see various folders including one names "Photos". So far so good...
    I copied this "Photos" folder onto my new computer's desktop...
    Now what do I do with it??? I tried dragging it into my iPhoto Library folder, but none of the pictures show up in iPhoto..
    thanks-

    When the iPod is in disk mode, click on the folder in the Finder's sidebar with the house icon, followed by Pictures, and then drag the folder named iPhoto Library to the iPod. On the other computer, drag the folder back, renaming the existing library folder if needed; don't change anything inside the folder.
    (22181)

  • How do use a cross tab for this ?

    Hi,
    I have the following details :
    Sn idType cnt1 cnt2
    1 test1 11 22
    1 test2 2 4
    2 test1 33 2
    2 test2 3 4
    i need to show it as
    Sn test1cnt1 test1cnt2 test2cnt1 test2cnt2
    1 11 22 2 4
    2 33 2 3 4
    how can i do that using analytic function ?
    kindly advise
    tks & rdgs

    Hi ,
    managed to do something like this :
    select lotid ,
    sum(decode(a.type , 'cp1' , cnt)) type1Cnt ,
    sum(decode(a.type , 'cp1' , yield)) type1Yield ,
    sum(decode(a.type , 'cp2' , cnt)) type2Cnt ,
    sum(decode(a.type , 'cp2' , yield)) type2Yield
    from testing a
    group by lotid
    results :
    LOTID     TYPE1CNT TYPE1YIELD TYPE2CNT TYPE2YIELD
    1 lotid1     22     33     2     4
    2 lotid2     5     6     7     11
    but would a analytic function be able to do that ?
    appreciate ur advise
    tks & rdgs

  • [Forum FAQ]How to use Azure Cross-Platform Command-Line interface in Mac OS

    1. Download the installer on Microsoft Azure website.
    Figure 1.
    2. Open the DMG file and install the following package.
    Figure 2.
    3. Open Terminal (Mac OS build-in), type “azure login” and enter your azure account to login.
    (Note: you can login only via a Microsoft organizational account or service principal.) We used a Microsoft account to connect. (Figure 3)
    Figure 3.
    After that, we can use the commands to manager Azure instances and services. You can type “azure help” to list all the available commands.
    Figure 4.
    If you want to view the detailed information for a specific command, you can type “azure help xxx”. For example, we can run “azure
    help vm” to list all the commands for managing Azure Virtual Machines.
    Figure 5.
    In the figure below, we used the “vm create” command to create a new virtual Machine (testmachine002) in a new cloud service (testmachine003)
    and virtual network (vnet1).
    Figure 6.
    To obtain the image name, you can type “azure vm image list”:
    Figure 7.
    After the “vm create” command executed, we can find that the Virtual Machine(testmachine002) is created in Azure management portal.
    Figure 8.
    More information:
    http://azure.microsoft.com/en-us/documentation/articles/xplat-cli/
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Here on Apple Discussions, you will find many command line enthusiasts hanging out in the UNIX forum. Good luck.

Maybe you are looking for

  • In mail how do I set my browser to safari not firefox?

    In mail how do I sent my browser to go to safari?

  • Sum Fields based on change in another field

    I have data that looks like this <Records> <VBLEN>123</VBLEN> <MATNR>012356</MATNR> <ZSPR>1.02</VBLEN> </Records> <Records> <VBLEN>123</VBLEN> <MATNR>568954</MATNR> <ZSPR>2.05</ZSPR> </Records> <Records> <VBLEN>856</VBLEN> <MATNR>259865</MATNR> <ZSPR

  • ABAP spool to OTF format

    Hi, Is there any function module available to convert ABAP spool Job to OTF format?. Final requirement is to convert this to PDF, however CONVERT_ABAPSPOOLJOB_2_PDF  is not found suitable for this requirement, since the converted output needs to be o

  • FCP7 AVCHD Question

    I have been unsuccessful with importing AVCHD footage into FCP7.  I've been trying to use the Log and Transfer as directed, but no luck.  I can down-convert the footage w/ Toast beforehand if necessary, but what settings should I use to make it FCP7-

  • Demo & Video - Can this be done?

    My client would like to have a captivate demo of their software on the right side of the screen, while on the left there is video of a manager explaining the demo. It would look like this: link Can this be done with just Captivate? From what I can te