Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: embedded flash problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: embedded flash problems



Flash will look at the URL of the file into which it's embedded and won't call out if they're not the same domain. It also has some special security for file:// URLs.

We do the same kind of thing; we had to write an NSURLProtocol that fooled flash into thinking that it, and the HTML page it was in, were both http:// from the same domain... regardless of where they really were.

On Aug 21, 2007, at 9:07 PM, dancedrummer wrote:

Can you provide some details on how Flash is calling js or how js is
used to send messages to Flash?  i.e., are you using
ExternalInterface, getURL("javascript:[functionName]"), etc.

On 8/20/07, James Rodden <email@hidden> wrote:



I have a flash-based application embedded in an html page. Both are locally
stored, but the flash app accesses network resources. When loaded into the
WebKit nightly build of Safari (version r25140) the flash movie calls a
javascript function signaling that it's loaded and ready for use and it
correctly runs when given appropriate input. The same html file though, when
loaded into a WebView in my app, running against both Safari 2.x and the
same version of WebKit never calls the javascript method signaling that the
movie has loaded and it never responds to the same input.


What might cause an embedded flash application to work in Safari, but not
my app?


 Thanks!

 Jim


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40adobe.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webkitsdk-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >embedded flash problems (From: "James Rodden" <email@hidden>)
 >Re: embedded flash problems (From: dancedrummer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.