unable to set value to boolean

Posted on 2011-10-31
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?

Question by:royjayd
    LVL 29

    Expert Comment

    What the error. You may not event handler call if value doesn't change but model should get value any way

    Author Comment

    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

    LVL 29

    Accepted Solution

    Looks like you may have model was not initialized yet

    do next


    Author Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Suggested Solutions

    Title # Comments Views Activity
    Adobe AIR in bar  launch 3 256
    contents of spark textbox do not scroll 4 580
    Converting SWF file to earlier swf versions 7 256
    Dashboard Examples 1 576
    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…
    I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now