07.16.08
ReferenceError: Error #1069: Property addEvent not found on flash.utils.Timer and there is no default value
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.
curtismorley.com » ActionScript 3 Error #1061 said,
July 16, 2008 at 10:46 am
[...] ActionScript Error(s): Flash / Flex Error 1069 - You will get AS3 Error 1069 instead of 1061 if you don’t properly type your object before [...]
Flash/ Flex Error « RIAdobe said,
August 10, 2008 at 7:59 pm
[...] ActionScript Error(s): Flash / Flex Error 1069 - You will get AS3 Error 1069 instead of 1061 if you don’t properly type your object before [...]
Soumya said,
August 12, 2008 at 10:40 pm
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.
carolyn said,
March 15, 2009 at 10:00 am
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?
carolyn said,
March 15, 2009 at 10:00 am
carolynspranger@gmail.com
Drewsipher said,
May 15, 2009 at 4:45 pm
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.
Anes P.A said,
January 4, 2010 at 2:28 am
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
Anes P.A said,
January 4, 2010 at 2:29 am
pals my email id is anes.pa@amskape.com, pls give solution ASAP…
Thankfully
Anes