Lost code hints

I Have lost my automatic code hints in some files. They are
turned on in Preferences but don't come up as I'm keying in code.
Any help?
Dee Di

If you are using Actionscript 3 you should
1) Use event listeners to detect mouse-down and mouse-up
events on the movieclip.
2) Set up functions to drag and drop the movieclip.
3) In the drop function get the x and y position of the
movieclip and
4) trace it out or put the values into dynamic textfields.
Here's a simple example. The code is on the first frame of
the timeline
myMC.addEventListener(MouseEvent.MOUSE_DOWN,
startDragSquare);
myMC.addEventListener(MouseEvent.MOUSE_UP, stopDragSquare);
function startDragSquare(evt:MouseEvent):void
this.startDrag();
function stopDragSquare(evt:MouseEvent):void
this.stopDrag();
var xpos = this.x;
var ypos = this.y;
trace ("X: "+xpos+", Y: "+ypos);
}

Similar Messages

  • Class Code Hints Stops Working

    I've been really frustrated with the code hinting in CS5. It doesn't seem to work like it should. It appears to work fine if I am placing the code on the timeline, but if I create a class file I lose the class code hinting even for simple types like Boolean. The other thing I noticed is after the class file has been created even if I go back to the code on the timeline it has now lost code hinting. The only way to get them back is to close the fla I was working and close flash itself. Any ideas on how to resolve this or is this a legitimate bug? If others have seen this happen please post so that we can get some attention brought to this. It seems to work fine if you create flex components and then edit them in Flash Builder. The downside to doing that is that if you don't need the Flex framework it makes your outputted swf larger than it needs to be.

    FlashDevelop. Even in CS5 the editor is crap in comparison.
    http://www.flashdevelop.org

  • Code hinting for HTML5 missing or lost

    I have CS6 Dreamweaver and just started to experiment with HTML5.
    My understanding is the code hinting is available for HTML5.
    However, when I try to use any HTML5 specific tags, there does not seem to be any hinting, nor indication of the tag itself.
    For instance, if start to type the "header" tag, that tag never shows in the drop-down list. If I manually use the header tag, no code hinting appears to help complete this tag.
    I have verified that I am using the appropriate doctype, and for the new page, used DW's HTML5 to create the new page.
    Since this is my first attempt to use HTML5, I really don't know if the hinting was available on the initial CS6 install.
    A few weeks ago, I did the recommended upgrade to 12.1.
    In doing so, I found I lost a number of settings, and had to reapply several extensions.
    http://forums.adobe.com/message/4744158#4744158
    Whether this absense of HTML5 code hinting was related to this, I don't know as never really knew whether I had it initially.
    Would appreciate any help or direction. Is there an extension that would apply these? I had to reapply the extension for my ColdFusion hinting; but, I thought that HTML5 hinting was built into the CS6 version.
    Thanks for any help.
    Keith

    The thread of Code Hinting not working in CS5.5 might be of help.
    http://forums.adobe.com/message/3936984#3936984
    I did not try the modifying stuff with the TagLibraries.vtm file, as not sure want take chance of screwing up what I have!
    However, did look at that TagLibraries.vtm file from my CS6 installation, and all the HTML5 tags are there (canvas, header, footer, etc.). Also, shows my ColdFusion tags and many other sets.
    However, in my preferences in DW interface -- code hinting -- none of the HTML5 specific tags show up at all. All the others listed in the TagLibraries.vtm other than HTML5 specific.
    I guess I could try the posters renaming TagLibraries.vtm, starting DW, then closing, and restoring the name and restart. But, I'm hesitant to start messing around in the core of DW.
    Keith

  • Work on FB4.5 and Flash5.5 simultanoiusly - lack of code hints and default package classes.

    Hi!
    I setup Flash Professional CS5.5 and FB4.5 to work together. I just followed this tutorial: http://www.adobe.com/content/dotcom/en/devnet/flash-builder/articles/sharing-projects-flas hbuilder-flash.html and almost all looks good, but unfortunately working in Flash Builder adding new Classes I do not have default package Classes accessible. This way I can not even declare Sprite, Array class and so on. In code hints I only gets my current package classes.
    I set the .fla project inside Flash CS5.5 with some folders as the package for my classes. It is for examle:
    com.myDomain.testProject where DocClass exists. By adding this path as the document for FlashCS5.5 all works great, I can easily run, debug movie in the Flash environment.
    Setting this project by 'Import'->'FlashBuilder-FlashBuilderProject'->'ProjectFolder' pointing to the .fla file it seems that the thing goes well. The project is set and even I had some problems with Document Class's name (it seems that Flash Builder need to have Document Class with the same name as the .fla flie) and renaming it I can run or debug it and it works.
    But if I try to add new class to the directory I end up with no code hints, and in fact no default package classes support. That means I get errors trying to create instance of any common class etc. In code hints I am only getting my package hints (look picture)
    Maybe I misunderstand of some package basics and did something wrong, but generally I don't want to put all my classes to the .fla location but to sort them up in specific folders cause I assume that the project is quite large.
    If you can help me, thanks in advance. You know messing up with the code is a part of the programmer nature, and when one finds the answer he feels like a king. When to deal with environments like that, there is never joy and hapiness, but in most occasions couple uncensural words in the end, and a glimpse on the watch - agrrrhh I lost so much time :/
    cheers

    upss, It seems the Flex sdk wasn't added automatically what I didn't noticed. Looked for errors in some other areas (as always)
    Thanks anyway:)

  • VBScript editor with Intellisense/Code Hinting support for Adobe App

    I am looking for some tool to write my InDesign VBScript files in. I would really like to know if there is any which support Intellisense/Code hinting for Adobe programs (InDesign especialy). Do you have anything to recommend?
    I am quite good at hacking my computer, so no registry change etc. is a problem for me, I just can not find any. I already tried PrimalScript 2009 but it doesn not work.
    What I need is that in following block of code
    Set myInDesign = CreateObject("InDesign.Application.CS4")
    Set myDialog = myInDesign.Dialogs.Add
    I will get list of all methods/properties after I write the dot after "myInDesign" in second line. But it never worked. I even tried to put "InDesign.Application.CS4/C:\ProgramData\Adobe\InDesign\Version 6.0\cs_CZ\Scripting Support\6.0\Resources for Visual Basic.tlb" line into Options>Text editor>Type libraries.
    I am using Windows Vista SP1 and I have Adobe Creative Suite CS4 installed (upgrade from CS3 which was upgraded from CS2)
    Thanks a lot for any help/suggestion, as I start feeling desperate.

    Hi Everyone!
    As I have said, I waited for next service release, which is as of now PrimalScript 2009 version 5.0.614 and I did some testing with it.
    Results:
    WinXP EN Professional
    - Just pointing PrimalScript 2009 to typelib, no creative suite installed, working
    - Installed Creative Suite CS3 Czech (trial mode) - Working, no need to setup anything
    - Installed Creative Suite CS3 + CS4 Czech (trial mode) - Need to point PrimalScript 2009 to correct typelib, then 100% working
    Windows Vista SP1 Ultimate EN (in trial/not activated mode)
    - Just pointing PrimalScript 2009 to typelib, no creative suite installed, working
    - Installed Creative Suite CS3 Czech (trial mode) - Need to point PrimalScript 2009 to correct typelib, then 100% working
    - Installed Creative Suite CS3 + CS4 Czech (trial mode) - Need to point PrimalScript 2009 to correct typelib, then 100% working
    Windows 7
    I am not planning to use Win7 in near future, so I did not not run any test on it.
    Windows Vista SP1 Home Premium Slovak (fully activated)
    - Installed Creative Suite CS3 + CS4 Czech (full mode) - Not working. This is my main machine. It is Creative Suite CS2 upgraded to CS3 then CS4 (it is running for years without reinstall). I use CS3/CS4 side by side for some older projects. There are still references to CS2 in registry. I tried pointing PrimalScript 2009 to correct typelib, but to no avail. My conclussion is that there is someting messed with its config or registry, but I am pretty sure it would run after complete system reinstall.
    Both WinXP EN Pro and Vista SP1 Ultimate EN were clean install into MS Virtual PC 2007, with only Creative Suite and PrimalScript 2009 5.0.614 installed into each machine so I made sure there are no other issues involved.
    As I spend 80% of my time with developement of websites and scripting of MS Office/Creative Suite, I have some virtual machines set up for testing purposes. I will use one of them for development in PrimalScript and move it to main (real) Windows Vista Home Premium Slovak installed once I will decide to completely reinstall it. The need for seting up the typelibray link is no deal for me, as it is working as expected then, and I expect a lot ;-)
    So problem solved, I found o program I will use. There may be others which do better or are cheaper (but I do not know about any) but $299 is not a big issue when I get what I want.
    P.S.: The solution with making VBScript code with VBA declaration (using Dim) is not a solution I like, as I would need to comment it out everytime I run/edit  the script and it would be pain in the *** while debugging it as i would need to do lot of comment/uncomment cycles and i can use my ime better then doing the monkey work as some fo the scripts I write are quite huge and I prefer to build them incrementaly and test/debug a lot.
    I wish to thank everyone for their help and suggestions,
    Matus

  • Code hints don't work - include files using a variable

    In Dreamweaver CS 5.5 code hints didn't work properly.
    DW would not look at my code and find the include files and look at the functions inside them when using a variable to make an absolute path, which is the best way to include files in PHP (its faster and more reliable on your web server)
    Here is an example:
    ======================================
    public_html/util/util_index.php
    $DIR_MAIN            =dirname(dirname(__FILE__).'../');
    require_once "$DIR_MAIN/init.php";
    my_function(#CODE COMPLETE DOES NOT WORK HERE
    public_html/init.php
    $DIR_INCLUDE=               "$DIR_MAIN/inc";
    require "$DIR_INCLUDE/common_functions.php";
    #set up environment variables
    #connect to the database
    #etc
    public_html/inc/common_functions.php
    function my_function(param1, param2, param3) {
    =======================================
    Has this been fixed in Dreamweaver CS6 or should I wait until CS7?
    Until this works, I prefer Notepad++

    I made a full SQL Developer installation with Java included, so I suppose that the included version is used.
    After a problem with the German Version I tried to switch to English Version by using the hint:
    link: 1.5.4 export insert statements
    I changed the content of sqldeveloper.conf and now again the code templates (strg-shift-t) don't work!!!
    (I already rebooted and set the accelerators to default, but it didn't help now.)
    This is the content of my sqldeveloper.conf now:
    "IncludeConfFile ../../ide/bin/ide.conf
    AddVMOption -Dapple.laf.useScreenMenuBar=true
    AddVMOption -Dcom.apple.mrj.application.apple.menu.about.name="SQL_Developer"
    AddVMOption -Dcom.apple.mrj.application.growbox.intrudes=false
    AddVMOption -Dcom.apple.macos.smallTabs=true
    AddVMOption -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true
    AddVMOption -Dsun.java2d.ddoffscreen=false
    AddVMOption -Dwindows.shell.font.languages=
    AddVMOption -XX:MaxPermSize=128M
    IncludeConfFile sqldeveloper-nondebug.conf
    AddVMOption -Duser.country=US
    AddVMOption -Duser.territory=US
    AddVMOption -Duser.language=en
    "

  • Flash Builder 4.6 code hinter problem - not showing some methods

    Hi All,
    I have a problem with FB code hinter. It does not show some methods on an object.
    To be exact I created a Date object and FB code hinter does not show .toDateString method (actually I it shows only one to string method - .ToString(), although according to docs there are more)
    When I use .toDateString method, code still compiles and work just fine, however method is not showing up in code hinter, which is really annoying..
    Anyone had this problem? If so, please, share some wisdom how to solve this thing.
    Thanks in advance.
    UPDATE:
    Here is some more info in my problem.
    I have tried to reinstall the application, but it did not help.
    So what I did was:
    * first I installed FB standard edition version 4.
    * I checked the code hinter and it worked. It showed .toDateString method.
    * I have purchased FB standard 4.5 upgrade.
    * I installed this upgrade, and boom the code hinter does not show the method...
    * Next I tried to create a project with Flex 4.1 sdk and then it worked - method was there. So the problem is with 4.6 sdk apparently...sucks...

    Hi, I have the same problem. I have a new FB 4.6 installation and it is my first FB installation. Do you have a solution already?

  • DreamWeaver CS4 CSS code hints not working

    Please help.
    DreamWeaver has stopped showing code hints for CSS selector values. When I start typing "…   div {border:   …" DreamWeaver used to show the possible value for this selector (i.e. 1px solid #ccc). Now all that pops up is this "…   'border-width' 'border-style' 'color'   …"
    How can I get DreamWeaver to show the possible values for CSS? I'm running DreamWeaver CS4 on a Mac book pro with Snow Leopard. DreamWeaver was set up using the default settings, and there are no extensions enabled.
    The attached screen shots show what I am experincing.
    Thanks,

    Wow... you waited all of 2 hours...
    try removing your configuration folder and restarting
    "ianhg" <[email protected]> wrote in message
    news:ea7m2g$68e$[email protected]..
    > Hi Folks,
    >
    > Has no one any ideas --- Please!!
    >
    > Ian

  • No Code Hinting in Air

    When I use AIR in the eclipse IDE I cant get any code hinting to show if I am using an AIR application.
    If its a Flex application its fine.
    Even if I have two applications open I can just click in the non-AIR window and code hinting is working and click into the AIR app and its not.
    Any thoughts??

    Hi,
    Are you coding in a FLA file or in an AS file?  If you are coding in an AS file, you must have an ActionScript 3.0 FLA file open to trigger code-hinting in your AS files.
    Also, please try saving your FLA to an empty folder ... or at least not your Desktop, Documents or any other folder that has lots of other files in it.
    Thanks,
    Nivesh

  • (.asc) Code Hinting in Flash Professional CS5.5 || Flash Builder 4.5

    Problem:  I would like to enable code hinting and highlighting in either Flash Professional or Flash Builder when developing an Actionscript Communications File (.asc).
    Steps Taken:
    Searched Google with limited success, most signs all pointed to FMSGuru.com where one may obtain an Eclipse Plugin, but:
    It was created in 2007 (likely out dated)
    It has known bugs that haven't been addressed
    Searched this forum / adobe's web site to find a solution, to no avail.
    Posted this, now, in an attempt to put this to rest
    Request:  If anyone knows how I can enable FP or FB to give code hints / syntax highlighting, I would really apprecaite some direction.  If not, I appreciate the fact you even read this.
    Have a good one. Happy Coding.

    To note, Dreamweaver has the ability to provide code hinting if I remember correctly but I'm perpetually disappointed in the FMS team for not providing even ONE item that helps in the development of server side coding for FMS. They have never provided anything and it's been up to the good will of developers for the platform to put together tools. As it is now, you'll probably never see anything better as most people (that I know of) have moved away from FMS, partially for this reason despite multiple requests that Adobe do something. Not to insult the FMS team, as they do what they have to do to pull in the paycheck, and the bean counters provide that and seem to be making most of the decisions.
    ok. rant all done now

  • Code Coloring and Code Hints

    I no longer have code coloring or code hints working on
    Dreamweaver. I checked the preferences and everything is still set
    the same but whenever I open an existing document it will not give
    me the code coloring or code hints. I still get it when I open a
    new doc but nothing else. Any ideas on how to fix this?

    kms5038 wrote:
    > I no longer have code coloring or code hints working on
    Dreamweaver. I checked
    > the preferences and everything is still set the same but
    whenever I open an
    > existing document it will not give me the code coloring
    or code hints. I still
    > get it when I open a new doc but nothing else. Any ideas
    on how to fix this?
    It sounds like DW does not recognize the file type of your
    page. What is
    the file extension?
    Randy

  • Flash Builder - No Code Hinting For New Flash Professional Project??

    I had been using flash builder as an as3 editor and compiling from flash builder. The Flash Professional Project in Flash Builder seems perfect. It will give me the flexibility to compile from Flash Professional, or compile from the flex sdk, use breakpoints, have all my files nicely in the package explorer.
    However, it has been a terrible terrible experience. For some reason code hinting is completely turned off on all levels in Flash Professional Projects. I have been looking in every preference panel trying to figure out why this is happening. If it is actually the case that you get no code hinting whatsoever then they really should not have even bothered adding this into Flash Builder because coding in this fashion is a joke.
    However, I am still optimistic about it. Can someone help me turn on code hinting?

    Ok. Solved it. The issue was that we were using linked source code and library swcs that were all located under the same directory. When you pull up the project's properties and go to "Flex Build Path" under the "Source Path" tab you can add that directory without a problem. However, under the "Library Path" instead of just adding the directory, I added each swc individually and that solved my problem. Now all the code hinting is working perfectly.

  • How do I disable InContext Editing code hints in Dreamweaver CS6?

    The service was discontinued in 2011, why does the latest version of Dreamweaver not make it easy to disable these code hints? There are no options to disable them, and I've gone so far as to comment out every individual line of the ICE.vtm file yet still these code hints insist on popping up. What's the point of having a customizable IDE if I'm forced to have code hints I couldn't use if I wanted to. Can we get a patch giving us an option to disable these?

    Hi
    In Context Editing, is still available via 'Business Catalyst'. That is why it is still available.
    As far as code hints are concerned, you have to edit the code hints xml file also.
    PZ

  • Ctrl + Spacebar will not bring up code hints either

    I'm using Windows XP CS3 with Dreamweaver from Creative Suite CS4. I cannot get code hints (when enabled) or when I press Ctrl + Spacebar.
    When I press Ctrl + Spacebar nothing happens.

    Take a look at:
    http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7bd 7a.html
    check near the bottom: Code hinting and syntax errors
    Hope this helps  :-)
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    Book: Ultimate CSS Reference
    http://www.sitepoint.com/launch/005dfd4/3/133
    http://twitter.com/nadiap

  • Code hints interface and compilation is too slow,who can help me?

    I used  Flashcc to generate the SWC library, after quote the library in my project,  the pop-up of code hints interface is very slow (about 30 seconds), and the project compilation speed is very slow.It is unbearable!is there  any method can improve the situation?thank you!!

    Sounds like you might have a configuration issue on the o/s side.
    Check that kernel parameters are set as recommended in the installation guide
    The first thing that came to mind after reading the problem description was that you might have too low SHMMAX for that 10GB SGA, which would cause multiple shm segments to be created and thus explain the performance degration you're experiencing.
    A quick way to check if that's the case would be doing "ipcs -m" to see if there are multiple shm segments when SGA is set to 10GB.

Maybe you are looking for

  • How do I get more instruments in Logic Pro?

    When I was installing Logic Pro 9, I think it offered me to download extra instruments...I clicked ''no'' or something like that. I'd like to get those instruments now so I was wondering in anyone could help me. I think this is why my brother has mor

  • AppleWorks 6.2.9 'Save As' Problem

    Hello all, Whenever I use the 'Save as' command to save a file in any other format but ApplewWorks the results is: When I try to open the saved file I get this error message: 'The file appears to be damaged and can not be opened.' Thanks for any help

  • IWeb and Aperture photos not looking that good?

    hey guys can any of you tell me why when i done edit my photos in aperture and loads them over in iweb they are not looking that good as in Aperture why is that? can any help me here?

  • How to call  group of files  into it_upload.

    i have the requirement like this.... can i use 6 times to upload six files or at a time can i found all the file in internal table through function module.

  • The problem with Share variable in LabVIEW8.5

    I created a network share variable in LabVIEW 8.5. But after I changed its properity to "Target relative",I came across a error "Error 1003" when built an exe. And if I changed it to "Absloute",I got no error! Is that a bug ? or something wrong I did