The state of JavaScript support in Director 11

Hi! I asked this question in several places without any
meaningful feedback, maybe someone around here will shed some more
light on this ;) Ok, here it goes:
It looks that Lingo is the most natural choice for many
Director developers. Even though I have nothing against Lingo, I
prefer using JavaScript to it due to my personal reasons. And I
wonder what's the state of JavaScript support in the new Director?
To be honest, I've always had a feeling that JavaScript
script was added into Director MX in the last minute just before
the release ;) Awkward getPropRef(..), absence of some important
methods available in
Lingo(e.g member(0).model("foo")), fatal errors on the every
tiny typo when working with 3d stuff, etc.
Has anything changed in the new Director? And if no, does it
really make sense to use JavaScript in Director at all?
Can someone around tell me of any serious game(like Maid
Marian) using JavaScript instead of Lingo? How fast JavaScript
virtual machine compared to Lingo? I also have a very strong
suspicion that JavaScript can be a cause of memory leaks when used
improperly, especially in case of closures, any tips on this?
Thanks in advance.

I prefer JavaScript to Lingo as well, mainly because I
learned scripting/programming in
C++/Java/C#/ActionScript/JavaScript. I’ve been using
JavaScript syntax exclusively since MX 2004, and while there are
things you have to work around, like not being able to access
models by name, I’ve had great success with it.
I prefer JavaScript syntax OOP in Director to Lingo Parent
scripts. There are some buggy things to deal with; for instance
I’ve had issues with “static” members
mysteriously becoming undefined, but nothing I’ve not been
able to work around. I use a getMemberByName(memberName,
memberType, w3dMember) function to get around the
“can’t get model/texture/shader etc. by name”
issue. Try/catch has been a huge help. I’ve got nothing
against Lingo, and hope future versions of Director continue to
support it because so many long time users like it. However, as I
said, I’ve not used it for years.
I was lucky enough to get a Director 11 Beta 1.0 CD-ROM
because an associate recommended me for it to Adobe. I wasn’t
a true Beta tester per se, and wasn’t asked to abide by any
NDA. In fact, my inquiries into what my
responsibilities/restrictions were to be went unanswered.
That being said, I’m afraid I can’t offer much to
this discussion; I installed the Beta on my laptop (Vista) the day
I got it but had vacation for two weeks a week after that. The Beta
version was essentially a 30 day trial and while I told myself
“I’ll check it out while on vacation” my wife had
other ideas. I did see that there was a JavaScript dictionary that
mirrored the Lingo dictionary in the script editor, but that there
was no color hinting for JavaScript syntax. In fact that was
pointed out in the documentation. I can’t say if this is
still true in the final version. Everything I tried (author time
and runtime) worked well in Vista, whereas I’ve had a few
problems with MX 2004 and Vista.
I’m unaware of any tweaks to the SpiderMonkey engine or
its implementation in Director, and don’t feel my limited use
of the Beta qualifies me as a reliable source of info on the
matter, especially since I wasn’t able to really run it
through the ringer. I can say that during my limited
experimentation I didn’t run into any issues and that
everything ran smooth… no “a fatal error has
occurred” messages like I too often get now.
On the whole I’m feeling very positive about not only
this release but Director’s immediate future. I’m
getting the durn thing the first week it’s out.

Similar Messages

  • The state of retina support - want a clear and concise answer

    Adobe,
    I realize that digital publishing is probably a very complex and difficult business, and that you're all very busy to get things working properly, and easily, with the amazing Adobe tools we're all used to. However, I have noticed from the start that you're having a bit of an issue communicating with your customers. We're all paying customers - who rely, at least partly, on the DPS to make a living. The help documentation has always been, in my opinion, lacking, but you're getting there. Getting up and running isn't too much of a problem now (except when trying to do more advanced things, like implementing Newsstand - documentation on that is a bit sparse). However, it seems like there's no help documentation or communication at all on the state of retina support.
    I realize that somewhere here, buried in one of these threads, is probably an Adobe employee response that has some useful information. However, I don't want to - and shouldn't have to - scour the forums for this information. The only information I seem to be able to find about it is in the "version 19 release thread". Something about:
    "iOS rendition support
    The new HD iPad model was recently announced. When you use Viewer Builder to create a new app, you can specify icons and splash screens for alternate sizes. Renditions are enabled for iPad devices, letting you create folio renditions at an alternate size. Each iOS model downloads folios that best match the display of the tablet. Adobe will provide an update to the tools and Viewer Builder as necessary to support new devices. We’ll provide more guidelines once we’re able to test the new iPad model. See Create folio renditions."
    Am I to assume this means retina support is up and running? That's what it seems to say, to me. But from what I can tell we can build retina renditions of our issues, but can't build a viewer that actually support them? Anyway, the thread is full of people trying to build retina apps and failing.
    The new iPad has been out for a while now, and really, we should have all received an e-mail on the day it was announced (or at least, released), letting us know exactly where we stand. When retina support is coming, what we need to prepare, how to build retina apps, how the workflow is going to work, etc.
    At the very least I am now requesting an Adobe employee to please make a sticky thread that is maintened and updated with the latest information, regarding retina support and workflow. Please make a clear overview of what we need to support retina in our apps, which tools we need, what updates we need to apply, what kind of workflow we should use to support retina and non-retina iPads. I may be alone in this, I may not be, but I feel like this is much needed, and I feel like at least this much can be expected of you.
    I'm sorry if I'm coming across as rude or overly critical, I don't mean to be. I very much think Adobe is a great company, and I love your software suites. However, I'd prefer not to have to spent hours looking for the information I need buried in forum posts. Having a clear and concise overview of how retina is going to work would save me a lot of time and effort, make the whole experience more pleasant and would allow me to communicate with my customers on what to expect.
    With regards,
    Salomon Meij.

    Looks like I need to use the phrase "retina support" in the documentation. Here are some articles about using DPS to target the iPad 3:
    http://blogs.adobe.com/indesigndocs/2012/03/guidelines-for-creating-folios-for-ipad-3.html
    http://blogs.adobe.com/digitalpublishing/files/2012/03/DPS_iPad3_bestpractice.pdf
    http://help.adobe.com/en_US/digitalpubsuite/using/WS9293e1fb3b977c5c-2337961812e35738f56-8 000.html
    http://help.adobe.com/en_US/digitalpubsuite/using/WS9293e1fb3b977c5c-6e66370112f982025bb-7 fff.html#WS67cb9e293e2f1f60f5f54012e30daf910-8000

  • The state of ID3v2 support in the Linux console

    Being a Windows user that only recently started to gain a genuine interest in adding Linux to my list of proficiencies, my music collection is 90% composed of MP3 files with ID3v2 tags; a sort of expected setup on Windows machines.
    I particularly enjoy the more recent ID3v2 -- as opposed to ID3v1.1 -- because this allows me to store the song lyrics withing the music file. Very useful because it simplifies file management, while removing the need to be online, and many windows players (I use foobar2000) can read all the extra fields in the ID3v2 header.
    For the past days I've been trying to find a console music daemon or player for Linux that fully supports ID3v2. I haven't been able to do so. For some reason that I cannot understand, the norm is ID3v1.1 support. As I understand, the Linux community tends towards the Ogg format which implies 'Vorbis comment'. Unfortunately, 'Vorbis comment' specifications suggest that type of metadata should reside on a separate stream. Which really doesn't make much sense to me when the data is so intrinsically connected to the file as is the case of music lyrics. But specifications are specifications, so I can understand I won't see many developers willing to break them. What I find curious however is why the lack of ID3v2 support. What has been stopping the community from developing full support?

    Indeed foobar2000 is life changing for anyone who comes across it. It's been my player for many years. Excellent news that it is supported under Wine. I don't have the necessary resources to support it under this VMWare setup I'm currently running Arch on. But that will be a probable solution once I fully migrate to a standalone computer. Thanks Orph.
    0mark wrote:PS: As far as i know, there is no common semantic to the extra fields. And then, after switching through some player, you may end up with a lot of fields with alien names and data that hat no obvious meaning.
    The fields are well defined under the standard. Essentially it is all controlled by a header that specifies content and sizes of each frame. Then the frames follow with said content. As long as a player follows the standard, it's just like any other metadata that needs to be implemented (say, Vorbis).
    I'm not really trying to bring a critic here. I confess seeing no support for ID3v2 shocked me. I wasn't expecting that. Instead I trust there's a reason somewhere. It's not of the Linux community in general to squander a standard. Unless... perhaps, there's a general lack of interest because ID3v2 has really only been fully implemented by the MP3 format and this format is proprietary?
    Last edited by marfig (2010-08-12 19:17:38)

  • I have a windows 7 premium with the 64 bit driver and am having problems with installing itunes, i get an error message that states Apple Application Support is required to run itunes. i have tried 4 times to uninstall and reinstall with no success, help

    I have a windows 7 premium laptop, 64 bit driver, have tried to install itunes but recieve an error when trying to open. Error states "Apple Application Support is required to run itunes. uninstall and reinstall again, error 2 (windows error 2). have tried this 4-5 times with no success. help!

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    The section Install missing components has advice on breaking down the iTunes installer into the individual .msi files which might prove useful if AAS won't install normally.
    tt2

  • AirPort Utility 5.6 for Mac OS X Lion The installer will not install because it states the OS is not supported. I have the latest

    AirPort Utility 5.6 for Mac OS X Lion The installer will not install because it states the OS is not supported. I have the latest

    Part of your message was not included. Can you re-post with details again please?

  • Can't get super drive to play disc in dvd player it states disc not supported that for any disc inserted into the player

    can't get super drive to play disc in dvd player it states disc not supported that for any disc inserted into the player

    Hi, not sure it works in 10.9, but...
    DVD Player doesn't like external players, use VLC Player...
    http://www.videolan.org/vlc/
    http://hints.macworld.com/article.php?story=20100208120847220
    http://hints.macworld.com/article.php?story=20111107064435227

  • Javascript Support for WD4J

    Hi everyone,
    may be i missed but wonder when Javascript will be fully supported with WD4J?
    also is there any support to use Javascript with WD4ABAP?
    best regards

    HUSEYIN,
    One of the main decisions of WD architecture was (is) support for multiple client platforms. Hence now you can see WD in browser, WD on mobile, WD on desktop with .NET and Java smart clients and so on (probably Adobe Flex tomorrow
    So WD architects had to find some "common denominator" among several possible client platforms and restrict provided functionality. For example, mobile WD restricts set of UI elements you can use. Another example (your one) is that client-side JavaScript is supported by only one client -- browser. So it was well-thought decision to do not include JavaScript support in WD and to explicitly state that it is not supported while it is unreal to provide same functionality among all clients.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net
    P.S. This is just my oppinion that is may/may not be shared by SAP.

  • CSS and JavaScript support in OHJ

    Hello,
    We're considering switching to OHJ for our cross-browser/cross-platform docs, but have concerns over the level of CSS and JavaScript support in OHJ.
    Concerning CSS, the online docs mention support for "Cascading Style Sheets (CSS) 1 and most of CSS 2". Is there a resource that specifically lists what isn't supported from CSS 2?
    Concerning JavaScript, is it currently supported? Some of the web references I've seen say that it's not currently supported (http://helponline.oracle.com/ohguide/help/state/content/vtTopicId./navSetId.blafdoc/vtTopicFile.blafdoc%7Cusing_browvers~html/navId.3/).
    Thanks,
    Mike

    Hi Mike,
    OHJ uses the ICE Browser, which we license from a company named ICESoft. It generally compares favorably with other Java-based browsers, although it is not as complete as a native browser such as IE or Firefox.
    There is a list of what is and is not supported in CSS:
    http://www.icesoft.com/developer_guides/icebrowser/htmlguide/featuresappendix3.html#86328
    We recently finally resolved the licensing issues that were holding us back from releasing a version of OHJ with JavaScript support. The current versions don't support JavaScript, but our next major release will.
    Depending on your needs, we also have OHW, which is a server based help system, that uses the client's native browser.
    Regards,
    Jeffrey Stephenson
    Oracle

  • How to use an if statement in javascript code

    Hello,
    I have a batch processing script to search for text "employee signature" on each page in a multiple page file and to then list in the console any pages that do not have the "Employee Signature" text included.
    The script is not yet functional as an if statement needs to be included.
    Can anyone please advise how to use an if statement in javascript code?
    var numpages = this.numPages;
    for (var i=0; i < numpages; i++)
    search.query("Employee Signature", "ActiveDoc");
    console.println('Pages that do not include an employee signature: ' + this.pageNum +' ');
    Any assistance will be most appreciated.

    Thank you very much for your assistance try.
    I have modified the code as suggested and the page numbers are now listing correctly, thank you, but....................,
    The console  lists every page as having an "employee signature" when there are pages in the document that do not have an employee signature.
    The code (revised as follows) is not processing the "getPageNthWord part of the statement" in the console report?
    Can you please advise where the code needs reworking?
    var ckWords; // word pair to test
    var bFound = false; // logical status of found words
    // loop through pages
    for (var i = 0; i < this.numPages; i++ ) {
       bFound = false; // set found flag to false
       numWords = this.getPageNumWords(i); // number of words on page
       // loop through the words on page
       for (var j = 0; j < numWords; j++) {
          // get word pair to test
          ckWords = this.getPageNthWord(i, j) + ' ' + this.getPageNthWord(i, j + 1); // test words
          // check to see if word pair is 'Employee' string is present
          if ( ckWord == "Employee") {
             bFound = true; // indicate found logical value
             console.println('Pages that includes an employee signature: ' + (i + 1) +' ');
             break; // no need to further test for this page
          } // end Employee Signature
       } // end word loop
       // test to see if words not found
       if(bFound == false) {
             console.println('Pages that do include an employee signature: ' + (i + 1) +' ');
        } // end not found on page  
    } // end page loop
    Thank you

  • Visual Studio 2015 CTP - Javascript support missing

    I had Visual Studio 2015 CTP 4 installed and now CTP6 - In both cases it was missing Javascript support.
    - Not showing syntax highlighting for .js file
    - Intellisense  not working for .js files
    Also when i go to tools/options/Text Editor - Javascript language section is missing. See  image and its comparison with VS2013.
    From the desk of Pinal Bhatt | http://www.PBDesk.com

    If
    you are
    not
    installed
    in the
    default
    folder,then go to C:\Program Files (x86)\Microsoft Visual Studio 14.0 copy to
    your
    install
    folder(ex.F:\Microsoft Visual Studio 14.0)
    open the
    Developer
    Command
    Prompt as administrator,run command:
    devenv /setup
    devenv.exe /InstallVSTemplates
    Reference
    articles:http://blog.lishewen.com/post/2015/03/03/vs2015-ctp6-after-installation-without-javascript-intellisense-solution-templates-and-editor
    算神的博客

  • I just changed my residence to the US and now I cant register my new US credit card on itunes cause the state list doesnt match to the US states, what should I do?

    I just changed my residence to the US and now I cant register my new US credit card on itunes cause the state list doesnt match to the US states, what should I do?

    Your credit card info, billing address must be the same country as the iTunes store country you registering.
    For example, you can’t have a credit card from a U.S. bank with  a U.S. billing address registered in the iTunes store for China.
    I tried to change my payment information too, but it happened the same, I can change the information but when I get to the state part, it only shows the other country states
    Remove all payment info and save it.
    Then change the iTunes store country to U.S., add a U.S. credit card with a U.S. billing address.
    As previously suggested, if this does not work, contact iTunes store support.
    -> http://www.apple.com/support/itunes/contact/

  • How can I limit the fonts in the Character Map (charmap) and reinitialize the state after use?

    In a WPF application I have a RichTextBox in which users will be inserting text. I also must give the user the ability to insert characters. To do so I have called up charmap.exe using
    Process charProcess = new Process();
    ProcessStartInfo startInfo = new ProcessStartInfo();
    charProcess.StartInfo.FileName = strCharmap;
    charProcess.Start();
    etc., and it works fine. There are several problems I have basically with charmap, however, not with WPF. The first is that because of the subsequent use of the user’s insertion in the RTB, I must restrict the font to “Ariel Unicode
    MS.”  So far all I have been able to do is instruct and warn the user not to change fonts and 
    change back any font change that occurs as a result of use of “Advanced view” features.
    Question number one is, how can I restrict the fonts loaded into charmap to this one font? The second problem is that if another font is called up, or the “Advanced view” state of charmap is closed, or a “Group by” feature is opened, these choices will
    be retained for the next user that opens charmap. How can I initialize the state of charmap for each new user with the correct font and “Advanced view” features showing. It is said,but in old posts, that reinitialization occurs for all but administrative users,
    but this seems to be no longer true. I have tried permission changes in charmap’s Properties, but I can’t get the necessary reinitialization to occur even if user’s don’t have modify permission. Can one use a .ini file, or the .mui file, or make Registry changes
    to accomplish my goals. There seems to be a warning in the .mui file about changing fonts, but is it cancelled? I am using Windows 7 and C#.
    I have looked at other character maps but they are either too complicated for the casual user, or they have no search engine and advanced features, or they have the same problems.
    I am pretty much a novice with respect to the Windows files use and WPF, so please be fairly clear, complete, and prescriptive in your answer. Also so that I and others can learn, it would be nice to have an explanation of why one does whatever you suggest.
    Your help is appreciated.

    Hi,
    Thanks for your post!
    According to your description, I am afraid your problem is out of support in C#language forum. So i move your thread to off-topic forum!
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and
    makes it easier for other visitors to find the resolution later.

  • After replacing the hard drive on my G4 Powerbook and reinstalling Tiger I am no longer able to synch between itunes and itunes, it seems that the software on the ipod is of later date than itunes and I am unable to update itunes to the state prior..

    After replacing the hard drive on my G4 Powerbook and reinstalling Tiger I am no longer able to synch between itunes and my ipod (Classic 160gb) it would seem that the software on the ipod is of later date than itunes and I am unable to update itunes to the state prior to the original harddrive's failure for Tiger OSX 10.4.11
    Any ideas on the subject would be most helpful
    Thanks in advance
    Dingoh

    The last security update released for Tiger users was the 2009-005 update. The latest version of QuickTime is 7.6.4. The last version of iTunes that can run on Tiger is 9.2.1, because 10.0 only supports Mac OS X Leopard and later.
    So, are you on version 9.2.1?
    Was it Tiger or Leopard you had on the drive before?
    iTunes 9.2.1 download...
    http://support.apple.com/kb/DL1056

  • HT3529 I am currently deployed and was using my iMessage to be able to talk to family back in the states and my iMessage stopped working. It will no longer select my number to use as the send/receive. How do I fix this so I can continue to talk to family?

    I am currently deployed and was using my iMessage to be able to talk to family back in the states and my iMessage stopped working. It will no longer select my number to use as the send/receive. How do I fix this so I can continue to talk to family?

    Read here:
    http://support.apple.com/kb/TS2755

  • Exchange 2013 cu3 setup fails with 'problem... validating the state of Active Directory... supplied credential... invalid'

    Windows Server 2013; Exchange Server 2013 with Cumulative Update 1
    Cannot install Cumulative Update 3 for Exchange Server 2013. It fails with
    [xxx] [0] [ERROR] Setup encountered a problem while validating the state of Active Directory: Active Directory operation failed on . The supplied credential for 'XXX\Xxx' is invalid.  See the Exchange setup log for more information on this error.
    [xxx] [0] [ERROR] Active Directory operation failed on . The supplied credential for 'XXX\Xxx' is invalid.
    [xxx] [0] [ERROR] The supplied credential is invalid.
    (Crosses - XXX - replace original values.)
    I have found that a few others have experienced the same problem but found no solution, nor could come up with anything myself. If it is any hint, Event 40961 was logged in the Event Viewer around the same time on almost all installation attempts to be purely
    conincidental:
    The Security System could not establish a secured connection with the server
    ldap/xxx.xxx/[email protected] No authentication protocol was available.
    Both Windows Server and Exchange Server otherwise work OK, and do not recall any issues with Cumlative Update 1 installation.

    Hi vhr1,
    Based on my knowledge, the Event ID 40961 is a warning message.
    This behavior occurs when we restart the server that was promoted to a DC. The Windows Time service tries to authenticate before Directory Services has started.
    Found some resources for your reference even if the Exchange Version is mismatched:
    http://blogs.technet.com/b/jhoward/archive/2005/04/20/403946.aspx
    http://support.microsoft.com/kb/823712/en-us
    About the error message, "Setup encountered a problem while validating the state of Active Directory: Active Directory operation failed on . The supplied credential for 'XXX\Xxx' is invalid."
    The error message InvalidCredentials means: the wrong password was supplied or the SASL credentials cannot be processed.
    Found a similar thread for your reference, hope it is helpful:
    http://social.technet.microsoft.com/Forums/en-US/98e26ad6-8e43-4ef5-8ff9-e9fee6e76bda/bind-operation-is-invalid?forum=exchangesvrdeploylegacy
    Feel free to contact me if there is any problem.
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

Maybe you are looking for

  • Color in smartform

    Hi,     My requirement is have a box in smartform which is colored in orange. The coloring should be in such a way that it should be dark in left and keeps on fading to the right.     Please suggest me. Bye

  • Multi-Display Question for Late 2009 Mini

    Hello, I have a very quick question. I was looking at attaching an additional monitor to my late 2009 Mac Mini Core 2 Duo 2.26 GHz. It has two ports for video, the *Mini Displayport* and the *Mini DVI*. I was looking at springing for the $20 adaptor

  • N step WF for SC at header level - WS14000133- Restrict view to approvers

    Hello, We are using n step SC approval WF WS14000133 (header level approval). We are using cost center responsibility to determine the approvers and these approvers are arranged in series approval. Multiple approvers for the same cost center are in p

  • Error when calling method with a return of double in j2me

    hello all, i have following problem with a j2me program: if i call a method with a return of double, then i get following error message: ERROR: floating-point constants should not appear Error preverifying class test.hallo what i'm doing wrong thanks

  • Include file is not found by MDS

    In my home.jspx file, I have <jsp:directive.include file="/common/includes/layout.jspf"/> which essentially to include layout file and the path is relative to context root. I got the following error: INFO: Using the ProviderURI /mdssys/ViewController