1172: Definition fl:transitions could not be found.
Trying to run this simple script and getting errors. The one mentioned above as well as this:
5001: The name of package 'fl.transitions.easing' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. /Applications/Adobe Flash CS3/Configuration/ActionScript 3.0/Classes/fl/transitions/easing/Strong.as
Here is the script:
import fl.transitions;
import fl.transitions.easing.*;
var myTween:Tween = new Tween(rectangle, "x", Strong.easeOut, 0, 300, 15, true);
Using a mac. I have tried to point the global classpath (preferences panel) to the exact directory and to the class directory, but doesn't work no matter what I do. Here are the global settings for the classpath:
$(UserConfig)/Classes
MacIntosh HD: Application: Adobe Flash CS3: Configuration: ActionScript 3.0:Classes
MacIntosh HD: Application: Adobe Flash CS3: Configuration: ActionScript 3.0:Classes:fl:transitions
MacIntosh HD: Application: Adobe Flash CS3: Configuration: ActionScript 3.0:Classes:fl:transitions:easing
Any suggestions would be greatly appreciated.
Hey Andre1,
Just wanted you to know that I seem to have solved it. It was the
classpath variables. I had to remove the "." entirely (immediately
directory), even though there were no classpaths there and I moved
this down to the bottom of the classpaths. It is working with:
$(AppConfig)/ActionScript 3.0/Classes
$(UserConfig)/Classes
I really appreciate the help. I downloaded the TweenMax and TweenLite,
but for my purposes, unless I buy the TransformManager, it won't help.
If all else fails, I will.
You were a great help. Thanks again,
Andrea
Similar Messages
-
1172: Definition fl.events could not be found.
I've tried putting in the simple code (into the 1st keyframe
of a layer) shown below but it gives me 2 "1172: Definition
fl.events could not be found." errors. I also get 1172 errors if i
try to import any of the other fl. classes.
Code:
import fl.events.*;
import flash.events.*;
var asCircle:MovieClip = new My_Circle();
asCircle.x = asCircle.y = 100;
addChild(asCircle);
var xVel:Number = 20;
addEventListener(Event.ENTER_FRAME, onLoop, false, o, true);
function onLoop(evt:Event):void {
asCircle.x += xVel;
If i comment out "import fl.events.*;" and the
"addEventListener(Event.ENTER_FRAME, onLoop, false, o, true);" it
does create the My_Circle at (100,100) so its not a problem with
that as far as I can tell. This also shows that the "import
flash.events.*;" statement works fine. I've also tried putting the
code into a .as file and accessing as the Document file but it just
gave the same errors.
I have trawled the net and can't find anything that works.
I've even tried changing the ActionScript 3.0 Classpath without any
success even though i set to read the right paths as described here
for the fl classes:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00000388.html
I can't understand why it won't work as the code is so
simple. The fact import statements don't work even though they come
up blue makes me think its an installation problem but i haven't
fiddled with any of the install settings and I have uninstalled and
reinstalled 3 times. I'm using a copy of Adobe Flash CS3
Professional trial version.
Any help would be greatly appreciated. It seems it should be
such a simple thing to fix but nothing seems to work.I thought I needed to import fl.events.* or flash.events.* to
be able to use the addEventListener, turns out you don't need to.
I'm just learning ActionScript at the moment and trying to get my
head around it. I'm used to using languages where you need to
import classes to use methods from them (i.e. Java). I went through
all the video tutorials and stuff, obviously that doesn't seem to
have helped much in learning ActionScript 3.0. -
Error: Definition flash.fileSystem could not be found
when trying to import import flash.fileSystem.* i am geeting an error like this
Error: Definition flash.fileSystem could not be found.
import flash.fileSystem.*
Is there any solution ? i have already refrenced the library path.Hi ReemaDevi,
I think you are working on an AIR app..
The namespace you imported is wrong...It should be
import flash.filesystem.*;
You have used fileSystem wrong case..
Thanks,
Bhasker Chari.S -
Definition flash.events could not be found
how can i solve this problem:definition flash.events could
not be found,thank you,all.you can only use this Event if you publish to AIR:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/StageOrien tationEvent.html -
Definition flash.event could not be found
import flash.utils.Timer;
import flash.event.TimerEvent;
import fl.transitions.Tween;
import fl.transitions.easing.*;
mc1.alpha = 0;
mc2.alpha = 0;
mc3.alpha = 0;
var timer:Timer=new Timer(500,27);
timer.addEventListener(TimerEvent.TIMER,timerListener);
timer.start();
function timerListener(event:TimerEvent):void
if(timer.currentCount == 1)
if(count==1)
var tween6:Tween = new Tween(mc3,"alpha",Strong.easeOut,1,0,1,true);
var tween1:Tween = new Tween(mc1,"alpha",Strong.easeOut,0,1,2,true);
if(timer.currentCount == 10)
var tween2:Tween = new Tween(mc1,"alpha",Strong.easeOut,1,0,1,true);
var tween3:Tween = new Tween(mc2,"alpha",Strong.easeOut,0,1,2,true);
if(timer.currentCount == 19)
var tween4:Tween =new Tween(mc2,"alpha",Strong.easeOut,1,0,1,true);
var tween5:Tween =new Tween(mc3,"alpha",Strong.easeOut,0,1,2,true);
if(timer.currentCount == 27)
timer.reset();
timer.start();
var count = 1;
this is what i get ....
Scene 1, Layer 'Action Script', Frame 1, Line 2
1172: Definition flash.event:TimerEvent could not be found.i understand that!
some things are just hard to see and the longer you look, the less you see. -
Definition Flash.util could not be found
Refers to line: import flash.util.*;
also get error: Access of possibly undefined property call
through areference with static type mx.rpc.events:ResultEvent
in reference to: model.loginVO = LoginVO( event.call.loginVO
Thanks for any helpOk thanks got passed those. How about this one..
get error
quote:
Implicit coercion of a value with static type
mx.core:UIComponent to a possibly unrelated type mx.core:Container
refers to line:
quote:
selectedChild="{ getView( model.workflowState )}">
from the block:
quote:
<mx:ViewStack
id="appView"
selectedChild="{ getView( model.workflowState )}">
<view:Login id="login" />
<mx:VBox id="loggedIn" >
<mx:Label text="{ 'Logged in as ' + LoginVO(
model.loginVO ).username + ' at ' + model.loginDate }" />
</mx:VBox>
</mx:ViewStack>
TIA -
1172: Definition caurina.transitions:Tweener could not be found
Hi All
kindly help me for this issue.
I have a flash file transferred to another device, but it does not work now, I find this error .
Scene 1, Layer 'global functions', Frame 2, Line 1 1172: Definition caurina.transitions:Tweener could not be found.i can send source if you want .
thank a lot for help me .
This error, which got it :-
Scene 1, Layer 'global functions', Frame 2, Line 1 1172: Definition caurina.transitions:Tweener could not be found.
Scene 1, Layer 'global functions', Frame 2, Line 76 1120: Access of undefined property Tweener. -
The Mac version of my Air app works fine, so does the iPad version, but the PC version has been a bit of a nightmare.
I keep getting the error "1172:Definition com.adobe.crypto could not be found", when I publish it.
Basically the 'com' folder is in the same directory as the app I am publishing and within that is 'adobe' and within that is 'crypto' within that is a series of .as files.
I've added C:\Users\Gary\Documents\My_Applications\My_App_folder\com\adobe\crypto to source path list (I have no idea if that's right).
But that just gives me a different error 5001: The name of package com.adobe.crypto does not reflect the location of this file. Please change the package definitions name inside the file.......
I didn't have to include this source in the Mac version... but someone seemed to suggest it on a forum.
I'm basically stabbing in the dark at the mount, something I seem to be doing a lot of these days. :-(
Any help would be greatly appreciated.
Many Thanks
GaryI've figured it out
Turns out I needed to add a source path (in the Actionscript 3 settings click on the Source File Tab) that exactly matches the directory the app and com folder is inside of. I wrongly assumed that Adobe Air could figure out where it was for itself, but no.... it needs to be told where to look for the com folder even though it's staring it right in its face. (Don't set the path to the 'com' folder itself, but to the enclosing folder that the .fla and the com is in).
The Mac version doesn't seem to need that, it just finds the com folder if it's inside the same folder.
Now I've got another massive error:-
When I test the app, it works fine sending to Air for Desktop, however when I publish with embedded runtime for Windows.... It comes up with this error.
Any ideas ? -
1172: Definition flash.filesystem:File could not be found.
I get the error 1172: Definition flash.filesystem:File could not be found. when i attempt to import File class or any other class from the package flash.filesystem. I already installed Adobe AIR but it still doesn't work.
you're welcome.
(been there and done that, too.) -
I am getting a couple of error when I try to use a component
as a itemrender for my tile list. Both of these mxml files are in
the same folder.
I am getting the following errors.
1120 Access of undefinded property PropertyThumb
1172 Definition PropertyThumb could not be found.
<mx:TileList id="propTile" width="100%" height="100%"
allowMultipleSelection="false"
dataProvider="{propertyList}"
itemRenderer="PropertyThumb" direction="vertical">
</mx:TileList>
and here is my component PropertyThumb
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="
http://www.adobe.com/2006/mxml"
width="298" height="134">
<mx:CurrencyFormatter id="currencyFormat" precision="2"
currencySymbol="$" decimalSeparatorFrom="."
decimalSeparatorTo="." useNegativeSign="true"
useThousandsSeparator="true" alignSymbol="left"/>
<mx:Image x="10" y="10" width="121" height="111"
source="{data.pictureurl}" scaleContent="true"/>
<mx:Label x="139" y="56" text="{data.address}"/>
<mx:Label x="139" y="80" text="{data.city}"/>
<mx:Label x="139" y="103" text="{data.state}"/>
<mx:Label x="218" y="103" text="{data.zip}"/>
<mx:Label x="139" y="10" text="Price:"/>
<mx:Label x="178" y="10"
text="{currencyFormat.format(data.price)}"/>
</mx:Canvas>
Thanks,
ThomasDo you ever get the feeling you are talking to yourself. lol
After some more testing, it seems to work fine when I put the
tilelist in the main application. I get the error when I put the
tile list in a component. The itemrenderer is a different component
itself.
Is this designed only work in the application and not a
seperate component? -
Hi, I have a Flash file someone else created that I need to debug and repair.
I get the following errors, when running debug:
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 1, Column 40
1172: Definition de.alex_uhlmann.animationpackage could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 2, Column 50
1172: Definition de.alex_uhlmann.animationpackage.animation could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 3, Column 48
1172: Definition de.alex_uhlmann.animationpackage.drawing could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 4, Column 48
1172: Definition de.alex_uhlmann.animationpackage.utility could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 5, Column 31
1172: Definition com.robertpenner.easing could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 1, Column 40
1172: Definition de.alex_uhlmann.animationpackage could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 2, Column 50
1172: Definition de.alex_uhlmann.animationpackage.animation could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 3, Column 48
1172: Definition de.alex_uhlmann.animationpackage.drawing could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 4, Column 48
1172: Definition de.alex_uhlmann.animationpackage.utility could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 5, Column 31
1172: Definition com.robertpenner.easing could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 7, Column 1
1120: Access of undefined property APCore.
That symbol is in my library.
When I go to the code, it shows:
import de.alex_uhlmann.animationpackage.*;
import de.alex_uhlmann.animationpackage.animation.*;
import de.alex_uhlmann.animationpackage.drawing.*;
import de.alex_uhlmann.animationpackage.utility.*;
import com.robertpenner.easing.*;
APCore.initialize();
nextBtn._alpha = 0;
I downloaded what I believe to be the correct animation package from here, versions 2.0 and 3.0, for Flash Pro CC2014, Flash Player 13:
AnimationPackage
I have no idea how I am supposed to import this package into my library, since none of the files are available to import, or what procedure I'm supposed to follow to correct this error. I emailed the programmer, but I have no idea if he is even still around. Does anyone have an answer on how to resolve this? Email me at [email protected] if you want the FLA file, since I can't attach it here. Thanks for the help!you need the classes mentioned after 'Definition" in the lines below and they should be place in de/alex_uhlmann/animationpackage subdirectory of your default directory.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 2, Column 50
1172: Definition de.alex_uhlmann.animationpackage.animation could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 3, Column 48
1172: Definition de.alex_uhlmann.animationpackage.drawing could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 4, Column 48
1172: Definition de.alex_uhlmann.animationpackage.utility could not be found.
you also need penner's easing class in com/robertpanner -
I'm using amxmlc to build a SWF from an MXML source code file. I'm passing -swf-version=13 to amxmlc.
In the MXML source, I have the following line:
<s:TextArea id="inputTextArea" width="100%" height="100" fontSize="28" borderColor="#000000" skinClass="spark.skins.mobile.TextInputSkin" />
I get these errors when running the amxmlc command:
...App.mxml(428): Error: Access of undefined property TextInputSkin.
<s:TextArea id="inputTextArea" width="100%" height="100" fontSize="28" borderColor="#000000" skinClass="spark.skins.mobile.TextInputSkin" />
...App.mxml(428): Error: Definition spark.skins.mobile:TextInputSkin could not be found.
<s:TextArea id="inputTextArea" width="100%" height="100" fontSize="28" borderColor="#000000" skinClass="spark.skins.mobile.TextInputSkin" />
Why am I getting these errors? I need to be able to use the spark.skins.mobile.TextInputSkin in order to have use of the soft keyboard on iOS devices.you need the classes mentioned after 'Definition" in the lines below and they should be place in de/alex_uhlmann/animationpackage subdirectory of your default directory.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 2, Column 50
1172: Definition de.alex_uhlmann.animationpackage.animation could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 3, Column 48
1172: Definition de.alex_uhlmann.animationpackage.drawing could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 4, Column 48
1172: Definition de.alex_uhlmann.animationpackage.utility could not be found.
you also need penner's easing class in com/robertpanner -
Why this error "Definition fl.video:VideoPlayer could not be found"
I have this in a .as file
package {
import fl.video.VideoPlayer;
import flash.display.Sprite;
public class VideoPlayerExample extends Sprite {
public function VideoPlayerExample() {
When I create and save .fla file with a document class VideoPlayerExample, and test the movie I got this error:
1172: Definition fl.video:VideoPlayer could not be found.
Any idea how to make flash find where the definition is. My copy of Flash was installed with the default installation settings.Thank you Kglad,
I apologize for my ignorance but unfortunately I don't know what "flvplayback component" is and how to have one in my library.
Any ideas how to make one?
I searched the online help for a definition but it doesn't seem to have one. The closest that I found was this section that says what it does once you have it but no mentioning how to make it.
http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WS0ED77F00-2006-49aa-8399-92B6D5D8CE00.h tml#WS62A31643-EF23-45ec-80D0-04DB8CE1AB1F -
Definition could not be found - but library is there!
Hi,
I installed a library (as3isolib) in Flash Builder 4 and started writing code (following a Lee Brimelow's tutorial on www.gotoandlearn.com).
So, if I instantiate a new variable, the hint box is there with all the classes and methods and all. After inserting the line, the corresponding import line is also inserted automaticaly.
I believe this means the library has been added correctly to the project.
HOWEVER... the editor reports error messages all along the code biside all references to the library classes.
The very first error message on the code is "1172: Definition as3isolib.display.IsoView (for instance) could not be found".
I don't get it... Any ideas?
Thank you!
MarcosDid you did an import? The library may be available for auto-complete, but I believe you still need to import whatever you will use.
If this post answers your question or helps, please mark it as such. Thanks!
http://www.stardustsystems.com
Adobe Flex Development and Support Services -
Error: Definition mx.core:RSLData could not be found.
When i try to run this command :
"mxmlc -static-link-runtime-shared-libraries=true -debug=true -load-config=C:\TestFlex4\flex-config1.xml -output=C:\TestFlex4\web\test1.swf c:\TestFlex4\web\test1.mxml"
The follwing error stach trace shown:
C:\TestFlex4\web>mxmlc -static-link-runtime-shared-libraries=true -debug=true -load-config=C:\TestFlex4\flex-config1.xml -output=C:\TestFlex4\web\test1.swf c:\infoTrakFlex4\web\test1.mxml
Loading configuration file C:\TestFlex4\flex-config1.xml
_test1_mx_managers_SystemManager.as(135): c
ol: 35 Error: Access of possibly undefined property RSL_ADD_PRELOADED through a
reference with static type Class.
addEventListener(RSLEvent.RSL_ADD_PRELOADED, addPreloadedRSLHandler, fal
se, 50);
^
_test1_mx_managers_SystemManager.as(159): c
ol: 35 Error: Access of possibly undefined property RSL_ADD_PRELOADED through a
reference with static type Class.
addEventListener(RSLEvent.RSL_ADD_PRELOADED, addPreloadedRSLHandler, fal
se, 50);
^
_test1_mx_managers_SystemManager.as(171): c
ol: 13 Error: Access of undefined property allowDomainsInNewRSLs.
if (allowDomainsInNewRSLs && _allowDomainParameters)
^
_test1_mx_managers_SystemManager.as(180): c
ol: 13 Error: Access of undefined property allowInsecureDomainsInNewRSLs.
if (allowInsecureDomainsInNewRSLs && _allowInsecureDomainParameters)
^
_test1_mx_managers_SystemManager.as(16): co
l: 15 Error: Definition mx.core:RSLData could not be found.
import mx.core.RSLData;
^
i have an existing code, whch i want to try to run, but this error fail my compilation. i am new in flex, please tell me some solution.I resolve my error, there is conflict between flex 4.6 and 4.0. the code is based on 4.0, but i try to run this code on 4.6. so when i compile the code fron 4.0 the code compile successfully.
Maybe you are looking for
-
Hi, I have a probalem that happens every once in a while. (Maybe happens once every other day.) It seems when I am running on battery it happens more then not. Although it has happened while plugged into the wall. The screen simply goes black and the
-
Everytime I create a new Business Components Project (holding all EO and VO's) and I try to grab the application Module from the request object through java, I get the following error: oracle.jbo.JboException: JBO-33001: Cannot find the configuration
-
11.1.0.1.0 GC certification with Windows 2003 SP2
The certification guide shows GC 11.1.0.1.0 certified for Windows Server 2008, Windows Server 2003 R2; Windows 2003 (32 bit) with SP2/R2+, Windows7 Confirmation required is GC 11.1.0.1.0 is also certified for Windows 2003 SP2 or we require Win 2003 R
-
Function Module Required for fetching contact details from BUT000
Hi Everybody. I have created a contact using transaction BP. these details according to me will get saved in standard table BUT000. Now i need standard FM used for fetching all these Contact details. Help me i am new to CRM.
-
Edit rotation - then time remapping - keyframes for rotation don't sync
I have some footage that requires quite a bit of rotational correction which worked fine. I then need to slow some of it down. I used time remapping. This resulted in the correct slow motion but the key frames for the rotation editing did not "stretc