lib.setItemProperty('sourceFilePath','.\\MasterTestLib.fla');

Objective: change the Cheminaccesfichiersource for the items in a library using a command.

The FLASH documentation indicates that Cheminaccesfichiersource should use an absolute path. However, by copying the movie clip from my library master library of development the Cheminaccesfichiersource property is relative to the origin.

Here's the jsfl FLASH created.

> > >
This command was recorded by Macromedia Flash 8.
//

Select the library item (s): p2
fl.getDocumentDOM ().library.selectItem ('p2');

The symbol properties: clip video, false, false, faux,.\MasterTestLib.fla, p2, true, false
var lib = fl.getDocumentDOM () .library;.
lib.setItemProperty ("'symbolType","movie clip");
If (lib.getItemProperty ('linkageImportForRS') == true) {}
lib.setItemProperty ("linkageImportForRS", false);
}
else {}
lib.setItemProperty ("linkageExportForAS", false);
lib.setItemProperty ("linkageExportForRS", false);
}
lib.setItemProperty('sourceFilePath','.\\MasterTestLib.fla');
lib.setItemProperty ('sourceLibraryName', 'p2');
lib.setItemProperty ('sourceAutoUpdate', true);
lib.setItemProperty ("scalingGrid", false);
> > >

By running that FLASH created, causes the following error:

[Invalid URI:? s? s? s? s? s? s? t? s? t? t? s? t % 12f0c4]
[setItemProperty: Argument number 1 is not valid.]

Change the Cheminaccesfichiersource by using the Browse button in the dialog box properties for an element of created library jsfl with a path absolute, referred in the documentation:

lib.setItemProperty ('Cheminaccesfichiersource', 'C:\\Documents and Settings\\aylwardm\\Desktop\\MasterTestLib.fla');

Regardless of the format that generated reports for me in the jsfl FLASH, when I try to set the item by running the jsfl as a command the same error occurs.

Anyone able to help me?

When you have specified the absolute path, you need to do in the form of URI, which means that you must include the "file:///", then your path should look like:

file:///C:/documents and Settings/aylwardm/Desktop/MasterTestLib.fla

Tim

Tags: Adobe Animate

Similar Questions

  • Active sharing - split a fla great teamwork easier

    Hello

    (It contains: a question for the best practices + comments and bug reports for sharing moment of the author)

    I am currently working in a game with Flash Pro CC project. It consists in fact of several games (a handful) that use an fla as asset-source. So, he mixed content, all game-specific assets + general assets (for example, a lot of re-used user interface components).

    We try to divide the fla in a fla General and separate flas (or "void FLAS") game-specific.

    Specific STRATEGY must also contain general fla assets, but changes to the General fla must also assign the elements of lib in specific FLAS. And an auto-update feature is also required (for convenience).

    If the target is 'import an entire library' of one fla in another. Y at - it an "easy way" to do?

    NOTE: the source-fla general with the files to share has a size of 35 MB and contains about 600 symbols that are to be shared.

    Here are my efforts / experiences to date:

    On your help pages are provided as an indication: author-time share and share of Runtime.

    I thought that the first Runtime does not share, is none the right choice, because it comes with the greatest effort of preparation (urls) + RSL-symbols must be bound to the ACE also, which is not necessary for a good part of our symbols. And then it seems to focus on the customer experience (for example load times).

    So I tried author-time Sharing.

    First I noticed that it must manually declare the origin target relationship of each single symbol which must be linked to a source file. (which means adjust the properties, then go to sourcefile + symbol in the library).

    Is this a bug? In CS4, this was done automatically (just on the dough to a symbol of different fla). The entire workflow is so embarrassing that I feel that large scale of this feature is not recommended. Or am I missing something?

    In any case, I wrote a jsfl script that takes care of this (for all elements of the symbol you want).

    It seemed to work well in a small suitcase of test (fla with 250 KB, 13 MovieClips, 7 pictures).

    But when I applied it to our project (file source 35 MB, 600 symbols) the script will not come in his term and used Flash more and more RAM.

    Time to share a single symbol seems to have already more than 10 seconds.

    But he did not also a bug that caused some of the 'want-to-be"- shared asset not properly replaced, but rather created new and were put in a directory 'Double points '.

    After a little testing, I discovered, that this happens regularly to the nested symbols, while they were not shared until the symbol of the 'mother' was shared. At least, I think so.

    As I discovered there is an undeniable connection with size of source file and the complexity of the structure of the symbol.

    Thus, this feature is suggested only the thin source with some symbols of low complexity files, which means 'no nested symbols'? (I'd really hate for us).

    Details of the machine.

    Latest Flash updates are installed, Windows 8.1, 64-bit CPU: 2 x 2.2 GHz, 8 GB of RAM

    Best regards

    Yves

    Hi Yves,

    I could feel it can only fool you if you copy the rootclip of your source fla and paste it in your target fla. This is unnecessary and will create an active duplicate folder if you enable time author shares for the rootclip. (this is because you copied already manually all the elements of the lib in the target fla by sticking the rootclip)

    Instead as I mentioned in my previous post, please create a new symbol of emptiness in the target fla and link to the source fla via author distribution rootclip in time.

    I hope this helps.

    Thank you!

    Mohan

  • In the Air of iOS, which is the path to the included file that exceeds the .fla file folder?

    I have the 'assets' above 'src' folder folder where the .fla file is. The assets folder is included through air iOS publish setting in Adobe Flash Professional CS6, but I'm having trouble accessing it.

    the directory structure looks like this. Main.As is the class of document for my project.

    c: 
      /project
        /assets
        /bin
        /lib
        /src
          /Main.as
          /Main.fla

    Now, if the project was a project of action script, I can normally access the assets folder using a path like "... / assets. But it says in the Air for iOS project, that the file is not there.

    In the iOS Air publish setting window, it indicates the path to the included file is 'c:\project\assets' while when I move the active folder under folder src, he says just 'active' and then it can be accessed simply by using a path like '\assets '.

    Does anyone have an idea where the included file?

    It was that I had to simply put "/" in front of the track. I was able to access the directory of iOS using ' / assets "instead of just"active "... I still need to use ' c: / project/assets "to access the directory from my local pc from my directory the document root is ' c: / project/assets/src" but I guess that's no big deal. Thanks for your advice.

  • Need help with lack of FL libs

    I work in Flash Pro CS5 to develop mobile applications. When I try to import some of the libraries 'fl', I get errors. For example:

    Import fl.motion.MatrixTransformer;

    Gives error: 1172: definition fl.motion is not found

    When I type the import and get the AutoComplete suggestions, the only fl libs available seem to be the following:-

    accessibility

    containers

    controls

    kernel

    data

    events

    LivePreview

    managers

    I seem to be missing a number of usual suspects.

    My previous installation of CS4 allowed access to bookstores. Is it possible to access them?

    fl libraries should be available automatically, but you can link manully to AS3 libraries by setting one source path in "actionscript settings." on my pc the folder root of libraries is C:\Program Files (x 86) \Adobe\Adobe Flash CS5\Common\Configuration\ActionScript 3.0\projects\Flash\src this is what happens in the source path

    If the files are not on your machine then I guess you'll need to reinstall cs5

    I guess that its an AS3 fla?

  • El Capitan permissions bad for lib with multiple users

    On my Mac with multiple users and running El Capitan, I encountered a problem with an application (GoGlobal) failed to start with "errno = 13", which is a problem of permissions with usr/local/lib /.

    I determined that on Yosemite, usr/local/lib was owned by root and permissions: drwxr-xr-x. However, on El Capitan, usr/local/usr / local / lib lib is owned by one of the nicks (random?) and has permissions drwx-, which is the source of the errno = 13.

    I got around the problem by chmod 755 to lib /, but I fear that a future update will reset these permissions impassable previous values. Please correct these settings in install and update routines.

    GoGlobal isn't a request to Apple. You can send your message to the developer, who develops not only the Application itself, but the installation script that puts in place of its components.

  • script stopped replying to the questionnaire chrome://tavgp/content/libs/include.js:2449

    Does anyone else get this problem? Happens to me a lot too many times a day I get the script has stopped responding error chrome://tavgp/content/libs/include.js:2449 I have to stop the script but I often have to restart my laptop so that he could respond as sometimes it freezes just everything, even the Task Manager cannot close firefox sometimes, other times stop the script works but then leaves just so slow. Can anyone suggest anything?

    There's more information on how to actually get rid of the "AVG Free" extension by reinstalling "AVG Free" without the Link Scanner component.

  • Opening of firefox gives this message: Script: chrome://tavgp/content/libs/include.js:595 see details

    A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script ends.

    Script: chrome://tavgp/content/libs/include.js:595

    Only happened when I upgraded from version 4 to version 5.
    I uninstalled version 5 and returned to version 4.

    Have now tried 5 again, but still the message returns.

    Note the tavgp has 'avg '.

    AVG Safe is stuck in the red list

    https://addons.Mozilla.org/en-us/Firefox/blocked/
    in fact, the red list was already mentioned.

    If the first answer solved your brand please issue as resolved.

  • This script's bothering me: Script: chrome://tavgp/content/libs/include.js:595. How can I fix?

    When I run mozilla, mozilla does not open because this script.
    Script: chrome://tavgp/content/libs/include.js:595
    worried about the computer. After the computer asks me to stop this script, mozilla opens, but I have to wait for a long time.

    Help, please!

    Robert

    You must disable the "AVG Safe Search" so that that to go that it is related to "AVG FREE". See problematic Extensions, you don't want the extension is running, you must at least disable the extension. To avoid future problems, you must reinstall AVG Free without the link scanner component such as mentioned in the comments related to

    http://KB.mozillazine.org/Problematic_extensions
  • I have problems with PDFs - something about a script being busy (chrome://tavgp/content/libs/include.js:595 with Firefox 5

    After Firefox 5, whenever I call a pdf file, I have a delay of about half a minute followed by the message "a script on this page may be busy, or it may have stopped responding." You can stop the script now, or you can continue to see if the script ends. The script is chrome://tavgp/content/libs/include.js:595. I don't know if it's Google Chrome, but I do not use Chrome on this computer. I han stop the script, but it happens every time. By clicking on "don't ask me" does not help.

    This problem may be caused by an extension of AVG (tavgp) that is not working properly.

    See:

  • When you start firefox, I get a mention: script is busy or does not respond. script: chrome://tavgp/content/libs/include.js595

    Script: chrome://tavgp/content/libs/include.js:595

    Which indicates an extension does not work properly, perhaps that of moy.

    1. Open the Add-ons Manager (click the Firefox button and then click on Add ons)
    2. On the Extensions Panel, if you have any add-ons AVG, click it to select it, then click on turn off
    3. Restart Firefox to see if you get is more the error

    If you do not have AVG, you can repeat the above process with other extensions. For more information on troubleshooting of this see https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • I get this message when you try to start the firefox4 Script: chrome://tavgp/content/libs/include.js:595 and after clicking on ok, it takes long time for firefox open

    When I click on the firefox icon, the minutes pass and this is displayed: WARNING: unresponsive script: Script: chrome://tavgp/content/libs/include.js:595. iClick continue and again, after a minute or so firefox 4 starting ithen get a message: TypeError: components.classes['@ [cid] is undefined

    It is a problem with the AVG Safe Search toolbar.

    See:

  • I get a Debug error message: [Exception... "No node is not found" code: "8" nsresult: "0 x 80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://ffebayhot/content/lib/Extension.debug.js line: 366"] using Vista. "." I do not understand how to remove t

    Whenever I try to use google for a search, I get the error msg following Debug error: [Exception... ["No node is not found" code: "8" nsresult: "0 x 80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://ffebayhot/content/lib/Extension.debug.js line: 366"]. I saw the solution proposed to MS XP, but not for Vista. In addition, while I saw the solution, I need more explicit instructions on how to "remove the ebay extension.

    This has happened

    Each time Firefox opened

    == When I try to load google Firefox, I get the error error Debug message: [Exception... ["No node is not found" code: "8" nsresult: "0 x 80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://ffebayhot/content/lib/Extension.debug.js line: 366"]

    Tools-> Add-ons-> Extensions

    At the top of the Firefox window, click the Tools menu and select Add-ons. Modules window appears.
    In the window modules, select the Extensions Panel.
    Select the module you want to uninstall.
    Click on the button uninstall. When you are prompted, click on uninstall to confirm.
    Then restart Firefox.

    Read here:
    #How uninstall the extensions and themes | Uninstall the extensions

  • Why the iCloud iPhone backup Photo lib is so great?

    Settings-> General-> storage & use-> iCloud iCloud, manage-> backup storage, this iPhone-> watch photo library to use 2.9 GB.

    I have only a few pictures in Photos.

    Settings-> General-> storage & iCloud use-> storage, manage storage-> Photos & camera shows use 1.4 MB.

    What else is included in the backup of the library that makes it so great?

    My config: iPhone 6, 16 MB, IOS 9.2.1

    Settings-> iCloud-> options for Photos:

    iCloud library picture OFF

    My Photo Stream WE

    Upload Photos of burst off the COAST
    iCloud Photo Sharing ON

    I deleted the backup, turned iCloud backup on again., and did a manual backup that seems to have solved the problem. The iPhone backup uses about 100 MB now that is what I expected. I'm still puzzled why he thought he needed 3 GB to save the picture before Lib.

  • iPad music Colocation - can't see any other shared libs on ipad

    I installed the roommate on my MBP and it seems that I have HS setup on my iPad BUT my iPad plays dumb-dumb and do not allow me to see the other libs, iTunes. There is no reason why this lark HS shouldn't work, I even disabled the firewall on my MBP but when same, dead as a dodo on the iPad.

    Pathetic! Pathetic! Pathetic! I had a hunch that maybe because I have no music on my iPad that stop me "roommate" mac to the iPad. It's true! Can you believe that people's Party? I had a single track on my iPad to budge on this. I do not see why this should be, and I think it's pathetic. Surely, when trying "homeshare" and no track resident on iPad, a wee dialog box appears to inform the user of the facts before "sharing." Nope. This little tiny piece of information that would allow an unlimited number of users was not coded by Apple developers. Idiots!

  • Use of niScope.lib in VS2015

    I try to use niScope 4.1 in VS2015 (C++, Win7 64 bit), but I got error "niScope.lib (glu32.obj): error LNK2001: symbol external _sprintf pending. The same code can run under VS2010.

    Anyone know how to solve? Either niScope cannot be used in VS2015?

    Thank you.


Maybe you are looking for

  • MousePoint plugs for Sam 4060XCDT

    In Wiltshire where can I buy Mousepoint Caps for my old 4060XCDT Satellite?I think that the Toshiba part number is: P000257680.

  • Transfer sms Lenovo S650

    Hello I recently bought a Lenovo s650, up to now, it has been good. But I need to transfer sms messages from my old Samsung S Duets for this new phone, which is the best method, or app, to do this? Thank you Edwin.

  • HP Pavilion g6-2237tu drivers for Windows 7

    I have the HP Pavilion g6-2237tu, drivers on the Web site are only for windows 8 and 8.1. I went down to windows 7 and I can't seem to find these drivers anywhere. My PC is completely useless at the moment, there is no internet conectivty, graphics d

  • Windows Explorer does not respond, the applications do not open, System Restore does not work. Help!

    Hello, my computer is having a lot of problems, which started last night. Here are the things that are run: -Windows Explorer does not respond-Computer cannot disconnect correctly: down/restarts when I close the computer says "disconnect" for hours.-

  • Configure the PIX 501 for IDS

    I have a PIX 501 with wired high-speed LAN headquarters inside and outside. Which would be a solid policy IDS to enable and what interfaces it must be applied to? There will be other measures necessary to enable IDS?