Fade Canvas and children

Why is it when I make a canvas fade the components within
that canvas do not also fade. Do I have to manually work through
the content of the canvas and fade them too? Do they not inherit
the action of their parents?
Many thanks for your help.

...a little code goes a long way in helping to describe a
problem.

Similar Messages

  • Looping/iterating the structure (DOM?) of a Canvas and children

    I did some forum and web searches and couldn't find a clear answer  (or perhaps they were clear and I didn't understand them).
    I have a Canvas in which users trigger Actionscripts to create and position new Panels.
    The Panels have Text objects in which they can type information.
    I need to iterate through the Canvas, discover all of the Panels, and get each Panel's ID, X/Y coordinates, and Text-object content.
    Can anyone point to an example or tutorial that shows this?  Or maybe provide an example?
    I think the XML and XMLList classes are the way to go, but I'm not positive.
    Thanks for any help.

    I think this code, making use of the getChildren() method and the "is" operator, should prove useful.
    If this post answered your question or helped, please mark it as such.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
      <mx:Script>
        <![CDATA[
          import mx.controls.Label;
          import mx.containers.Panel;
          [Bindable] private var newX:uint = 0;
          [Bindable] private var newY:uint = 0;
          [Bindable] private var objCount:uint = 0;
          private function addPanel():void{
            var p:Panel = new Panel();
            var l:Label = new Label();
            l.text = "New Label";
            p.addChild(l);
            p.x = newX;
            p.y = newY;
            p.id = String(objCount++);
            p.title = "My ID: " + String(p.id);
            newX += 100;
            myCanvas.addChild(p);
            txt.text = "";
            for each(var obj:Object in myCanvas.getChildren()){
              if(obj is Panel){
                txt.text += "Panel ID: " + obj.id + "                  ";
        ]]>
      </mx:Script>
      <mx:Canvas id="myCanvas"/>
      <mx:Button label="Add Panel" click="addPanel();"/>
      <mx:TextArea id="txt" width="100%" height="100%"/>
    </mx:Application>

  • How can I have an object toggle between fade out and fade in with button?

    Hello all,
    I have a problem and I was hoping someone out there could help me out with it.
    I have smart shape that is set to show for "rest of project" on one of my early slides.  It is not visible in output in the properties, but when a user clicks a button in the project, it should fade in and then stay visible.  If the user clicks the same button again, it should fade out and stay hidden.  So rather than toggle between show and hide, which I know how to do, I want it to toggle between fade in and fade out.  I am having trouble with this.  Setting its transition to fade in and fade out in the properties of the smart shape doesn't help...
    Here is the advanced action I have attached to the button that should allow the user to toggle between fade in and fade out.  The "if" parts works -- the object fades in and then finally "shows" at 100% the "else" part almost works.  It fades out, disappears, but then shows again, which I obviously dont want it to do.  I want it to stay hidden.
    If you can help, it would be great!! 

    I Don't
    But as a work around you could try increasing the canvas size to match the illustrator file, paste in the object then crop off the excess canvas in photoshop

  • Simultaneous fade out and fade in and image

    I currently have code that fades out on canvas of a view
    stack and fades in a second canvas of the view stack. However, my
    desired behavior is that the fade out happens as the fade in
    happens so it would simulate a tween effect like when making
    animated gif's. Is there a way to do this, and if so does anyone
    have any sample code to do this?

    so the fade out and fade in are working like you said,
    however I want then to be in the same position on the page. I would
    like each canvas to be at coordinates (0,0). Here is my code, but
    the canvas' are stacked vertically? Is what I want to do possible?
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="initApp();">
    <mx:Style>
    Application {
    backgroundColor: #ffffff;
    backgroundGradientColors: #ffffff, #ffffff;
    </mx:Style>
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    [Bindable] private var homePageImageId:int = 0;
    [Bindable] public var intervalId:uint;
    [Embed(source="images/3_1813714899.jpg")]
    [Bindable] public var imgClass3:Class;
    [Embed(source="images/5_2065488856.jpg")]
    [Bindable] public var imgClass5:Class;
    [Embed(source="images/6_717433985.jpg")]
    [Bindable] public var imgClass6:Class;
    [Embed(source="images/9_263548684.jpg")]
    [Bindable] public var imgClass9:Class;
    function initApp():void {
    checkDelayCounter();
    intervalId = setInterval(checkDelayCounter,4000);
    function checkDelayCounter():void {
    if ( homePageImageId == 0 ) {
    canvas0.visible = false;
    canvas1.visible = true;
    homePageImageId = 1;
    } else if ( homePageImageId == 1 ) {
    canvas1.visible = false;
    canvas2.visible = true;
    homePageImageId = 2;
    } else if ( homePageImageId == 2 ) {
    canvas2.visible = false;
    canvas0.visible = true;
    homePageImageId = 0;
    ]]>
    </mx:Script>
    <mx:Fade id="fade_in" duration="750" alphaFrom="0"
    alphaTo="1"/>
    <mx:Fade id="fade_out" duration="750" alphaFrom="1"
    alphaTo="0"/>
    <mx:Canvas id="canvas0" showEffect="fade_in"
    hideEffect="fade_out" visible="true" alpha="0" x="0" y="0">
    <mx:Image id="homePageImage6" source="{imgClass6}"
    width="990" height="400" x="0" y="0"/>
    </mx:Canvas>
    <mx:Canvas id="canvas1" showEffect="fade_in"
    hideEffect="fade_out" visible="false" alpha="0" x="0" y="0">
    <mx:Image id="homePageImage3" source="{imgClass3}"
    width="990" height="400" x="0" y="0"/>
    </mx:Canvas>
    <mx:Canvas id="canvas2" showEffect="fade_in"
    hideEffect="fade_out" visible="false" alpha="0" x="0" y="0">
    <mx:Image id="homePageImage5" source="{imgClass5}"
    width="990" height="400" x="0" y="0"/>
    </mx:Canvas>
    </mx:Application>

  • IPhone 5 voice call quality fade in and out. Noise Cancellation interference?

    I've been having this huge problem with the iPhone5. The evidence i've collected seems to indicate this is a problem with all iPhone5's.
    On calls in certain places both indoors and outdoors, the callers voices over the iPhone5 fade in and out. Their voices occasionally completely fade completely away, and only come back momentarily. The low volume for 50% of the time forces me to raise the volume, but raising the volume does not help because when the voice does come back, the volume is too loud for my ears.
    I went back to the Apple store and they are not able to help me. They suggested a clean restore, which I did. They offered to replace the phone, which I did, but it is the same problem.
    - iPhone 5 vs. iPhone 4S, the fading does not occur. I make the call to the same voice mail system I have, and the sounds from the other side are consistently the same volume for the 4S, but fades in and out for the 5.
    - I connected up a 8mm jack between my iPhone 5 and my mac in an attempt to record this problem. In that instance, the sounds from the voice mail DO NOT fade in and out. I did find out that the dynamic range on the iPhone 5 is MUCH greater than that of the iPhone 4S, for some strange reason.
    - When I hold the phone up to my ear, the fading in and out does occur, but it is less noticeable. But it's still there.
    - When I leave my work area the problem goes away. However, because the iPhone 4S on the same AT&T service does not have this problem, this leads me to believe it's NOT a lack of transmission power from the AT&T cell tower. Rather, it is a reception issue at the iPhone5 side.
    - I turned off LTE, data and then made the calls. Same issue.
    I use this phone to make 60 minute calls for conference calls frequently. I cannot use it. Please advise. I am seriously considering returning this phone. Except i've sold my old iPhone 4 already. I'm in a bad place. Please help.
    Here's another post of a fellow with the same exact problem.
    http://forums.macrumors.com/showthread.php?t=1456404
    Apple, please look into this. I believe this is a problem with the noise cancellation software.

    I've got an update on this problem with fading volume. I've isolated it to the set volume on the phone for voice calls when using headphones. When the headphone volume is set between 1 and 6 (out of 16 squares) the callers volume will consistently fade in and out. The fading which is normal to zero volume at 2-5 Hz is serious enough that normal conversation is impossible.  When the volume is raised above 6/16 then the callers voice stabilize and I can hear all their words again. Unfortunately, at 6/16 volume their voices are too loud for the headphones.
    Furthermore, when headphones are plugged in, and I initial a call after the iphone5 was idle for several minutes, the first dial tone has preceded by a very loud pop an the tone, as though there was too much pressure (charge) that was dissipated all at once.
    Other details:
    - I used 3 different earphones, iPhone 4 headphones, altec earphones, an the new iPhone 5 earbuds. Same.
    - I turned on and off lte, data, Bluetooth, wifi. Problem persists unaffected.
    - when switching to iPhones earpiece and mic, the fading is gone.
    - I have 3 out of 5 bars where I teste this, in the city outside and on hwy 5 in central California. Same symptoms in all places I've tested.
    - I have exchanged my phone at the apple store. Same issue with both iPhones an I suspect all ipjone5s.
    - the ipjone4s does NOT have this problem when the volume is set lower. I can tell that the iPhone 5 must have a new audio filter to make the sounds have larger dynamic range. I liked the 4s better, because it is easier on the ears!

  • Face time fades out and then tries to reconnect on new ipad retina display on WiFi.  Iphone 4s has no problem with face time from exact same location and same contact.  WiFi signal strong on both devices.  What gives?

    Face time fades out and then retries to connect (new Ipad Retina Display) on WiFi. Iphone 4s has no problem with face time from same location and same contact.  What gives?

    rdallas001 wrote:
    Is the router to small?
    Not necessarily, if you are using Facetime all the data goes through your WiFi router, your cable/DSL modem, your ISP and the internet to Apple's Facetime servers and then, in reverse, down to the Facetime recipient. If your ISP connection is too slow or there is excessive traffic on the internet you can have Facetime problems.
    Most WiFi routers can handle this unless others in the house are also using WiFi at the same time. The problem may be your ISP connection or congestion on the internet, etc.

  • How do I adjust my titles so they don't fade in and out? I have hundreds of photos/videos on screen for a second or so each, for a year-long birthday video, and I need the dates in my titles to be steady rather than fading in and out spastically.

    I have been working on a project since December of 2012 for my son's first birthday. Basically, it's a photo or quick video each day of his life so far. I used the "upper" title and made the titles not fade in and out, because that could give someone a seizure. The idea is a seamless title that ticks away each day. But in the new iMovie, it changed my settings, and I can't for the life of me find how to change them back.
    Now, each date flashes in and out, in and out, in and out. Fractions of seconds go by. It's really distracting and annoying.
    How do I get the titles to remain on screen and not fade in and out? I had it just how I wanted it, but now we're rapidly approaching my son's birthday, and the video is suddenly a mess.
    How do I fix this?

    I am working with the very same concept for my project and the auto fade in and out has messed everything up. If I hear or a fix I'll be sure to reply here to let you know!

  • How do I get spouses and children on to printed labels and envelops?

    I store spouses and children in the fields provided for these names. When I go to print labels, Address Book puts the primary name and one randomly selected child name on the first line. So if the person is Jane Smith, I have her spouse listed as John, and two kids listed as Jake and Janice, the label will read.
    Jane Smith and Janice
    142 Main St.
    Nowhere, NH
    Can I get the spouse name and the other kids to show up? How?
    +Also, any tips on dealing with couples with two last names? That's more of a data entry question, but if anyone has ways this works for labels but also for logical address book and iPhone look up.+

    Turn iCloud contact syncing off and choose keep when prompted.

  • Made a drop down menu. How can I get the drop down to fade in and out? !

    Hi guys!
    I've created a drop down menu (with the help of you legends on here! )...Now I just need it to animate so when the user hovers over the main menu item, the drop down fades in.
    Here's the HTML I have...
        <ul id="nav">
            <li><a href="#">Nav 1</a></li>
            <li><a href="#">Nav 2</a></li>
            <li><a href="#">Nav 3</a>
                <ul>
                    <li><a href="#">&raquo; Sub Menu 1</a></li>
                    <li><a href="#">&raquo; Sub Menu 2</a></li>
                    <li><a href="#">&raquo; Sub Menu 3</a></li>
                    <li><a href="#">&raquo; Sub Menu 4</a></li>
                </ul>
            </li>
            <li><a href="#">Nav 5</a></li>
            <li><a href="#">Nav 6</a></li>
        </ul>
    ...and here's my CSS...
    ul#nav {width:920px; height:35px; list-style:none; padding:0; margin:0; background:url(navBg.jpg) repeat-x; z-index:999;}
    ul#nav li a:hover, #nav li a:active {background:url(navOn.jpg) repeat-x; text-decoration:none;}
    ul#nav li a {color:#E0E2E7; display:inline-block; float:left; margin:0; padding:10px 19px; width:auto; text-decoration:none;}
    * html #nav li {display:inline; float:left; }  /* for IE 6 */
    * + html #nav li {display:inline; float:left; }  /* for IE 7 */
    #nav ul {width:208px; left:-9999em; list-style:none; margin:35px 0; padding:0; position:absolute; z-index:999;}
    #nav li:hover ul {left:auto;}
    #nav li {float:left;}
    #nav li li a {width:190px; background-color:#efefef; color:#2e2e2e; padding:8px; margin:0; }
    #nav li li a:hover {background-color:#000; background-image:none; color:#FFF;}
    #nav li:hover {background:url(assets/images/frame/navOn.jpg);}
    From what I can make out, I assume I need either Javascript or JQuery...
    Does anyone know how I can get the drop down to fade in and out?
    Thank you very much and I hope to hear from you.
    SM

    Yes, you'll need a client-side script to do fade-in/fade-out fx.  Look at jQuery Superfish.
    http://users.tpg.com.au/j_birch/plugins/superfish/#examples
    Nancy O.

  • I have used I tunes to download music with a paid I tunes card. I can no longer open the music store to download my music.  When I do open the music store it fades in and out, preventing me from downloading music.

    I can nolonge download music from I tunes, because the music store page fades in and out and will not remain permanent to allow me to download music with a pre-paid I tunes card.
    Also, why is it you can only download music to an I-pod from one primary computer.  Is there a method that will allow me to download music from a variety of computers.

    it only happens for previous purchases - if you have a computer you can try to download your purchase history there and then just sync them to your device - http://support.apple.com/kb/ht2519 - http://support.apple.com/kb/ht1386.

  • How do I keep from having my titles fade in and out in iMovie 10.0.1? Or is there a way to customize a title at all, other than location, size, and color (such as fade direction, duration, entrance...)?

    This is something that I thought came standard with all video editing software and I'm very surprised to not be able to find it in my version of iMovie. All I want to do is create captions that don't fade in and out.

    Several posters have asked this and it doesn't appear to be possible in iMovie 10.  I guess you would have to create .png stills with the caption and the rest transparent then add them as cutaways.
    Geoff.

  • HT201365 Find My iPhone no longer works for me to know where my wife and children's phones are. In earlier IOS versions, I added my iCloud account to their devices and only had Find My iPhone function active.  Can't do that now; what do I do?

    Before IOS 7, I created an account on my wife and childrens iPhones, iPads and iPod devices with my iCloud account, only having the Find My iPhone function turned on.  It worked great.  Now, with IOS 7, it is not working and I don't have the option to have the Find My iPhone function on my iCloud account on their devices.  Does anyone know how to make this work?  My family loses their devices frequently and I am concerned I won'e be able to help them find them.  Thanks!!

    They only need their main iCloud account to have Find My iPhone on. If your account is not their main account it won't work. Only one account can enable that function on a device. They don't need to have the app on their devices unless you want them to find you.
    If you can see the devices when you log into their accounts on your Find My iPhone app they are being recognized by the app. But as Winston said if they're not turned on, if they are not on a network, cell or wifi, then they will read as offline. This often happens when I look for my wife's phone when she is at work, her wifi system there does not keep the connection active when the device goes to sleep and in some areas of the building there is poor to no cell connection. And sometimes the service just doesn't pick them up for no obvious reason.
    iOS 7 has several annoying glitches right now that hopefully will be resolved soon and this could be one for you. I would try this again by having all the devices in one location , restart all of them, make certain the function is enabled on all of them and that wifi is connected ( if you have a wifi network available ) or that they are connected to a cell network with a strong signal. Then launch the app on your phone and log in with their accounts, their locations should show up.

  • The volume on the second half of my Quicktime slideshow fades out--and I don't want it to do that!

    I used FotoMagico 4.0 to make a slideshow. There are options for exporting, and I chose the one called Custom, which makes a Quicktime movie. For some reason the volume in the second half of the show starts to fade out, and by the end I can barely hear anything. If I export to their Standalone Player, which allows the slideshow to play on a Mac computer, everything works just fine. I'm at my wits end trying to figure out how to fix this. I want to be able to export the slideshow to Vimeo so that people on Macs and Pc's can both watch it, but I can't do it with the volume the way it is.

    Go to System Preferences. Then under the General tab, there is a tick box saying "Restore windows when quitting and re-opening apps." Un tick that box. Once you start and quit Safari again, it will go back to your home page.

  • I have adobe Premiere Elements 13. It will not let me delete audio or have it fade in or out. I can move the yellow line all the way down till the volume reads -0.0, but the sound is still there on playback. I can click on fade in and fade out and the yel

    I have adobe Premiere Elements 13. It will not let me delete audio or have it fade in or out. I can move the yellow line all the way down till the volume reads -0.0, but the sound is still there on playback. I can click on fade in and fade out and the yellow line that graphs volume takes a sharp raise or dip at the beginning or end of the clip, but there is no change in volume when I play back. What am I doing wrong?

    rickeyt
    Thanks for the reply. Great news about the volume adjusts.
    Now about those fades for the volume. How are you doing that?
    1. Right click the Timeline video audio and select Fade and then
    see the Fade options (I had a video with audio file, so I saw the choices as shown in the screenshot)
    2. You can also create two volume keyframes at each end of the Timeline audio clip rubberband (orange line that goes horizontally across the middle of the audio clip). At the position of the Timeline Indicator, click the Add/Remove Keyframe icon, and then with the mouse cursor position the white dots (volume keyframes) to achieve the Fade In and Fade Out audio. In the screenshot below I have moved the Timeline Indicator so that you could better see the white dots (volume keyframes).
    Please let us know if any of the above works for you with regard to the audio fades.
    Thank you.
    ATR

  • Canvas and viewer won't display video correctly

    I have just reinstalled and then reinstalled 5.1.4. Picture plays on external video monitor but will not play in either canvas or viewer. RGB is set. Mirror on playback is set. Audio will play. Viewer will play on external monitor. Usually a still will be on viewer of canvas screen or just a jumbled mess. Sometimes with parts of display frame included in mess. Thanks for any help.

    Thanks for posting helpful info re my problem. Issue finally resolved. FYI in case you should encounter a similar problem. I failed to mention in my post I was running two video displays. The video card I was running on when I developed the problem had been my auxilary display and was too underpowered to run the canvas and viewer. I inadvertaintly switched final cut pro to that card and monitor when my previous main monitor quit. I simultaneously had a drive boot problem. All is well that ends well, I suppose. Only took 4 days to sort it out and could find no info in tech manual that would have led me to this.

Maybe you are looking for

  • Overclocking Intel i7-3770k on MSI z77a-g45

    Hello! I am interested in overclocking my intel i7-3770k to a bare minimum at which my FPS can be increased in a game callled StarCraft II. I understand I have to do a various amount of changes, including something called XMG,vcore, cpu volt and cpu

  • How do I update LR in CC?

    I have had Adobe Creative Cloud for a year and a half. I would like to update my LR 5.7 to 6.1, but when I attempt this, it offers me only a trial or an opportunity to buy LR for the first time. Can someone tell me how to go about updating applicatio

  • Menu in ABAP

    how to create menu in ABAP?

  • Bad service HP with license code windows 8

    I have bought a all in one 23 F210ED in august last year. I never changed anything in it. Now i get when i install the recovery from HP, that i am not activated ? I called HP for it, and everytime they will call me back, what they do not do. So i to

  • OBIEE 11.1.1.5.0 export to excel with filters?

    Hi all, Is it possible in OBIEE 11.1.1.5 to export the analysis with the current filters? Thanks in advance, Alexander.