Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

unable to set value to boolean

Posted on 2011-10-31
4
Medium Priority
?
192 Views
Last Modified: 2012-05-12
hi guys

I have


public class CompVO {            

public var visible:Boolean=true;
...
}

when i try to do

app.project.component.compvo = false;

 it doesnt work.

any idea why?

thansk
0
Comment
Question by:royjayd
  • 2
  • 2
4 Comments
 
LVL 29

Expert Comment

by:dgofman
ID: 37058759
What the error. You may not event handler call if value doesn't change but model should get value any way
0
 

Author Comment

by:royjayd
ID: 37058801
no error
after this statement is executed

app.project.component.compvo.visible = false;

app.project.component.compvo.visible  is still true ( as i am checking in debug mode)

I want to make the visible  to false

0
 
LVL 29

Accepted Solution

by:
dgofman earned 1400 total points
ID: 37059671
Looks like you may have model was not initialized yet

do next

trace(app);
trace(app.project)
trace(app.project.component);
trace(app.project.component.compvo);
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
Will the future of mobile app development include the same trends as those most relevant today? Find out by checking out the 7 trends of the future.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month20 days, 23 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question