Welcome, Guest
Sign in
Create account
Home
Home Page
Components
Buy & Sell
Freelance
Marketplace
Tutorials
Flash Tutorials
Games
Free Online Games
Community
Message Board
Home
Help
Search
Login
Register
Subscribe to
Our Feed
Follow Us
On Google +
Follow Us
On Twitter
Become a fan
On Facebook
Flash-DB
»
General
»
V2 Components (Flash MX 2004 - Flash 8)
(Moderators:
vesa kortelainen
,
Ronald Wernecke
,
Jorge Solis
,
..:: Mazhar Hasan ::..
,
papachan
) »
why don't get it?
« previous
next »
Print
Pages: [
1
]
Author
Topic: why don't get it? (Read 1076 times)
NhocTi
Server what's that
Posts: 44
why don't get it?
«
on:
09/27/04, 21:33 »
use this code
trace(datagird.content_mc.lines_mc.type);
why datagrid.content_mc.lines_mc is undefined i have view in DataGrid.as and it show that
//:::Movie clip assets
var lines_mc : MovieClip; // the movie clip in which grid lines are drawn
please help me how to get lines_mc movieclip.
thanks
Logged
Jorge Solis
Global Moderator
Systems Administrator
Posts: 14616
Re:why don't get it?
«
Reply #1 on:
09/28/04, 03:56 »
Datagrid is a component with methods and properties, none of them named content_mc. I think you have some conceptual mess, or ...?
Jorge
Logged
Twitter
http://twitter.com/solisarg
NhocTi
Server what's that
Posts: 44
Re:why don't get it?
«
Reply #2 on:
09/28/04, 05:02 »
use that code
for (a in datagird)
{
trace(a);
}
you will see once instance name : content_mc
and when u use
for (a in datagrid.content_mc)
{
trace(a);
}
you see once instance name : lines_mc
Logged
Jorge Solis
Global Moderator
Systems Administrator
Posts: 14616
Re:why don't get it?
«
Reply #3 on:
09/28/04, 05:11 »
Yep, but classes in V2 arquitecture have accesors to acces public properties (and methods), you can't acces private members from outside.
Jorge
Logged
Twitter
http://twitter.com/solisarg
NhocTi
Server what's that
Posts: 44
Re:why don't get it?
«
Reply #4 on:
09/28/04, 19:43 »
thanks, 'll try to add some code to DataGrid.
Logged
Print
Pages: [
1
]
« previous
next »
Flash-DB
»
General
»
V2 Components (Flash MX 2004 - Flash 8)
(Moderators:
vesa kortelainen
,
Ronald Wernecke
,
Jorge Solis
,
..:: Mazhar Hasan ::..
,
papachan
) »
why don't get it?