Library source file path is wrong

I have created a fla to hold all the graphic elements of a
project. When I add one of these elements to a different fla I set
it to update on publish so if I make a change to the original it
applies automatically. The problem is when I tell it to update, it
can't find the original. If I look at what flash set the relative
path to the source document as it say "./uiAssets.fla" when it
should be "../uiAssets.fla" because they aren't in the same folder.
Is this a bug or am I doing something wrong?

did you by any chance, make a new folder, or move the folder,
or place the original folder into another folder? this will cause
the path to change and flash wont be able to find it until you
update to the new path.
Just a guess :)

Similar Messages

  • FLEX debugger not hitting breakpoints, because Flash sometimes embeds source file paths with wrong letter case?

    I was trying to figure out why breakpoints were working fine for source files in some locations but not others.  FlashDevelop's debugger (which I believe is actually the FLEXSDK debugger) was successfully connecting, tracing output, and hitting breakpoints in SOME files, but not others.
    I downloaded SWFInvestigator from Adobe Labs and checked the embedded debug paths for various source files to see what was going on.
    I discovered that files in which no breakpoints could be hit had their paths embedded in all lowercase (e.g. "c:\users\username\desktop\source\myproject" instead of "C:\Users\username\Desktop\source\MyProject").
    So I have two questions:
    First, is this a Flex debugger issue, or a FlashDevelop plugin issue? Letter case shouldn't matter or interfere with matching file paths in Windows.
    Second, what could possibly influence the letter case of embedded paths in a SWF output by Flash Professional (CS6), such that they are sometimes all lowercase and other times maintain the same case from the file system?  And why would that affect a debuggers ability to hit breakpoints in Windows 7?  I am compiling in multiple ways. Sometimes clicking Publish within Flash. Sometimes the file being published is not even open in Flash, and my JSFL script file is passed to Flash.exe containing embedded file paths to open the document. Usually, everything seems to work fine, no matter where I publish from, regardless of whether the FLA file is open or not. I'm honestly starting to believe that it depends on how the FLA was last opened in Flash Professional, as though it saves some sort of last access path internally and uses that to embed debug information.

    I don't think it's the source path in my case, because it's simply the dot ".", although I did check that because it would most likely influence the embedded paths.
    In the library path, I use relative paths exclusively, since all my individual project folders exist in the same "source" folder.
    Here's how I arrived at the conclusion that something more complex or "stateful" must be occuring:
    I publish my files with a one-click application, which does the following
    updates version timestamps (static constants) in specific files via regex match
    fills in a JSFL template with the FLA filename and writes the JSFL file to disk, then passes the JSFL file path to flash.exe for publication
    the JSFL then runs a command, which signals the main application via cross-process communication that the script has finished publishing
    That all makes it easy for me to update and publish multiple projects and deploy them, with a single click.  Here is the JSFL template I created, which has been drastically simplified since the days where it used to search to see if the file was open in Flash, select the document, and call publish.  Now it just uses the publishDocument method to silently publish files without opening them.
    var filepath = "FLAFILEPATH"; //template parameter: the URI (beginning with "file:///") of the FLA file to publish
    fl.publishDocument( filepath, "PUBLISHPROFILENAME" );
    FLfile.runCommandLine("COMPLETECOMMAND");
    The C# app replaces the strings in all caps with the actual values.  The COMPLETECOMMAND is actually populated with the application's own executable path, along with a "complete" switch, which lauches a 2nd instance, which handles the complete switch by broadcasting a signal over an interprocess channel and then terminates.  The main instance captures the signal, triggers a wait handle, and continues with publishing the next file.  Here is the core code for it:
    private string fillTemplate( string fla_directory, string fla_filename, string publish_profile_name )
        string fileuri = "file:///" + Path.Combine( fla_directory, fla_filename ).Replace( '\\','/' );
        return EmbeddedResources.OpenAndPublish //JSFL template file embedded as string resource
            .Replace( "FLAFILEPATH", HttpUtility.JavaScriptStringEncode( fileuri ) )
            .Replace("COMPLETECOMMAND", HttpUtility.JavaScriptStringEncode( "\"" + Application.ExecutablePath + "\"" + " -publishcomplete" )) //call self with -publishcomplete switch to signal main instance's publishCompleteSignal
            .Replace("PUBLISHPROFILENAME", HttpUtility.JavaScriptStringEncode( publish_profile_name ) );
    private static readonly string FLASH_PATH = @"C:\Program Files (x86)\Adobe\Adobe Flash CS6\Flash.exe";
    public void publish( string fla_directory, string fla_filename, string publish_profile_name )
        Program.publishCompleteSignal.Reset();
        string template = fillTemplate( fla_directory, fla_filename, publish_profile_name );
        string curdir = Environment.CurrentDirectory;
        string tempJSFLfilepath = Path.Combine( curdir, "temp_script.jsfl" );
        File.WriteAllText( tempJSFLfilepath, template );
        Process p = Process.Start( FLASH_PATH, tempJSFLfilepath );
        Program.publishCompleteSignal.WaitOne( 30000 ); //timeout after 30 seconds
    Here's where it gets interesting.  The FLAFILEPATH has ALWAYS been passed in as all lower case, yet this publication method has worked 99% of the time for hundreds of publish operations every day.  This applies to both the publication of the first SWC, which is referenced by the second published SWF (both were being published with lowercase paths), yet the paths for the main SWF were remaining in lowercase, while those in the referenced SWC were maintaining the correct case from the file system.
    So there may be any number of things going on here.  SWCs may be published differently than SWFs, such that SWCs always have the correct letter case for debug source files, regardless of how the source FLA project was opened.  Ensuring the path passed to publishDocument uses the right case definitely fixes the problem, but it doesn't explain why it usually worked, despite having always been passing a lowercase string.  The only variable I can think of in all of this is Windows itself or Flash, such as whether the document was open in Flash at the time the silent JSLF publishDocument command ran, and how that FLA was last opened (via shortcut, via "recent documents" in Flash, via recent documents in Windows.  It has to be something, even if it's something as obscure as how the folder path was last accessed in windows, although I strongly suspect it's just how (in terms of path case) the FLA was last opened in Flash.
    In any case, I'm happy that passing the right case to JSLF's publishDocument command fixes the problem, so I'm not going to spend any more time trying to figure out how opening the FLA in various ways could affect the embedded debug paths.  The only thing that should be done is to address how paths with the wrong case are handled when they do get embedded that way for whatever reason.  Perhaps the flex debugger should be updated to use case-insensitive matches in case-insensitive file systems, unless, perhaps, this is a FlashDevelop debugger issue after all.

  • Take Source file path in sender adapter from an environment variable .

    Hi,
    Is it possible to take source file path(half file path) dynamically in sender file adapter.
    Please suggest any alternative to this.

    Hi,
    One option, use Dynamic Configuration and set the values in the Mapping.
    By the ways, the File Directory and the Filename are taken runtime in the file adapters after transportation.
    Only if you are using FTP will you need to key in the FTP addess user id password etc.
    Refer -- same way try for File adapter
    Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
    Ps Note : I have personally never tried it to use the Dynamic Configuration for file path. But you can try.
    Thanks
    Swarup

  • FSRM [Source File Path] and DFS

    Hi,
    When i use the [Source File Path] in a notification email it does not show the source file path but instead shows d:\xxxx which is the local drive of the server hosting the destination share.
    The users has a lot of problems with file types that are not allowed. But i can't find a good way to show them the file that has been blocked with out showing them the local server drives or shares and this is not a good way.
    Any suggestions to what could be done so i can show the users what files have been blocked?

    Hi,
    I get the reply from FSRM Discussions team.
    The source file path in this case does not relate to the copy operation (FSRM has no clue where this is copied from) – rather to the location of the file that caused the problem.
    If the path for the file that caused the notification is a shared folder or volume, we can use [Source File Remote Paths] instead of [Source File Path] to insert the path in UNC format (\\Server\Share\).
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • TS1192 'Could not read the iPhoto Library. The library at [file path] has a corrupted AlbumData.xml file.'

    Got this msh from Piasa...any ideas?  'Could not read the iPhoto Library. The library at [file path] has a corrupted AlbumData.xml file.'

    Contact Adobe support - that is not an iPhoto message - in general Piasa has no ability to access the iPhoto library - there have been hacks but often they do not worka nd can cause problems
    You need to user either Picasa or iPHoto - using both on the same photos is problematic
    LN

  • How to Get the Source File Path in the Receiver Side

    Hi Experts,
    Here We are Trying to Do How to Get the Sender Information ( File Name & Path ) on the Receiver Side .
    According to the Michal Blog
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Here we Are Able to Get only the File Name.
    But If I Want to get the Total File  Path Also means What Should I Do Here ????
    Please Let Me Know
    Regards
    Khanna

    Khanna,
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey fkey = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    DynamicConfigurationKey dkey = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    String fname = conf.get(fkey);
    Sring path = conf.get(dkey);
    String final=fname""path;
    return ""final"";
    Best regards,
    raj.

  • How to create dynamic source file path for lumira?

    i have source file for lumira  visualization on  D:\lumira\SourceFiles\sample.xlsx;
    also .lums file in D:\lumira\demo.lums
    But when i use the same Lumira folder in different system i have to again create connection for the datasource for fetching the data.So please suggest me how can i use this file so that i don't need to create a new connection again and i should get the updated data i.e. the data should change according to the change in the datasource file.

    Hi,
    this isn't possible.
    you need to go the Connections window in Lumira home page, and repoint the connection to the new location
    regards,
    H

  • XML source file path (LINUX vs. WINDOWS)

    Hello, we are sourcing data from XML for a project. RPD development is being done in Windows and then the RPD is getting deployed to the Linux env.
    How can i make sure the path translate from Windows to Linux?
    Windows path can be C:\myobieedata\region.xml
    How can this be translated into Linux path?
    Your help is appreciated.
    Regards,

    Just edit the connection pool to use the valid location of the files in Linux and copy that RPD over to the linux box. You can even edit it 'on-line' on the Linux environment and make the change there.
    As an example I'd check the sample sales connection pool that was configured when you installed OBIEE on Linux and observe the difference to the sample sales connection pool when you installed on windows.

  • New to workshop: how to set source file path

    Hello,
    I am new to workshop. I used to use Jdeveloper where I can set project settings to specify java source root and html source root. that way, my source code does not need to be under the standard directory app/project/src/....
    I am wondering if workshop can do the same thing?
    I tried to use import function, but it only copy the files over to its standard directory.

    Hello,
    I am new to workshop. I used to use Jdeveloper where I can set project settings to specify java source root and html source root. that way, my source code does not need to be under the standard directory app/project/src/....
    I am wondering if workshop can do the same thing?
    I tried to use import function, but it only copy the files over to its standard directory.

  • How can i relink files to the timeline sequence when i've deleted the source file path? All the attribute are still in the timeline, I just can't relink

    So i started an edit and had the whole thing finished and ready to export in Final Cut X, when i went to export I had a message pop up say that it couldn't export while FCP X is still referencing media. I went through trying to solve the problem and ended up deleting the source media folders in the Final Cut Events folder and reimporting the clips. This lead to a whole can of worms opening up and now i'm left with a whole edit with 90% of the clips in the timeline unable to relink to source media.
    Can anyone help?

    First find the files. Then File>Relink Event Files and point to the folder.

  • Source File Path

    Sorry about having such beginner problems, but I was wondering about setting a path for RWServlet.
    Meaning, when I go to /repdemo/examples/Tools/runrepIAS.html to run test.rdf, it looks at the file in
    {ORACLE_HOME}\j2ee\OC4J_Demos\applications\reportsDemo\web\examples\Tools\test.rdf.
    How does the report writer know to look in that directory? How can I change the default directory or add additional directories?
    Thanks

    Oops, sorry the current directory is
    {ORACLE_HOME}\reports\samples\demo.
    How can I change that to {ORACLE_HOME}\myreports?

  • Problem with transaction CG3Y - Path does not fit in Source file field.

    Hi colleagues,
    I need to download some PDF files from a folder in AL11. But when I try to enter the source file path in transaction CG3Y, in the first field "Source file on application server" I cannot enter the full path of the file. Apparently this field only allows 60 characters to be entered and the path plus the file name are quite longer than that. Anyone know if there is some way to download those files?
    Another question I have is that I need to download a lot of files from the same folder in AL11. But I do not know how to download them all, instead that one by one. I think that I cannot put *.PDF like if it was a Command prompt in MS-DOS or any search option in Windows... Is there some other transaction which allows to do that?
    Thanks in advance for your help and best regards!!

    Hi Enric
    I need to download some PDF files from a folder in AL11. But when I try to enter the source file path in transaction CG3Y, in the first field "Source file on application server" I cannot enter the full path of the file. Apparently this field only allows 60 characters to be entered and the path plus the file name are quite longer than that. Anyone know if there is some way to download those files?
    copy the path and the file name is notepad and select the whole thing and paste in CG3Y tr.
    Another question I have is that I need to download a lot of files from the same folder in AL11. But I do not know how to download them all, instead that one by one. I think that I cannot put *.PDF like if it was a Command prompt in MS-DOS or any search option in Windows... Is there some other transaction which allows to do that?
    Getting the list of files present in the APPLICATION server ??

  • Source File in CG3Y

    Hi Guys:
    I was able to generate outbound IDOC and it was written to file , but i am not sure about the "Source file on the application Server" in CG3Y transaction i.e where i can find the path?.
    Thanks
    Kodali

    Hi Enric
    I need to download some PDF files from a folder in AL11. But when I try to enter the source file path in transaction CG3Y, in the first field "Source file on application server" I cannot enter the full path of the file. Apparently this field only allows 60 characters to be entered and the path plus the file name are quite longer than that. Anyone know if there is some way to download those files?
    copy the path and the file name is notepad and select the whole thing and paste in CG3Y tr.
    Another question I have is that I need to download a lot of files from the same folder in AL11. But I do not know how to download them all, instead that one by one. I think that I cannot put *.PDF like if it was a Command prompt in MS-DOS or any search option in Windows... Is there some other transaction which allows to do that?
    Getting the list of files present in the APPLICATION server ??

  • Analyzer does not see source files

    Hi,
    I am currently evaluating the use of "collect" and "analyzer" in our environment, which is RHEL4 on x64with gcc4.21.
    - I compiled everything with -g
    - the shared libraries do contain source file paths (checked with strings *.so)
    - I am using "collect -o tt.er myprogram"
    - I am running "analyzer tt.er" afterwards.
    Analyzer does display some sensible times and the symbols. But when I drill down, it will only display assembly code for all of my routines. The selected object summary always displays the symbol name, the .so file name, etc, but "Source file: (unknown)". The analyzer version is "Sun Analyzer 7.6 Linux_i386 2007/05/03"
    Where is the mistake?
    Thanks!
    Georg

    The sources are stored on a NAS system that is connected with the RHEL4 system. Sources are definitely accessible.
    Below is the er_print output.
    Georg
    er_print -dis main tt.er
    er_print: Processed /remote/de02h3/georgv/.er.rc for default settings
    tt.er: Experiment has warnings, see header for details
    Source file: (unknown)
    Object file: /remote/lithop4/georgv/p4_main_lin64/release_mpe/bin/slitho
    Load Object: /remote/lithop4/georgv/p4_main_lin64/release_mpe/bin/slitho
    Excl. Incl.
    User CPU User CPU
    sec. sec.
    <Function: main>
    0. 0. [?] 401aa0: movq %rbx,-0x30(%rsp)
    0. 0. [?] 401aa5: movq %rbp,-0x28(%rsp)
    0. 0. [?] 401aaa: movq %rsi,%rbp
    0. 0. [?] 401aad: movq %r12,-0x20(%rsp)
    0. 0. [?] 401ab2: movq %r13,-0x18(%rsp)
    0. 0. [?] 401ab7: movl $0x402068,%esi
    0. 0. [?] 401abc: movq %r14,-0x10(%rsp)
    0. 0. [?] 401ac1: movq %r15,-8(%rsp)
    0. 0. [?] 401ac6: subq $0x1c8,%rsp
    0. 0. [?] 401acd: leaq 0x170(%rsp),%rbx
    0. 0. [?] 401ad5: movl %edi,0xc(%rsp)
    0. 0. [?] 401ad9: leaq 0x18f(%rsp),%rdx
    0. 0. [?] 401ae1: movq %rbx,%rdi
    0. 0. [?] 401ae4: call .-0x22c [ 0x4018b8 ]
    0. 0. [?] 401ae9: leaq 0x110(%rsp),%r13
    0. 0. [?] 401af1: movq %rbx,%rdx
    0. 0. [?] 401af4: movl $0x64,%esi
    0. 0. [?] 401af9: movq %r13,%rdi
    0. 0. [?] 401afc: call .-0x294 [ 0x401868 ]
    0. 0. [?] 401b01: movq 0x170(%rsp),%rdi
    0. 0. [?] 401b09: movl $0x602c00,%r14d
    0. 0. [?] 401b0f: subq $0x18,%rdi
    0. 0. [?] 401b13: cmpq %r14,%rdi
    0. 0. [?] 401b16: jne .+0x104 [ 0x401c1a ]
    0. 0. [?] 401b1c: leaq 0x160(%rsp),%rbx
    0. 0. [?] 401b24: leaq 0x18e(%rsp),%rdx
    0. 0. [?] 401b2c: movl $0x402068,%esi
    0. 0. [?] 401b31: movq %rbx,%rdi
    0. 0. [?] 401b34: call .-0x27c [ 0x4018b8 ]
    0. 0. [?] 401b39: leaq 0x10(%rsp),%r12
    0. 0. [?] 401b3e: movq %rbx,%rdx
    0. 0. [?] 401b41: movl $0x64,%esi
    0. 0. [?] 401b46: movq %r12,%rdi
    0. 0. [?] 401b49: call .-0x221 [ 0x401928 ]
    0. 0. [?] 401b4e: movq 0x160(%rsp),%rdi
    0. 0. [?] 401b56: subq $0x18,%rdi
    0. 0. [?] 401b5a: cmpq %rdi,%r14
    0. 0. [?] 401b5d: jne .+0x15d [ 0x401cba ]
    0. 0. [?] 401b63: movq %r12,%rdi
    0. 0. [?] 401b66: call .-0x34e [ 0x401818 ]
    0. 0. [?] 401b6b: movq %r13,%rdi
    0. 0. [?] 401b6e: call .-0x266 [ 0x401908 ]
    0. 0. [?] 401b73: leaq 0xa0(%rsp),%rbx
    0. 0. [?] 401b7b: leaq 0xc(%rsp),%rsi
    0. 0. [?] 401b80: movq %rbp,%rdx
    0. 0. [?] 401b83: movq %rbx,%rdi
    0. 0. [?] 401b86: call .-0x3ae [ 0x4017d8 ]
    0. 0. [?] 401b8b: movq %rbx,%rdi
    ## 0. 2.068 [?] 401b8e: call .-0x2c6 [ 0x4018c8 ]
    0. 0. [?] 401b93: movl %eax,%ebp
    0. 0. [?] 401b95: movq %rbx,%rdi
    0. 0. [?] 401b98: call .-0x360 [ 0x401838 ]
    0. 0. [?] 401b9d: movq %r13,%rdi
    0. 0. [?] 401ba0: call .-0x268 [ 0x401938 ]
    0. 0. [?] 401ba5: movq %r12,%rdi
    0. 0. [?] 401ba8: call .-0x3b0 [ 0x4017f8 ]
    0. 0. [?] 401bad: movq %r13,%rdi
    0. 0. [?] 401bb0: call .-0x258 [ 0x401958 ]
    0. 0. [?] 401bb5: movq %r12,%rdi
    0. 0. [?] 401bb8: call .-0x2e0 [ 0x4018d8 ]
    0. 0. [?] 401bbd: movq 0x18(%rsp),%rdi
    0. 0. [?] 401bc2: subq $0x18,%rdi
    0. 0. [?] 401bc6: cmpq %rdi,%r14
    0. 0. [?] 401bc9: jne .+0xbf [ 0x401c88 ]
    0. 0. [?] 401bcf: movq 0x118(%rsp),%rdi
    0. 0. [?] 401bd7: subq $0x18,%rdi
    0. 0. [?] 401bdb: cmpq %rdi,%r14
    0. 0. [?] 401bde: jne .+0x73 [ 0x401c51 ]
    0. 0. [?] 401be0: movl %ebp,%eax
    0. 0. [?] 401be2: movq 0x198(%rsp),%rbx
    0. 0. [?] 401bea: movq 0x1a0(%rsp),%rbp
    0. 0. [?] 401bf2: movq 0x1a8(%rsp),%r12
    0. 0. [?] 401bfa: movq 0x1b0(%rsp),%r13
    0. 0. [?] 401c02: movq 0x1b8(%rsp),%r14
    0. 0. [?] 401c0a: movq 0x1c0(%rsp),%r15
    0. 0. [?] 401c12: addq $0x1c8,%rsp
    0. 0. [?] 401c19: ret
    0. 0. [?] 401c1a: movl $pthread_cancel@@GLIBC_2.
    2.5,%ebx
    0. 0. [?] 401c1f: leaq 0x10(%rdi),%rdx
    0. 0. [?] 401c23: testq %rbx,%rbx
    0. 0. [?] 401c26: jne .+0xc6 [ 0x401cec ]
    0. 0. [?] 401c2c: movl 0x10(%rdi),%edx
    0. 0. [?] 401c2f: leal -1(%rdx),%r9d
    0. 0. [?] 401c33: movl %r9d,0x10(%rdi)
    0. 0. [?] 401c37: testl %edx,%edx
    0. 0. [?] 401c39: jg .-0x11d [ 0x401b1c ]
    ....

  • How do copy the file path of songs to their comments or description field?

    I'd like to be able to organize my library by file path.
    I read somewhere that Teridon had a script to do this but I could not find it on his scripts page.
    Please help

    Okay I did it!
    Here's the JScript for anyone who wants to organize by file path:
    var ITTrackKindFile = 1;
    var iTunesApp = WScript.CreateObject("iTunes.Application");
    var mainLibrary = iTunesApp.LibraryPlaylist;
    var tracks = mainLibrary.Tracks;
    var numTracks = tracks.Count;
    var i;
    while (numTracks != 0)
    var currTrack = tracks.Item(numTracks);
    // is this a file track?
    if (currTrack.Kind == ITTrackKindFile)
    currTrack.Comment = currTrack.Location;
    numTracks--;
    WScript.Echo("Location to comments done!");
    Beware it replaces anything you currently have in the comments field
    Message was edited by: Toelessfoot

Maybe you are looking for

  • How can i leave audio from one clip playing, while showing another one in i

    i am editing a movie, using iMovie 08, and want to use sound for a clip in the video for the end credits. how can i do this? just to be clear, i am not trying to add audio. i am trying to leave the audio from ONE CLIP playing, while viewing a new fra

  • Error in generating COM DLL via DCOM Object Builder

    Hi, Iam creating a COM DLL for a BAPI and I always get the error when generating the DLL. I have Visual C++ 6.0 installed in the same PC.  Pls help.  Thanks. C:\vb>CALL "C:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat" Setting environm

  • Check box in reort

    hi all , i want to use check box in report i want select multiple records using check box and want deatils of selected recrods in secondary list same in alv ........ plz help me for this problem

  • SCVMM Forecasting Reports Error

    Hi All, I'm running both SCVMM & SCOM 2012 R2 (with U1) and have an issue with only the forecasting reports (SAN Forecasting & Host Group Forecasting). The integration between SCOM & SCVMM seems to work properly, but when I try to run either of these

  • Windows 7 rc error event id 6008

    Hey ppl, I've notice people on this forum with similar problems but not exactly the same as mine... I've been using win 7 RC x86 for the past month and it worked great. About 4 days ago it started randomly crashing but with no blue screen of death. I