Loading assets from different libraries

Hello,
I currently have a "container SWF player" that loads SWFs externally and plays them.  The sound file for the SWF is in the library of the container SWF player, because the player is using the duration of the sound file to determine how long the scrubber bar goes.
The problem is, it sort of defeats the purpose of having a container SWF player if I have to create a different container SWF player file for each external SWF because there's a different sound for each external SWF.
Is there a way to pull the sound file from the library of the externally loaded SWF into the container SWF player?  So that depending on what external SWF is playing, it will pull the associated MP3 file from that SWF's library?
If this needs more explanation just let me know, I'm not sure if I got this across right..thanks in advance!

You can access application domain of the loaded swfs and utilize the objects from it.
Read this:
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/LoaderInfo.html#ap plicationDomain
And this:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00000327.html

Similar Messages

  • Unable to load swf from different domain through html wrapper in Chrom

    Hi All,
           I am trying a embed a swf from different domain. My html wrapper was in one domain and swf was in another domain. I have embedded the swf into the html wrapper. When i run the html file it is loading the swf in firefox and working fine. But when i try to run the same html in chrom or IE the swf is aborted. I have crossdomain.xml file in both the servers which is also allowing both the domains. I was not able to figure out the issue. Can anybody help on this.
    regards,
    Jayagopal.

    Are you getting any errors or warnings?

  • Loading modules from different domain

    when I load modules from the same location where is main application, everything is fine. But when modules are loaded from different adrress i got following error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at mx.utils::LoaderUtil$/isRSLLoaded()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\uti ls\LoaderUtil.as:525]
              at mx.utils::LoaderUtil$/http://www.adobe.com/2006/flex/mx/internal::processRequiredRSLs()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\utils\LoaderUtil.as:259]
              at mx.core::FlexModuleFactory/getRSLInfo()[E:\dev\4.5.1\frameworks\projects\framework\src\mx \core\FlexModuleFactory.as:582]
              at mx.core::FlexModuleFactory/update()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\cor e\FlexModuleFactory.as:470]
              at mx.core::FlexModuleFactory/moduleInitHandler()[E:\dev\4.5.1\frameworks\projects\framework \src\mx\core\FlexModuleFactory.as:819]
    any ideas what might be wrong?
    thanks for any help in advance

    This is a link to testing application:
    http://michalnpe.homeip.net:55001/bin-release/LoadModuleApp.html
    you can see source code of this app.
    Let's say we want to run module from different domain.
    so insert following address for crossdomain.xml and module (into TextInput in the applicataion above) .
    http://a2s.pl/crossdomain.xml
    http://www.a2s.pl/npe/softmgr/Michal/wymiana/TestModule.swf
    here is the code that loads the module:
    protected function loadModule(event:MouseEvent):void
                                            testloader.url = moduleAddress.text;
                                            //testloader.loadModule();
                                  public function setup():void { // run before loading modules
                                            Security.allowDomain("*");
                                            Security.loadPolicyFile(crossdomain.text);
                                            var request:URLRequest = new URLRequest(crossdomain.text);
                                            var loader:URLLoader = new URLLoader();
                                            loader.load(request);

  • How to load images from different path

    Hi,
    i'm triying to load an image using the next code:
    String path="C:/images/tv_on.gif";
    java.net.URL imgURL =new java.net.URL(path);
    img=Toolkit.getDefaultToolkit().getImage(imgURL);
    but when it is compiled it returns MalformedURLException.
    the image is in my local directory so i've tryed to define
    path="file:///C:/images/tv_on.gif";
    becuase the port and the local host name aren't needed.
    Anyway it does not work.
    I don't know how to load an image that it is in a file in a different path from the mainclass path
    CAN ANYONE HELP ME?

    sorry to bother, similar like above, i tried many times on my computer to load a simple image in java application.. here's my code:
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.io.*;
    import java.net.*;
    import javax.swing.*;
    public class View extends JFrame {
         private URL imageURL;
         private File file;
         private Image sourceImage;
         private String name, title, message;
         private int width, height;
        public static void main(String[] args) {
            System.out.println( "Hello Eros!!!" );
            View img = new View();
        public View() {
             name = "D:/shared/inputpic.gif";
             file = new File( name );
            Toolkit toolkit = Toolkit.getDefaultToolkit();
            try {
                imageURL = new URL("http://www.google.com.my/images/logo_sm.gif" );
            } catch (MalformedURLException e) {
            if ( file == null ) {
                sourceImage = Toolkit.getDefaultToolkit().getImage( name );
                System.out.println( file );
            } else {
                sourceImage = toolkit.getImage( imageURL );
                System.out.println( file );
            width = sourceImage.getWidth( this );
            height = sourceImage.getHeight( this );
            System.out.println( "Pixel = " + width + "x" + height );
            if ( width * height == 1 ) {
                title = "Greetings";  // Shown in title bar of dialog box.
                if ( file == null ) {
                    message = "Unable to load the file " + name;
                } else {
                    message = "Unable to load the link " + imageURL;
                JOptionPane.showMessageDialog(null, message, title, JOptionPane.INFORMATION_MESSAGE);
    }could anyone test this n give my the reason i couldnt even load the image

  • How to load data from different database

    Hi,
    My problem is how to load Foxpro 2.6/clipper data into oracle 8 with all its structure and data with SQL loader or other utility if any.
    And also how can i integrate existing forpro system into Oracle. i.e client will work on Foxpro application and we will only take its output(data files) on daily basis and convert it into Oracle 8.
    Please find any solution.
    Regards
    null

    You can also try to make up an ODBC connection to Foxpro and convert the data from foxpro to oracle using the COPY command (see docs on PL/SQL & OCA). I remember that foxpro/clipper are running on MS-DOS, so I don't know if you can establish an ODBC connection to oracle which can be used from the foxpro/clipper application to use it as a frontend for an oracle database.
    Regards, Kai
    null

  • Smart album from different libraries

    Hi everyone,
    I have a some different iPhoto libraries, one for each trip I made.
    In every library I created flagged photos album.
    Now I'd like to sync these flagged photos album to my iPad.
    How can I do that? iTunes makes me sync one library at a time, and every time I sync a new library, it deletes photos on Ipad!
    Thanks!
    Alberto

    Well that's just one of the reasons why multiple libraries are very inconvenient.
    Why would you create a different Library for each trip? iPhoto 11 can have up to 1,000,000 in any one library. I separate trip out by year and then album.
    So, simply you can't do what you want. Your iPad will only sync with one library at a time.
    If you have Aperture 3.3 or later and iPhoto 9.3 or later you can merge libraries with Aperture.
    Otherwise the only way to merge Libraries is with the paid ($20) version of iPhoto Library Manager

  • Loading XML from different server

    Hi, I'm trying to load XML data into flash from a distant
    server. The movie loads the data fine when I run it in my local
    computer, but when I upload it to the web server nothing loads. I'm
    guessing this has to do with cross domain security settings. So I
    added Security.AllowDomain( ); and still not working. Any help
    would be greatly appreciated.
    Thanks!

    you need a cross-domain security file. check the security
    class'es loadPolicyFile() method for help.

  • How can I separate playlists from different libraries when two or more users do login in the same computer?

    We've got two computers. I access my iTunes on both of them. I've got an iPod nano. But another user access his own iTunes account in one of these computers. He's got an iPhone. When I login in this one, I share all my playlists with him, and vice-versa. How do I do to separate these libraries without deleting one of them?

    check out method one in this support article: How to use multiple iPods, iPads, or iPhones with one computer

  • Sync albums from multiple libraries??

    Hi,
    I use multiple iPhoto libraries to faster handle my photos with the app, iPhoto Buddy. Does anyone know how I can sync albums from different libraries with my iPod photo?? I'm out of ideas...
    Any help is greatly appreciated.
    -SS

    I figured out a way to do it. For anyone having the same issue...
    Create a main folder to store photos for your iPod-- ("iPod photos") and put it where you want it (I actually put it on the hard drive part of my iPod).
    Create a folder inside that one named for any albums you want to sync.
    Drag photos from iPhoto (select every photo in the album) into the folder you've created for that album.
    In your iTunes prefs, set your iPod to sync photos with the new folder you've created, where ever it may be and that should do it.
    First sync will take a while....
    Hope that's helpful.
    -SS

  • Flash player 10.1 crash when loading assets

    My existing site crashes when trying to load assets under flash player 10.1. The site is built on PureMVC and uses BulkLoader to load assets from Amazon S3.  I'm trying to debug but nothing has worked so far except removing the loading code completely. Anyone else have similar problems?

    This is my loading code:
    for each ( var assetInfo:AssetInfo in _assetsArray )
    if ( assetInfo.slateURL != "" ) // NOT ALL AIs have slates (e.g. custom)
      var li:LoadingItem = _loader.add(assetInfo.slateURL, { id: assetInfo.name, context: context, priority:priority  } );
      // li.addEventListener( Event.COMPLETE, li_complete ); // LISTEN PER ITEM
      priority--;
    Commenting out li.addEventListener makes it quit crashing. Still investigating.

  • How to load data from a flat file to two different tables at a time.

    I am not aware of Sql Loader so Please any body suggest me that is there any way to load data from excel sheet to two different tables at a time its very urgent.
    with regards,
    Srinivas.R

    Read Utilities Guide from the Oracle Documentation Library. See
    <br>
    Oracle Database FAQs
    </br>

  • Transfer assets from one asset class to another having different depreciation keys.

    Hi Gurus,
         I am a noob in FICO, and I am facing a problem while transferring assets from one asset class to another.
    Below is the scenario.
    I created two assets 100000000000-0 under asset class 4690a and 200000000000-0 under asset class 4690b. And I am trying to transfer the
    asset from class 4690b to 4690a by selecting the option ‘New Asset’ in the transaction ABUMN. While doing this, I am receiving an error message as below.
    'Posting with trans. type 300 not possible (No acquisition posted).'
         Message No. AA324.
    Diagnosis:
         Transaction type 300 belongs to a transaction type group, which can only be used to post to assets to which posting has already been performed. However, no postings have been made to this asset.
    Procedure:
         Use a transaction type from a transactio type group, which can be used for the first acquisition to an asset.
    The error is related to the transaction type which I hadn’t explicitly created anywhere. But, when checked in transaction AO76, the transaction  type 300 belongs to the transaction type group 30. In this group I am not able to find any solution related to the error.
    Moreover, in some of the threads in SCN, I read that modifying the transaction type group might lead to something fatal.
    Kindly help me in the below.
    1. What exactly the error message is related with?
    2. Is there any other method to transfer the asset to another class?
    Please let me know if any further details are required regarding the scenario.

    Hi ,
    I understand that you want to transfer the old asset to new asset with different asset class with different depreciation keys and the old asset is not yet capitalized and does not have any Asset Values.
    Assuming that since the First Asset is not yet capitalized, that seems to be that its just that ASset Master is created and no Asset Values appear in the Asset.(in other words no acquisition, capitalization, no dep. start etc.)..
    Alternatively this asset can be advised to be blocked and flagged for deletion and create a new Asset in the new Asset Class and then capitalize the new asset by doing the acquisition according to the business process i.e. either via PO based process(GR) or Non PO based process.
    The transfer of asset is required incase the old asset still have the values and you are transferring the old asset to new one with the left over values.
    Also would request you to kindly share some screenshots of the AW01n of the old asset and screenshots of the AS03 to have more idea on it and provide a better solution to the same..
    Warm Regards,
    Vineet

  • In updating iPhoto 7.1.5 to 9.4.3. I have four different Libraries.  Is there a problem in updating all four Libraries from 7.1.5?

    In updating iPhoto 7.1.5 to 9.4.3 I have four different Libraries.  Is there a problem in updating all four Libraries from 7.1.5?

    No.  Once you have upgraded iPhoto to 9.4.3 launch it with the Option key held down and select each library in order.  iPhoto will convert the  library to the new version.
    As always, be sure you have a backup copy of each library before proceeding.
    OT

  • How to unify multiple iPhoto libraries from different Mac OS versions?

    I am pretty good with the Mac itself and have been a long time user. I knew full well acumulating multiple iphoto libraries in older backups (intead of building up on one) was not a great idea but for several reasons I have had to live that way. Now is the time to clean it all up once and for all and I need some wisdom;
    -I got my external drive as my new iphoto library now. It's being used, there are already albums in it and it's ready to accept older libraries.
    -What I want is that the older libraries (about 10 of them from different Mac OS versions) to show up in the new external drive as they looked in iphot back then. As albums in other words.
    -I do not want them imported in a single folder that's full of photos.
    Any help is much appreciated,
    Cheers.
    M

    If you imported a previous iphoto library into your new one, it created a folder inside the iphoto called "imported".
    That was the problem. One should never import one library into another.  Only iPhoto 6 libraries and earlier can be imported into a library now.  With the introduction of iPhoto 7 the library was changed from a folder to a package which can't be imported by the current iPhoto version.
    To use an older library with a new iPhoto version one just opens that library with iPhoto and lets iPhoto update it as necessary.  No importing necessary.
    Also you can use the paid verson of  iPhoto Library Manager  to merge those additional libraries into your current working library (be sure to have a current backup of your current library before merging).  What will be included are albums, Events, keywords, titles, descriptions, places.  Books, slideshows, calendars in the other libraries will be copied over as just albums.
    OT

  • Account assignment for group asset is different from that in asset

    Dear experts,
    I have creted one main asset . and i have created group asset. and my main asset class and group asset class are both are different.If i continue that error assets are shoud be craeted .but the depreciation key and usefull life and ordinary depreciation will going and it's showing grey.
    My question at the time of assighning the group asset for the particular assets the below error is comming.
    Account assignment for group asset is different from that in asset
    Message no. AA810
    Diagnosis
    The account allocation 14000 of the group asset 140000001 0 is different from account allocation 1000 of the asset.
    System Response
    This error needs to be corrected for balance sheet valuation (usually determined in depreciation area 01). For all other depreciation areas, this is only a warning you should check.
    Procedure
    Check your entry. When an individual asset has a different account assignment than the group asset, it is not possible to reconcile the individual asset to the group asset in reporting by means of accounts.
    kindly help on this issue
    regards
    venkataswamy

    Hi sudhakar
    Thanks for your reply
    1) for example i have buliding asset class and i have one group asset class.under the building asset account determination i have assighned the gl a/c for both b/s and book deprecitaion
    In groups asset class also i have done same things. i have craeted asset under building asset class and created one asset under group assets.
    then assighned the group asset to main assets. the error is comming like this Account assignment for group asset is different from that in asset
    I have serched in sdn forum and service .sap.com . they are saying you can use same gl a/c for both asset class.for depreciation .i have tried this scenario. still i am getting the same error and same problem.
    The most important thing is we are working on ECC 6 versions
    sap note 76186.
    Kindly help me
    Regards
    venkataswamy
    Edited by: venkataswamy bathini on Jul 6, 2009 9:22 AM

Maybe you are looking for

  • IPhone not recognized in iTunes for Windows Vista

    So, I have the iPhone 4 and I have only synced it once in iTunes about 2-3 months ago. I went to sync it again and now iTunes won't recognize it as a device. I have uninstalled and reinstalled iTunes and restarted my computer, checked my USB ports an

  • Can't get iTunes to work!

    Hello My iTunes does not want to open at all on my laptop. Also, my iPod is not being recognized on my laptop, but is recognized on my desktop (Dell Inspiron 4700). HELP!!

  • Downloading my audiobook again

    hi, for some reason i delete or lost one of my audiobooks, is there any way to download it again without paying for it?

  • Simplepass export to other program

    First I have to say that I absolutely love(d) having a fingerprint scanner on my laptop. However, the SimplePass software just really isn't up to snuff. That being said, I just got a new work laptop and would like to store my SimplePass passwords on

  • Is this PDF too big and is that why it won't send?

    Hello, I have an 18 page full color dcoument that is taking forever to attatch to my email (or it just won't let me send) There is no message that says it can't send, but it indefinately says it is still working to send. It is 44.7MB which sounds ver