ReferenceError: Error #1069: Property addEvent not found on flash.utils.Timer and there is no default value.
ActionScript 3 Error #1069 Description:
AS3 error 1069 appears when you have misspelled a property or function and have not assigned a value to it. If you have properly typed the Object to begin with you will get AS3 Error 1061. See the examples below. AS3 error 1069 is actually pretty nice to work with because it tells you exactly which method/property didn’t work and it tells you which object it didn’t work on.
Flash / Flex Error 1069 Fix:
Find the object listed in the error and then check the spelling after the dot.
Bad Code 1:
var t = new Timer(1000, 60);
t.addEvent(TimerEvent.TIMER, Tick);
Good Code 1:
var t = new Timer(1000, 60);
t.addEventListener(TimerEvent.TIMER, Tick);
This should help you resolve Flex / Flash Error #1069
Thanks and as always Happy Flashing
Curtis J. Morley
Related ActionScript Error(s):
Flash / Flex Error 1061 – You will get AS3 Error 1069 instead of 1061 if you don’t properly type your object before referencing a property on it. For example var t:Timer = new Timer(1000, 60);
t.addEvent(TimerEvent.TIMER, Tick); will give error 1061 but var t = new Timer(1000, 60);
t.addEvent(TimerEvent.TIMER, Tick); will give Error 1069.
Flash / Flex Error 1119
Flash / Flex Error 1056 – This is the error you will get if you try and call a method with a misspelled name in the same way as calling a property with a misspelled name.
New to posting this site but used it many times. It’s awesome.
I sorry for the late Post
Can anyone clear up a problem with
Error #1069: Property not found’
I am currently adding and removing menus to and from the
Main(Document class) using a
public function addToMenu();
called from Menu class using: MovieClip(parent).addToMenu_6(); for example.
MovieClip(parent).addTo Menu_6(); is #6 in a series of calls from Menu back to Main to run it’s corresponding Function add_Class_6(e:MouseEvent):void
All the other calls 1 thru 5 that are structured the same way works as called. Until i get to 6 and suddenly it can’t be found.
I read it could be a typo but it is copied from a working code and only the #6 was changed. So i am confused why all others work down the line until i
get to add_Class_6
any ideas? i don’t know how to post the code. it’s long and i was hoping someone can point out suggestions that i can try
I found this error can also be caused from accidentally loading an AS2 .SWF into a AS3 .SWF and attempting to access objects in the AS2 document. Easy fix is just make sure you publish in all the same AS version. OOPS.. haha
pals my email id is anes.pa@amskape.com, pls give solution ASAP…
Thankfully
Anes
Hi pals,
When I work on SlideShowpro in Joomla, I got a Reference Error 1069
as “Property videoSmoothing not found on net.slideshowpro.slideshowpro.SlideShowPro and there is no default value.
at net.slideshowpro.sspstandalone::SSPLoader/loadSSP()
at net.slideshowpro.sspstandalone::SSPLoader/afterSSPLoaderEvent()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at net.slideshowpro.sspstandalone::XMLParser/parseXML()
at net.slideshowpro.sspstandalone::XMLParser/completeHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()”
Please give me a Solution to Escape from same Problem. I don’t know why this problem occur….
please give me a solution ASAP….
With thankfully
Anes
I got
ReferenceError: Error #1069: Property 0 not found on Gallery and there is no default value.
And I think it’s because of this
while (this[i++] != undefined){
But I had no properties or methods attached to my class. Hence calling Gallery[0] is causing an error. Check that you are not calling a class with no properties.
carolynspranger@gmail.com
I’m having trouble with this error, i’ve been working on a website for months and can’t get past my error. Could you email me to help?
I have got the error as::
“ReferenceError: Error #1069: Property minAmount not found on String and there is no default value.”
However, this minAmount property is not specified in any of the mxml files(Flex Environment).
Please help.
Pingback: Flash/ Flex Error « RIAdobe
Pingback: curtismorley.com » ActionScript 3 Error #1061