Getting a syntax error from mx.transitions.Tween with flash CS4

Hello all!
I am getting an import error with the following libraries:
import mx.transitions.Tween;
import mx.transitions.easing.*;
The errors are like this one:
Definition fl.transitions:Tween could not be found
I am using it as part of my .fla where for sorme reason it does not work but it works fine in the original archive. I guess it is a problem with the action script version becouse the original template use as2 and I am using as3.
Does anyone know which are the equivalent libraries in as3???
May I import does libraries directly in as3?
Thanks in advance for your help

in as3, you should use:
import fl.transitions.Tween;
import fl.transitions.easing.*;
NOT
import mx.transitions.Tween;
import mx.transitions.easing.*;
(see the difference?)

Similar Messages

  • How to move a keyframe from a Motion Tween in Flash CS4

    I understand that motion tween is a new form of tween in CS 4 however  I am unable to move a keyframe within the time line? am I missing something? I would hope I could select the keyframe (diamond  shape) and move it around the timeline but apprently Im missing something.. I am not able to do a cut and copy either... is this normal behavior?
    thanks
    cheers
    stephan

    Thank you so much for getting back to me so quick. Work is chaotic right now or I would have replied sooner.
    Anyway, my lines aren't actually 3D at all. Everything, including the box, are 2D. But that does give me an idea, once I'm more proficient in Flash if I decide to make this animation even better in the future.
    I attached a screenshot of my homepage. You'll see a set of lines on the left side that surround a square with Sarah Knouse LeCroy inside. (That square is what I was referring to as a 'box'...probably not a good description.) I want that square to move down to the bottom left corner when you click on Portfolio, Contact or Resume. As it moves, I want the lines to collapse and fold together so that it looks like they're all neatly getting 'packed away' so that all that's left when viewing, say Portfolio, is an empty page with the square down in the lower left corner.
    What is the best way to animate those lines in CS4? Most of the lines do not need to stay connected to the square as it's moving so I think I can just do a Classic tween for those. But the 3 diagonal ones DO need to stay connected to the box as it's moving. I was doing a motion tween and rotating/elongating each line in sections but they still didn't match up exactly in some places during the move. When I would try to go back and adjust a position I had set, it would just pop right back to the original position.
    The last problem I'm having is an issue with getting this animation to play only when you leave the homepage and click to Portfolio, Contact or Resume.
    But don't want to overwhelm so just answer what you have time for! Later, I could attach my main timeline so that you could see what I already have set up.
    Thanks so much!

  • Why am I getting a syntax error on the /head line in DW CC?

    I am getting a syntax error in DW CC.  Other threads have indicated this was a bug in CS6 but had been fixed in CC.  That leads me to believe it's my fault, but I can't figure it out.  Can anyone help based on the information I've pasted below?  Thanks!
    <!doctype html>
    <!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
    <!--[if IE 7]>    <html class="ie7 oldie"> <![endif]-->
    <!--[if IE 8]>    <html class="ie8 oldie"> <![endif]-->
    <!--[if gt IE 8]><!-->
    <html class="">
    <!--<![endif]-->
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Untitled Document</title>
    <link href="boilerplate.css" rel="stylesheet" type="text/css">
    <link href="style.css" rel="stylesheet" type="text/css">
    <link href="jQueryAssets/jquery.ui.core.min.css" rel="stylesheet" type="text/css">
    <link href="jQueryAssets/jquery.ui.theme.min.css" rel="stylesheet" type="text/css">
    <link href="jQueryAssets/jquery.ui.accordion.min.css" rel="stylesheet" type="text/css">
    <link href="jQueryAssets/jquery.ui.tabs.min.css" rel="stylesheet" type="text/css">
    <!--
    To learn more about the conditional comments around the html tags at the top of the file:
    paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
    Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
    * insert the link to your js here
    * remove the link below to the html5shiv
    * add the "no-js" class to the html tags at the top
    * you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
    -->
    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script src="respond.min.js"></script>
    <script src="jQueryAssets/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="jQueryAssets/jquery-ui-1.9.2.accordion.custom.min.js" type="text/javascript"></script>
    <script src="jQueryAssets/jquery-ui-1.9.2.tabs.custom.min.js" type="text/javascript"></script>
    <!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.--><script>var __adobewebfontsappname__="dreamweaver"</script><script src="http://use.edgefonts.net/adamina:n4:default.js" type="text/javascript"></script>
    </head>
    <body>
    <div class="gridContainer clearfix">
      <div id="div1" class="fluid">
        <header id="header" class="fluid">
          <p><img src="Images/Logos/insidejoplinlogo.png"  alt=""/></p>
            <nav id="mainnav" class="fluid"> <ul class="fluid fluidList mainnavlist"> <li class="fluid mainnavitem zeroMargin_desktop"><a href="Index2.html" title="Inside Joplin Home" target="_self">Home</a></li><li class="fluid mainnavitem"><a href="news.html">News</a></li><li class="fluid mainnavitem"><a href="entertainment.html">Entertainment</a></li><li class="fluid mainnavitem"><a href="announcements.html">Announcements</a></li><li class="fluid mainnavitem hide_mobile"><a href="galleries.html">Galleries</a></li><li class="fluid mainnavitem hide_mobile"><a href="aboutcontact.html">About/Contact</a></li>  </ul> </nav>
        </header>
        <article id="indexguts" class="fluid">    <article id="indexarticle" class="fluid">
          <h4 class="fluid articleH4 zeroMargin_mobile">Latest News</h4>
          <p> </p>
         <div id="Accordion1">
            <h3><a href="#">Section 1</a></h3>
            <div>
              <p>Content 1</p>
              </div>
            <h3><a href="#">Section 2</a></h3>
            <div>
              <p>Content 2</p>
              </div>
            <h3><a href="#">Section 3</a></h3>
            <div>
              <p>Content 3</p>
              </div>
          </div>
        </article><article id="article1" class="fluid">
          <h4 class="fluid articleH4 zeroMargin_mobile">Latest Entertainment</h4>
          <p> </p>
          <div id="Accordion2">
            <h3><a href="#">Section 1</a></h3>
            <div>
              <p>Content 1</p>
              </div>
            <h3><a href="#">Section 2</a></h3>
            <div>
              <p>Content 2</p>
              </div>
            <h3><a href="#">Section 3</a></h3>
            <div>
              <p>Content 3</p>
              </div>
          </div>
        </article><article id="article2" class="fluid"><h4 class="fluid articleH4 zeroMargin_mobile">Latest Announcements</h4>
        <p> </p>
          <div id="Tabs1">
            <ul>
              <li><a href="#tabs-1">Obituaries</a></li>
              <li><a href="#tabs-2">Weddings</a></li>
              <li><a href="#tabs-3">More</a></li>
              </ul>
            <div id="tabs-1">
              <p>Content 1</p>
              </div>
            <div id="tabs-2">
              <p>Content 2</p>
              </div>
            <div id="tabs-3">
              <p>Content 3</p>
              </div>
        </div>
        </article><article id="indexbotleft" class="fluid">This is the content for Layout Article Tag "indexbotleft"</article><article id="article3" class="fluid">This is the content for Layout Article Tag "indexbotleft"</article></article><aside id="mainsidebar" class="fluid">This is the content for Layout Aside Tag "mainsidebar"</aside><aside id="mainsidebar2" class="fluid">This is the content for Layout Aside Tag "mainsidebar2"</aside><article id="indexbotrot" class="fluid">This is the content for Layout Article Tag "indexbotrot"</article>
        <footer id="footer" class="fluid">
        <nav id="footernav" class="fluid">
         <ul id="footernavlist" class="fluid fluidList"> <li class="fluid footernavlistitem zeroMargin_mobile"><a href="Index2.html">Home</a></li><li class="fluid footernavlistitem hide_mobile"><a href="news.html">News</a></li>
          <li class="fluid footernavlistitem hide_mobile"><a href="entertainment.html">Entertainment</a></li>
          <li class="fluid footernavlistitem hide_mobile"><a href="announcements.html">Announcements</a></li>
           <li class="fluid footernavlistitem zeroMargin_desktop zeroMargin_mobile"><a href="galleries.html">Galleries</a></li>
           <li class="fluid footernavlistitem zeroMargin_mobile"><a href="aboutcontact.html">About Us</a></li> 
            <li class="fluid footernavlistitem zeroMargin_mobile"><a href="mailto:[email protected]">Email</a></li> <li class="fluid footernavlistitem zeroMargin_mobile"><a href="www.facebook.com/insidejoplin" target="new">Facebook</a></li></ul> 
           </nav>
           <article id="footerarticle" class="fluid"><img src="Images/Logos/insidejoplinlogo.png"  alt=""/></article>
        </footer>
      </div>
    </div>
    +
    <script type="text/javascript">
    $(function() {
              $( "#Accordion1" ).accordion();
    $(function() {
              $( "#Accordion2" ).accordion();
    $(function() {
              $( "#Tabs1" ).tabs();
    </script>
    </body>
    </html>

    Well Jon, the code is very simple... it's generated by DW's form check... and, as i said, it happens with unfailing regularity the minute it's put in to a template generated child.
    This is what the code on the page looks like:
    <head>
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Title Here</title>
    <meta name="Keywords" content="some keywords here" />
    <meta name="Description" content="Description here" />
    <script type="text/javascript">
    function MM_validateForm() { //v4.0
      if (document.getElementById){
        var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
        for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
          if (val) { nm=val.name; if ((val=val.value)!="") {
            if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
              if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
            } else if (test!='R') { num = parseFloat(val);
              if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
              if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
                min=test.substring(8,p); max=test.substring(p+1);
                if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
          } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
        } if (errors) alert('The following error(s) occurred:\n'+errors);
        document.MM_returnValue = (errors == '');
    </script>
    <!-- InstanceEndEditable -->
    </head>
    And, whammo: "There is a syntax error on line xx. Code hinting may not work until you fix this error."
    And, the error always highlights the closing </script> line.
    The script itself is fine:
    1. If one puts it into an external js file, there's no problem
    2. If one puts it in the body section, there's no problem
    3. If one puts it in the template, there's no problem
    Also, if one removes the closing </script> tag, the error goes away
    The problem only happens in a child generated by a template and in the location I've illustrated. Apparently, this is a problem a lot of users are facing...

  • HT1349 iTunes will not start on my PC. I get a runtime error from the Visual C== runtime library when iTunesHelper.exe is started. The message states the application attempted to load the library incorrectly. How is the problem to be resolved?

    iTunes will not start on my PC. I get a runtime error from the Visual C++ runtime library when iTunesHelper.exe is started. The message states the application attempted to load the library incorrectly. How is the problem to be resolved?

    Click here and follow the instructions.
    (99035)

  • Getting an odd error from a powerpivot timer job, not sure what it means

    Hi Everyone,
    so I am getting this funky error from the PowerPivot Management Dashboard Processing Timer Job:
    The table with ID of '05fa319f-dd29-40d1-b359-417b4d285fa2', Name of
    'DataSources' referenced by the 'Sandbox' cube, does not exist. An error
    occurred when loading the Sandbox cube, from the file, '\\?\C:\Program
    Files\Microsoft SQL
    Server\MSAS10_50.POWERPIVOT\OLAP\Backup\Sandboxes\PowerPivotServiceApplication\8e750a98-850d-4915-bb13-7645fc53adef.11.db\Sandbox.88.cub.xml'.
    Anyone have any idea what this means or how to fix it?
    Best regards, Mike

    Hi,
    According to your post, my understanding is that you got the funky error from the PowerPivot Management Dashboard Processing Timer Job.
    The error means that there is no such file which exists on that location. If the PowerPivot was removed but the target application remained, it was trying to refresh on schedule and was failing.
    In general we can disable the setting to disallow users to use their own credentials by following below steps:
    1. Central Admin->Application Management->Manage Service Applications
    2. Click the PowerPivot service application name. The PowerPivot Management Dashboard appears.
    3. In Actions click Configure service application settings to open the PowerPivot Service Application Settings
    4. In the Data Refresh section clear the “Allow users to enter custom Windows credentials” checkbox.
    For more information, you can refer to:
    PowerPivot – Error while loading sandbox cube
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • When installing itunes 10 uding windows xp I get the following error: "There is a problem with this Windows Installerpackage. A program run as part of the setup did not finish as expected. Contact your sipport personnel or package vendor." - any ideas?

    When downloading itunes 10 in windows xp, I get the following error "There is a problem with this Windoes Installer package. Aprogram run as part of the setup did not finish as expected. Contact your support personnel or package vendor." - any ideas on how to proceed?

    using MSICUU2.exe didn't help me.  But,  the new replacement app did:
      http://support.microsoft.com/mats/Program_Install_and_Uninstall
    I fixed my problem like this:
    Here's the deal - 
    1.  can you install itunes via the APPLE SOFTWARE updater?
    I couldn't  so I downloaded ITUNES and tried to install it that way.   Hence  I got the same error hang as you.  Nothing worked,  (Multiple attempts at uninstall reinstall,  stopping of Services,  Reg cleaners  etc..)
    2.  If answer is NO to #1 you must fixe the APPLE SOFTWARE UPDATE Program. 
    OK  so I couldn't find a Download for this.   But:  if you have WINRAR,  open the ITUNES.EXE and extract the APPLESOFTWAREUPDATE.MSI file.  Execute the APPLESOFTWAREUPDATE.MSI separately.   And you will not be able to install it and have a similar issue as per your Itunes install.   This of course leads you to believe that the Itunes.exe  install is also installing all of these components including the applesoftwareupdate silently.   It must BOMB at that portion of the install and you are done. 
    3.  Your goal now is to get the applesoftwareupdate installed.   How do you do this.  Well -  here is what I did.
      a.  downloaded and RUN a PC  Installer FIX it tool from Microsoft.  This is a replacement for the older MSI fixer they used to use.
      http://support.microsoft.com/mats/Program_Install_and_Uninstall
    b. It will list programs to attempt to fix.
      choose  AppleSoftwareUpdate.msi
    c. Once it is done,  then reinstall apple program updater using
    AppleSoftwareUpdate.msi
    Finally it should install since the Microsoft tool appraently fixed corrupted installation files in your registry for this application.
    (Please note:  that I also disabled any apple related services such as BONJOUR or IPOD DEvice RUN:  services.msc to get there -  although this man not be necesarry.)
    Hence Launch this APPLE UPDATE SOFTWARE (Click the ICON in your Start menu)  it should list ITUNES
    select ITUNES from here and it will update.
    KEY HERE is to ONLY UPDATE APPLE Stuff via the APPLE SOFTWARE UPDATE program.  If that program is not working fix it.  Then Bingo.
    I am sorry to see folks having this problem for weeks.  
    APPLE,   Spread the word.  PC's can get corruption in the registry on your product should the update be stopped or computer shut off during an update.  etc...   Please improve your software updater program to check for invalid registry upon launching the app.  This will prevent people thinking it is an APPLE issue.  It appears to be a problem on your PC's registry settings for the APPLE Software update.
    Bruno Ricci

  • HT2693 I am getting an 1015 error while updating Iphone 3G with latest iTunes pls help me to restore iPhone 3G

    I am getting an 1015 error while updating Iphone 3G with latest iTunes pls help me to restore iPhone 3G

    Try this and see if this helps http://support.apple.com/kb/TS3694#error1015

  • How can I get notes (app Notes) from HTC HD2 smartphone with OS Windows mobile 6.5 to my iPhone 4S ?

    How can I get notes (app Notes) from HTC HD2 smartphone with OS Windows mobile 6.5 to my iPhone 4S ?

    iPhonePeter wrote:
    What about file format? (In windows mobile is *.pwi)
    Irrelevant if you cut and paste the content of the note into an email.

  • When I try to export a photo to my desktop I get the followiing error message "Export Versions Complete with Errors" any ideas why?

    when I try to export a photo to my desktop I get the followiing error message "Export Versions Complete with Errors" any ideas why?

    Have you tried to export different images as a test to see if it is related to the one you are getting the error on? Also try to export to a different folder other then the Desktop, again to see if the problem is connected to that folder.
    Another thing to do is run the Aperture Library First Aid on the library. Hold the option and command keys down while you start Aperture. First run the Permission Repair and see if that helps. If not quit Aperture and restart and run the Library Repair and try.
    Post back if you still have problems
    regards

  • Problem with Flash CS4. Getting error when rendering the file

    Hi,
    One of my user is facing problem with Flash CS4.
    Whenever he tries to render the file, Flash CS4 throws the below error and only after restarting the application, it works fine for another couple of hrs.
    Please some one help me to resolve this issue.
    -Prabagaran L.

    Please post in the Flash forum. This forum is for suite specific issues.
    Bob

  • Error in creating XML photo gallery with Flash CS4 and AS 3.0

    Hello, all. I've been creating an XML photo gallery with Flash CS4 and AS 3.0 following a tutorial. I followed the instructions step-by-step but at the end I got the following error message instead:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
    Could anyone in the community assist me as to how to solve the problem? The script has no errors and last time I checked all the applicable files (the .xml file, the .jpg files, the .swf and the .fla file) are in my Documents folder on the Mac.
    Looking forward to your suggestions!

    Check the folder structure
    Flash is not able to get some file thats why the IO Error.
    trace the url path just before u load the file and u will be abel to find whether that file is in specified folder or not.
    http://www.darshanrane.com

  • Need help with Flash CS4 buttons/can't get buttons to control anything

    Hello,
    I need help with Flash CS4. I am making a banner with an animation (Image change into movie clip "3D Spiral") and added buttons but I cannot get the buttons to control the animation. Please help I am frustrated! If someone could help I would be most appreciated.

    Thank you.
    Regards,
    Michael J. Sheehan  allelois
    Date: Mon, 17 Aug 2009 18:48:09 -0600
    From: [email protected]
    To: [email protected]
    Subject: Need help with Flash CS4 buttons/can't get buttons to control anything
    Hi there
    I'm not sure how you wound up where you did. But you wound up in the Adobe Captivate forums. Please stand by as I move your thread to the Flash forums.
    Cheers... Rick
    >

  • When I am on facebook I continually get a syntax error message which keeps coming back. I have checked my settings and enabled java script but doesnt help.

    I can access my facebook account with no trouble, but once facebook is loaded I repeatedly get an error message; syntax error. The words 'Java Script application' are in the bar across the top of the message. It comes up many times and completely disrupts what I am doing. I am wondering if ot has something to do with the adverts in the side bar of each page that I open in facebook. If I open FB from Google Chrome I don't get that problem, or in Explorer, but I would rather use Firefox. Help would be apprecitaed, please. Thanks.

    hello, first of all please [https://www.mozilla.org/firefox/update/ update firefox to the latest version]. the errors you're getting are likely coming from the socialfixer addon that you've installed - there's also an updated version of the extension available which fixes these kind of issues: http://socialfixer.com/blog/category/releasenotes/

  • Getting a syntax error while creating the simple OData service.

    Hi Folks,
    That is what I typed in a in .xsodata file but it is giving me a syntax error..any idea why this can be?
    Thank you for your help.
    service namespace "sap.hana.test.service"
    { "SYS" , "AFL_AREAS_" as "TEST";

    Hi,
    I tried creating the same. I was able to activate all three files i.e. .xsapp,.xsaccess,*.xsodata. The three file contents are mentioned below. The data might not be displayed in the browser due to privileges issue as it is SYS table.
    .xsapp contains
    .xsaccess contains
      "exposed" : true
    *.xsodata contains
    service
    "SYS"."AFL_AREAS_" as "mytable";

  • I suddenly started getting hard disk error from a fictitious recovery software how do i get rid

    I suddenly started getting hard disk error on my compaq laptop and some software called file recovery start running scans showing all sorts of errors and hiding all my files. I've lost all my icons can't see any files in explorer and upon looking into this found that this may be a fictitious software that has gotten installed on my laptop while browsing through some web sites. all was fine and the problem started while I was in the middle of brwoing some websites.
    I am trying to unhidew files but I can't get to my control panel as it does not seem to be there.
    Can someone please help. When I looked this i found a website telling descrbing everything that is happeniing on my screen and telling me that this is a fictitious software and gave me various options to resolve but I'm not sure if I should trust this site or not.
    Please help. Its my old mum's laptop and she really needs my help on this.
    Many thanks
    Rekha

    Try to download MalwareBytes and do a scan/cleaning with it:
    http://download.cnet.com/Malwarebytes-Anti-Malware/3000-8022_4-10804572.html?part=dl-10804572&subj=d...
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

Maybe you are looking for