Adobe Forums

Add Me
Adobe Forums » Adobe Influences » Site Design » Nested Dynamic Text won't display

Tags:



Reply
LinkBack Thread Tools Display Modes
Nested Dynamic Text won't display
  #1 (permalink)  
Old 09-29-2008, 11:36 PM
iRyFlash
Guest
 
Posts: n/a
Default Nested Dynamic Text won't display

Everything works correctly below. The new button displays on stage, but the
nested dynamic text (instance name "campText") will not display.

1119: Access of possibly undefined property campText through a reference with
static type flash.display:SimpleButton.


Here's the short code:

import flash.display.SimpleButton;
import flash.display.*;
import flash.text.TextField;

var myButton:SimpleButton = new camp();
myButton.x = 350;
myButton.y = 100;
myButton.campText.text = "CAMP";
addChild(myButton);




Reply With Quote


Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Hairstyles | UFO Videos | Bollywood Wallpapers | Poems  | WWE


All times are GMT. The time now is 03:40 AM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.