Flash cs5 Flash Pro CS6是否存在这些热键?

Flash cs5 Flash Pro CS6是否存在这些热键?,flash-cs5,flash-cs4,flash-cs6,flash-ide,Flash Cs5,Flash Cs4,Flash Cs6,Flash Ide,1) 当一个符号处于编辑模式时,进入库中下一个符号的编辑 2) 自动将光标放在所选movieClip的“实例名称”框中 据我所知,没有办法在“库面板内部”放置移动用的鞋钉 一个复制和编辑的快捷方式当然很好。我甚至找不到在自定义快捷方式中可以在何处执行此操作 您列出的示例没有快捷键,因为它们不是IDE中的默认任务。也就是说,您可以使用JSFL创建方法来完成这些示例,首先创建一个命令,然后为该命令分配一个键盘快捷键。例如,我将为列表中的第二项包含一个脚本 2) 自动将光标放在选定对象的“实例名称”框

1) 当一个符号处于编辑模式时,进入库中下一个符号的编辑

2) 自动将光标放在所选movieClip的“实例名称”框中

据我所知,没有办法在“库面板内部”放置移动用的鞋钉


一个复制和编辑的快捷方式当然很好。我甚至找不到在自定义快捷方式中可以在何处执行此操作

您列出的示例没有快捷键,因为它们不是IDE中的默认任务。也就是说,您可以使用JSFL创建方法来完成这些示例,首先创建一个命令,然后为该命令分配一个键盘快捷键。例如,我将为列表中的第二项包含一个脚本

2) 自动将光标放在选定对象的“实例名称”框中 电影唇

目前还没有一种方法可以告诉IDE将光标发送到属性面板中的实例名称框,但是您可以使用JSFL解决这个问题。让我们弹出自己的实例名称框

以下是执行此操作所需的代码:

// Assign Instance Name - Andrew Doll

/* This code will provide a prompt for the user to assign an instance name to a selected symbol on the stage. The great thing about using a
// prompt is that the focus is already in the input field of the prompt.  To speed up your workflow I recommend assigning a keyboard
// shortcut to this command.
*/

// Check to see if there is a file open first.
var dom = fl.getDocumentDOM();
if (dom == null)
{
    alert("Please open a file.");
}
else
{
    // Make sure to only select one symbol on the stage at a time.
    if (dom.selection.length > 1)
    {
        alert("You can only select one symbol to assign an instance name to. Please make only a single selection on the stage.");
    }
    // Make sure that you have at least one symbol selected.
    else if (dom.selection.length == 0)
    {
        alert("You need to select a symbol on the stage to assign an instance name.");
    }
    // Make sure that the symbol you have selected is a movie clip or a button.
    else if (dom.selection[0].symbolType == "graphic" || dom.selection[0].elementType != "instance")
    {
        alert("Your selection needs to be a button or a movie clip symbol.");
    }
    else
    {
        // Pop up a prompt for the user to assign an instance name with.
        var iName = prompt("Assign an instance name to the selected symbol.");
        // If the user cancels then do nothing.
        if (iName == null)
        {
            // Do Nothing.
        }
        else
        {
            // Assign the instance name to the selected symbol.
            dom.selection[0].name = iName;
        }
    }
}
将此命令另存为Flash config目录下commands文件夹中的JSFL脚本,然后为其指定键盘快捷键