[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Code hinting not working in flash cs5.5

Posted on 2011-10-05
8
Medium Priority
?
605 Views
Last Modified: 2012-05-12
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
Comment
Question by:Sirdots
  • 5
  • 3
8 Comments
 
LVL 29

Expert Comment

by:dgofman
ID: 36919135
Create a new Project as ActionScript 3
Goto frame 1 and open ActionScript window  F9

type:

_root.

Can you see popup menu?
0
 
LVL 29

Expert Comment

by:dgofman
ID: 36919140
Sorry create "Create a new Project as ActionScript 2"
0
 
LVL 29

Expert Comment

by:dgofman
ID: 36919148
If you are using ActionScript 3 try

function test():
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Sirdots
ID: 36919228
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
 

Author Comment

by:Sirdots
ID: 36919240
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
 
LVL 29

Accepted Solution

by:
dgofman earned 1000 total points
ID: 36919313
_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
 

Author Comment

by:Sirdots
ID: 36919395
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
 
LVL 29

Expert Comment

by:dgofman
ID: 36919410
Cool! Your problem solved
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question