1065 Error: MouseCursor is not defined
I'm getting this error but only in IE9. The flash file works fine in all other browsers including IE7.
Here is the webpage: www.webdevpractice.com/genoptix
I needed to change the speed of the transitions and link each of the 3 images and make them clickable. My ActionScript knowledge is negligible but I usually figure out what I need to do. Here is the code I wrote for the first image which was converted to a mc and named f1:
f1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage);
function fl_ClickToGoToWebPage(event:MouseEvent):void
navigateToURL(new URLRequest("nexcourse_breast_IHC4.html"), "_self");
The code for the other two images is the same except for the name of the mc and the link. This worked well except the cursor did not change to indicate a link. So, I added the following code:
f1.addEventListener(MouseEvent.MOUSE_OVER, fl_MouseOverHandler);
function fl_MouseOverHandler(event:MouseEvent):void
Mouse.cursor = MouseCursor.BUTTON;
All is well in all browsers except in IE9. In that browser, I get the following error:
ReferenceError: Error #1065: Variable flash.ui::MouseCursor is not defined.
at flash_fla:MainTimeline/fl_MouseOverHandler()
I am hoping this is an easy fix for someone who in an ActionScript expert. Please share your solution.
John
Make sure that your IE9 has Flash 10.2 or later plugin.
Similar Messages
-
I've been using playerglobal.swc of flash player 11 and SDK 3.6.
ReferenceError: Error #1065: Variable JSON is not defined
can be solved by setting -swf-version to 13. (http://forums.adobe.com/message/3933620#3933620)
However, swf-version is not available in SDK 3.6.
Can native JSON be used?
Otherwise, can com.adobe.serialization.json.JSON be used without name conflict?
JSON (from ...\flex_sdk_3.6\frameworks\libs\player\11\playerglobal.swc(JSON))
com.adobe.serialization.json:JSON (from ...\as3corelib.swc(com/adobe/serialization/json/JSON))anyone know the answer to this?
how are we supposed to use the new player features with using the 3.x SDK? -
HELP! flash error code #1065 variable TCMText is not defined
Hi,
Im doing a project for uni and trying to create a search bar throughout the flash document for people to find what they are looking for.
Followed a tutorial online step by step and then i get this error. #1065 variable TCMText is not defined.
I'm really a beginner, any help would be so greatly appreciated!
stop();
var i:int = 0;
var names:Array = new Array("Annual Report","annual report");
var frames:Array = new Array("2","2");
text_in = "..."; /*what is wrong with you */
searchbutton.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
function fl_MouseClickHandler(event:MouseEvent):void
findInArray(text_in.text);
gotoAndStop(frames[i]);
function findInArray(str:String):int
for(i = 0; i < names.length; i++)
if(names[i] == str)
return i;
return 0;
it says the issue is on line 7 where i have commented out "what is wrong with you"!
Ive read a lot of things online and i have got it as classic text, which everyone is telling them to do. So quite confused.
If you can, please help me.
Thanks!!!Sorry for a delay in reply.
Here is what the error says...
ReferenceError: Error #1065: Variable TCMText is not defined.
Scene 1, Layer 'Actions', Frame 1, Line 7
1067: Implicit coercion of a value of type String to an unrelated type flash.text:TextField.
If you could help in away that would be great cheers! -
Hi guys im tearing my hair out over this, sorry if its an extreme noob question but i know its quite a common problem and im sure someone on here must be able to help.
After debugging my project here is the error message -
ReferenceError: Error #1065: Variable tracker is not defined.
at CustomsConnect/buttonClick()[C:\Users\LiamT\Desktop\plz\CustomsConnect\CustomsConnect.as: 443]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at shell::Button/buttonClick()[C:\Users\LiamT\Desktop\plz\CustomsConnect\shell\Button.as:47]
Please let me know if you can point me in the right direction here - the problem has come about as I have inherited a .fla that has been set up on another machine. If you need me to post any of the code that its referring to above let me know.
Thanks in advance for any help that you can offer me.CustomsConnect is the designated document class. Tracker is relating to my google analytics tracker as far as I can see it is already defined and perhaps this line of code could be something to do with the problem
Line 77: private var tracker: GATracker;
Do you want me to post up the rest of the code?
thankyou so much Ned for taking the time out to help me with this.
Many thanks
Liam -
Hi! I'm stuck with debugging our AIR Application since it does crash very hard. After days of tracking down at least one point where the app crashes on AIR 3.5, 3.7 and AIR 3.8 beta (you see - I tried...).
AIR 3.5 finally reports this console output:
ScrollerTouch.onTargetMouseDown()-F true // A
ScrollerTouch.onTargetMouseDown()-I // B
targetV [object ScrollPane] // C
CRASH! // D
Exception fault: ReferenceError: Error #1065: Variable ::_fileSystemType is not defined.
at global/trace()[int:49]
at de.superclass.control::ScrollerTouch/onTargetMouseDown()[/path/to/.../ScrollerTouch.as:381]
at de.superclass.control::ScrollerTouch/onTargetMouseDown()
The code snipped:
trace("ScrollerTouch.onTargetMouseDown()-F", _scrollHorizontal ); // A
switch ( _scrollPolicyVertical )
case ScrollPolicy.ON:
trace("ScrollerTouch.onTargetMouseDown()-G");
_scrollVertical = true;
break;
case ScrollPolicy.OFF:
trace("ScrollerTouch.onTargetMouseDown()-H");
_scrollVertical = false;
break;
case ScrollPolicy.AUTO:
trace("ScrollerTouch.onTargetMouseDown()-I"); // B
default:
trace( "targetV", targetV ); // C
try
trace( "targetV.height", targetV.height );
catch( e: Error )
trace( "CRASH!" ); // D
_scrollVertical = Boolean( targetV.height < targetV.contentHeight ); // line 381
trace( "targetV.xxx" );
trace( "targetV.contentHeight", targetV.contentHeight );
return;
So accessing targetV.height somehow crashes very hard (app quits) but I have no clue at all. Actually, this code worked for a long time...
So please, what is ::_fileSystemType ?I changed the code again but the app keeps crashing. This is what XCode-Console says:
Jul 4 21:25:48 iRad-3 ReportCrash[1206] <Notice>: Formulating crash report for process APP_NAME[1191]
Jul 4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
Jul 4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
Jul 4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
Jul 4 21:25:48 iRad-3 ReportCrash[1206] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
Jul 4 21:25:48 iRad-3 com.apple.launchd[1] (UIKitApplication:APP_NAME_SPACE[0x469][1191]) <Warning>: (UIKitApplication:APP_NAME_SPACE[0x469]) Job appears to have crashed: Segmentation fault: 11
Jul 4 21:25:48 iRad-3 backboardd[26] <Warning>: Application 'UIKitApplication:APP_NAME_SPACE[0x469]' exited abnormally with signal 11: Segmentation fault: 11
Jul 4 21:25:48 iRad-3 ReportCrash[1206] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/APP_NAME_2013-07-04-212547_iRad-3.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
Jul 4 21:25:55 iRad-3 kernel[0] <Debug>: launchd[1207] Builtin profile: container (sandbox)
Jul 4 21:25:55 iRad-3 kernel[0] <Debug>: launchd[1207] Container: /private/var/mobile/Applications/CDA04278-5D34-4609-BE71-D66FB16794C1 (sandbox)
Jul 4 21:25:56 iRad-3 kernel[0] <Debug>: launchd[1208] Builtin profile: PasteBoard (sandbox)
Jul 4 21:25:56 iRad-3 backboardd[26] <Warning>: CoreAnimation: updates deferred for too long
Jul 4 21:25:56 iRad-3 backboardd[26] <Warning>: CoreAnimation: timed out fence 2685b
And here's the Crash Log:
Jul 4 21:25:48 iRad-3 ReportCrash[1206] <Notice>: Formulating crash report for process APP_NAME[1191]
Jul 4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
Jul 4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
Jul 4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
Jul 4 21:25:48 iRad-3 ReportCrash[1206] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
Jul 4 21:25:48 iRad-3 com.apple.launchd[1] (UIKitApplication:APP_NAME_SPACE[0x469][1191]) <Warning>: (UIKitApplication:APP_NAME_SPACE[0x469]) Job appears to have crashed: Segmentation fault: 11
Jul 4 21:25:48 iRad-3 backboardd[26] <Warning>: Application 'UIKitApplication:APP_NAME_SPACE[0x469]' exited abnormally with signal 11: Segmentation fault: 11
Jul 4 21:25:48 iRad-3 ReportCrash[1206] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/APP_NAME_2013-07-04-212547_iRad-3.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
Jul 4 21:25:55 iRad-3 kernel[0] <Debug>: launchd[1207] Builtin profile: container (sandbox)
Jul 4 21:25:55 iRad-3 kernel[0] <Debug>: launchd[1207] Container: /private/var/mobile/Applications/CDA04278-5D34-4609-BE71-D66FB16794C1 (sandbox)
Jul 4 21:25:56 iRad-3 kernel[0] <Debug>: launchd[1208] Builtin profile: PasteBoard (sandbox)
Jul 4 21:25:56 iRad-3 backboardd[26] <Warning>: CoreAnimation: updates deferred for too long
Jul 4 21:25:56 iRad-3 backboardd[26] <Warning>: CoreAnimation: timed out fence 2685b
And here's the Crash Log:
Incident Identifier: 17615510-16A5-43B9-B8A5-2ED2C5A2EEBA
CrashReporter Key: 3f85661334bfff23c2d4128bc63674d30647c15b
Hardware Model: iPad3,3
Process: APP_NAME [1191]
Path: /var/mobile/Applications/CDA04278-5D34-4609-BE71-D66FB16794C1/APP_NAME.app/APP_NAME
Identifier: APP_NAME
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-07-04 21:25:47.935 +0200
OS Version: iOS 6.1.3 (10B329)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x4095e008
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 APP_NAME 0x008c71c8 0x1000 + 9200072
1 APP_NAME 0x005284ac 0x1000 + 5403820
2 APP_NAME 0x007b5edc 0x1000 + 8081116
3 APP_NAME 0x00002928 0x1000 + 6440
4 APP_NAME 0x0045f128 0x1000 + 4579624
5 APP_NAME 0x0045f5f8 0x1000 + 4580856
6 APP_NAME 0x0045eeb4 0x1000 + 4578996
7 APP_NAME 0x0045eab4 0x1000 + 4577972
8 APP_NAME 0x003d98d8 0x1000 + 4032728
9 APP_NAME 0x003c59c0 0x1000 + 3951040
10 APP_NAME 0x00443d24 0x1000 + 4468004
11 APP_NAME 0x009d5448 0x1000 + 10306632
12 APP_NAME 0x009d509c 0x1000 + 10305692
13 APP_NAME 0x009d4ad0 0x1000 + 10304208
14 APP_NAME 0x009d6618 0x1000 + 10311192
15 APP_NAME 0x00cf4d40 0x1000 + 13581632
16 APP_NAME 0x00a5f418 0x1000 + 10871832
17 APP_NAME 0x008d810c 0x1000 + 9269516
18 APP_NAME 0x009b45ac 0x1000 + 10171820
19 APP_NAME 0x009b5140 0x1000 + 10174784
20 UIKit 0x347ff51e -[UIWindow _sendTouchesForEvent:] + 314
21 UIKit 0x347ec7fc -[UIApplication sendEvent:] + 376
22 UIKit 0x347ec116 _UIApplicationHandleEvent + 6150
23 GraphicsServices 0x364e05a0 _PurpleEventCallback + 588
24 GraphicsServices 0x364e01ce PurpleEventCallback + 30
25 CoreFoundation 0x329b9170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32
26 CoreFoundation 0x329b9112 __CFRunLoopDoSource1 + 134
27 CoreFoundation 0x329b7f94 __CFRunLoopRun + 1380
28 CoreFoundation 0x3292aeb8 CFRunLoopRunSpecific + 352
29 CoreFoundation 0x3292ad44 CFRunLoopRunInMode + 100
30 GraphicsServices 0x364df2e6 GSEventRunModal + 70
31 UIKit 0x348402fc UIApplicationMain + 1116
32 APP_NAME 0x008f5c0c 0x1000 + 9391116
33 APP_NAME 0x00d2b0e0 0x1000 + 13803744
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x3ad76648 kevent64 + 24
1 libdispatch.dylib 0x3aca6974 _dispatch_mgr_invoke + 792
2 libdispatch.dylib 0x3aca6654 _dispatch_mgr_thread$VARIANT$mp + 32
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x3ad75eb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3ad76048 mach_msg + 36
2 CoreFoundation 0x329b9040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x329b7d9e __CFRunLoopRun + 878
4 CoreFoundation 0x3292aeb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x3292ad44 CFRunLoopRunInMode + 100
6 WebCore 0x3891a500 RunWebThread(void*) + 440
7 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
8 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 3:
0 libsystem_kernel.dylib 0x3ad75eb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3ad76048 mach_msg + 36
2 APP_NAME 0x00480b04 0x1000 + 4717316
3 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
4 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 4:
0 libsystem_kernel.dylib 0x3ad8608c __psynch_cvwait + 24
1 libsystem_c.dylib 0x3acd7d2a _pthread_cond_wait + 642
2 libsystem_c.dylib 0x3ace1f14 pthread_cond_wait + 36
3 APP_NAME 0x00a33ad4 0x1000 + 10693332
4 APP_NAME 0x0097d9e0 0x1000 + 9947616
5 APP_NAME 0x00a33938 0x1000 + 10692920
6 APP_NAME 0x00a3398c 0x1000 + 10693004
7 APP_NAME 0x00a336b8 0x1000 + 10692280
8 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
9 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 5:
0 libsystem_kernel.dylib 0x3ad8608c __psynch_cvwait + 24
1 libsystem_c.dylib 0x3acd7d2a _pthread_cond_wait + 642
2 libsystem_c.dylib 0x3ace1f14 pthread_cond_wait + 36
3 APP_NAME 0x00a33ad4 0x1000 + 10693332
4 APP_NAME 0x0097d9e0 0x1000 + 9947616
5 APP_NAME 0x00a33938 0x1000 + 10692920
6 APP_NAME 0x00a3398c 0x1000 + 10693004
7 APP_NAME 0x00a336b8 0x1000 + 10692280
8 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
9 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 6:
0 libsystem_kernel.dylib 0x3ad866a4 __semwait_signal + 24
1 libsystem_c.dylib 0x3ace43ce nanosleep + 138
2 APP_NAME 0x00a33724 0x1000 + 10692388
3 APP_NAME 0x00913638 0x1000 + 9512504
4 APP_NAME 0x009135d8 0x1000 + 9512408
5 APP_NAME 0x00a33938 0x1000 + 10692920
6 APP_NAME 0x00a3398c 0x1000 + 10693004
7 APP_NAME 0x00a336b8 0x1000 + 10692280
8 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
9 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x3ad8608c __psynch_cvwait + 24
1 libsystem_c.dylib 0x3acd7d2a _pthread_cond_wait + 642
2 libsystem_c.dylib 0x3acd7aa0 pthread_cond_timedwait + 40
3 APP_NAME 0x00a33b54 0x1000 + 10693460
4 APP_NAME 0x000a7254 0x1000 + 680532
5 APP_NAME 0x00a33938 0x1000 + 10692920
6 APP_NAME 0x00a3398c 0x1000 + 10693004
7 APP_NAME 0x00a336b8 0x1000 + 10692280
8 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
9 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 8:
0 libsystem_kernel.dylib 0x3ad866a4 __semwait_signal + 24
1 libsystem_c.dylib 0x3ace43ce nanosleep + 138
2 APP_NAME 0x00a33724 0x1000 + 10692388
3 APP_NAME 0x008caff0 0x1000 + 9215984
4 APP_NAME 0x008cae08 0x1000 + 9215496
5 APP_NAME 0x00a33938 0x1000 + 10692920
6 APP_NAME 0x00a3398c 0x1000 + 10693004
7 APP_NAME 0x00a336b8 0x1000 + 10692280
8 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
9 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 9 name: com.apple.NSURLConnectionLoader
Thread 9:
0 libsystem_kernel.dylib 0x3ad75eb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3ad76048 mach_msg + 36
2 CoreFoundation 0x329b9040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x329b7d9e __CFRunLoopRun + 878
4 CoreFoundation 0x3292aeb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x3292ad44 CFRunLoopRunInMode + 100
6 Foundation 0x332773d0 +[NSURLConnection(Loader) _resourceLoadLoop:] + 304
7 Foundation 0x332fae80 __NSThread__main__ + 968
8 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
9 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 10 name: com.apple.CFSocket.private
Thread 10:
0 libsystem_kernel.dylib 0x3ad86594 __select + 20
1 CoreFoundation 0x329bd1f2 __CFSocketManager + 674
2 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
3 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 11:
0 libsystem_kernel.dylib 0x3ad86d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3acd4cf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3acd4a12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3acd48a0 start_wqthread + 4
Thread 12:
0 libsystem_kernel.dylib 0x3ad8608c __psynch_cvwait + 24
1 libsystem_c.dylib 0x3acd7d68 _pthread_cond_wait + 704
2 libsystem_c.dylib 0x3aceb080 pthread_cond_timedwait_relative_np + 12
3 APP_NAME 0x00a7e558 0x1000 + 10999128
4 APP_NAME 0x00a7e200 0x1000 + 10998272
5 APP_NAME 0x00a7e0f8 0x1000 + 10998008
6 APP_NAME 0x00a33938 0x1000 + 10692920
7 APP_NAME 0x00a3398c 0x1000 + 10693004
8 APP_NAME 0x00a336b8 0x1000 + 10692280
9 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
10 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 13:
0 libsystem_kernel.dylib 0x3ad86d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3acd4cf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3acd4a12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3acd48a0 start_wqthread + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x4095e000 r1: 0x2fdfdf58 r2: 0x0052844c r3: 0x2fdfdf1c
r4: 0x00000221 r5: 0x084d8060 r6: 0x2fdfdf14 r7: 0x2fdfdf88
r8: 0x2fdfdf20 r9: 0x000003fe r10: 0x4095e000 r11: 0x00000000
ip: 0x000002fc sp: 0x2fdfdf10 lr: 0x005284b0 pc: 0x008c71c8
cpsr: 0x20000010
This immediately occurs when I touch and move a little on a specific display object which listens to Mouse-Events DOWN, MOVE to drag it's contents. I think it has something to do with the event system or so. But I'm absolutely blind I guess.
What could I do? -
A few days ago I decided to give Matrix3D a try, so I changed my publish setting to target flash player 10, and just to be safe, I hit the test movie magic combo (ctrl-enter) and got the dreaded Error #1065 all over the screen, so, ok, I thought I'll pass on Matrix3D for now, flipped the publish setting back to flash player 9 and I was a happy camper again.
Just now, publishing for flash player 9 fails with the same result. This happens _right after_ a successful build, I moved a few movie clips around on the stage, re-test, and got myself an Error #1065 wall of text in the output window.
Funny fact: this only happens with "test movie" (ctrl-enter). If I "debug" (ctrl-shift-enter) the movie, it compiles and runs just fine with no problem whatsoever.
All the class has been tested to work just before the incident.
Has anyone got this problem before?Just an update here:
I copied the entire library of my fla and put it in a fresh
fla file. My original fla has nothing on the main timeline so I
figured I'd just rebuild the thing.
So, upon compiling the first time in it's new fresh file, I
get this compiler error:
, Line 1: 5005: Unknown error optimizing byte code.
Good. No longer do my symbols cause Reference Errors, I
thought to myself. After pursuing this error on the forums, I
gathered I just need to restart the flash ide. I did so, and went
to rebuild the fresh fla...
One single line in the output window:
ReferenceError: Error #1065: Variable ComponentShim is not
defined.
After wiping the tears from my eyes, I've come to post here
again in hopes someone can help me.
Here is my directory structure and names of files:
/public_html/
/webdev/
/game/
/MarbleMaze2/
/Game.as
/marblemaze.fla
/Maze.as
/MazeConstants.as
/Boards.as
marblemaze.fla has no document class specified in the
Document Class field, just a few lines of actionscript that creates
a new Game() on frame 1. -
I have a flash label on a movie clip with its instance name called 'txtToomName'. This object has existed, been successfully instantiated and used for over a year without any modifications. All of a sudden, during the getClassByName() call, I start getting an errors.
The actual error is:
ReferenceError: Error #1065: Variable txtToonName is not defined.
at mcToonInformation_Design/__setTab_txtToonName_mcToonInformation_Design_Layer1_0()
There are other objects on the movieclip, defined as buttons, that were derived from an object in the library that didn't have its linkage set. This had worked fine up til now where I could define a common object without linkage, create copies of that object on a movie clip and assign an instance name to allow access.
Once I changed my buttons to be an instance of an object in the library with linkage properties assigned they didn't give me an error. The problem now is that it doesn't seem to like the Label object which is by default an instance of an object in the library that does have linkage properties set and yet still doesn't like it.
Anyone have any idea what the heck is going on? There hasn't been any library changes made or CS5 updates applied since 8/16/2010, the date on flash.exe.
I am using CS5 ver.11.0.2.489
Any advise/direction/assistance would be greatly appreciated as this is a show stopper and adds hours upon hours of adjustments to an application that has been running fine for a long time.
Message was edited by: whornak
In an attempt to get beyond the previously mentioned error, realizing that it references 'tab', I made the label inaccessible and now receive the following error:
ReferenceError: Error #1065: Variable txtToonName is not defined.
at mcToonInformation_Design/__setAcc_txtToonName_mcToonInformation_Design_Layer1_0()Upon attempted execution, after changing the setting you requested, the following is what I get.
ReferenceError: Error #1065: Variable lblCoinQty is not defined.
at mcToonInformation_Design/__setTab_lblCoinQty_mcToonInformation_Design_Layer1_0()[mcToonIn formation_Design::__setTab_lblCoinQty_mcToonInformation_Design_Layer1_0:1]
at mcToonInformation_Design()
at BPBGlobalFunctions$/getCasaMovieClipFromBulkLoader()[D:\Wayne\WizardBrewStudios\BackPackB uddys_Dev\BackPackBuddys_CS5_SFSX2\src\classes\BPBGlobalFunctions.as:167]
at com.bpb.ui::ToonInformationUI$/loadToonInformationUI()
at com.bpb::BackPackBuddys/onToonInformationLoadRequest()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.bpb.avatar::ExampleAvatar/onToonClick()
Cannot display source code at this location.
Another thing noticed is that the object that flash is having an issue making adjustments to is visible via the Variables window and has the tabindex property. -
Captivate 5 and preloader: Error #1065: Variable CPPreloader is not defined.
Hi,
If I add a preloader swf (any of those which ship with Captivate 5 - in \Gallery\Preloaders\AS3) - then when I publish the movie - the flash player throws an error:
ReferenceError: Error #1065: Variable CPPreloader is not defined.
Then (mostly) crashes the plugin (firefox) else carries on with the captivate movie.
If I remove the preloader - all is fine again. I've tried every preloader swf, pretty much every option I can think of in publish settings.
Windows 7 64, I've got Flash 10.2.153.1 (debug). It looks to me like an error in the code written by Captivate, but if that were the case, I'm sure I would find some mention of the problem or the var CPPreloader elsewhere!
Anyone else seen this? Know how to make it go away??
CheersAre you adding preloaders from these locations?:
C:\Program Files\Adobe\Adobe Captivate 5\en_GB\Gallery\Preloaders in 32bit systems
or
C:\Program Files (x86)\Adobe\Adobe Captivate 5\en_GB\Gallery\Preloaders in 64bit systems
You mention you're using the debug versiion of Flash Player. Have you tested the published output on a system that IS NOT using the debug Flash player, just a normal Flash Player version? -
ReferenceError: Error #1065: Variable {ClassName} is not defined
Hi,
I am getting the following error for each of around 520
symbols in my library when I run my .fla file in Flash CS4:
ReferenceError: Error #1065: Variable {ClassName} is not
defined.
My .fla does not use a document class nor are any of my
classes using the same name. Any ideas on what the problem could
be?Just an update here:
I copied the entire library of my fla and put it in a fresh
fla file. My original fla has nothing on the main timeline so I
figured I'd just rebuild the thing.
So, upon compiling the first time in it's new fresh file, I
get this compiler error:
, Line 1: 5005: Unknown error optimizing byte code.
Good. No longer do my symbols cause Reference Errors, I
thought to myself. After pursuing this error on the forums, I
gathered I just need to restart the flash ide. I did so, and went
to rebuild the fresh fla...
One single line in the output window:
ReferenceError: Error #1065: Variable ComponentShim is not
defined.
After wiping the tears from my eyes, I've come to post here
again in hopes someone can help me.
Here is my directory structure and names of files:
/public_html/
/webdev/
/game/
/MarbleMaze2/
/Game.as
/marblemaze.fla
/Maze.as
/MazeConstants.as
/Boards.as
marblemaze.fla has no document class specified in the
Document Class field, just a few lines of actionscript that creates
a new Game() on frame 1. -
ReferenceError: Error #1065: Variable onMediaComplete is not defined.
Does anyone know what the following means and how I can stop it constantly cropping up -
ReferenceError: Error #1065: Variable onMediaComplete is not defined.
at GoogleAnalytics/registerEvents()
at GoogleAnalytics/initialize()
at com.brightcove.api::CustomModule/onTemplateReady()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.brightcove.api.modules::ExperienceModule/wrapEvent()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.brightcove.player.api.modules::ExperienceAPI/onPlayerInstanceReady()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.brightcove.player::PlayerInstance/onContentLoad()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.brightcove.player.content::ContentManager/onContentLoad()
at com.brightcove.player.services::PersistentResponder/onResult()Good work!
You should first uninstall any previous version of Flash Player, using the uninstaller from here (make sure you use the correct one!):
http://kb2.adobe.com/cps/865/cpsid_86551.html#prob1=uninst,os=m10.6,
See in each Browser which version of Flash it thinks it has...
http://kb2.adobe.com/cps/155/tn_15507.html
Then Test Adobe Shockwave & Flash Players...
http://www.adobe.com/shockwave/welcome/ -
ReferenceError: Error #1065: Variable TCMText is not defined.
All,
I am working on aniMAC running 10.7.2 with Flash CS6
I built a Flash file that has been running excellent, until now. Now I am getting the following error that I can not figure out and no one seems to have the answer. Can some one (maybe even Adobe) please reply with a reason and a solution as to why it is happening and what I can do to fix it?
ReferenceError: Error #1065: Variable TCMText is not defined.
Some people thought it might be a simple changing of text properties (from TLX text to Classic text) but this does not fix the issue. I have also changed my memory settings, but this does not work either.
Many thanks,
HDclick file>publish settings>swf>actionscript settings (the wrench icon)>library path>and change the default linkage combobox to "merged into code". retest.
-
ReferenceError: Error #1065: Variable @namespace is not defined.
I am using FB4 but SDK 3.5. I created a webservice to call a webservice by .Net. The related codes are listed below
<mx:WebService id="ws" wsdl="{URL_WSDL2}" fault="wsHandleFault(event)" useProxy="false" >
<mx:operation name="GetDistrict"
resultFormat="object"
result="GetDistrict(event)" />
<mx:operation name="GetStates"
resultFormat="object"
result="GetStates(event)" />
</mx:WebService>
private function LoadData():void {;
ws.getOperation("GetDistrict").send();
ws.getOperation("GetStates").send();
btnLoad.enabled = false;
However, I got runtime error:
ReferenceError: Error #1065: Variable @namespace is not defined.
at mx.rpc.xml::SchemaLoader/schemaImports()
at mx.rpc.wsdl::WSDLLoader/schemaImports()
at mx.rpc.wsdl::WSDLLoader/resultHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at HTTPOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at DirectHTTPMessageResponder/completeHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
I really don't know how to fix it. Wish someone can share his/her experience. Thanks.When creating a Web Service in .NET, specifically a WCF based Web Service, the auto generated code tends to have an empty namespace (for you to fill). If you specify a namespace for the service contract and behavior this tends to resolve the Flex issue.
e.g. in your .NET service or service interface code you can specify them as attributes and would look something like:
' VB
Imports System.ServiceModel
<ServiceContract(Namespace:="http://somedomain.com")>
<ServiceBehavior(Namespace:="http://somedomain.com")>
Public Class MyWebService
// C#
using System.ServiceModel;
[ServiceContract(Namespace:="http://somedomain.com")]
[ServiceBehavior(Namespace:="http://somedomain.com")]
public class MyWebService
Hope that helps someone!
(I realise this post is a bit old, but shows up high in Google for the error message, so have posted for the benefit of anyone finding it) -
ReferenceError: Error #1065: Variable TestMain is not defined
I'm loading a .swf and trying to find a class based on an embedded xml document in it. I've looked this problem up endlessly and everyone has either said "Your class isn't public", "Your classname is interfering with your document class", or "You aren't using the same ApplicationDomain", none of which are true. Here's my code:
In CoCMain.as, with a CoCMod.fla:
private function pluginLoadingComplete(e:Event):void {
var testXML:XML = new XML(new e.target.content.description);
trace(e.target.applicationDomain.hasDefinition("blah.blaah.testPlugin.TestMain"));//returns false
trace(ApplicationDomain.currentDomain.hasDefinition("blah.blaah.testPlugin.TestMain"));//returns false
trace(testXML.main[0]);//returns blah.blaah.testPlugin.TestMain
var pluginClass:Class = e.target.applicationDomain.getDefinition(testXML.main[0]) as Class;//error here
And in TestMain.as, with a TestMod.fla (this is the swf I am loading):
package blah.blaah.testPlugin {
public class TestMain {
public function TestMain():void {
super();
public function onEnable():void {
trace("blah");
And in frame 1 of TestMod.fla:
import blah.blaah.testPlugin.TestMain;
[Embed(source = 'main.xml', mimeType = "application/octet-stream")]
const description:Class;
The xml file:
<mod>
<name>Test Mod</name>
<description>Please ignore</description>
<author>Bleachisback</author>
<version>1.0</version>
<main>blah.blaah.testPlugin.TestMain</main>
</mod>
The error I am getting:
ReferenceError: Error #1065: Variable TestMain is not defined.
at flash.system::ApplicationDomain/getDefinition()
at me.bleachisback.cocMod::CoCMain/pluginLoadingComplete()copy and paste code where you add the listener that calls pluginLoadingComplete and the load method code.
also, make sure your loaded swf is using TestMain in blah/blaah/testPlugin by using a trace statement in TestMain. -
Hi,
I just upgraded my Flash Builder to 4.6. Ever since the upgrade I have been getting the following error right when I run my web files through debug:
ReferenceError: Error #1065: Variable Transform3DController is not defined.
at global/flash.utils::getDefinitionByName()
at ominds.mouseinspect::MouseInspector/onTmd3dModuleLoaded()
I'm not sure if this came from the new upgrade to the builder or if this an issue with the new Flash Player 11,1,102,55 release. It seems that when I got to http://www.adobe.com/software/flash/about/ it doesn't even load the flash movie.
I'm on a Mac OS X v10.6.8 and I use mostly chrome but this issue also occurs in FireFox.
Does anyone have any ideas to wtf is going on?
Thanks,
-NateI have been experiencing this same issue. After reading this post a messing around, I also feel like it has to do with either Flashbug or FlashFirebug. So I've been experiencing this issue while trying to launch my application in Chrome. I disabled these extensions and the error when away. I then reenabled the extensions, and the error didn't come back until I launched debug in Firefox, even if I switched to launching in Chrome. I can only guess that these extensions are doing something to the flash player that v11 isn't happy with.
Anyway, even if you're debugging in Chrome, try out disabling these extensions. It's odd, yes, but it worked for me. -
<blockquote>Locking duplicate thread.<br>
Please continue here: [/questions/777191]</blockquote><br>
Just like the title says, starting with Firefox 4 Beta 6 or 7, I forgot. Any time I try to open a new blank tab (sometimes even when I start up Firefox and the app tabs load) I get an error that says "JavaScript Application - Reference Error: XPCSafeJSObjectWrapper is not defined" If I close it everything works as normal again (until I open a new tab) but it is very annoying to have to do this. Is there any fix for this or is the bug just still there?Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]]
* [[Troubleshooting plugins]]
Maybe you are looking for
-
How to show logged-in Line Group Members in a Hunt Pilot (CUCM V7.1.3)
I have configured a Hunt Pilot with a Hunt List which points to a Line Group with some DNs as Line Group Members. Additionally i gave the affected Users the option to log-in or log-out from the Hunt Pilot by configuring the "Hunt Group Logout" Button
-
Shake Workstation and Rendering Cluster Anyone?
We are a new company currently developing new products for the scientific community. During development (We are talking months here...), we can allocate time slots for Shake distributed rendering on our development cluster (19 ea. Xserve G5 Dual 2 GH
-
i am using this on my css sheet - h1 {font-size:300%; font-family: "Comic Sans MS"; color: red; text-align:center; em} but that heading does not show up in italics.
-
I do not have the icloud icon on my mac I have something that says mobile me and it does not accept my apple credentials. How can I get the correct icloud icon
-
OBIEE 11g Sorting the Dashboard Prompt
In OBIEE 11g, How to sort a bashboard prompt which is cascaded on another column? Thanks, Usha.