Createjs Toolkit naming bug

Hi,
I have a whole load of images with '_' in their name. Toolkit doesnt seem to like this. The Bitmaps instances have the correct name e.g.
(lib.my_really_long_name_with_underscores = function() { this.initialize(img.my_really_long_name_with_underscores); }).prototype = p = new cjs.Bitmap(); p.nominalBounds = new cjs.Rectangle(0,0,217,262);
But the parent movieclip references this instance without the 'underscores': e.g:
this.instance_1 = new lib.myreallylongnamewithunderscores();
Seems like its stripping them when it shouldn't. It wouldn't be a problem if i didn't have a need for really long descriptive file names...
Is there any way I could edit the JSFLs in toolkit as I'm sure i could be fixed quite simply.
Thanks.

rename the toolkit mxp file extension in zip and take a look inside.

Similar Messages

  • Text exported using flash createJS Toolkit - embedding fonts, @fontface?

    Hi,
    A text box in flash contained in a movieclip "MyTxt_mc" exported as per createJS toolkit results in lines in CreateJS script as :
    (lib.MyTxt_mc = function()
    { this.initialize();
    //text
    this.MyTxt_txt = new cjs.Text("The actual text", "30px Arial");
    this.MyTxt_txt.textAlign = "center";
    this.MyTxt_txt.lineHeight = 32;
    this.MyTxt_txt.lineWidth = 205;
    this.MyTxt_txt.setTransform(102.5,0);
    this.addChild(this.MyTxt_txt,this.shape);
    Is there a way to insert getting web fonts from online libraries or from a font file held on the server? As I wish to use other than Arial or default device fonts.
    I've read up about @fontface, but that's a little puzzling as to how to apply it to the flash - html5 output.
    Help for how to / best approach and exact syntax would be greatly appreciated.
    Regards
    Steve

    Tried replacing the Arrial Narrow font with a different one
    from another coworker. Still no dice.
    Tried repairing permissions. Nope
    Tried making a new user and checking it there. Nope.
    Moved the font from my Library to the system wide library.
    Bupkiss. (Is that how it is spelled?)

  • Flash Pro CC not showing createjs Toolkit under Window menu as presumably it should

    I'm using Flash Pro CC on a Dell workstation and not getting the createjs Toolkit panel under Window menu, (when i know it should be, right under the Motion Presets according to others' testimony).
    I tried using Flash Pro CC update to fix the issue but it's not fixed.
    Assistance would be appreciated.

    http://forums.adobe.com/thread/1353942?tstart=0

  • 5.4 Adjustment brus bug + File export naming bug

    There appear to be two bugs in 5.4
    1. I just finished editing an intense adjustment brush edit. I went to tweek it when I opened the brush there are no pins to activate even though the edits are there.
    2. Export file naming not working correctly. I always use export "Title plus file number" or "Custom name - original file number" Neither of these exports include the file number.
    3. Did 5.4 change somthing in the configuration settings. If not, is there a way to restore 5.3 until these bugs are fixed.
    Jim

    Regarding item 1, the pins can be visible or not visible or conditionally visible.  The option to do this is at the lower left of the tool-options bar available when you press the T key to toggle it on and off.  If you feel your pin-visibility options are set properly, please show a print-screen with the pins not there and the pin-visibility options set to Always.
    Not sure about item 2 as I don’t use it.

  • CreateJS Toolkit for FLASH CC

    When are you guys planning to realease the toolkit to be compatible with Flash CC? I just upgraded to the cc version and can't install the toolkit which i use on a daily basis.
    Thanks

    Hi GraphicsGeezer, As I mentioned in my previous post, the toolkit for createJs extension is no longer present when you update to Flash Pro CC - 13.1.X build versions. This capability is now part of a new document type called "HTML5 Canvas". Once you create thsi docuemnt you will be able to publish using the createJs libraries from your regular publish dialog itself.
    Some references:
    http://blogs.adobe.com/flashpro/2013/12/15/actionscript-to-html5-flashpro-cc/
    http://blogs.adobe.com/flashpro/2013/12/18/actionscript-to-html5-flashpro-cc-2/
    http://hemanthkumarr.wordpress.com/2013/12/03/getting-started-with-canvas-and-create-js/
    http://hemanthkumarr.wordpress.com/2013/12/03/flash-pro-cc-updated-to-13-1-and-adds-native -support-for-html5-canvas-export/
    http://hemanthkumarr.wordpress.com/2013/12/03/what-is-this-html-canvas-document-in-flash-p ro-cc-13-1/
    http://hemanthkumarr.wordpress.com/2013/12/11/how-to-avoid-out-of-memory-javascript-error- on-publishing-html5-canvas-doc-in-flash-pro-cc/
    http://hemanthkumarr.wordpress.com/2013/12/19/converting-action-script-flas-to-html-canvas -flas-in-flash-pro-cc/
    -Sujai

  • Flash Pro + createjs toolkit (dynamic button issue)

    Hi,
    I have been using the toolkit for awhile, it seems to work well, but I noticed a issue.
    When you create a Button and place it on stage and export it it works fine.
    But if you try to do this:
    var container = new createjs.Container();
    var button;
    for(var i = 0; i < arr.length; i++){
                                  button = new lib.MyButton();
      container.addChild(bitmap);
    stage.addChild(container);
    It goes crazy looping through the button's states (up, over, down, hit), and if you put button.stop(); it loses it mouse over and mouse down. (will have to manually control)
    I want to dynamically create buttons to add to the stage.
    Any ideas?

    Looking through the generated js code, I noticed this line
    new c.ButtonHelper(button, 0, 1, 2, false, new lib.MyButton(), 3);
    This did the trick.

  • CreateJS Toolkit Feature Request

    Hello,
    Does anyone know where to make such requests? The toolkit does not export symbol names, which I find to be very limiting since the CreateJS API supports the name property for symbols. I'd like to request that this be added.
    thx

    HI Guys,
    Toolkit indeed exports library symbols with the AS-Linkage names specified.If no as-linkage names are present mc's are exported with their names.
    Even instance names of the move clips are exported.It’s also important to note that the JavaScript code does not have an implicit scope, so while you can simply write "instanceName.width" in ActionScript, you need to use "this.instanceName.width" in JavaScript to specify the scope .
    For more info ,check out
    http://www.adobe.com/devnet/createjs/articles/getting-started.html
    http://www.adobe.com/devnet/createjs/articles/using-flash-pro-toolkit-createjs.html
    Here is a video about pratical usuage of Create JS in Banner Ad's
    http://tv.adobe.com/watch/max-2013/converting-ads-built-with-flash-professional-to-html/
    Here is Grant himself giving a walkthrough on how to start buidling greate content using Toolkit
    http://tv.adobe.com/watch/max-2013/createjs-building-rich-interactive-experiences-in-html5 /

  • New Toolkit.getLockingKeyState() bug!

    I'm aware of the current bug for Toolkit.getLockingKeyState(), but in that bug, it appears that the user is trying to get the state after a call to Toolkit.setLockingKeyState(). In my example, I'm setting the key state outside of the Java app (when the window is "deactivated". Upon window reactivation, I'm attempting to read the key state. If the key state is "false" when the application starts, and changes to "true" at any time when the application is deactivated, getLockingKeyState will always return "false" regardless of the key state
    In case I'm unclear, because I'm feeling very tired at the moment, try this class, and run it with the caps lock OFF. click inside and outside of the application and watch standard out. You'll get "caps lock = false" each time the application is activated. now, make sure the app is not activated, and turn the caps lock ON. click inside the window to activate the app. Notice that the message "caps lock = false" is still displayed in standard out every time the application is activated.
    Note that if you change the caps lock state while the application is focused, then it seems to be registered with the toolkit. Is this a bug, or is this expected? If it's expected, how can i get around this?
    Here's my simple code:
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.event.KeyEvent;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.JFrame;
    public class LockingKeysDemo {
         public static void main(String[] args) {
                     JFrame frame = new JFrame();
              frame.setPreferredSize(new Dimension(200, 200));
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.addWindowListener(new WindowAdapter() {
                   public void windowActivated(WindowEvent e) {
                        System.out.println("caps lock = " + Toolkit.getDefaultToolkit().getLockingKeyState(KeyEvent.VK_CAPS_LOCK));
              frame.pack();
              frame.setVisible(true);
    }

    Note that if you change the caps lock state while the application is focused, then it seems to be registered with the toolkit.It seems that the generation of a KeyEvent within the application causes the locking state to be updated. Check out this hack that uses a Robot to generate a key event when the frame is activated resulting in the updating of the locking state:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.JFrame;
    public class LockingKeyDemo
        static Toolkit kit = Toolkit.getDefaultToolkit();
        public static void main(String[] args)
            JFrame frame = new JFrame();
            frame.addWindowListener(new WindowAdapter()
                public void windowActivated(WindowEvent e)
                    System.out.println("caps lock1 = " + kit.getLockingKeyState(KeyEvent.VK_CAPS_LOCK));
                    try
                        Robot robot = new Robot();
                        robot.keyPress(KeyEvent.VK_CONTROL);
                        robot.keyRelease(KeyEvent.VK_CONTROL);
                    catch(Exception e2) { System.out.println(e2); }
                    System.out.println("caps lock2 = " + kit.getLockingKeyState(KeyEvent.VK_CAPS_LOCK));
            frame.addKeyListener( new KeyAdapter()
                public void keyReleased(KeyEvent e)
                    System.out.println("caps lock3 = " + kit.getLockingKeyState(KeyEvent.VK_CAPS_LOCK));
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(200, 200);
            frame.setLocationRelativeTo( null );
            frame.setVisible(true);
    }

  • Edit Naming Bug

    Just tried to edit a file name after editing in PS.
    God it's painful to do, even after you work out how on earth to do something that is normally so trivially easy.
    LR imports and displays a file called say
    "2007-03-15 Betty 004 Provia+Lomo-ed.psd"
    no problem, yet when I try to edit it to read
    "2007-03-15 Betty 004 Provia + Lomo-ed.psd",
    LR changes it to
    "2007-03-15 Betty 004 Provia @ Lomo-ed a [email protected]",
    Edit name again and I get
    "2007-03-15 Betty 004 Provia @ Lomo-ed a bit@[email protected]"
    where the @ symbol is actually a crossed out box in LR. ??????!!!!
    Now after a bit of playing around, I discover that if you edit an name, LR adds extention automatically, even if it's aready there. Duh! So, if you edit a filename to correct a typo you also have to remember to delete the extension as LR adds it automatically. Not only that, undo doesn't correct the extention bug even though it corrects the name edit.
    I assume it was thought by the designers, if you are going to edit a name, you replace all the name and do not have to worry about the extention. Obviously, nobody ever changed their mind or spotted a typo when designing this feature. Bridge allows single file reanming/editing simply and elegently. LR + Bridge are made by the same company aren't they?
    Yet again LR takes a normally very simple thing, overcomplicates and breaks it and not only that, does it differently from other Adobe apps which weren't broken.
    Plus - why can't I have a '+' sign in my file names or a ',' for that matter, they've worked until now with no problems. Are vowels going to be forbidden next?

    Thanks for your reply Justin. I know how to name "audio objects" I've done it many times... but now with this new feature, where logic does it automatically, it does not seem to work properly. When I type in the name I want to be displayed, it does not change in the arrange window, as it used to, and should still. Anyway thx for your response.

  • More than 1000 photos - iPhone naming bug???

    I have more than 1000 pictures on my iPhone. When I tried to import them onto my Mac using iPhoto I realised that for some reason iPhone names the pictures incorrectly.
    Instead of going from 0999 to 1000 Phone goes from 0999 back to 0000. It appends the file name with "_2".
    Is this a bug?
    I keep all my iPhone pictures organised in a separate folder rather than use iPhoto.
    This means that I have to rename all the new photos above 0999. Very annoying.

    It doesn't make sense to provide 4 digits and then jump back to zero after using up three of them.
    I don't see the problem in keeping 1000+ photos on the iPhone - however, I do back them up very regularly.

  • Export file naming bug

    If the version name of an image is empty and you export that image and select Name Format as 'current version name', Aperture will do the export and the resultant file created has only the filetype extension as is name. The finder under normal conditions will not show the file because it appears as a hidden file.
    Message was edited by: Frank Caggiano
    Reported to Apple 12/22

    Regarding item 1, the pins can be visible or not visible or conditionally visible.  The option to do this is at the lower left of the tool-options bar available when you press the T key to toggle it on and off.  If you feel your pin-visibility options are set properly, please show a print-screen with the pins not there and the pin-visibility options set to Always.
    Not sure about item 2 as I don’t use it.

  • OfflineRT Media Naming bug

    We've had a real problem since upgrading from FCP4 where Media Manager now names files differently- For example, If we use media manager to make an offlineRT version of a project, it renames files IF THEY HAVE A period (".") in the file name. For example "myclip.004" becomes "myclip.004.004" whereas "myclip004" would simply be "myclip004" This is very irritating because it means that projects do not link back correctly.
    Can anyone offer any hints os to how to get FCP to stop doing this!
    Thanks-
    Adam

    You can drop Apple a line using the Feedback link at the top of the main page of the FCP forum.
    Otherwise, just use an underscore "_" instead of a period "." You get the same effect with no problems.
    cheers,
    x

  • CS4 Bin Naming Bug

    When creating a new bin you cannot see what you are typing until you hit enter. Strange...

    You have to initiate the rename process to be able to see what you're typing. I'm amazed that you even get to rename the clip when you press enter. In other words, creating the bin does not leave the bin name in "edit mode", you have to
    put it in edit mode.
    Cheers
    Eddie
    PremiereProPedia   (
    RSS feed)
    - Over 300 frequently answered questions
    - Over 250 free tutorials
    - Maintained by editors like
    you
    Forum FAQ

  • Folder naming bug

    Two days ago I upgraded to 10.9.2. Ever since then I've been unable to name any newly created folders or change the names of any existing ones. I am logged in as the administrator.

    Does not work for me. Here's what happens; I select the folder. It has two modes: untitled folder" appears in black lettering on grey, or white lettering on deep blue. No editing cursor appears. There is no menu item for renaming from any of the pull down menu bars or in any popup menu.
    I've also done a Get Info on the folder. Unlocked the padlock and still there is no editing of the name possible.
    I have read and write permission.
    There's one exception to all this. I can create a brand new folder and name it to whatever I want. But once I deselect that folder it becomes like all the others, uneditable.
    Very strange and very concerning.

  • Naming bug?

    Has anyone had a problem with the new feature where logic automatically puts the patch name as the tracks name? This is a cool feature, but the problem is it that it does not let you rename the track. So if your exs patch is sawtooth 202354as, or whatever, your stuck with that name. Id prefer to at least have the option to name the track whatever I want. Any solutions to this? thanks,
    Dan

    Thanks for your reply Justin. I know how to name "audio objects" I've done it many times... but now with this new feature, where logic does it automatically, it does not seem to work properly. When I type in the name I want to be displayed, it does not change in the arrange window, as it used to, and should still. Anyway thx for your response.

Maybe you are looking for

  • Report for open process orders

    Dear SAP experts, As the period of the process order from open to close is not short, will take 1 or 2 months in our business case, so we want to find a report which can get the information just like the output of KSPP(for planned orders) . I tried t

  • Submit job in background

    Hi All I have a program with selection screen. The selection screen has Job name as one of the parameters. When I press F8 (Execute), this program should get scheduled in the background with the job name taken from selection screen. How to submit a p

  • Default Entry for Folder & Entry Point

    Hello, What's the difference between the two options ? Thanks for your help

  • WHy is there an error picture on my ipod touch?

    I went to charge my ipod touch and it loaded a new version. Now all I get is a error picture of the round Itunes icon with the cable dangling from it. It turns off but WONT do anything! WHAT DO TO?

  • How do you enable Auto Scroll in a sequence pane, and MIDI devices?

    Hello, I am just getting used to Garage Band for the first time. I am finding that Garage Band is much easier to deal with than Mark Of the Unicorn from a musical standpoint. I am now converting my many MIDI sequences to GB. I have run into these thr