External JS File

Well, I got into DW quite a bit today. Spent lots of time figuring out how <br />to do things I do in GL.<br /><br />However, this one got me: I searched help to no avail. Does DW have a way to <br />automatically put the JS for the behaviors you use in a separate JS file <br />like GL does with its actions? Is there a manual way, if not? I can't see <br />having the same script in each page.<br /><br />(PS: never did find the pick-whip <smile>)<br /><br />~Nick

>The fact that GL adds every single action you got to the CSScriptLib.js file (for reasons I don't understand) which sometimes generates conflicting code
The auto-flattening of the library in CS2 handled this OK, I think.
>people forget to upload the new version of the file after they have edited the actions and/or added new ones
Indeed they do. Just as they sometimes forget to upload images used in a page and then wonder why the images do not show up! Dreamweaver already asks by default if you want to Put Dependent Files when you upload a page (files linked to by the page). Of course, you can switch it off if you wish. You then take responsibility for making sure you upload any files required by your page yourself.
At bottom, I just think that being able to move javascript (and more specifically, javascript written for you by DW through its behaviour mechanism) from inline script elements to an external file should be an option available, just as you can now move inline CSS to an external file from the CSS panel.
I'm sure we might all have different ideas about how to implement it, but it seems like a good thing to be *able* to do :-)
John

Similar Messages

  • External Drive Files Not Showing Up on Mac but files do shows Up on PC

    External Drive Files Not Showing Up on Mac but files do shows Up on PC
    i had the Ex HD for about 3 years running smoothly on my mac but recently everything disappeared. plunged it into a pc to see if it read my files and it did. what can i do? to make it work on mac again. i don't want to reformat that drive because i have important applications (DMG) and other zip photo video files in the drive.

    yes. i did.
    ...i have tried "verify" & "repair" but they didn't pass the san test. and when i "unmounted/mount" a error message popped up say that there is a application running off the drive but there nothing (i see) running, to close all activity

  • How can I find Bitlocker External Key File location?

    My Windows 8.1 PC includes a system drive and data drives. All the drivers were encrypted using Bitlocker with the data drives set for autounlock. 
    I recently decrypted the system drive (without decrypting the data drives) and reinstalled the OS, after which my data drives required the Bitlocker recovery key to unlock. 
    However, I had "backed up" the recovery keys to my Microsoft account but now I can find only the recovery keys for the system drive. The recovery keys for the data drives cannot be found on my Microsoft account. 
    I have tried to use the "manage-bde" command at the console to obtain the recovery password but I am only getting the Numerical Password ID and the External Key File Name. Can anyone provide advice on how I can retrieve the passwords or the
    External Key File location?
    Thanks.

    Hi Ridgewood,
    As my point of viewer, the BitLocker Automatic unlock volume is also protected by BitLocker Disk Encryption. The user encrypted information is stored in the registry and volume metadata. After a user unlocks the operating system volume, BitLocker uses the
    encrypted information to unlock the data volume automatically.
    After the reinstallation of the system, the encrypted information is lost and BitLocker can’t unlock the data volume automatically.
    Every volume has own recovery key.
    As mentioned in your post, the data drive require the recovery key to unlock.
    I suggest you to double-check the OneDrive and try to find out where did you store the recovery key.
    If you can’t find the recovery key, we can’t help you to decrypt the data volume.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Need advice on retrieving Bitlocker Key or External Key File Location

    My Windows 8.1 PC includes a system drive and data drives. All the drivers were encrypted using Bitlocker with the data drives set for autounlock. 
    I recently decrypted the system drive (without decrypting the data drives, <very bad>) and reinstalled the OS, after which my data drives required the Bitlocker recovery key to unlock. 
    However, I had "backed up" the recovery keys to my Microsoft account but now I cannot find them. 
    I have tried to use the "manage-bde" command at the console to obtain the Recovery Keys but I am only getting the Numerical Password ID and the External Key File Name. Can anyone provide advice on how I can retrieve the recovery passwords
    or the External Key File location?
    Before I had set the data drives to autounlock I had used a recovery password to unlock the drives. However, now when I try to unlock the data drives only the recovery key (which I don't have) is being requested not the password. 
    Thanks.

    Hi HMcBean,
    How did you back up the BitLocker recovery key? To local computer, flash driver or Microsoft account?
    If you backed up the recovery key to a Microsoft account, please refer to the following article to find it.
    http://windows.microsoft.com/en-us/windows-8/bitlocker-recovery-keys-faq
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Mixing external wave file into video

    I've recorded a video including sound of a mandolin being played.  At the same time I recorded the sound with my external recorder which resulted in a wave file of better quality that the sound from the camera.  I would like to import the video and the externally recorded wave file into a project, line up the external wave file with the sound recorded by the video camera and then delete the sound recorded with the video camera so I end up with a video that has the sound from the external recording system.  Any recommendations on a good approach to accomplishing this task?

    There's information here about how to use the new merged clips features in Premiere Pro CS5.5 to merge the audio from an external source with the video from the camera.

  • Unable to embed External CSS file, dropdown list,filter panel and dimension filter are not working in SAP Design Studio Tool

    Hello Everyone,
    I am new to SAP Design Studio. I am working on creating dashboards and I am using Design Studio 1.2 version. Please suggest some solutions for the following issues. Thanks in Advance.
    1. External CSS file which is embeded using custom CSS option under "application component properties" is not working.
        * I kept the external CSS file inside repository-> my application folder.
    2. During runtime, getting javascript error while selecting '-' option from filter panel.
    3. Unable to select or type dimension name under "dimension filer component" properties.
    4. Getting runtime error for dropdown list, and I have inserted the following code under "onStartup" option of Application component properties.
    "DROPDOWN_1.setItems(DS_1.getMemberList("PRODUCTREF", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 20));
    and dimension values are not populated in auto suggest."

    There should be an Error Log under View > Error Log that gives you more details of these errors.  Could you add that?  There is also a View > Script Problems log that provides more details as well.

  • Find Change through external text file

    Hello folks
    I am bit pretty in InDesign scripting so could you please look into this.
    How can i change any particular text field in Indesign CS3 document from text file.
    I do have find change script but for each InDesign document specific text file is assigned.
    So each time i have to modify find change GREP property that is also repetetive of work. Is there any way to get find change information should be extract from external text file.
    Many Tanks in advance

    In the FindChangeByList script, you could customize the function myFindFile(myFilePath) {...} as to search the FindChangeList text file in the document location rather than the script location. That's an example. The question is: given a document, where will you have the corresponding FindChangeList?
    @+
    Marc

  • How to load and unload more than one external swf files in different frames?

    I do not have much experience on Adobe Flash or Action Script 3, but I know the basics.
    I am Arabic language teacher, and I design an application to teach Arabic, I just would like to learn how to load and unload more than one external swf files in different frames.
    Thanks

    Look into using the Loader class to load the swf files.  If you want to have it happen in different frames then you can put the code into the different frames.

  • How can I set connection to external XML file with Dreamweaver to buiild AIR app?

    Hello,
    I try to do simple AIR app in dreamweaver. It's not problem
    to use static data. But I'd like to use dynamic data from external
    XML file. I try to use Spry and evrything works fine in web browser
    but i have problem with loading external XML data into my app in
    AIR. Can I simply transform my spry based html app into AIR?
    What should I add to do this?
    Pawel

    Daniel Lichtenwald wrote:
    What are the requirements and steps for arranging to receive this large file using File Transfer Protocol (FTP)?
    Usually, we don't speak of "receive" when using FTP, since the file is transferred from server to client, so it's more of a case of "download".
    At your end, it's simple. You use an FTP client; under SL, that includes Finder and Safari, so you don't even need to get any additional software.
    At the other end, it's more complicated; the 'sender' must set up an FTP server on his machine.
    Alternatively, you can set up your own Mac as an FTP server, and have the 'sender' connect to you with an FTP client and upload the file; but, if your Mac lives behind a router, then you have more work to do with the router settings.
    That's why it's much easier to use the file sharing services mentioned above -- if they are available in both sender's and receiver's locations. (Keep in mind that some countries block access to all those mentioned -- except perhaps <www.transfer.ro>, of which I know absolutely nothing.)

  • FAQ: How do I load an external SWF file into a parent SWF file?

    A ton of Flash users visit Adobe’s we site every month wondering  about how to load an external SWF file from within another SWF.
    Adobe's own TechNote on the subject attempts to answer the basic question, along with some common follow-up questions, including:
    How do I load more than one SWF?
    How do I load a SWF into a specific location in the display list?
    How do I resize the loaded SWF?
    How do I set its X and Y location?
    Here are some additional resources that elaborate on loading content and on working with the display list:
    Sample files for the above TechNote. A set of 3 FLA and 3 corresponding SWF files, including a parent SWF and 2 SWFs that the parent loads.
    Help > AS3 Developer’s Guide > Loading an external SWF file
    Help > AS3 Developer’s Guide > Loading display content dynamically
    Loading multiple external SWFs within a main SWF – CreativeCow.net forums
    Video tutorial: ActionScript 101 – Episode 6: Adding named objects to the Stage. By Doug Winnie. An example of how to add the loaded external asset to the Stage and modify its location or other properties.
    Video tutorial: Preloading in ActionScript 3.0.  By Lee Brimelow. A slightly more complicated example, showing how to  make the parent SWF display information about the progress of loading  the external SWF.
    Tutorial: Loading and unloading SWFs - FlashAndMath.com
    This article provides several examples of how to communicate between a parent SWF file and the loaded SWF:
    SWF to SWF Communcation via ActionScript 3.0 (by kglad)

    quote:
    Originally posted by:
    NedWebs
    You now seem to want to get rid of the swf once it has loaded
    and played itself thru. To do that you would need to have something
    in the swf itself that triggers its removal in its last frame. The
    following might work...
    MovieClip(this.parent).removeChild(this);
    Unfortunately I couldn't get this to work. I placed it on the
    last frame of the SWF to be called - is that right?
    I am not sure I am doing it correctly...

  • Hello, I have two questions on time capsule  I can only have it on my external hd files and free up my internal memory to my mac  I can use an external hard drive, in my case a lacie rugged as shared memory for my two computers

    Hello, I have two questions on time capsule  I can only have it on my external hd files and free up my internal memory to my mac  I can use an external hard drive, in my case a lacie rugged as shared memory for my two computers

    I have a mackbook pro and an iMac if I buy a time capsule 2tb airport, I can use it with time machine and what would be the best way to use it.
    There is no particular setup required for TM.. both computers will create their own backup sparsebundle which is like a virtual disk.. Pondini explains the whole thing if you read the reference I gave you.
    and how to use time capsule airport whit other external hd to use my old lacie airport with the new time capsule
    Up to you.. you can plug the external drive into the TC and enjoy really slow file transfers or you can plug it into your computer and use it as external drive.. which is faster than the TC.. and TM can include it in the backup.
    Again everything is explained in the reference.. you are not reading it.

  • How do I find the width of an external swf file that I am loading in

    I have loaded in an external swf file and it works fine.
    However, when I get the width dimensions of the movieclip that is housing the external swf file it gives me a '0' for the width.
    Thanks for your time.

    you must wait until loading is complete before trying to access the loaded objects width.  at that point you can determine the width,height of the onstage/backstage objects in frame 1 of the loaded swf.

  • Add one character at  a time from External Text file

    Hi,
    I'm using Flash 8, and I have created a standard Dynamic
    field that pulls the text from an external text file using the
    LoadVars function and it works fine.
    To get the correct effect for the design, I would like to be
    able to create the illusion that the characters are being typed out
    when the page loads as if someone has started typing and also hear
    the "Typewriter Clack" each time a character appears.
    The only place I have found an example is on the Syphon
    Filter Game website which seems to have created the illusion
    perfectly:
    http://www.syphonfilterdarkmirror-thegame.com/en_IE/
    (Check out the bottom right section)
    I could create a Movieclip and add a character each frame
    but, I would like to be able to edit the text when required via a
    text file or even ASP or PHP if neccessary.
    Any help would be grateful.
    Cheers

    or here:
    http://www.actionscripts.org/tutorials/beginner/Scripted_Typerwriter/index.shtml

  • Is there a way to import Raw files into LR catalog ..including..any edits performed in an external raw file editor such as Capture One?

    Is there a way to import Raw files into LR catalog ..including..any edits performed in an external raw file editor such as Capture One?
    I can import the Raw file successfully but cannot see any edits that were applied in Capture One. Im assuming no but just checking.

    Your assumption is correct, Capture One, Lightroom and other third party raw processors have their own proprietary processes and profiles for rendering the raw data.
    They do not make permanent changes to the raw data and store the changes to an .xmp file or to a catalog file like Lightroom.

  • How to view data in Xcelsius from an external Excel file

    Hi Everyone,
    i wonder if you know How to view data in Xcelsius from external Excel file and not depend only on the emebded excel sheet.

    Hi,
    As per my understanding, excel has to be imported in Xcelsius to draw up the dashboard. Your aggregated data sits in the xlf file. Using an external excel file will not be possible (I guess).
    One of the ways to connect to an external excel, is the use XML Maps but then your data has to be in the form of XML which will be pulled into excel first and then needs to be brought in Xcelsius using Data Manager.
    You can explore XML Maps in xcelsius in SDN.
    Regards
    Nikhil

  • Opening an external PDF file

    I am using an application called PdfName.exe to open an
    external PDF file, this application just runs and opens the file. I
    configure this app correctly and put it on an fscommand folder and
    when I double click it it open the file I need. However when I try
    to open it with a button on my Flash presentation using the
    following ActionScript
    on (release) {
    fscommand ("exec", "PdfName.EXE");
    it fails, it opens the application just fine but it can't
    find the PDF anymore, which btw is in an external folder to
    fscommand (i also tried inside fscommand\)
    any ideas?
    any other way to open the PDF?

    http://jstart.flashjester.com
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. - www.flashjester.com
    "This has been one of the most impressive and thoroughly
    pleasant
    experiences of customer support I have ever come across -
    astounding!"
    Director - hedgeapple

Maybe you are looking for