Help with error 1061
I'm just starting out in flash and I'm trying to create a simple maze that just displays "Yes" when you hit the edges, but I get the error "1061: Call to a possibly undefined method hitTestPoint through a reference with static type Class." whenever I try to test it. Yes, I have searched several pages of Google for a solution and good for you if you found it in five seconds. This is what i have so far:
addEventListener(Event.ENTER_FRAME, checkCollision);
function checkCollision(event:Event) {
if (maze.hitTestPoint(mouseX, mouseY, true)) {
messageText1.text = "hitTestPoint: YES";
} else {
messageText1.text = "hitTestPoint: NO";
I think what you just described explains it. Are you adding the maze to the stage dynamically or is it planted on the stage manually? In the code, "maze" is the instance name of the object, not what you did with it. You assign instance names in the Properties panel if the object is planted on the stage manually. But because you created a class named maze. using that in the code as an instance name will cause a problem.
Just as an exercise, start a new file and draw a quick maze (just a rectangle is enough). Right click that and select Convert to Symbol--just check the option to make it a Movieclip and then OK. With that object still selected, in the Properties panel enter "maze" in the input there that has <Instance Name> in it.
Then add a textfield that has an instance name "messageText1".
Then copy and paste your code into an actions layer in the same frame as the object (same frame, different layer)
That should work.
Similar Messages
-
help with error 16820 with trying to update acrobat
Please refer to following links, might be helpful.
http://answers.acrobatusers.com/While-updating-acrobat-error-code-showd-16820-solve-q7115. aspx
http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_programs/acrobat-co m-will-not-update-getting-error-16820/7bbbef64-df3e-4fbd-b552-fc1c7a5983c3?msgId=dcf838d8- a198-4a3a-b034-94a07c2e8648
If this doesn't work, we need more information here. -
Need help with error message 213:8
Need help with error message 213:8, this error message prompted after re-installing CS5.5 on the same machine (W7 Pro)
Thanks.Hi TKA_,
Please try the solutions mentioned on following forum thread.
http://support.muse.adobe.com/thread/1305941?start=0&tstart=0
Let me know if it works?
Regards,
Sumit Singh -
Adobe help with error FF2F571A-6C54-31E3-B23E-2A60283B08A8
Adobe help with error FF2F571A-6C54-31E3-B23E-2A60283B08A8
Nobody can tell you anything without proper system info or other technical details. What you posted is merely an identifier of the error report sent to Adobe, but that is locked away safely on teh servers and nobody here has access to it.
Mylenium -
Help With Error in Code Generated by WSDL Wizard
I generated code using the webservice wizard, and then wrote
a simple mxml file to test the code. I get this error:
1061: Call to a possibly undefined method getClass through a
reference with static type Class.
It occurs in the following code:
* Internal event handler to process a successful operation
call from the server
* The result is decoded using the schema and operation
settings and then the
* events get passed on to the actual facade that the user
employs in the application
* @private
private function
processResult(result:Object,wrappedData:Object):void
var token:AsyncToken = wrappedData.returnToken;
var currentOperation:WSDLOperation = wrappedData.operation;
var decoder:SOAPDecoder = new SOAPDecoder();
decoder.resultFormat="object";
decoder.ignoreWhitespace = true;
decoder.makeObjectsBindable=true;
decoder.wsdlOperation = currentOperation;
decoder.schemaManager = currentOperation.schemaManager;
var body:Object = result.message.body;
var stringResult:String = String(body);
if (stringResult == null || stringResult == "")
return;
var soapResult:SOAPResult =
decoder.decodeResponse(result.message.body);
if (soapResult.isFault)
var faults:Array = soapResult.result as Array;
for each (var soapFault:Fault in faults)
var soapFaultEvent:FaultEvent =
FaultEvent.createEvent(soapFault,token,null);
token.dispatchEvent(soapFaultEvent);
} else {
result = decoder.decodeResponse(result.message.body).result;
if (result is ArrayCollection)
//shoud upcast to specific type here
var arrayTypedClass:Class =
SchemaTypeRegistry.getClass(currentOperation.outputMessage.parts[0].type);
result = new arrayTypedClass(result.source);
var event:ResultEvent =
ResultEvent.createEvent(result,token,null);
token.dispatchEvent(event);
The statement where the error occurs is in
bold above. The comment above that line says I should upcast
to a specific type here, but I don't know what that means. Which
specific type? How do I determine what type to upcast to?
Any help would be appreciated.
TIA,
RandyHi Martin,
From the error you showed it seems you have upgraded your SDK
version, but not the builder. The problem you are experiencing
comes from the fact that the one of the SDK classes (the
SchemaTypeRegistry) has been updated from a static to a dynamic
class. Therefore, using the getClass() call on it will not work any
more. Also, the lines that register type mappings won't work.
We've updated the generated code, but it seems you are
running on an older version. Now, to fix your code you have to:
1. Locate all occurences where the SchemaTypeRegistry class
is called as a static class.
2. Replace the SchemaTypeRegistry part from the method calls
with SchemaTypeRegistry.getInstance(), like this:
SchemaTypeRegistry.registerClass(params) becomes
SchemaTypeRegistry.getInstance().registerClass(params)
The problem is that when you re-generate the code you will
have to re-do all these changes again.
Hope this helps,
Cristian -
Hi, I'm building a Flash website.
I've used frames with names to contain the different 'pages'
of the site. On the frame called 'SVHS1' I've built an XML mp3
player with buttons and a volume slider.
I'm having a couple of problems with this section of the
site.
Firstly: when I 'test movie' and navigate to the mp3 player
section it all works fine, the mp3s load correctly, the playback
controls work fine, and the volume slider does what it's supposed
to do. But if I've used the volume slider to adjust the volume (and
only then) and then navigate to the next frame 'SVHS2' (or any
frames that are later in the main timeline) I get multiple
occurrences of the following error in the output pane:
TypeError: Error #1009: Cannot access a property or method
of a null object reference.
At PSPWebsite1_fla::MainTimeline/adjustVolume()
I understand (from reading other posts/help etc.) in
principle what is causing this, but my knowledge of AS3 is too
limited to know exactly what is wrong with my script or how to fix
it.
Secondly: if I press the stop button on my mp3 player and
then navigate to another frame (any frame before or after
‘SVHS1’) the site works fine, and the mp3 player works
perfectly if I go to that frame again. But if I navigate to another
frame without first stopping the song it continues to play even
though I’m not on the mp3 player frame, and if I go back to
the mp3 player before the song has finished it starts playing
automatically from the beginning of the first song in the XML list
again and simply doubles up the sound, which is horrible. When this
happens the playback controls only affect the 2nd version
(understandably).
I think this is probably quite simple to fix, assuming that I
have to write some script that tells the mp3 player to stop playing
if/when the user navigates away from that frame...but I don’t
know how to do this.
Any help with either of the above would be much appreciated.
The attached script is for the mp3 player frame.You can consider the trace function as being a "can you hear
me now" helper (instead of an annoying tv commercial gimmick). It
displays whatever it's told to in the same output window that you
see that error message come up in. There are two ways I'll usually
use it.
I'll often end up simply using a trace("here"); as a means of
seeing where a process is getting hung up. I gradually move that
line of code thru what I know to be the step by step sequence of
the code until "here" no longer shows up. It normally indicates
that the preceding line of code is where the ball got dropped.
In AS3, which is often a little more helpful when it trips on
something, such as the error message you received which tells you
there's a problem in the adjustVolume function, you can use it to
see what element in that function is either undefined or out of
scope.
Place... trace(vol); ... just after the first line of code in
that function to see if vol is a number. If it is, then you know
that line is okay and you can move on to check the next line. If it
isn't a number, then move the trace before that line and change it
to... trace(volume_mc.slider_mc.x); ... and see if it is a value.
If it isn't, then change the trace to check to see what
trace(volume_mc); results in.... so on and so on.
It's basically a process of working your way thru code to
narrow down what piece is the undefined/out-of-scope (or a syntax
error) element that is causing the problem. -
Please help with error message while trying to update i tunes
Errors occurred while installing the updates, if the problem persists, choose tools, download only and installing manually
When i try and download i-tunes i get a message about URBCHN1 not being a win32 command, or something similar.
... that's an unusual one.
could you possibly send us a screenshot of the error message box? for instructions, see the following user tip:
hudgie: Taking screenshots to help with problems -
Adobe has not been a big help with this. If anyone knows what might be causing this error - great, pls post. Otherwise, in order to work the problem myself, I need to know the file locations of Camera Raw within PS CC and also the file location of where Adobe CC places the d/l'd compressed version. Thanks much, Gerry
U44M update error http://forums.adobe.com/thread/1289956
--more U44.. discussion http://forums.adobe.com/thread/1275963 -
Error is
ORA-06550: line 1, column 71:
PLS-00103: Encountered the symbol ">" when expecting one of the following:
. ( ) , * @ % & = - + < / > at in is mod remainder not rem
<an exponent (**)> <> or != or ~= >= <= <> and or like like2
like4 likec between || multiset member submultiset
ORA-06550: line 1, column 71:
PLS-00103: Encountered the symbol ">" when expecting one of the following:
. ( ) , * @ % & = - + < / > at in is mod remainder not rem
<an exponent (**)> <> or != or ~= >= <= <> and or like like2
like4 likec between || multiset member submultiset
The problem is I don't have < or > in my procedure. The error shows when I call procedure from c# using OleDb provider. Any help with this. The procedure works fine from sql developer.Hi Marcus ,
I did the same thing on my database based on the script you had given.
Please go through it.
SQL> create table location(location_number number, location_id number, usage_id number);
Table created.
SQL> insert into location values(10,20,30);
1 row created.
SQL> insert into location values(11,21,31);
1 row created.
SQL> create table usage( usage_number number, usage_id number);
Table created.
SQL> insert into usage values(50,30);
1 row created.
SQL> insert into usage values(60,40);
1 row created.
SQL> commit;
Commit complete.
SQL> create or replace
PROCEDURE P_GET_ALL(
p_place in number,
2 p_location out number,
3 4 p_usage out number)
5 6 is
begin
7 select loc.location_number into p_location from location loc where
8
loc.location_id=p_place;
select us.usage_number into p_usage from usage us where us.usage_id=(select
loc.usage_id from location loc where loc.location_id=p_place);
end; 9 10 11 12 13 14
15 /
Procedure created.
Hope it would help you. :)
Thanks,
Balaji K. -
Need help with error: No bootable device -- insert boot disk and press any key
Hello, I need help will my laptop and the error, the message says "no bootable device ", I have tried taking out the hard drive but it still doesn't work. My laptop is a Satillite C55D-A5372. I need help with this; if you know about this ans know how to fix it please reply or email me @ [email protected]
If needed more clarifications ask me.
Thank you,
Jkmanoif you got into the bios/uefi and have determined that the hdd is being detected then that is good. At least the hdd is operating to some extent, although still may be corrupt OS or the like.
Eagle asked you what OS your using (i.e., Windows 8.1 64-bit, Windows 7 32-bit, etc.). I see that English is not your native language so we'll just have to work with that as best we can.
Did you make any changes to the operating system (OS) as a result of the link you posted, and what were they?
L305-S5955, T9300 Intel Core 2 Duo, 4GB RAM, 60GB SSD, Win 7 Ultimate 64-bit -
Need help with error code 150:30
need help with finding out what error code 150:30 is and how to fix it
See the following:
Error 150:30 - Error "Licensing has stopped working" | Mac OS :
http://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac-os.html -
<p>Need help with the following error.....what does it mean....</p><p>28943 3086739136 XML-240304 3/7/07 7:13:23 PM |SessionNew_Job1<br /><font color="#ff0000">28943 3086739136 XML-240304 3/7/07 7:13:23 PM XML parser failed: Error <An exception occurred! Type:UnexpectedEOFException, Message:The end of input was not expected> at</font><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM line <7>, char <8> in <<?xml version="1.0" encoding="WINDOWS-1252" ?><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <DSConfigurations><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <DSConfiguration default="true" name="Configuration1"><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <case_sensitive>no</case_sensitive><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <database_type>Oracle</database_type><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <db_alias_name1>ODS_OWNER</db_alias_name1><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <db_ali>, file <>.<br />28943 3086739136 XML-240307 3/7/07 7:13:23 PM |SessionNew_Job1<br />28943 3086739136 XML-240307 3/7/07 7:13:23 PM XML parser failed: See previously displayed error message.</p><p>Any help would be greatly appreciated. It's something to do with my datasource and possibly the codepage but I'm really not sure.</p><p>-m<br /></p>
please export your datastore as ATL and send it to support. Somehow the internal language around configurations got corrupted - never seen before.
-
Help with error:"ora-27101 shared memory realm does not exist"
Hello friends of the forum:
I would like to help me with a question imortante I am very new to this aspect of oracle:
And install Oracle 11g on win "view" and followed the steps in the installation of l at the start page www.oracle.com funcionava all fine, but after a month of any change:
The database does not start qe and get an error "ora-27101 shared memory realm does not exist".
At first and solved momentarily reboot oracle service ...... but after a while does not work but I can not conextar to leave the base because this errror ......
The database is a lapto instalao .... and I have 100gb of free space and 4 gb of memory do not understand why this happens .....
I have to do so you can have acces oracle based ...
I can help with this problem .... thanks ....
I like to see that show me with pictures as I am new in this aspect of oracle .... and want to learn it .... thank you very muchHello friend..
The error you are getting *"ORA-27101: shared memory realm does not exist"* may be coz you are trying to connect to your database which is already shutdown not as sysdba user but as some other user, becoz of which you are getting this error. It sometimes happen that the service of the database is already started but when you try to connect to a shutdown database as users other then sys even having the DBA priviledges you cannot connect to database.
Try to connect as SYS user hope your problem will be resolved.
Deepak Sharma -
Can any one help me with error message 2095 on quicktime? i have tryed to uninstall it with add/remove programs but it says the following file does not exist or is not a valid uninstallation log file C:\WINDOWS\system32\quicktime\uninstall.log
???!!!??? and because of this i can not open itunes and everytime i try to it tells me that itunes as ran into a problem and has to close
i have read online that i can uninstall quicktime manually with safemode or something like that but i have no idea how to, so if any one at all has any helpful advice please reply
thanksI posted this link to you yesterday, did it not work?
http://discussions.apple.com/thread.jspa?threadID=799482&tstart=15
Safe Mode is probably not going to be of much help. If the computer was re-starting on its own than it would help to stabilize the computer(in safe mode) to remove the driver causing it to re-start, your able to access the computer. -
My macbook pro intel core duo 2 keeps restarting intermittenly. Help with error code.
I have run a Hardware Test, and it gives the follwing error code. Can anyone tell me what this is? I recently had my logic board replaced within the last 3 months, so it shouldn't be a problem there.
Thank you very much for any and all help.
Error code:
4SNS/I/40000000:TGOH-128.00Online references possible memory issue? Sensors?
https://discussions.apple.com/thread/3140607?start=0&tstart=0
Keep taking it back and they keep switching parts until the problem is gone.
Maybe you are looking for
-
HT201210 my iTunes has error#4014.
I tried the restoration for several times. but it cames error code #4014. Does someone help me? [ iPhone5 and iTunes 11.]
-
Failed to find any Kerberos Key
Hi All, I've all ready done all the steps in note 994791 (SPNego Wizard) for SSO configuration between Portal and ADS. After finishing the configuration I checked the login and still appears the authentification login page. I have checked Defaultrac
-
Hi, I would like to ask, When creating a rule in SCOM, with The Data Source AS Microsoft.Windows.EventProvider and the Actions with a Microsoft.Windows.ScriptWriteAction capturing the data with a script to send out info based upon the Alert picked u
-
"You don't have permission to access"
I am having problems with Web Sharing on my primary user account. In the Setting>Sharing>Web Sharing panel it shows my computer address and the address for my personal website. When I click on the computer's address, I get a page that says "It Works!
-
Hi ,experts i just need a matrix query report on sales order. It contains quanity ana month