magallanes
magallanes

Reputation: 6844

Flash Professional how to find a class

I there:

I have some experience working with Flex but im feel clueless working with flash pro.

My problem is that i found a flash project that i want to edit (.fla), this project contain an actionscript class in some part that i am unable to find.

How to find a class in Flash Professional?.

I know that the class exist in the project because i generate a swf file and decompile it and it show the class.

thanks.

Upvotes: 0

Views: 290

Answers (2)

jhocking
jhocking

Reputation: 5577

There are two places you can put ActionScript code: in a separate .as file that gets referred to by the .fla, and in the Actions window attached to specific frames. Look at the timeline; if you see any @ symbols that means there is code attached to that frame. Go to that frame and open the Actions window.

This also applies to the timelines of the various MovieClips. It is really bad practice to deeply embed code like that but people still do it.

Upvotes: 0

George Profenza
George Profenza

Reputation: 51837

Probably start with the Document Class then move to other classes that might be used.

If you go to File > Publish Settings in the Flash tab click the Settings button next to the script (ActionScript 3.0) settings.

flash publish settings

Once you get to the ActionScript 3.0 settings, you can see the path to the used classes.

actionscript 3.0 settings

This image displays the Library Path, you need the Source Path tab.

If your fla has code in the timeline also see this answer.

HTH

Upvotes: 2

Related Questions