Trying to add a motion path to a panel but i get errors...

hey guys.. im trying to move a panel container from one location to another..
basically when i start off the application the panel's horizontalCenter is set to "0"
what i need it to do is move from that center location to left.
the code i have is...
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
           xmlns:s="library://ns.adobe.com/flex/spark"
           xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%"
           xmlns:imageHandler="modules.imageHandler.*">
     <fx:Script source="loginSuccessScript.as" />
     <fx:Declarations>
          <!-- Place non-visual elements (e.g., services, value objects) here -->
          <s:ArrayCollection id="sourceData">
               <fx:Object label="Content Group" stackId="contentGroup" />
               <fx:Object label="Images" stackId="images" />
               <fx:Object label="Videos" stackId="videos" />
               <fx:Object label="Flash Objects" stackId="flashObjects" />
               <fx:Object label="Story Editor" stackId="storyEditor" />
               <fx:Object label="Tag Management" stackId="tagManagement" />
               <fx:Object label="Image and Video Format" stackId="format" />
               <fx:Object label="Rules And Permissions" stackId="rulesAndPermissions" />
          </s:ArrayCollection>
          <s:Parallel id="clickMove" target="navContainer">
               <s:Animate duration="250">
                    <s:SimpleMotionPath id="motionPath" valueFrom="0" valueTo="300"/>    
               </s:Animate>
               <!--s:Fade id="fade" alphaFrom="0.4" alphaTo="1.0"/-->
          </s:Parallel>
     </fx:Declarations>
     <s:states>
          <s:State name="all" />
          <s:State name="videoUpload" />
          <s:State name="imageUpload" />
          <s:State name="contentGroup" />
          <s:State name="flashObjects" />
     </s:states>
     <s:HGroup horizontalCenter="0">
          <s:Panel id="navContainer" width="250" height="100%">
               <s:List id="nav" width="250" height="100%" dataProvider="{sourceData}" click="updateStack()" />
          </s:Panel>
          <s:Panel width="100%" height="100%" visible="false">
               <mx:ViewStack id="displayComponents" creationPolicy="all">
                    <mx:Canvas id="blank">
                    </mx:Canvas>
                    <mx:Canvas id="images">
                         <imageHandler:imageHandler />
                    </mx:Canvas>
               </mx:ViewStack>
          </s:Panel>
     </s:HGroup>
</s:Group>
and in my actionscript in the updateStack function, i just call clickMove.play();
ive also tried setting the simpleMotionPath property to "x" and "left" and neither of them work...
and when i play the animation i get an error that says
"error: Property null is not a property or a style on object navContainer: TypeError: Error #1006: value is not a function..
or
"error: Property x is not a property or a style on object navContainer: TypeError: Error #1006: value is not a function..
or
"error: Property left is not a property or a style on object navContainer: TypeError: Error #1006: value is not a function..

ok never mind... so i think this i have my problem almost figured out...
i changed my code to resemble the following...
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
           xmlns:s="library://ns.adobe.com/flex/spark"
           xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%"
           xmlns:imageHandler="modules.imageHandler.*">
     <fx:Script source="loginSuccessScript.as" />
     <fx:Declarations>
          <!-- Place non-visual elements (e.g., services, value objects) here -->
          <s:ArrayCollection id="sourceData">
               <fx:Object label="Content Group" stackId="contentGroup" />
               <fx:Object label="Images" stackId="images" />
               <fx:Object label="Videos" stackId="videos" />
               <fx:Object label="Flash Objects" stackId="flashObjects" />
               <fx:Object label="Story Editor" stackId="storyEditor" />
               <fx:Object label="Tag Management" stackId="tagManagement" />
               <fx:Object label="Image and Video Format" stackId="format" />
               <fx:Object label="Rules And Permissions" stackId="rulesAndPermissions" />
          </s:ArrayCollection>
          <s:Parallel id="clickMove" target="{cont}">
               <s:Animate duration="500">
                    <s:SimpleMotionPath id="motionPath" property="left" valueFrom="0" valueTo="600"/>     
               </s:Animate>
               <!--s:Fade id="fade" alphaFrom="0.4" alphaTo="1.0"/-->
          </s:Parallel>
     </fx:Declarations>
     <s:states>
          <s:State name="all" />
          <s:State name="videoUpload" />
          <s:State name="imageUpload" />
          <s:State name="contentGroup" />
          <s:State name="flashObjects" />
     </s:states>
     <s:HGroup horizontalCenter="0" id="cont" height="100%" width="100%">
          <s:Panel id="navContainer" width="250" height="100%" left="300">
               <s:List id="nav" width="250" height="100%" dataProvider="{sourceData}" click="updateStack()" />
          </s:Panel>
          <s:Panel width="30" height="100%" creationPolicy="all">
               <mx:ViewStack id="displayComponents" creationPolicy="all">
                    <mx:Canvas id="blank">
                    </mx:Canvas>
                    <mx:Canvas id="images">
                         <imageHandler:imageHandler />
                    </mx:Canvas>
               </mx:ViewStack>
          </s:Panel>
     </s:HGroup>
</s:Group>
forsome reason my hgroup will not center its self to the window... any reason why?

Similar Messages

  • TS2800 TRYING TO UPDATE TO IOS 6 ON IPHONE 3GS BUT KEEP GETTING ERROR CODE 1403.HOW DO I FIX THIS PROBLEM.

    trying to update to ios6 on iphone 3gs but keep getting error code 1403

    Try updating over Wi-Fi:
    Settings > General > Software Update.

  • I'm trying to add another mail account to T-bird but keep getting an "Incoming server already exists" error.

    T-bird was hanging when trying to get email from my elitemail.org account (sub-domain of Fastmail.fm) so I tried deleting the account and starting over. I "thought" I cleaned out all instances of the incoming/outgoing servers and passwords, but apparently there's still a file that is hanging on to them somewhere. Before doing anything though, I 'did' .tar.bz2 the .thunderbird dir so I wouldn't lose any mail. Heck, I even went so far (after getting the above error the first time) of removing T-bird from the system, and deleting the .thunderbird dir! So I'm still getting the error, even on what is effectively a new install. What I want to know is, what file do I need to edit or delete (even AFTER backing up then deleting the .thunderbird dir) so Thunderbird really IS starting from scratch? Migrating my old email dirs is easy - but apparently getting rid of the mail servers takes an act of Congress.
    Running Thunderbird 3.1.9 on Salix 13.37.

    As far as Thunderbird is concerned, you can keep the profile (and any existing mail in that profile.
    In any case, it should work with a new profile. Deleting the .thunderbird directory would cause Thunderbird to create a new profile when starting the next time. It would then come up empty, and you'll need to create an account again.
    Is this what you did?

  • Trying to download ios 6.1 on ipod touch but i get error -23

    Can someone help me ?
    Just got my ipod back but its running ios 4.1 and im trying to download ios 6.1 but I get an error -23

    Error 20, 21, 23, 26, 28, 29, 34, 36, 37, 40
    These errors typically occur when security software interferes with the restore and update process. FollowTroubleshooting security software issues to resolve this issue. In rare cases, these errors may be a hardware issue. If the errors persist on another computer, the device may need service.
    Also, check your hosts file to verify that it's not blocking iTunes from communicating with the update server. See iTunes: Advanced iTunes Store troubleshooting—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > Mac OS X > The hosts file may also be blocking the iTunes Store. If you have software used to perform unauthorized modifications to the iOS device, uninstall this software prior to editing the hosts file to prevent that software from automatically modifying the hosts file again on restart.

  • Trying to install Premiere Elements 10 on Windows 7 but keep getting error message 'A reduced set of content has been installed' - help!

    We bought Premiere Elements 10/Photoshop Element 10 a while ago and it worked brilliantly on our Window XP machine, but since we moved to Windows 7 last year we can't get Premiere Elements 10 to work properly and always get the error message 'A reduced set of content (Instant Movie Themes, Title and Menu templates, etc) has been installed. You can install the full content by inserting your Content DVD or downloading it. Do you want to install now?'. So I've tried reinserting the DVDs and installing them. I've uninstalled all the software and started again, but each time I get the same message at the end of the process. I've spoken to the computer shop I bought the computer from and they say Windows 7 is incompatible, but that doesn't seem to be what the Adobe web site says. Please, any advice welcome as I've got a year's worth of videos I need to edit.
    Thank you!
    Adobe Premiere Elements 10.0 
    Windows 
    2 GHz or faster processor with SSE2 support; dual-core processor required for HDV or AVCHD editing and Blu-ray or AVCHD export.
    Microsoft Windows XP with Service Pack 2, Windows Media Center, Windows Vista® (all applications run native on 32-bit operating systems and in 32-bit compatibility mode on 64-bit operating systems), or Windows 7 (Adobe® Premiere® Elements Editor runs native on 32-bit and 64-bit operating systems; all other applications run native on 32-bit operating systems and in 32-bit compatibility mode on 64-bit operating systems)

    cathyj
    Are you working with Windows 7 32 bit or 64 bit? What video card/graphics card does your computer use? NVIDIA GeForce? And, are you doing your download and installing with antivirus and firewall(s) disabled?
    Premiere Elements 12 is compatible with Windows 7, 8, or 8.1 64 bit.
    If you have tried to obtain the Premiere Elements 10 Content from the installation disc labelled for Content for your version and operating system and that is not working, then can try downloading and installing the Content from the following Adobe link if you do not decide to click on the message to initiate the content download from within the program.
    http://www.adobe.com/special/premiereel/downloads/
    We will be watching for your progress.
    ATR

  • I tried to update my ipad 2 to iOS 5, but keep getting Error 3194...any ideas?

    I first tried to update my ipad 2, running currently on iOS 4.3.3, to iOS 5 but iTunes keep telling me that an unknown Error 3194 has occurred. I uninstalled iTunes and installed it again. I restarted my laptop, but still the same message.
    How can I upgrade my ipad 2 to iOS 5????

    Click on this link:  http://support.apple.com/kb/TS1275

  • HT201269 I am trying to connect my iphone to my new computer but keep getting error eX8000084

    HOW Can this be fixed?

    Hi jrh113,
    If you are receiving a 0eX error when trying to connect your iPhone to your Windows machine, you may find the following article helpful:
    iOS: Unknown error containing '0xE' when connecting to a Windows PC
    http://support.apple.com/kb/ts3221
    Regards,
    - Brenden

  • How do you add the motion path of a tracking point to a separate clone stamp?

    How do you add the motion path of a tracking point to a clone stamp without the clone stamp assuming the same initial/continuous positions of the tracking point?
    Is there a way to keep the clone stamp's initial position and then add the path onto it?
    I am using the clone stamp to remove unwanted duct tape that was used to keep lights on a wall.

    I have spent two days trying to find a solution to this exact same problem. I have seen some overly complex solutions that probably work but trying to figure out the explanations is like trying to understand someone describe drag coefficients of rotary wing aircraft. While I am sure they work, they are way above my comprehension. I wanted an intuitive and straight forward solution for something that shouldn't require some arcane technique to fix.
    What I did:
    1) I used the Clone Stamp tool to paint over the spot on the wall I wanted to remove.
    2) picked a more easily discernible point of reference for Tracking. In my case, I used a poster on the wall.
    3) As per the instructions here, https://www.video2brain.com/en/lessons/removing-an-object-with-clone-stamp, I pasted the Attach Point data from the Tracker into Clone -> Transform - > Position 
    However, that didn't work for me as the object I was painting was not the object I was tracking. The solution from the video was simply moving my cloned spot to the tracked object instead of leaving it where I wanted it. So...
    4)  I then manually adjusted the Anchor Point of the Clone back to the original spot I wanted to cover.
    I played footage and the cloned region successfully moved with the spot I was covering.
    This is what I was able to figure out. I'm not an advanced user. I only use After Effects every couple of months when I need to fix minor things in footage, so I've only learned to use what techniques I need for the job at hand. No doubt, experienced users may shake their heads at my simplistic fix. I'm sure my technique would be wholly inadequate for situations far more complex than fixing spots on a gray wall, which is why my eyeballs cross when reading suggestions that seem way more involved than one would expect for something as seemingly minor as this. It's just a spot! It should be super easy to remove, right? Well, that's what I was looking for and that's what I came up with. I hope it helps.

  • I am trying to add my brother printer series HL-2270DW, but I keep getting an error message that the software is currently when it tries to install it.

    I am trying to add my brother printer series HL-2270DW, but I keep getting an error message that the software is currently unavailable. How do I fix this?

    I am also having this same problem. I have updated my computer. I have downloaded the complete brother driver package from Apple as well as the drivers from Brother. As far as I can tell, all have been installed successfully. It is only when I try to ADD the printer do I get that message. Both my roomate and I have Macbook Airs so we cant use the disk which came with the printer. This is irrelivant anyway as the drivers have been successfully downloaded and installed. SO FRUSTRATING!!!!! 

  • I have iphone 3gs ios 6.1.3 .. I have a problem I can not look contact profile and save it. I already sync with outlook and windows books also can not be seen. I tried to add a contact on the contact menu, but the result like restart ... (but not restart

    I have iphone 3gs ios 6.1.3 .. I have a problem I can not look contact profile and save it. I already sync with outlook and windows books also can not be seen. I tried to add a contact on the contact menu, but the result like restart ... (but not restart the device, not just stored). I am confused about this issue ... please help ..
    thank you in advance.

    Your suggestion worked perfectly.  I can't believe there is nothing in any of the instructions I have seen online at the Yahoo and Apple help sites about the making sure the right default account is checked.  I don't think I was even aware there was a "default account" setting.  Thank you so much.

  • Trying to add a signature on my apple email but the preferences will not let me select a signature...any suggestions

    Trying to add a signature on my apple email but the preferences will not let me select a signature...any suggestions

    copping out wrote:
    Trying to add a signature on my apple email but the preferences will not let me select a signature...any suggestions
    Lion or Snow Leopard?
    Either way go to Mail>Preferences>Signatures
    And make one.

  • I am trying to add a payment card for my account but didn't work don't know why?any help

    I am trying to add a payment card for my account but didn't work don't know why?any help

    Hi, Please use the following link:    http://support.hp.com/us-en/product/HP-Pavilion-10-x2-PC/7439381/model/7499063/manuals/ Regards.

  • HT201320 I m trying to add my gmail acoount to mail app but when i click on next button it is showing following message, cannot connect using ssl, what to do???

    I m trying to add my gmail acoount to mail app but when i click on next button it is showing following message, cannot connect using ssl, what to do???

    Some of the following may help:
    How to enable imap: https://support.google.com/mail/troubleshooter/1668960?rd=1
    For your username, did you enter the full name including "@gmail.com"
    Do you have gMail 2-step verification turned on? If so, you need to use an application-specifc password instead of your normal password if using a mail app: https://support.google.com/mail/answer/1173270?hl=en

  • Im trying to download itunes 10.5 but keep getting error message that says: There is a problem with this Windows Installer package. A problem run as part of the setup did not finish as expected. Contact your support personnel or package vendor.

    im trying to download itunes 10.5 but keep getting error message that says: There is a problem with this Windows Installer package. A problem run as part of the setup did not finish as expected. Contact your support personnel or package vendor. I am using windows XP 32 bit, all the other computers in my house downloaded just fine, no problems, however this is the computer my iphone is set up to, ive tried doing a virus scan, windows update, downloading other things, updating everything possible, everything works fine, its just itunes that wont download, anyone have any other ideas?

    Yes, I had found a similar solution also.  I'm running XP Pro, SP3.  I went Control Panels/ Add-Remove programmes/apple software update/ change/ repair.  Then run the 10.5 exe.
    While the programme updated from version 8 of iTunes, my new iTunes is now a mess.  Not all of my music was in the same folder previously but it all showed up on iTunes.  Now many albums have been left out, some have only a few tracks and some have two copies of some tracks as well as having other tracks missing.  I haven't begun to work on that.

  • Tried to update ITunes, but keep getting error: Service "Apple Mobile Device" failed to start. Verify that you have sufficient privileges to start system services". How do I get my ITunes back?

    Tried to update ITunes, but keep getting error: Service "Apple Mobile Device failed to start.  Verify that you have sufficient privileges to start system services."
    So how do I get my ITunes back? 

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

Maybe you are looking for

  • Video to vector flash

    I will be getting a series of 10 second video's for a website. They would like me to recreate the video as animated silhouettes of the people in the video. To show basic fight moves. Is it possible to take the supplied video into Flash, remove the ba

  • Colon In  MSS Address Field

    Dear All, We are implementing MSS. Under Team Information -->Employee Information --> general Information >Personal Data iView, the address lines contain a " : "(colon) . When I check the application in the Content Administration>Web Dynpro>mss~eepro

  • When I download the 3.6.3 version I get a warning pop up saying 'the following disk images failed to mount'. What do I need to do to stop this from happening?

    After downloading the a pop up box called Warning appears with saying 'The following disk images failed to mount' and below that there is a table that has Image with a Firefox 3.6.3 and another field called Reason saying Corrupt image. The current ve

  • Open a part of this page in Dashboard - Save as image

    This is my first Mac and I've recently started using the "Open a part of this page in Dashboard" feature. I like it but would much rather save the selected portion to an image or file instead of to the dashboard? Is this possible?

  • Help with game menu code

    Sorry if I look like a novice cause I am, I'm doing project in college can't get code to work C:\WTK22\apps\SpaceAsteroids3MIDlet\src\AboutScreen.java:22: cannot resolve symbol symbol : method MainMenuScreenShow () location: class SpaceAsteroids3MIDl