PDA

View Full Version : reference the stage


joku
11-22-2008, 07:20 PM
how can I reference the stage from an AS file?

I have data in an AS file I need to place into a textbox in the stage

but writing stage.Abox.text = ""; does not work, what gives??? :o

LeenieGames
11-22-2008, 11:26 PM
Only objects that have been added to the Display List have a reference to the stage.

joku
11-24-2008, 04:26 PM
Only objects that have been added to the Display List have a reference to the stage.

that's all well and good, but

what would be the best way to get the data from an AS file into a textarea in the stage?

thankee

LeenieGames
12-01-2008, 09:51 AM
Only objects that have been added to the Display List have a reference to the stage.

So...

Add your "AS file" to the Display List