Adobe Dreamweaver Forums



Last 10 THreads :         Suddenly can't see files on remote server (Last Post : GDrink9085 - Replies : 9 - Views : 10 )           »          how do I add a table to a preformed template that I got? (Last Post : Murray *ACE* - Replies : 8 - Views : 13 )           »          Adobe Flash 10 kills Wimpy (Last Post : midiwriter - Replies : 42 - Views : 259 )           »          swapping images using AS3 only (Last Post : guestonian - Replies : 0 - Views : 1 )           »          passing data from Coldfusion to Flash (Last Post : macanimation - Replies : 1 - Views : 3 )           »          Publishing 16000 frames (Last Post : NedWebs - Replies : 5 - Views : 6 )           »          Flash CS4 3D Spray Brush Tool (Last Post : poodyglitz - Replies : 0 - Views : 1 )           »          Changing platforms (Last Post : Murray *ACE* - Replies : 1 - Views : 2 )           »          Purple border around my link!! (Last Post : Murray *ACE* - Replies : 3 - Views : 4 )           »          DW CS3 won't work on Vista Business (Last Post : Murray *ACE* - Replies : 3 - Views : 4 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flash
 
Tags: , , , ,



Reply
  #1 (permalink)  
Old 08-05-2008, 04:15 PM
comdw512
 
Posts: n/a
Diggs:
Default Loading .SWF from within a resource DLL

I have an application that uses an HTML container to load a webpage with a
flash SWF embedded into it. I want to bundle the webpage and all of its
resources (including the SWF) into a resource DLL, which makes it accessible
from the HTML container using the res:// protocol.

E.g. c:\MyResources.dll contains MyPage.htm, MyScript.js and MyFlash.SWF. In
Internet Explorer I can use the URL res://C:\MyResources.dll/MyPage.htm to
load my page.

However when I try to load my SWF file in the page, it can't find MyFlash.SWF.
I would expect to be able to use the normal method to load the movie as the
SWF exists in the same effective namespace as the htm file - attached code
example. MyScript.js is loaded from the resource just fine.

I also found that I couldn't reference the SWF explicitly from the resource in
a webpage that exists outside of the resource by using
res://C:\MyResources.dll/MyFlash.SWF in the object/embed tags. However if I
type the same string into the address bar, IE will prompt me to download the
SWF file, proving that its there and accessible at least.

Am I doing this wrong or does the flash plugin simply not support loading
content from within resource DLLs?


<!-- this js file runs fine -->
<script src="MyScript.js" language="javascript"></script>

<!-- but the flash movie won't load -->
<object width="550" height="400">
<param name="movie" value="MyFlash.SWF">
<embed src="MyFlash.SWF" width="550" height="400">
</embed>
</object>



Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 10:11 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk