Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to access variable? AS3

Status
Not open for further replies.

MrFlash007

Instructor
Jul 27, 2010
3
0
0
LV
I am new to AS
How to access variable page_green if not using external AS file?

Example:
var page_green:pageGreen = new PageGreen();
addChild(page_green);


function loadPage(event:MouseEvent):void {

page_green.width=stage.stageWidth;
page_green.height=stage.stageHeight;
page_green.visible = true;

}

Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top