| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| Hello, I am loading an html page that contains an embedded flash file into a WebView. The name of the html file is index.html, and the name of the flash file is popupresponse1.swf. Here is the section of the index.html that embeds the swf file: <OBJECT classid="" codebase=""http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0">http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID=popupresponse1 WIDTH=600 HEIGHT=400> <PARAM NAME=movie VALUE="popupresponse1.swf"> <PARAM NAME=loop VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="" quality=high bgcolor=#000000 loop=false WIDTH=600 HEIGHT=400 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED> </OBJECT> When the request for the swf file comes through, instead of being for popupresponse1.swf, the request is for index.html/popupresponse1.swf. Is this normal or expected behavior? I am actually using a custom protocol to load from a proprietary archive format, so the requests come through as "my_custom_protocol://index.html" and "my_custom_protocol://index.html/popupresponse1.swf". The extra index.html/ in front of the swf file does not happen with regular images in <img> tags. Is there a known reason why OBJECT/EMBED files get requested with the embedding page URL prepended? I did notice that [request mainDocumentURL] returns the expected url for index.html when normal images are being requested, but returns nil when the swf file is being requested. Any ideas? Thanks, Ron |
_______________________________________________ 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
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.