this.movie.setTitle is undefined #18

Closed
RogerNoble opened this Issue Sep 27, 2012 · 10 comments

Projects

None yet

6 participants

@RogerNoble

Hi,
I'm getting the following error in FF 15.0.1 "TypeError: this.movie.setTitle is not a function".
Specifically relating to line 276: this.movie.setTitle( this.title );
When looking at the line in Firebug the function is undefined.

I've had a look in both Chrome 21.0.1180.89 m and IE 9 and it's also happening in both (they are just silently failing).

Is the setTitle method missing from the flash movie?

@jonrohan
Member

Sorry I just checked this on the demo http://jonrohan.github.com/ZeroClipboard/#demo in both FF 15.0.1 and Chrome 21.0.1180.89 and am not getting this error. Can you verify you have the latest code?

@jonrohan jonrohan closed this Sep 27, 2012
@RogerNoble

The error can also be seen on your demo page.
See screenshots
http://www.rogernoble.com/wp-content/uploads/2012/09/ZeroClipboard.png
and this one from my local project with unminified source
http://www.rogernoble.com/wp-content/uploads/2012/09/ZeroClipboard_firebug.png

Thanks

@jonrohan
Member

Could you check what version of flash you're using?

@RogerNoble

It's 11.4.402.278.
Screenshot below has OS version and Browser from Adobe Flash check site:
http://www.rogernoble.com/wp-content/uploads/2012/09/ZeroClipboard_flashversion.png

@thunder-

I have been able to reproduce the issue on FF 15.0.1 aswell as FF 16.0.1 and Flash 10 and Flash 11 versions.

After checking the commit history I noticed that on Sep 25, 2012 a handful of updates have been done and somehow on commit: e8d4889

it looks like some title updates have been added.

I'd expect files like
src/flash/ZeroClipboard10.as and
src/flash/ZeroClipboard.as

to have a line such as:
ExternalInterface.addCallback("setTitle", setTitle);

and a public function setTitle, which would then take care of adding the title.

@frunns
frunns commented Oct 23, 2012

Just reproduced using Flash version 11,4,402,287 and Firefox 16.0.1, in W7.

@zarkosusnjar

Issue still exists. IMO this should be reopen and fixed.

@jonrohan jonrohan reopened this Oct 30, 2012
@DominicTobias

I also have this error with the latest lib version and flash 11

@zarkosusnjar

We switched to HTML solution, put preselected text in textarea on click and
informed user to press ctrl+C.

On Fri, Nov 23, 2012 at 4:38 PM, ferahl notifications@github.com wrote:

I also have this error and so the library is currently broken with the
most recent version of flash, that's a shame :(


Reply to this email directly or view it on GitHubhttps://github.com/jonrohan/ZeroClipboard/issues/18#issuecomment-10662905.


Žarko Šušnjar | Software developer | T : +381.60.5225251 | skype :
zarko.susnjar

@jonrohan jonrohan closed this in ebaee84 Nov 23, 2012
@jonrohan
Member

the flash file didn't need updating the setTitle method didn't need to call the flash object, since this is purely in js. Sorry about the bug. Should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment