views:

82

answers:

4

I have an an fla file, and I'm sure that it has some action script. I do ctrl+enter and it runs, it does stuff, but I can't find the code, I don't see any frame with the letter 'a' on it, where could it be ?
How to find it ?

+2  A: 

It could be coded through the document class, or have the code in the movie clips.

I'm assuming it's the former, so check in the properties panel (when you have nothing selected and are in root) if it refers to an external as file.

Daniel
+3  A: 

Which version of flash is it? Maybe the code is in a seperate file? If you're using flash cs3 or cs4, you should check the properties of the stage (Document) and under the tab Publish check if something is entered in Class.

Lieven Cardoen
nothing is entered in the class, and i tried to click on it and it tells me that i should target to as3 in order to do that, but still i found the as files in a folder near the fla, though i don't know how do they connect
Omu
actually there are more than one .as files used for that fla
Omu
could be that the movie clips in the library use these as files as classes. In the library you would see this stuff in the properties, or if you expand the library, I think one of the columns show this.if that fail, use search to find any instances of #import
Daniel
+2  A: 

The actionscript code could be in multiple frames in the fla file.

It's good practice to put actionscript in an external .as file however it's also just as common to put the actionscript right into a movie clip.

Have a check through some clips by using the properties panel at the bottom to find out if the actionscript code is there.

Jamie Dixon
+1  A: 

The easiest way to find the code would be to use the Movie Explorer, under 'Windows'. If you don't find it there, try publishing in debug mode. Good luck!

Goose Bumper