[Laszlo-dev] Where do I find LzApplication.as

Neil Mix nmix at pandora.com
Wed Oct 28 15:14:04 PDT 2009


Hi folks,

I'm attempting to port a very oooold Laszlo project to 4.6.1, swf9  
runtime.  The project is compiling successfully, but when I run the  
app it fails early on during startup.  No errors are showing up in the  
debug window, but the handy debug Flash is logging the following stack  
trace:

TypeError: Error #1006: value is not a function.
	at <anonymous>()[/private/var/folders/Af/AfhEQDevFwaKcP77YUvST++++TI/- 
Tmp-/lzswf9/Users/nmix/sbwork/neil-8.9-flash-upgrade/SavageBeast/ 
Engineering/projects/radio/src/flash/TMP_ANT/pandora/build/tuner/ 
LzApplication.as:16907]
	at <anonymous>()[/private/var/folders/Af/AfhEQDevFwaKcP77YUvST++++TI/- 
Tmp-/lzswf9/Users/nmix/sbwork/neil-8.9-flash-upgrade/SavageBeast/ 
Engineering/projects/radio/src/flash/TMP_ANT/pandora/build/tuner/ 
LzApplication.as:17223]
	at <anonymous>()[/private/var/folders/Af/AfhEQDevFwaKcP77YUvST++++TI/- 
Tmp-/lzswf9/Users/nmix/sbwork/neil-8.9-flash-upgrade/SavageBeast/ 
Engineering/projects/radio/src/flash/TMP_ANT/pandora/build/tuner/ 
LzApplication.as:17324]
	at LzScript()[/tmp/lzswf9/lzgen24517/LzScript.as:8]
	at LzNode/makeChild()[/tmp/lzswf9/lzgen24517/LzNode.as:866]
	at LzInstantiatorService/makeSomeViews()[/tmp/lzswf9/lzgen24517/ 
LzInstantiatorService.as:221]
	at LzInstantiatorService/checkQ()[/tmp/lzswf9/lzgen24517/ 
LzInstantiatorService.as:171]
	at Function/http://adobe.com/AS3/2006/builtin::call()
	at LzEvent/sendEvent()[/tmp/lzswf9/lzgen24517/LzEvent.as:89]
	at LzIdleKernel$/__update()[/tmp/lzswf9/lzgen24517/LzIdleKernel.as:19]

Now I recognize that Flex is the compiler underneath and this is an  
intermediate auto-generated file.  Finding the file and the source of  
the bug is not very hard.  But this is almost certainly the first of  
many such errors I need to fix.  It would be great if I could  
automatically tie this back to the original source file/line.  Is it  
normal for errors like this not to show up in the Debug window?  Is  
there anything I'm doing wrong that prevents me from seeing the  
original source file/line?

A couple facts about my setup that could influence things:
- I'm compiling from the command-line
- As you can probably see, the app is pretty dang big

Thanks for any advice,
   -Neil


More information about the Laszlo-dev mailing list