Can you control layer visibility via AS 3.0 ?

I am new at flash.. but I can't seem to find this answer. I
am building an app with 2 panels. A control/preferences panel and
the main panel for the app. How can I control the visibility of
each panel via AS 3.0 ? So if a user
hits a button, up comes the preference layer. user closes
this window. then back to the main layer.
thanks a ton!
mike

Layers mean nothing to Actionscript -- they are merely a tool
to help organize authortime created content. At publish they are
use by the compiler to assign things to depths and then they go
away. In a publish file there are no layers.
The dominant paradigm in Flash (with respect to Actionscript)
was the MovieClip. Now it is more the DisplayObjectContainer and
the various classes that decend from there -- Sprite and MovieClip
being most likely. I'm not as up on my AS3 as my AS2, so I might
overlook a bit, but that is the general idea.
So if you have a "panel" (we can't tell you what that is, you
have to ell us!) and it is something distinct that needs
controlling you should probably make it a MovieClip (if it has a
timeline) and a Sprite if it is AS generated. Also each distinct
type of those would maybe need its own external class to give it
the methods and properties you would need to control and interact
with it.

Similar Messages

  • Can you control Apple TV via LAN from 3rd party control such as AMX or Crestron?

    I would like to know if you can control an Apple TV via LAN with a 3rd party control AMX or Crestron - is there an API available for this? Two way communication would be ideal!

    Become an Apple Developer and figure out how to do it. There may be an API on IOS to do it, but I'm going with Rudegar on this point. Almost certain that it's not possible.

  • Can you control an itouch via an app on iphone?

    Hello,
    I have an itouch docked in an ihome standalone speaker/charger dock, any chance there is an app for an iphone for controlling volume, mute and track changes? Dock is across the room iphone usually in hand? I have searched and have not found any other references or solutions?
    Thanks for any input

    There is no apps to control a separate device from another device. But if you want just to play music with it, consider making a lot of nice playlists, and start to play them!
    Hope this helped!

  • CRM 2011: Can you control which form is used based not security roles, but on a field value?

    I see that you can control which form is used based on security roles, but can you control it based on other field values?  I'd like a new record to use a different form until a given status is updated.  I have a status of draft and active. So
    it would be nice if I could use form1 for those in draft, form2 for those that are active.  But I only see where you can control that via the security roles.
    I can code all of this via JavaScript, but having the ability to use two separate forms would be nice.  Is that even possible.
    Best regards,
    Jon Gregory Rothlander

    Hello,
    Recheck following article - http://gonzaloruizcrm.blogspot.com/2014/11/avoiding-form-reload-when-switching-crm.html
    Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
    My blog

  • Can I control an Applet via JavaScript?????????????

    Please Guys! Can I control an applet via JavaScript?
    How????????????
    Thanks
    Renato

    Great to see you back, bbritta! Problems with the
    reauthentication stuff?The reauthentication was just another annoyance. I was getting fed up with answering posts for a variety of reasons (mostly because I don't have the patience you seem to have).
    I got assigned to modify some old ColdFusion code. I thought it would be a nice change of pace having never done it before. Yick... Gak... I should have started over with JSP's, but the user insisted they wanted the old code modified. I have never seen so much cut and paste coding in my life. They actually got hold of the old developer and he was so proud of his code that I didn't have the heart to tell him what I thought of his efforts.
    Anyway, a couple of weeks ago, I ran into a problem with an applet I wrote about a year ago and wanted to search the bug database. I reauthenticated fairly easily, but found out nothing had changed.
    A couple of days ago, there was a post in advanced topics asking if the forums were any use. I saw Dana respond and I thought it might be a chance to discuss some of the problems I saw with the forum. I came back to see if there was any response, but it looks like there will never be any meaningful discussion between Sun & the members about the forums.
    I have tried for a couple of years to just post a link to a search page if the answer could be easily found by searching. It seemed like a better thing to do than just saying 'Do a search!' I'm not sure anybody gets it though.

  • Can you control Lion on your desktop with an iPhone?

    Can you control Lion on your desktop with an iPhone?  I do not want to buy a wireless trackpad.  Who needs all those batteries?  Hoepfully the iPhone can control it in the meantime, and then they need to make wired trackpads. 

    fliplip1 wrote:
    hhmmm. possibility, buT why? It's there in black and white, it just takes a few more mins to read it.
    I guess there are multiple ways in which people interpret the same sentence. Not everything is obvious to everyone.
    If confused, people generally ask in the forums.

  • Using APex with Airtunes from an iMAc can you control playing tunes?

    Hi, got an imac at Xmas, am looking into Airport stuff, and found this APex, with wireless play of iTunes music, Ive been looking into the Philips streamium and stuff doe playing tunes.
    My question is once setup from your iMac to play music wirelessly how can you control it? Ive read the manual but doesnt say anything. So can all you do is press shuffle on the iMac and then it plays everything?
    I know you could do playlists and stuff, but I have all my music, kids music, wife's music in my library, so theres a real mixture, and Im sick of listening to High School Musical!!
    So can you contol the song playing, ie skip etc with it?
    cheers

    iTunes needs to be running in order to stream music to the Airport Express so therefore - no - the Mac running iTunes cannot be in sleep mode. It must be powered up and running, though you could blank the screen if you wish.
    Why did Apple not build the function of the Keyspan Express remote into the Airport Express. Likely because it would have increased the cost of the product by 50%, while at the same time adding a feature most people would be happy to live without - in other words, not a great idea from a product marketing perspective.

  • Can you control the OS Volume from Flash

    hi guys, Can you control the master windows OS volume from
    within flash.
    My understanding is that within the soundobject.volume, 100
    mean 100% of the current windows volume setting.
    Can control the windows setting seperatly as well (the same
    way you could/can in Director)?
    Rich

    Yes - the JavaScript that's in export.js was rolled into inline code in the Java jar files sometime during version 11.5.
    It's no longer customizable.
    An option is to use HTTP Filter on your Java Web App to modify the outgoing JavaScript instream, but that's never a pretty solution.
    Sincerely,
    Ted Ueda

  • Can you control movement of regions without the mouse

    can you control movement of regions without the mouse? I have trouble nudging the regions with the mouse and was hoping there was a keyboard solution.

    Mezoaria wrote:
    I have trouble nudging the regions with the mouse and was hoping there was a keyboard solution.
    there is not.
    perhaps it would help to turn off the Snap To Grid menuItem?

  • Can you control volume without using side controls?

    Can you control the volume without using side controls?

    Or, if your iPad is asleep/locked, double click the home button and you'll get an on-screen volume control and play/pause iPod controls (no need to unlock).

  • I have a plot with two cursors - how can I control the "visible" attribute of the second cursor?

    I have a waveform graph with multiple plots and two cursors. I can use the "cursor->visible" property to control cursor #1 but I cannot seem to find a way to control the visible attribute for cursor #2. Is there a way to do this?
    Thanks,
    RGA

    There's an "Active Cursor" property that allows you select which cursor the following actions operate on. Remember that property nodes "execute" from top to bottom...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to control layer visibility dynamically

    hi
    i want to show a button at some specific condition
    i search till i found that the layer has visibility property
    i put the button on that layer
    i try to control it by form posted variable to control the
    visibility.. but the layer didn't changed !!!
    if there is any way to make some place on the page visible
    and unvisible other than this i need it
    thanks in advance.

    What server model is your dynamic variable using (ASP, CF,
    etc.)?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "macnux" <[email protected]> wrote in
    message
    news:erbb5n$1i9$[email protected]..
    > hi
    > i want to show a button at some specific condition
    > i search till i found that the layer has visibility
    property i put the
    > button
    > on that layer
    > i try to control it by form posted variable to control
    the visibility..
    > but
    > the layer didn't changed !!!
    >
    > if there is any way to make some place on the page
    visible and unvisible
    > other
    > than this i need it
    >
    > thanks in advance.
    >

  • How many client computers can you control with the $79.99 version on Mac App Store?

    I mean client computers by the ones you control, not by the admin computers.

    From: http://www.apple.com/remotedesktop/
    No Per-Client Tax
    Apple Remote Desktop 3 is incredibly affordable. With the Unlimited Managed Systems edition, you can manage any number of client computers — there is no per-client charge.
    Apple's website says Unlimited Managed Systems, There are probable some technical limit, but i've never found it. How many client computers do you want to manage, are they all on the same lan? same subnet?

  • Can you upgrade to IE8 via ZPM?

    Hello all,
    I wanted to know if it's possible to use ZPM to upgrade Internet Explorer from an earlier version to say IE8?
    If so:
    How does it work; will you need to some prerequisites?
    Can you customize the install or will it just deploy the update?
    Will you be forced to the latest version; say if IE9 or later is available?Or can you pick the version of the patches you want to deploy?
    Thanks,
    Soroush

    In ZPM you can select the version of IE that is available to be installed on
    your devices. For example I see the following available to me in ZPM.
    MS 982861 Internet Explorer 9.0 (See Notes)
    66 1
    Internet Explorer 8.0 (See Notes) (Rev 2) Software Installer
    28 1
    Internet Explorer 7.0 (SEE NOTES) (Rev 3) Software Installer
    29 0
    Internet Explorer 6.0 Service Pack 1 (full auto-install) (Rev 2)
    Software Installer 28 0
    The numbers show me that most of my machines are updated to the latest
    version. With only 2 that could be updated. I would then select the patch
    and then ‘deploy remediation’ to the devices I select. If you wanted to
    customize the install you would have to create your own bundle to do that.
    I just install the vanilla version via Patch Management and then use group
    policies to tweak it the way I want it. The notes usually will give you
    info on prerequisites required.
    Jim Koerner
    "Soroush Madjzoob" <[email protected]> wrote in message
    news:[email protected]..
    Hello all,
    I wanted to know if it's possible to use ZPM to upgrade Internet Explorer
    from an earlier version to say IE8?
    If so:
    How does it work; will you need to some prerequisites?
    Can you customize the install or will it just deploy the update?
    Will you be forced to the latest version; say if IE9 or later is available?
    Or can you pick the version of the patches you want to deploy?
    Thanks,
    Soroush

  • Can you control the Discoverer Portlet Size on the Portal Page?

    I have a Portal Page and I need the ability to control the Portlet size. The width seems to take on the dimensions defined for the region, but how do you control the dimension for the depth/length. Thanks.

    The size of the container is controlled by the Portal Page author through Portal, not the Discoverer Portlet. Unfortunately, I don't know exactly how to control this and it may be different from 9.0.2 to 9.0.4 (not sure which version you are using). You can check on the Portal forum.
    Discoverer Product Management

Maybe you are looking for

  • Storage space full of "other", computer won't recognize iPod is plugged in

    I just downloaded about 100 songs onto my 160 gigabyte iPod Video Classic, making my number of songs only about 1,300. My iPod says its storage now only has 1.9 mb left. I only have about 10 videos and no photos, but the "other" section of the storag

  • Updates for Creator 1

    Hi Creator Team: Are we going to see a new set of updates for Creator 1? Its been 6 months and lots of bugs reported since Update 7

  • Can i write on perl in java?

    can i write on perl in java?

  • Epson Stylus CX6600 scanner problem with 10.6

    I've read various posts about scanner functions not working after upgrading to 10.6.x. I too have this problem now with my Epson Stylus CX6600. This machine has been a real workhorse for me for 6 years and up until this week it has been trouble-free.

  • Flex 20 - Sensor Firmware Update

    After updating to Windows 8.1 There is an error with the accelerometer and the HID Sensor Collection dll won't load. The Lenovo Windows 8.1 Update Guide says that this is a known problem and to get a firmware update from the download centre. (http://