I tried to embed it into an Iframe but I was getting security warnings and nothing would load. I don't have hard core settings set or anything. It's not a big deal the swf I was trying to load is fairly basic so I'm going to remake it in my app.
Chris On 11-04-25 05:29 AM, Raju Bitter wrote: > You can embed an SWF for a DHTML/HTML5 app into > > a) the HTML wrapper page, as seen in the music example before > b) into the OpenLaszlo app using the LZX <html> tag. In that case you > would create a 2nd HTML page which will be loaded into an iFrame (the > <html> tag within LZX creates an iFrame). The HTML page within the > iFrame could then contain any SWF content you'd like to add, and > communication between the main HTML page and the iFrame content could > be implemented using pmrpc: http://code.google.com/p/pmrpc/ > > On Mon, Apr 25, 2011 at 12:15 AM, Chris Janik <[email protected]> wrote: >> What I wanted to do is embed a interactive swf into the page itself. Is >> that possible? >> >> Chris >> >> >> On 11-04-24 06:13 PM, Raju Bitter wrote: >>> Not sure what you are trying to do, but if you want to make calls to >>> an SWF file/app, check this example of a DHTML app with an SWF >>> embedded into the HTML page. Calls are made to the SWF out of the >>> DHTML LZX app: >>> http://labs.openlaszlo.org/trunk-nightly/examples/musicdhtml/index.jsp >>> http://svn.openlaszlo.org/openlaszlo/trunk//examples/musicdhtml/ >>> >>> And the Wiki page on using SWF content in DHTML: >>> http://wiki.openlaszlo.org/SWF_in_DHTML >>> >>> On Sun, Apr 24, 2011 at 11:51 PM, Raju Bitter >>> <[email protected]> wrote: >>>> Are you trying to attach an SWF resource to a view in the HTML5 runtime? >>>> >>>> On Sun, Apr 24, 2011 at 9:42 PM, Chris Janik <[email protected]> wrote: >>>>> I've been trying to embed a flash object into my page using >>>>> >>>>> <view resource="flashobject.swf" height="500" width="500" >>>>> x="${canvas.width - this.width}" y="${(canvas.height - 45) - >>>>> this.height}"/> >>>>> >>>>> in OL 4.9.0 html5 >>>>> >>>>> Every time I compile it says file not found even though the path is >>>>> perfect. I've tried with several flash objects and every single one says >>>>> file not found >>>>> >>>>> I must be doing something wrong >>>>> >>>>> -- >>>>> Chris >>>>> >>>>>
