Get current swf path

I'm developing an extension use Extension Builder for Photoshop CS5. I have to use an executable file in my extension. In general, if you use the Adobe Extension Manager to install the extension, the extension's swf file will put to USERPATH\AppData\Roaming\Adobe\CS5ServiceManager\extensions\YOUR EXTENSION NAME.
However, some time it isn't. And I don't know the reason. My executable file will be copy to the path as same as the swf file. So I want to get the swf file's path.
In Flex, the File class has two static variables File.applicationStorageDirectory and File.applicationDirectory. But they don't match the swf file's path.
How can I get the path in runtime? Solution use Flex or Javascript Script is ok.
Any help will be appreciated. Thanks!

"panell" <[email protected]> wrote in
message news:e97o6o$18i$[email protected]..
> Hi
> How to get current flash movie path?
> ex. C:\Movie1.swf? or
http://www.test.com/Movie.swf?
myTextBox.text = _url;

Similar Messages

  • Get current RID path from file upload in KM

    Hi all,
    I wrote an customized upload application using upload ui element.
    The question is , how can I get the current RID Path when I trigger the WDJ upload action ?
    Thanks for your help. please.

    Hi,
    Here is some of examples from WDJ for uploading the files, please go thr below link i hope it will help you
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a099a3bd-17ef-2b10-e6ac-9c1ea42af0e9?QuickLink=index&overridelayout=true
    http://wiki.sdn.sap.com/wiki/display/WDJava/KmuploadusingWebdynproapplication
    Thanks,
    Sreeni.

  • Get current PDF path when filename has unicode chars

    How do i get the current PDF path if the filename has unicode characters
    Thanks
    Swapneel

    How are you getting it now that it isn't working?

  • Get current PCD path from user context

    Hi expert,
    Anyone has an idea how to get the pcd path of WDJ ? from user context ?
    Thanks for your quick reponse.
    Kr,
    Ben.J.

    Hi Ben,
    I am not quite sure what your use case is here.
    However, have a look at this link:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b4/adbf40b87e0366e10000000a1550b0/frameset.htm
    If it is for navigational purposes, you can use the WDPortalNavigationService.
    Have a look at http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/2f72d990-0201-0010-85b0-8d626287dd4d
    - SM

  • How to get the current FILE PATH?

    I want to get the File Path on my Java Programming, which class / method can get a File Path on the windows?
    thanks!

    I want to get the current working directory(e.g.
    c:\Tomcat5.0\webapps\)
    If this is a web application you're talking about and you want the directory where that application is installed, that's almost certainly not the CWD. It might be one of the context or whatever variables that's available to servlets. Look in the servlet API and see what's there.

  • How do I get the full path and filename of the current document?

    I'm writing a format plug-in. How do I obtain the full path and filename of the current image (document) from within my plug-in? Any help would be greatly appreciated!

    I actually just figured this out. For anyone else who would like to know, check out the propetizer sample code in the photoshop sdk. It makes a "filter" plug-in that just spits out all the properties of the document you could ever want to know about. The function I used to get the full path and filename of the current document is PIGetDocumentName(). I hope this helps someone eventually...

  • Get the current absolute path name?

    How to get the current absolute path and file name in javascript?

    If using CS3 or CS4
    alert($.fileName);
    or this should work on all versions.
    function WhoAmI() {
    var where;
    try {var F = FO;
    }catch( err ) {where = File(err.fileName);}
    return where;
    NB: Neither will work if you are using binary scripts!

  • What is the mac os x software update path from v10.5.8 to get current?

    what is the mac os x software update path from v10.5.8 to get current?

    Upgrading to Snow Leopard, Lion, or Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
    Upgrading to Snow Leopard
    You must purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard - Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mountain Lion if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s MobileMe service; fees and
               terms apply.
    Upgrading to Lion
    If your computer does not meet the requirements to install Mountain Lion, it may still meet the requirements to install Lion.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.
    Upgrading to Mountain Lion
    To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase and download Mountain Lion from the App Store. Sign in using your Apple ID. Mountain Lion is $19.99 plus tax. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mountain Lion - System Requirements
           Macs that can be upgraded to OS X Mountain Lion
             1. iMac (Mid 2007 or newer)
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer)
             3. MacBook Pro (Mid/Late 2007 or newer)
             4. MacBook Air (Late 2008 or newer)
             5. Mac mini (Early 2009 or newer)
             6. Mac Pro (Early 2008 or newer)
             7. Xserve (Early 2009)
         Are my applications compatible?
             See App Compatibility Table - RoaringApps.
         Am I eligible for the free upgrade?
             See Apple - Free OS X Mountain Lion upgrade Program.
         For a complete How-To introduction from Apple see Upgrade to OS X Mountain Lion.

  • Getting the absolute path of the current executing file

    I have a file which will be placed in window and linux environment. It is not good to change the source code in that way:
    String path = "D:\\java\file1.txt"; (Window)
    String path = "/java/file1.txt"; (Linux)
    So I would like to ask how to get the absolute path based on that executing file?
    I referred to the reference in jsp, but I don't know what class and the coding syntax in console environment.
    Thx for any help.

    If you are looking to "get" a file that is located in a directory with (or somewhere under) the class file than use
    myClass.getClass().getResource(<relativePathWithFileFromClass>);  //URL
    myClass.getClass().getResourceAsStream(<relativePathWithFileFromClass>);  //InputStreamAs far as determining which Operating System you are on, there are a number of environment variables that will tell you that, and you can then format your file path accordingly.
    You can use "/" in your path regardless of which OS you are using. You do not have to use "\\" on Windows (excpet maybe inside of a Runtime.exec command string).
    Here is a very small program you can compile and run if you wish to see the list of System Properties available:
    public class ShowProperties {
      public static void main(String[] args) {
        System.getProperties().list(System.out);
    }Just save that to a file (named ShowProperties.java of course) and compile and run it, and you will get a list of your available System Properties and their current values

  • SP Designer Workflow: How to Get Full URL Path to List Item and inserted same list ITem URL in another list

    Hi,
    I have requirement in Sp Designer 2010,Get List item URL and insert in another list as one column value.When open another list and click on same item  column entry url will show the parent item information.
    Here i have create work flow and insert item URL in another list but cant find appropriate item url information.I can easily make  item url link through String builder in mail body with using current id and predefine link,but
    when try to insert the same type of item link in another list where i cant find string builder for create custom url link,only get valur of Path,URL,Absolute URL and Relative server URL,all these links or not provide me exact
    item link dispaly information.
    So I opened SharePoint Designer and start creating the workflow associated to the list.
    As there is some Field from source related to current item URL I start using it
    Encoded Absolute URL – this one should be the one to use
    Server Relative URL
    URL Path
    Unfortunately, none of these options were providing the correct link. Indeed, these options are providing an incorrect path:
    Encoded Absolute URL
    http://wfe1/Lists/bpf/1_.000
    Server Relative URL
    /Lists/bpf/1_.000
    URL Path
    /Lists/bpf/1_.000
    As you can see, the item URL is composed by an ID while it should be http://wfe1/Lists/bpf/dispform.aspx?id=1
    Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Share Point Application Developer,TCS

    Unfortunately, [%Current Item:URL%] doesn't seem to be available from a "Site Workflow" associated to a List.   I'm finding less advantages to doing a "Site Workflow" when I don't necessarily need to.  One problem is the workflow is initiating
    twice.   I'm thinking I should have just created the workflow as a a "List Workflow."  
    I am going to try "Association Columns" -- that may work.  Anyone have other suggestions?

  • How to get the Real Path of a file which is accessed  by URL?

    iam using tomcat6.0.
    I have a file xyz.xml at the top of the webapplication HFUSE which i can able to access by URL
    http://localhost:8080/HFUSE/xyz.xml
    My problem is how to get the realpath of the file "xyz.xml" for reading and writing purposes.
    I tried various things but i could not able to successfully solved the problem?
    1) File f = new File("/xyz.xml");
    print(f.getAbsolutePath()) ============== it is not fetching the file @ http://localhost:8080/HFUSE/xyz.xml rather it is creating a file
    at the root of the drive where eclipse is running.
    2) File f = new File("xyz.xml");============> this is also not working , it is creating the file xyz.xml in the eclipse directory ..................
    Can anyone please guide on this problem?

    RevertInIslam wrote:
    If you want your context root(i.e HFUSE)
    use this:
    request.getContextPath() //where request is HttpServletRequest object to get the needful path.
    e.g:
    File f = new File(request.getContextPath()+"/xyz.xml");//it will create the file inside HFUSE.
    Hope this helps.
    Regards
    BWrong. The File constructor expects an absolute filesystem path. The HttpServletRequest#getContextPath() doesn't return the absolute filesystem path, it only returns the relative path from the current context root. Use ServletContext#getRealPath() instead, it returns the absolute filesystem path for the given relative path from the current context root.
    File file = new File(servletContext.getRealPath("/"), "xyz.xml");

  • Sharepoint Workflow : how to get document full path + file name into variable?

    Hi,
    Anybody knows how to get document full path + file name into a variable in Sharepoint 2010 workflow?
    Example http://sp1:80/InvoiceQueue/Shared Documents/123.pdf
    I am using List Workflow which links to a document library.

    Hi SAMSUNG,
    According to your description, my understanding is that you want to get the full path of a document in a list workflow.
    You can set the variable to the Enconded Absolute URL of the document. The screenshot is my testing. In my testing (in the red area), when the title of a document was equal to the tile of the current item, set a variable to the Enconded Absolute URL of the
    document. I used ‘Log to history list’ to check the value of the variable in Workflow History .
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Get current file of Photoshop.

    All I want to do is from with in photoshop (the user applescript folder) is run this script but rather than select a file, use the open file on photoshop and process (there maybe others open so it would need to get the current document and file name)
    Many Thanks
    Matt
    property type_list : {"8BPS"}
    property extension_list : {"psd"}
    script o
              property theseNames : {}
    end script
    set thefile to (choose file) as text --> the file path
    tell application "Finder" to set TheName to (name of file thefile) --> the name
    set the1stLetter to the first character of TheName --> the first letter
    set the2ndLetter to the second character of TheName --> the first letter
    set brandInitial to {the1stLetter, the2ndLetter} as text
    if brandInitial is equal to "BH" then ¬
              set brandName to "BRAND"
    if brandInitial is equal to "AL" then ¬
              set brandName to "BRand"
    set weekNumber to ""
    display dialog "Please enter the week number:" default answer weekNumber
    set weekNumber to text returned of result
    try
              if weekNumber = "" then error
              set theWeekNumber to theWeekNumber as number
    on error
              set thePrefix to "INVALID ENTRY! "
    end try
    --Folder location Setup
    set this_local_folder to "Images:2012-2013"
    set localWeekFolder to my getFolderPath("WK" & weekNumber, this_local_folder)
    set localBrandFolder to my getFolderPath(brandName, localWeekFolder)
    set localBrandFolder_Low_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", localBrandFolder)
    set localBrandFolder_High_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_HR", localBrandFolder)
    set localBrandFolder_PSD to my getFolderPath(brandName & "_WK" & weekNumber & "_PSD", localBrandFolder)
    set this_Network_folder to "DCKGEN:Brands:Zoom:Brand - Zoom:Upload Photos:2013:"
    set networkWeekFolder to my getFolderPath("Week" & weekNumber, this_Network_folder)
    set networkBrandFolder_Low_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", networkWeekFolder)
    --all files for website
    set website_images to "DCKGEN:Website_Images:"
    --set up names to destination folders and create over Network for FTP collection (based on a mounted drive)
    set this_ftp_folder to "Impulse:"
    set ftpWeekFolder to my getFolderPath("Week" & weekNumber, this_ftp_folder)
    set ftpBrandFolder to my getFolderPath(brandName, ftpWeekFolder)
    set ftpBrandFolder_Low_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", ftpBrandFolder)
    set ftpBrandFolder_High_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_HR", ftpBrandFolder)
    --set theFolder to eachItem as string -- I think this is the line that could be causing the problem.
    --taking the folder identify which process it must follow.
    if brandName is equal to "BRAND" then
              tell application "Adobe Photoshop CS5.1"
      -- I remove the command activate, Photoshop stay in background
                        set ruler units of settings to pixel units
                        try
      open (alias thefile) showing dialogs never
                                  set origName to name of current document
                                  set myOptions to {class:JPEG save options, quality:12}
                                  set myPSDOptions to {class:Photoshop save options, embed color profile:true, save layers:true}
                                  tell current document
      --If the quick mask mode has been left on then delete the channel Quick Mask
                                            if (quick mask mode) then delete channel ¬
                                                      "Quick Mask"
      --If the Layer is incorrectly labeled with Original Layer it needs renaming to original Image
                                            if (exists layer "Original Layer") then ¬
                                                      tell layer "Original Layer" to set name to "Original Image"
      save in (localBrandFolder_PSD & origName) as Photoshop format with options myPSDOptions without copying
                                            (delete layer "Original Image") flatten
      resize image resolution 300 resample method none
      --sharpen image
      filter current layer using unsharp mask with options {amount:80, radius:3.2, threshold:0}
      save in (localBrandFolder_High_Res & name) as JPEG with options myOptions without copying
      --get file path, return path of the JPEG file, work with (without copying)
      -- (with copying) : it return path of PSD file
                                            set newFile to file path --( return path of type alias )
      -- duplicate file using the Finder  -->on duplicateFile(..)
                                            my duplicateFile(newFile, {ftpBrandFolder_High_Res})
      --Prepare for Low RES by resetting image history
                                            set current history state to history state 3
      flatten
      resize image width 1348
      resize image resolution 300 resample method none
      filter current layer using unsharp mask with options {amount:80, radius:3.2, threshold:0}
      --add save to lowResFolder with same options
      save in (localBrandFolder_Low_Res & name) as JPEG with options myOptions without copying
                                            set newFile to file path
                                            set newFile2 to newFile as string -- for testing end of name
                                            if newFile2 ends with "_2.jpg" or newFile2 ends with "_3.jpg" then -- exclude website_images
                                                      my duplicateFile(newFile, {networkBrandFolder_Low_Res, ftpBrandFolder_Low_Res})
                                            else
                                                      my duplicateFile(newFile, {networkBrandFolder_Low_Res, ftpBrandFolder_Low_Res, website_images})
                                            end if
      close saving no
                                  end tell
                        end try
              end tell
      --End BH
    end if
    --then the next etc.
    on duplicateFile(tFile, foldersPath) -- tFile is an alias, foldersPath is a list of folder
              tell application "Finder" to repeat with folderPath in foldersPath
                        with timeout of 200 seconds -- adjust it,  error if the copy  is longer that 200 seconds
      duplicate tFile to folder folderPath with replacing
                        end timeout
              end repeat
    end duplicateFile
    on getFolderPath(tName, folderPath)
              tell application "Finder" to tell folder folderPath
                        if not (exists folder tName) then
                                  return (make new folder at it with properties {name:tName}) as string
                        else
                                  return (folder tName) as string
                        end if
              end tell
    end getFolderPath

    Ok,  there is improvement, the script gets the path without error.
    Test this script in the editor., don't use your script.
    tell application "Adobe Photoshop CS5.1"
          set thefile to (file path of current document) --> get the file path (an alias)
    end tell
    set thefile to thefile as string
    tell application "Finder" to set TheName to (name of file thefile) --> the name
    set the1stLetter to the first character of TheName --> the first letter
    set the2ndLetter to the second character of TheName --> the first letter
    set brandInitial to {the1stLetter, the2ndLetter} as text
    if brandInitial is equal to "BH" then ¬
          set brandName to "BRAND"
    if brandInitial is equal to "AL" then ¬
          set brandName to "BRand"
    set weekNumber to ""
    display dialog "Please enter the week number:" default answer weekNumber
    set weekNumber to text returned of result
    try
          if weekNumber = "" then error
          set theWeekNumber to theWeekNumber as number
    on error
          set thePrefix to "INVALID ENTRY! "
    end try
    --Folder location Setup
    set this_local_folder to "Images:2012-2013"
    set localWeekFolder to my getFolderPath("WK" & weekNumber, this_local_folder)
    set localBrandFolder to my getFolderPath(brandName, localWeekFolder)
    set localBrandFolder_Low_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", localBrandFolder)
    set localBrandFolder_High_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_HR", localBrandFolder)
    set localBrandFolder_PSD to my getFolderPath(brandName & "_WK" & weekNumber & "_PSD", localBrandFolder)
    set this_Network_folder to "DCKGEN:Brands:Zoom:Brand - Zoom:Upload Photos:2013:"
    set networkWeekFolder to my getFolderPath("Week" & weekNumber, this_Network_folder)
    set networkBrandFolder_Low_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", networkWeekFolder)
    --all files for website
    set website_images to "DCKGEN:Website_Images:"
    --set up names to destination folders and create over Network for FTP collection (based on a mounted drive)
    set this_ftp_folder to "Impulse:"
    set ftpWeekFolder to my getFolderPath("Week" & weekNumber, this_ftp_folder)
    set ftpBrandFolder to my getFolderPath(brandName, ftpWeekFolder)
    set ftpBrandFolder_Low_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", ftpBrandFolder)
    set ftpBrandFolder_High_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_HR", ftpBrandFolder)
    --set theFolder to eachItem as string -- I think this is the line that could be causing the problem.
    --taking the folder identify which process it must follow.
    if brandName is equal to "BRAND" then
          tell application "Adobe Photoshop CS2" --5.1"
                -- I remove the command activate, Photoshop stay in background
                set ruler units of settings to pixel units
                try
                      set myOptions to {class:JPEG save options, quality:12}
                      set myPSDOptions to {class:Photoshop save options, embed color profile:true, save layers:true}
                      tell (my getDocByPath(thefile))
                            set origName to name
                            --If the quick mask mode has been left on then delete the channel Quick Mask
                            if (quick mask mode) then delete channel ¬
                                  "Quick Mask"
                            --If the Layer is incorrectly labeled with Original Layer it needs renaming to original Image
                            if (exists layer "Original Layer") then ¬
                                  tell layer "Original Layer" to set name to "Original Image"
                            save in (localBrandFolder_PSD & origName) as Photoshop format with options myPSDOptions without copying
                            (delete layer "Original Image") flatten
                            resize image resolution 300 resample method none
                            --sharpen image
                            filter current layer using unsharp mask with options {amount:80, radius:3.2, threshold:0}
                            save in (localBrandFolder_High_Res & name) as JPEG with options myOptions without copying
                            --get file path, return path of the JPEG file, work with (without copying)
                            -- (with copying) : it return path of PSD file
                            set newFile to file path --( return path of type alias )
                            -- duplicate file using the Finder  -->on duplicateFile(..)
                            my duplicateFile(newFile, {ftpBrandFolder_High_Res})
                            --Prepare for Low RES by resetting image history
                            set current history state to history state 3
                            flatten
                            resize image width 1348
                            resize image resolution 300 resample method none
                            filter current layer using unsharp mask with options {amount:80, radius:3.2, threshold:0}
                            --add save to lowResFolder with same options
                            save in (localBrandFolder_Low_Res & name) as JPEG with options myOptions without copying
                       set newFile to file path --( return path of type alias )
                                                              set newFile2 to newFile as string -- for testing end of name
                            if newFile2 ends with "_2.jpg" or newFile2 ends with "_3.jpg" then -- exclude website_images
                                  my duplicateFile(newFile, {networkBrandFolder_Low_Res, ftpBrandFolder_Low_Res})
                            else
                                  my duplicateFile(newFile, {networkBrandFolder_Low_Res, ftpBrandFolder_Low_Res, website_images})
                            end if
                            close saving no
                      end tell
                end try
          end tell
          --End BH
    end if
    --then the next etc.
    on duplicateFile(tFile, foldersPath) -- tFile is an alias, foldersPath is a list of folder
          tell application "Finder" to repeat with folderPath in foldersPath
                with timeout of 200 seconds -- adjust it,  error if the copy  is longer that 200 seconds
                      duplicate tFile to folder folderPath with replacing
                end timeout
          end repeat
    end duplicateFile
    on getFolderPath(tName, folderPath)
          tell application "Finder" to tell folder folderPath
                if not (exists folder tName) then
                      return (make new folder at it with properties {name:tName}) as string
                else
                      return (folder tName) as string
                end if
          end tell
    end getFolderPath
    on getDocByPath(tFile)
          set f to tFile as alias
          tell application "Adobe Photoshop CS5.1"
                repeat with i in (get documents)
                      if file path of i is f then return contents of i --return the doc
                end repeat
          end tell
    end getDocByPath
    If there is an error, give me the selected text in the editor and the error
    Message was edited by: Jacques Rioux

  • How to get the absolute path of a file from the local disk given the file n

    how to get the absolute path of a file from the local disk given the file name

    // will look for the file at the current working directory
    // this is wherever you start the Java application (cound be C: and your
    // application is located in C:/myapp, but the working dir is C:/
    File file = new File("README.txt"); 
    if (file != null && file.exists())
        String absolutePath = file.getAbsolutePath();

  • Too much delay to load new SWF after unloaded the current SWF

    Hi,
    In our application we are using more than 10 SWFs. While traversing one SWF to other trying to unload currently loaded SWF and loading the new one. We were success to unload the existing SWF but the problem is, taking too much time to load new SWF (more than 5 seconds). Please suggest a useful method to avoid this delay to get better performance.
    will get some idea from following code snippet.
    Thanks
    public function SwitchSWFs():void
                   if (null != SystemAgent.getInstance().currentSWFLoader)
                                    SystemAgent.getInstance().currentSWFLoader.unload();
                                    SystemAgent.getInstance().currentSWFLoader = null;
                                    trace("HomeUI : Previous swf unloaded!!!");
                    else
                    addChild(SystemAgent.getInstance().swfLoaderSecondSWF);
                    SystemAgent.getInstance().currentSWFLoader = SystemAgent.getInstance().swfLoaderSecondSWF;
    //will invoke from a button click
    public function LoadSecondSWF():void
                    SystemAgent.getInstance().swfLoaderSecondSWF.load(new URLRequest("Second.SWF"));
                    SwitchSWFs();

    Is the delay happening when you test locally?
    One thing you might try is to load any Loaders you have up front before they are needed so that there is a better chance they are ready to be added to the display list when called for.  So instead of having the button trigger loading the swf, you just have it call the switchSWFs function.
    Another thing you might try if you keep it where the button triggers loading the file is to assign an event listener for the Loader to detect when it has finished loading and then have that listener's event handler function call the switchSWFs function.  At least that way, the current swf is not unloaded until a replacement is ready and waiting.

Maybe you are looking for

  • Invoices not flowing to RMCA

    Hello Experts, i had a requirement, where profit center was missing for contract and invoices. I had written a program, now profit center is getting updated succcessfuly but when  in VF02  i am releasing any inovice to RMCA ... i am getting a standar

  • How to reordering a table without coloring the entire column ?

    Hi, When I click on a column header to re-order the table, the entire column is show in a differente color. Is there any way to avoid this behave ? Thanks, M�rcio

  • Query taking more time

    Iam having nearly 2 crores records at present in my table.. I want to get the avg of price from my table.. i put the query like select avg(sum(price)) from table group by product_id The query taking more than 5 mins to execute... is that any other wa

  • Opera 12 instead of 26 installs on 64 bit system

    Archwiki: "In early December 2014, Opera version 26 was released, but only for 64-bit systems: with this milestone, the old proprietary Presto layout engine is replaced with the more modern and open-source Blink engine. The previous 12.16 version is

  • MySQL Connection

    Hello All, This is probably an easy fix; however, I seem to be having difficulties. I am trying to create a connection to a MySQL database. I have added the mysql_2_comp.jar to the JDeveloper library for the current project and I have the following p