Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: embedded flash problems



If it's the security model (i'm not sure where the html file is being
loaded from) then you should get prompted with the Flash security
warning and have the opportunity to allow a local directory.

On 8/22/07, Rudi Sherry <email@hidden> wrote:
> 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:
> >> http://lists.apple.com/mailman/options/webkitsdk-dev/dancedrummer%
> >> 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:
> > http://lists.apple.com/mailman/options/webkitsdk-dev/rsherry%
> > 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:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden

References: 
 >embedded flash problems (From: "James Rodden" <email@hidden>)
 >Re: embedded flash problems (From: dancedrummer <email@hidden>)
 >Re: embedded flash problems (From: Rudi Sherry <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.