Re: A flash is causing problems for WebView, and the PC equivalent!
Re: A flash is causing problems for WebView, and the PC equivalent!
- Subject: Re: A flash is causing problems for WebView, and the PC equivalent!
- From: "Theodore H. Smith" <email@hidden>
- Date: Tue, 11 Apr 2006 14:18:22 +0100
On 11 Apr 2006, at 13:55, Theodore H. Smith wrote:
Hi people,
I'm making a "flash player" app, to play prepackaged flash content.
I'm using WebView to do this. The company is making a PC version also.
There is this flash in particular, that is causing a bug in the Mac
and PC versions of the player. This to me seems suspicious, because
a bug should not be the same for Mac and PC, it makes me wonder if
the bug is in the flash itself.
What's happening is this.
I made an NSWindow containing a WebView. WebView loads the flash.
flash does something (it's a black box to me). Then I unload the
flash by loading a different URL. Then I reload that same flash.
Then I can't type my name into the flash's "enter your name here"
field.
I could enter my name the first time around, but the second time I
can't.
The PC guy working on the PC version of the player, tells me that
he solved this by closing the window, and then making a new fresh
window.
This to me seems like overkill. Is there some easier way to get the
WebView into a clean default state?
I did more investigation into this.
In fact it's been a long time since I worked on this project, so I've
forgotten some details.
The window *is* being closed already, so that won't help. I'll resay
whats happening:
I made an NSWindow containing a WebView. WebView loads the flash. I
can type stuff into the flash's name input field. Then I press the
close button, *this will silently close the window and reopen another
window*. Then I reload that same flash. Then I can't type my name
into the flash's "enter your name here" field.
A new development has occurred:
If I go to the Finder (or any other app), and then go back to my
flash player app... guess what? I can input text again!
I'm not sure what's going on here. The problem is not solved that's
for sure. I can't just tell my flash player to switch to the Finder
and back again everytime a window is closed, that'll just make my app
look bad.
Maybe that new clue will help someone here remember what this problem
could be, though?
Thanks for any help!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden