Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
josh  
#1 Posted : Tuesday, March 13, 2007 7:37:40 AM(UTC)
josh

Rank: Member

Groups: Member
Joined: 7/26/2005(UTC)
Posts: 9

When I try to execute the send command from Opera I get an error:

Error:

name: TypeError

message: Statement on line 137: Type mismatch (usually a non-object value used where an object is required)

Backtrace:

Line 137 of eval script

the_uploader.send();

I've created a button to start the upload process. It works on all browsers but Opera. I'm using Opera 9.10. Here is the function I'm executing when I press the send button:

Code:
startUpload = function() {
	var the_uploader = getImageUploader("ImageUploader");
	the_uploader.Send();
}

It also fails when I try:

Code:
getImageUploader("ImageUploader").Send();

Any help, hints or tips would be appreciated.

Thanks,

Josh

Edited by user Thursday, February 21, 2008 7:36:30 PM(UTC)  | Reason: Not specified

Alex Makhov  
#2 Posted : Tuesday, March 13, 2007 2:02:16 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

Please read

Helper Script Reference (iuembed.js).

In your code you should have:

Code:
var iu = new ImageUploaderWriter("ImageUploader1", 650, 400); 

The first parameter of constructor, the "ImageUploader1" is an identifier which you should use in your getImageUploader method calls.

Edited by user Wednesday, October 29, 2008 2:41:17 AM(UTC)  | Reason: Not specified

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

josh  
#3 Posted : Wednesday, March 14, 2007 4:30:21 AM(UTC)
josh

Rank: Member

Groups: Member
Joined: 7/26/2005(UTC)
Posts: 9

Hi Alex,

I do have:

Code:
var iu = new ImageUploaderWriter("ImageUploader", 670, 480);

It works with Opera when I was using java version 1. It just doesn't want to work with java version 2.1.3.

Has something changed?

Thanks,

Josh

Edited by user Thursday, February 21, 2008 7:37:43 PM(UTC)  | Reason: Not specified

Alex Makhov  
#4 Posted : Thursday, March 15, 2007 2:53:30 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

That’s strange. Could you give the direct link to your Image Uploader page for us to test?

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.