• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 613
  • Last Modified:

Code hinting not working in flash cs5.5

I Installed flash cs5.5 and have not been able to use the code hinting while writing actionsript 3.0. I tried a lot of stuffs I found online like deleting files and changing registry entries but none worked for me.
How do I make code hinting work?

0
Sirdots
Asked:
Sirdots
  • 5
  • 3
1 Solution
 
dgofmanCommented:
Create a new Project as ActionScript 3
Goto frame 1 and open ActionScript window  F9

type:

_root.

Can you see popup menu?
0
 
dgofmanCommented:
Sorry create "Create a new Project as ActionScript 2"
0
 
dgofmanCommented:
If you are using ActionScript 3 try

function test():
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
SirdotsAuthor Commented:
ok. I created a new project as Action Script 2 and went to frame 1, opened action script  window with  F9 key. I typed _root. and got the code hinting (popup page came up).

I also tried the same thing above with Action script 3 project, typed _root. and nothing came up.(no code hinting).

I want to be able to use actions script 3.
0
 
SirdotsAuthor Commented:
I tried function test(): in the action script 3 project and I was able to get the code hinting i.e pop up page came up.
0
 
dgofmanCommented:
_root is for ActionScript 2
 if you are using ActionScript 3 you must declare a variable first for example

var tf:
                    -- must bring a popup menu choose TextField and continue

                                      var tf:TextField = new TextField();
tf.
                    -- must bring a popup menu again now you can set properties


tf.autoSize = true;
tf.test = "It's working";
0
 
SirdotsAuthor Commented:
I see what you are saying. Does this imply that if i create a movie clip and the instance name of my movie clip is my1_mc, I need to declare like this to be able to use it

var my1_mc:MovieClip;
my1_mc.alpha = 0.2;

I tried the two lines above and it worked
0
 
dgofmanCommented:
Cool! Your problem solved
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now